> 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