[Libav-user] MPEG-TS: how to access PCR field?

Andrea3000 andrea3000 at email.it
Thu Nov 10 12:06:05 CET 2011

Dear all,

I'm developing a media player which can handle quite every common
movie types thanks to FFmpeg. I use FFmpeg to parse raw packets
but not for decoding them. In some particular cases I need to access 
PCR values of transport stream which I know that are contained into 
MpegTSContext struct.
This structure seems to be internal because it is not available in 
FFmpeg headers.  

Is there a way to obtain PCR values along with AVPacket prior to
decoding the packet?

Thank you


More information about the Libav-user mailing list