[Libav-user] ffmpeg audio pts/dts C++
wm4
nfxjfg at googlemail.com
Fri Jul 11 18:58:28 CEST 2014
On Fri, 11 Jul 2014 14:51:23 +0000
Neerav Patel <neeravpatel at hotmail.com> wrote:
> Oh I see!
> 70754080000/44100 = 1604400.9070294784580498866213152 seconds
> That is huge! is there a time reference that I have to subtract off?
>
> Thanks for your response!
Most "normal" files usually start at 0. But transport streams for
example can start with arbitrary timestamps. AVFormatContext has a
start_time field, which should provide you with a reasonable offset.
(But keep in mind that timestamps in transport streams can reset.)
More information about the Libav-user
mailing list