[Libav-user] dts/pts/duration in packets
applemax82 at 163.com
Wed Sep 2 05:01:00 CEST 2015
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user