
% # note, however, that this just repeats the same source twice Note: if I change the command to use f01.mp4 for both source 0 and source 1, the command completes as expected in under 5 minutes: % # example that works: Note: the inputs are only a few minutes each, so individually re-encoding the inputs would take only a few minutes each. If I leave my computer running for 24 hours, ffmpeg is still using max available CPU (200-300%). After a short duration (several seconds to a minute or so, seems to be prortional to the duration of the first video) I start seeing messages like this: More than 1000 frames duplicated


This is my understanding of the form of this command from references such as FFmpeg Filters Documentation: concat and Concatenate Videos Together Using FFMPEG!.įfmpeg gives a lot of output as it checks the metadata for each stream and then begins processing. What I am executing: % ffmpeg -i f01.mp4 -i f02.mp4 -filter_complex "concat=n=2:v=1:a=1" -map "" -map "" output.mp4

All video files in question are between 4 and 20 minutes in length. I am attempting to use the concat filter directly for reasons independent from this question (so -i list.txt is not a valid solution). I am trying to concatenate mp4 files into a single file.
