[FFmpeg-user] timestamp calculation

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Aug 31 09:59:33 CEST 2012

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

More information about the ffmpeg-user mailing list