[FFmpeg-user] syncing output stream

Yogesh Tyagi yogesh.bit2006 at gmail.com
Tue Oct 23 10:39:17 CEST 2012


Hi,

I have one small doubt.Why does ffmpeg calculates ost->sync_opts for
output stream.Would it not be possible to use the pts that video
encoders return with the encoded frame and write video packet to
output stream with this pts value?
Why should output stream packet's pts calculation be dependent on
decoded frame parameters?


Regards,
Yogesh


More information about the ffmpeg-user mailing list