[Live-devel] presentationTime and B-Frames

Julian Lamberty julian.lamberty at mytum.de
Mon Jul 2 00:36:51 PDT 2007


> Note that In your original MPEG-2 stream, with B-frames, the frames 
> will be in decoding order, which is different from the display order, 
> and thus different from the order of frames in the resulting MPEG-4 
> stream (because that doesn't have B frames).  In particular, the 
> presentation times in the original MPEG-2 stream, with B-frames, will 
> *not* be monotonically increasing.  You will need to reorder the 
> presentation times accordingly when you convert the stream to MPEG-4 
> (without B-frames).
>   

My source is the vobStreamer application. Examining the packets it looks 
like if they are sent rather in display order (IBBPBBPBBPBBI...). Is 
that true for the vobStreamer?

How is the timeval structure mapped onto the 32bit presentation time in 
the RTP packet, what interval do I have to add to fPresentationTime to 
make RTP timestamp increase by 3600 (i.e. one frame duration @25Hz)?

Thanks
Julian


More information about the live-devel mailing list