Questions tagged [encoding]

The process and techniques used when storing moving images, sound, metadata and other streams as a digital file.

99 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
2k views

Largest input image size when encoding a video?

I got a bunch of really large 16 bit videos, approaching 65535×65535 pixels in size. These are essentially high quality timelapse panoramas. I want to convert them to a 7680×4320 movie (8K UHD, 8 bit)....
Mikhail's user avatar
  • 173
4 votes
1 answer
604 views

How to fix the difference between duration of ffmpeg input and output?

I am trying to generate a video from a bunch of png images and audio using the command: /usr/bin/ffmpeg -y -framerate 30 -pattern_type glob -i 'images/*.png' -i audio.wav -c:v libx264 -b:v 0 -crf 18 -...
sy_ar001's user avatar
  • 141
4 votes
2 answers
311 views

Free software for batch basic editing and down-sampling

I have a bunch of TV shows in HD that I want to down-sample to SD and at the same time strip out the titles and credits. Handbrake has great encoding and can handle batches, but I can't find a way to ...
sansSpoon's user avatar
  • 161
3 votes
0 answers
998 views

FFmpeg Windows MP4 - remove specific frames

I have a movie - movie.mp4. I wish to remove/delete specific contiguous frames from movie.mp4 which are located somewhere near the middle. Specifically, total frames in movie.mp4 = 33,595. I would ...
user2069305's user avatar
3 votes
0 answers
2k views

FFMpeg encode with original codec

I know about the -c copy switch with ffmpeg, but this does not work with filters as it means "don't re-encode". But what I want is to have my output use the same stream formats as my input. So if I ...
jiggunjer's user avatar
  • 177
2 votes
1 answer
126 views

How to know which ffmpeg encoders are hardware accelerated?

On any given build of ffmpeg, ffmpeg -encoders will list which encoders can be used for encoding video. Of the encoders listed, how can I tell which ones use hardware acceleration?
Running Man's user avatar
2 votes
0 answers
220 views

Problem combining multiple filters with ffmpeg

I'm trying to generate a video file out of 3 files: file #1 and #2 are both dynamically generated image list file; file #3 is a dynamically generated pcm file; I need to slow down or speed up the ...
user3900456's user avatar
2 votes
0 answers
534 views

Is there a hardware acceleration for audio encoding?

Video encoding with HW acceleration takes way less time than audio encoding. Is there a way to convert ac3 to aac faster?
Михалыч's user avatar
2 votes
0 answers
26 views

Is there any query language or CLI tool to analyze encoded bitstream?

I'm learning codec, but most of the video analyzer tools are GUI and windows based. I'm wondering if there is a bitstream query tool to find the info I'm seeking for. Using SQL for example: select ...
Long Can's user avatar
2 votes
0 answers
5k views

Adobe Premiere Pro and Media Encoder crash on encoding

Well, I can't export anything, Premiere Pro or Media Encoder keep crashing. Crashes are quite unexpected, after several minutes or several hours, without any explanations: "Adobe [--] stopped working"...
Yako's user avatar
  • 121
2 votes
0 answers
408 views

Problems occurred when importing subtitles into Sony DVD Architect

I'm new to Sony DVD Architect, I can't import subtitles into DVD-Arc even though the file extension is .sub. I used Subtitle Edit to save my original subtitle file(in .ass format) to DVDSubtitle(.sub) ...
Happy Face's user avatar
2 votes
0 answers
242 views

Why is audio generated by avconv choppy?

I am using avconv to generate an AV stream, and the video is perfect, but the audio is very choppy using iOS Safari. Can anyone tell me what is wrong with my audio stream that's causing this? When ...
Adam's user avatar
  • 121
2 votes
0 answers
67 views

How to see encoding progress in Compressor 4.1.3

Is there really no way to see progress of an encoding job in Apple Compressor 4.1.3? I started a batch (single job, one file) and this is all I see: My fan is blowing at full speed so I guess ...
Anentropic's user avatar
2 votes
0 answers
4k views

Fast encoding with ffmpeg

I know about presets but faster presets lose the video quality. Are there any hardware requirements I need to consider? Or are there any settings that I need to tweak? And lastly where do I place the -...
Robin's user avatar
  • 175
2 votes
0 answers
132 views

What hardware should I get for a conversion farm for MXF => Prores

I currently use a mac pro for importing mxf files into FCP (equivalent to converting to prores, I believe) at about 3x realtime @29.97fps. I want to get a machine to run ffmpeg & do the ...
fastmultiplication's user avatar
1 vote
1 answer
89 views

How to encode scenes with different CRF into a H.264 MP4 video with a variable frame rate?

Source Material Having many scenes which essentially are still frames (for many seconds) Commonly found in: Slideshows, Screen Recording or Software Mockup/Prototype ✅ This kind of source material ...
porg's user avatar
  • 151
1 vote
0 answers
404 views

FFmpeg 5.0 vs 3.4 performance

