[Libav-user] dts/pts/duration in packets

qw applemax82 at 163.com
Wed Sep 2 05:01:00 CEST 2015


Hi,


I'm using avcodec_encode_video2() and avcodec_encode_audio2() to encode video and audio raw data respectively. Can the two encoding function calculate dts/pts/duration of output packets itself? Or I'll calculate those timestamp values by using other method? Does ffmpeg provide examples to calculate those timestamp values?


Thanks!


Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150902/24f48c12/attachment.html>


More information about the Libav-user mailing list