Chau Pham <chaupv79 <at> hotmail.com> writes: > Hi Everybody, Suppose that I know AVPacket element: > pts, dts, duration How could I calculate the timestamp > (hh:mm:ss:MMM)? pts is the presentation timestamp that you probably ask for. You have to scale it with the timebase to get seconds. Carl Eugen