The old ffmpeg version would have set the output framerate to the first video's framerate (14 here), resulting in dropped frames and "Past duration 0.879982 too large" messages when it got to the higher framerate section. (This means they were not created with the commands you stated - since if the commands you stated were used, both videos would be 25fps.) This triggers the new logic in the concat filter, which sets the output framerate to VFR. Your two videos have different framerates and timebases. Please consider specifying a lower framerate, a different muxer or -vsync 2 Frame rate very high for a muxer not efficiently supporting it. Video inputs have different frame rates, output will be VFR Here's the interesting part of the output with -v verbose: Why are you using -loglevel fatal? Don't do that! It's hiding a warning that ffmpeg is printing when running the command you provided! When filing an issue like this, please always include the complete output of the failing ffmpeg command, at a reasonable log level. If you need any additional information, let me know and I will be happy to include it. So I have provided the additional steps on how those were created. I've wondered if the issue of concatenating the videos is caused by the way the two videos I am attempting to concatenate were created. Missing argument for option 'i'.Įrror splitting the argument list: Invalid argument matched as option 'loglevel' (set logging level) with argument '99'. matched as option 'v' (set logging level) with argument '9'. Each of the videos in the "Picture in a Picture" were created by using a still image and an audio file.Īn example is below of how the video was created using a still image and an audio file.įfmpeg -loop 1 -i silhouette.png -i 3272_segment_0_background.webm -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest 3272_segment_0.mp4įfmpeg -loop 1 -i silhouette.png -i 3272_segment_0_overlay.webm -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest 3272_segment_1.mp4įfmpeg version N-97739-g876cfa67f3 Copyright (c) 2000-2020 the FFmpeg developersīuilt with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)Ĭonfiguration: -prefix=/home/dreedy/ffmpeg_build -pkg-config-flags=-static -extra-cflags=-I/home/dreedy/ffmpeg_build/include -extra-ldflags=-L/home/dreedy/ffmpeg_build/lib -extra-libs=-lpthread -bindir=/home/dreedy/bin -enable-ffprobe -enable-gpl -enable-libass -enable-libfdk-aac -enable-libfreetype -enable-libmp3lame -enable-libopus -enable-libtheora -enable-libvorbis -enable-libvpx -enable-libx264 -enable-libx265 -enable-nonfree The videos used in the previous command are "Picture in a Picture" videos. The videos I am concatenating were created from an audio file and a still image.įfmpeg -loglevel fatal -i 3272_segment_0.mp4 -i 3272_segment_1.mp4 -filter_complex \ I am providing two example videos I am using, in case there is something specific to the videos I am attempting to concatenate. The output file continues to grow in size until file space runs out. When concatenating two videos, the process never completes.