[FFmpeg-soc] H264 Timestamping

Robert Marston rmarston at crg.ee.uct.ac.za
Thu Apr 3 09:40:23 CEST 2008


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?

Thanks
Robert



More information about the FFmpeg-soc mailing list