Chau Pham <chaupv79 <at> hotmail.com> writes: > I know pts, duration in AVPacket, totol seconds = > pts/90000 + duration/90000 Don't forget that not every stream has timebase == 90000. Please do not top-post here, Carl Eugen