[FFmpeg-user] timestamp calculation

Roger Pack rogerdpack2 at gmail.com
Fri Aug 31 15:30:01 CEST 2012


> Hi Everybody, Suppose that I know AVPacket element: pts, dts, duration How could I calculate the timestamp (hh:mm:ss:MMM)? Thank You,Chau Pham.

I know within libavfilter you can use methods like
av_ts2str/av_ts2timestr

ref: https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/af_ashowinfo.c


More information about the ffmpeg-user mailing list