[FFmpeg-devel] [PATCH 1/2] avdevice/decklink: addition of copyts option

Marton Balint cus at passwd.hu
Sat Jan 20 20:50:34 EET 2018


On Sat, 20 Jan 2018, Carl Eugen Hoyos wrote:

> 2018-01-08 6:26 GMT+01:00  <vdixit at akamai.com>:
>
>> + at item decklink_copyts
>> +If set to @option{true}, timestamps are forwarded as they are without removing
>> +the initial offset.
>> +Defaults to @option{false}.
>
> Why is the offset ever removed?
> I believe this is not done for any other demuxer or is it?

The code keeps track separate audio and video initial offset, so even if 
you are using different clock sources for audio and video, you will get 
comparable output. Probably that is the reason.

Regards,
Marton


More information about the ffmpeg-devel mailing list