2012/8/27 Wagner Patriota <[email protected]>:
> What is the formula for this conversion? (probably with exception for the
> first PTS, that seems to have no sense for MP4 case)

Tthere's a concept of "timebase". MPEG-TS has timebase of 1/90000 (90
kHz), thus 90000 units of dts/pts represent 1 second. I don't remember
same about MP4.
You can convert timestamps from one timebase to another, using
function av_rescale_q().

-- 
Andrey Utkin
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to