[Libav-user] ffmpeg audio pts/dts C++
nfxjfg at googlemail.com
Fri Jul 11 11:37:47 CEST 2014
On Fri, 11 Jul 2014 04:55:59 +0000
Neerav Patel <neeravpatel at hotmail.com> wrote:
> Hi There I am trying to understand the pts value in an audio encoded packet in ffmpeg. I checked my timebase to be 1/44100 and some pts values : 70754080000, 70759090000, back to back packet pts values. I dont know how to convert that to real time. I would imagine it having something to do with the time base. I an se that the packets seem to be coming in every half a second, but not sure how that equates to the numbers provided. Any help would be greatly appreciated.
Dividing the PTS by timebase gives you the timestamp in seconds.
More information about the Libav-user