I was trying to compare ffmpeg 5.0 vs version 3.4.6 in how much performance improvements I would get while transcoding a simple 720p video into a H264 video. On my laptop, I noticed around 5-10% ...
Tina J's user avatar
  • 353
1 vote
0 answers
23 views

Are video encoders specialized for certain resolutions?

I have wondered if the encoders used by tools like ffpmeg and hardware encoders like NVENC are more efficient for common resolutions like 1920x1080. I've done a few informal tests with a variety of ...
qwr's user avatar
  • 191
1 vote
0 answers
120 views

Low latency on SRT stream

I am new to this and wondering, how can I get the lowest latency sending an SRT stream? I can’t seem to get under six seconds. Using, latency=10000
eddie conde's user avatar
1 vote
1 answer
529 views

Extract subtitles in time range using ffmpeg

I have original video (with subs) and cropped version of it (without subs). I need to add subtitles from original video into cropped in appropriate time range. I think the best way to do is: Extract ...
superpupervlad's user avatar
1 vote
0 answers
170 views

Build FFmpeg with ".EXE" files of external libraries?

this is my first question on StackExchange! I recently got into building FFmpeg on Windows and build successfully the vanilla and the external library versions of this program! I noticed that it only ...
AnonymousCrawler1722's user avatar
1 vote
1 answer
349 views

compare two video then cut the different

I have 2 video files with the same content, but coming from a different source. They have a slight difference in 'cut' and language dubbing, meaning one can be missing a shot compared to the other. I ...
djsoda's user avatar
  • 11
1 vote
0 answers
33 views

What is video hinting?

I've just faced with such thing as hinting videos. Quick research showed me something about the fact that it makes "streaming better" and something about QuickTime Streaming Server. That wasn't really ...
Ngoral's user avatar
  • 111
1 vote
2 answers
3k views

FFMPEG: is it possible to offset output frames from a selection of specific frames?

I'm doing some ffmpeg (4.1.3) transcodings by extracting specific frames from the source, in this case, the source can be either a movie or an image sequence, all working fine with the following ...
hasielhassan's user avatar
1 vote
0 answers
83 views

Is there any "concatenable" video format I can use for sequential streaming?

I'm writing a server and I have to play commercials on demand, so I'm trying to avoid re encoding video. I assume that video containers have headers and meta data, so it would not be possible. Is ...
user avatar
1 vote
0 answers
227 views

Adobe Encoder Desyncs Video/Audio (MTS to MP4)

I've been trying to transcode an MTS (recorded on a Panasonic) to MP4 with Adobe Media Encoder. The audio/video has consistently gone out of sync. I've matched the source, gone over all the settings, ...
eybmv's user avatar
  • 11
1 vote
0 answers
1k views

FFmpeg Throws Errors When Converting 7.1 TrueHD (Blu-ray Audio) To PCM Or FLAC

I have attempted to convert a TrueHD stream to PCM as well as FLAC. Throughout the encoding process, errors occur: "lossless check failed" and others. The same set of errors occurred when converting ...
Henry7720's user avatar
1 vote
2 answers
1k views

FFmpeg for m2t and Sony Bravia - not working

-f mp4 -c:v libx264 -preset veryslow -tune grain -profile:v high422 -flags +ildct+ilme I am preparing video to be streamed (DLNA) from my NAS to an older Sony Bravia. I have successfully created ...
KiDy's user avatar
  • 21
1 vote
0 answers
668 views

FFmpeg NVENC rtsp stream encoding freezes randomly

In some executions of the following command, ffmpeg freezes at certain time and after some minutes starts to encode the stream again. The problem don't happen always. The stream server is an avigilon ...
Vitor Silva de Deus's user avatar
1 vote
0 answers
17 views

Is removing an audio segment on YouTube a lossless operation?

YouTube marked part of a video I uploaded as containing copyrighted audio. When I remove that audio segment on the YouTube website, does YouTube re-encode the audio of my whole video? Or is the ...
Geremia's user avatar
  • 111
1 vote
0 answers
291 views

Jetson Xavier and 16 12MP cameras

