[FFmpeg-user] 'key' frame only decoding
Nicolas George
george at nsup.org
Mon Jun 1 17:23:35 EEST 2020
rohit khali (12020-06-01):
> As part of initial checks, I came across below command, which seems to be
> working however was wondering why '-vsync 0' parameter is needed.
The output format you are using does not support timestamps, and
therefore must be used with constant frame rate, but keyframes are not
guaranteed to be constant frame rate. Therefore, ffmpeg will duplicate
frame as needed to meet the constant frame rate, by default the same as
the input.
-vsync 0 disables that: it tells ffmpeg to not bother about timestamps.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200601/478db249/attachment.sig>
More information about the ffmpeg-user
mailing list