[FFmpeg-user] Is there a reason the default vsync for the mp4 muxer is not 2?

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu May 24 19:36:01 EEST 2018


2018-05-24 7:18 GMT+02:00, André Hänsel <andre at webkr.de>:
>>2018-05-23 16:24 GMT+02:00, André Hänsel <andre at webkr.de>:
>>>>> I added -vsync 2 to the command line options and I got a file
>>>>> that has roughly the same number of frames as the input.
>>>
>>>> But it is - unfortunately! - an invalid file.
>>>
>>> Is there a ticket/additional info about what is/can be invalid in this
>>> file?
>>
>>I don't remember atm, sorry, git blame may help you.
>
> Hm, I found
> https://github.com/FFmpeg/FFmpeg/commit/91360ce6

Yes, this is the relevant commit.

Feel free to check the ffmbc sources (do not take patches
from it though, ffmbc is not lgpl!).

Carl Eugen


More information about the ffmpeg-user mailing list