[Libav-user] how to convert pts/dts to value in normal time unit

qw applemax82 at 163.com
Fri Sep 11 12:52:04 CEST 2015


Hi,


In AVPacket, pts/dts and duration is in AVStream->time_base units. Does ffmpeg provide some function that can convert those timestamps into value in the unit of second or millisecond?


Thanks!


B.R.


Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150911/2484e940/attachment.html>


More information about the Libav-user mailing list