[FFmpeg-soc] H264 Timestamping

Michael Niedermayer michaelni at gmx.at
Thu Apr 3 13:36:50 CEST 2008


On Thu, Apr 03, 2008 at 09:40:23AM +0200, Robert Marston wrote:
> Michael Niedermayer wrote:
> > On Wed, Apr 02, 2008 at 06:39:37PM +0200, Robert Marston wrote:
> >   
> >>
> >> As far as I can tell the pts and dts values can be determined from 
> >> information such as the SEI timing and buffering messages and the SPS 
> >> VUI timing information.
> >>
> >> I am trying to reference the information in the H.264 decoder from the 
> >> parser, h264_parse(), eg. h->sps.timing_info_present_flag.  I've tried 
> >> other ways of de-referencing the pointer but I don't seemed to be 
> >> getting the right information. Can anybody see if I am doing something 
> >> wrong?
> >>     
> >
> > There can be a parser without a decoder.
> >
> >   
> Thats what I though/feared, so in order to get the timing information 
> the parser will have to decode the nal units and extract sps and pps 
> information from them. Is it alright if I reuse some of the extraction 
> code from H264.c then?

yes

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080403/4e8cc659/attachment.pgp>


More information about the FFmpeg-soc mailing list