[FFmpeg-user] problem with fast seeking and splitting

Carl Zwanzig cpz at tuunq.com
Tue May 3 00:11:56 EEST 2022

On 5/1/2022 10:27 PM, Alexander Solonsky via ffmpeg-user wrote:
> I'm trying to split an input file into 2 second chunks, transcode and
> assemble using a concat muxer.
I hate to question the question, but what's the purpose of this process? 
Generally speaking, you're better off transcoding in a single pass. If that 
process is too slow, can you use hardware to accelerate the process? Cutting 
into 2-second chunks to recode seems like a poor approach.

If you really want to recode chunks, which may have their own issues when 
concatenated together, decode the entire stream and select chunks from the 
uncompressed data.



More information about the ffmpeg-user mailing list