0

I'm concatenating 2 video files 00000 and 00001:

ffmpeg -y -f concat -safe 0 -i file_list.txt -loglevel error -c copy test.mp4

file_list.txt:
file '00000.mp4'
file '00001.mp4'

00000.mp4:
Duration: 00:00:00.42, start: 0.000000, bitrate: 204 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 182 kb/s,
60 fps, 60 tbr, 15360 tbn, 120 tbc (default)

00001.mp4:
Duration: 00:00:01.63, start: 0.000000, bitrate: 58 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 48 kb/s,
60 fps, 60 tbr, 15360 tbn, 120 tbc (default)

The result has a different framerate:

test.mp4:
Duration: 00:00:02.05, start: 0.000000, bitrate: 85 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 76 kb/s,
59.99 fps, 60 tbr, 15360 tbn, 120 tbc (default)

I checked for a VFR:

ffmpeg -i 00000.mp4 -vf vfrdet -an -f null -
VFR:0.000000 (0/24)

ffmpeg -i 00001.mp4 -vf vfrdet -an -f null -
VFR:0.000000 (0/97)

ffmpeg -i test.mp4 -vf vfrdet -an -f null -
VFR:0.016393 (2/120) min: 256 max: 261 avg: 258

I have two CFR inputs and one VFR output. Is it possible to get VFR:0 after the concatenation?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.