I recently saw the Jetson Xavier from NVIDIA (https://developer.nvidia.com/embedded/jetson-xavier-faq). I need to connect 16 12MP cameras like this one: https://www.baumer.com/it/en/product-overview/...
Sergio Negri's user avatar
1 vote
0 answers
46 views

broacast tv specs.

can any one help me about how can i deliver this specs for a broadcast tv channel ? : im using fcpx and compressor 4. do i need any other app or can i manage it with those ? which specs i do on fcp ...
Miguel's user avatar
  • 11
1 vote
0 answers
202 views

Optimizing HTML5 video for best quality

I have a 3 minute video I'd like to embed on a web page. The problem is that despite best efforts, the file size of the video ends up being over 30 mb. I would like the size to be near 10 mb. I have ...
auto's user avatar
  • 121
1 vote
0 answers
704 views

HLS Preset Settings 240p, 360p, 480p, 720p and 1080p

I am trying to transcode mp4 videos into HLS using AWS transcoder. I see that there are only few presets available which are like 1M, 1.5M and the highest 2M. I am unable to get 240, 360 , 480,720p ...
Omair's user avatar
  • 11
1 vote
0 answers
1k views

How can I mux video and audio from separate sources that're at different frame rates?

I'm having trouble muxing the video from one source with the audio from another because the audio drifts over time. As I mentioned in the title, the sources are at different frame rates, the video's ...
Rapta's user avatar
  • 11
1 vote
0 answers
27 views

Extract video from sony handycame with perfect quality

I've got an old sony handycame that record into tapes. When i try to display the videos in my samsung tv using RCA cables, the video is full screen and with a really good quality. I wanted to ...
Mssm's user avatar
  • 111
1 vote
0 answers
61 views

Best encoding setting for presentation like video

I have a video series that have a low fps by nature. The videos are in presentation format with audio. The video is produced using Adobe Premiere Pro CC 2015 and contains 4K image clips and 256kbps ...
Omtara's user avatar
  • 111
1 vote
0 answers
895 views

How to speed up DNxHR HQX capture with ffmpeg?

I'm trying to capture DNxHR HQX to my SSD. I want HQX because I need the 10-bit color for grading (HQX is a 12-bit codec, but HQ and below are all 8-bit). 8-bit HQ recording is no problem; I ...
Patrick Kenny's user avatar
1 vote
0 answers
1k views

gain the highest quality with H264 at a certain bit rate

I have encoded my videos using ffmpeg and H264, and this is my ffmpeg command (2 pass encoding): ffmpeg -y -i Edited\ Clips/arsenalVScristalPalas.mp4 -movflags faststart -c:v libx264 -x264opts '...
evan's user avatar
  • 21
1 vote
0 answers
650 views

Using FFmpeg can I merge three different videos using overlap and overlay in one instance?

I'm quite new to FFmpeg, so please bear with me. I find myself in a situation where I have: An intro video A main video An outro video Desired effect: The intro video has an alpha channel that at ...
E. Rose's user avatar
  • 11
1 vote
0 answers
797 views

Is it possible to increase video gamma or brightness at container level?

I would like to know if is it possible to increase the brightness or gamma of a video without full re-encoding. For example some versions of ffmpeg allow certain special bitstream filters described ...
Konstantin's user avatar
1 vote
0 answers
872 views

MPC-HC is altering the colors

In order to test a lossless recording system, I have to verify that the input video is exactly the same than the output video. As a test source I have generated an ffmpeg's testsrc pattern, which is ...
RawBean's user avatar
  • 163
1 vote
1 answer
3k views

best way to publish low latency video on ffmpeg

I am trying to publish a stream of live video that need to get to the client side in under 3 sec in latency. I am using vMix to capture a 720p/50 stream from a camera, that by virtual camera letting ...
TLM's user avatar
  • 11
1 vote
0 answers
2k views

Is there a simple explanation of x264 encoding parameters?

So, x264 is still the most popular (free) H.264 encoder out there. But it is also still considered ridiculously cryptic as well. There are tons of switches and options in the encoder that allow you to ...
WineSoaked's user avatar
1 vote
0 answers
399 views

How to get ffmpeg/x264 to use same parameters as input?

I'm trying to accomplish a smart rendering workflow using ffmpeg/x264. In short, get ffmpeg to segment the input file. Locate the segment(s) with changes to be made. Re-encode altered segments with ...
Gyan's user avatar
  • 32.3k
1 vote
0 answers
2k views

Lossless Editing by Combining Clips with FFmpeg x264

My new Canon Vixia HF G30 video camera has an option to encode directly to 35 Mbit/sec Mp4 at 1080p60 and it does a nice job. I primarily use it to record my daughter's high school basketball games. ...
fionasdad's user avatar
0 votes
1 answer
5 views

Should this audio file have ogg or opus as file name extension?

bash $ mediainfo myaudio.opus General Complete name : /Users/qaz/myaudio.opus Format : Ogg File size : 3.52 ...
qazwsx's user avatar
  • 123
0 votes
1 answer
19 views

After adding subtitles the second audio track gone

I have a video with 2 audio tracks. After using the following command line the other audio track is gone ffmpeg -i "movie.mkv" -i "subtitles.ass" -c:v copy -c:a copy -c:s copy &...
Natsu07's user avatar
0 votes
0 answers
16 views

libx265 set 1 i_frame per x seconds and force all other frames to be b_frames

I'm trying to compress my content while preserving quality. I'm measuring the quality using Netflix's VMAF. Only focusing on HEVC and tried different parameters available for libx265 such as crf, two ...
Purushottam Kumar's user avatar
0 votes
0 answers
6 views

Which will have better quality, an H.264 encoded video with higher bitrate or an H.265 with lower bitrate?

I got a cheap action camera that allows me to choose the encoding of the video being recorded between H.264 and H.265. When I set it to H.264, the video's bitrate is set to around 10,000+ kbps. When I ...
user9564371's user avatar