[vlc-devel] Re: Trick mode support for MPEG2 TS

yj yunjnz at yahoo.com
Mon Mar 6 10:18:00 CET 2006


Thank you.
I still don't know how to determine the frame type(I P
B).
can you please describe the detail information? thank
you.


--- Måns Rullgård <mru at inprovide.com> wrote:

> yj <yunjnz at yahoo.com> writes:
> 
> f> As a simple implementation, I think Fast Forward
> can
> > be implemented by only decode I-Frame(if we need
> > faster forward, we may discard some I-Frames...),
> > But in this mode, how can we implement Slow Play?
> 
> You can insert null P frames to make it slower.
> 
> > and how to determine which frame is I-Frame? I
> didn't
> > find any flags for frame type in the MPEG2 TS
> frame
> > structure, can you help me?
> 
> You need to demux and parse the elementary stream.
> 
> > Also, how to determine the whole length of the TS
> > stream?
> 
> The only reliable way is to scan the entire stream
> and examine the
> PCR.
> 
> -- 
> Måns Rullgård
> mru at inprovide.com
> 
> -- 
> This is the vlc-devel mailing-list, see
> http://www.videolan.org/vlc/
> To unsubscribe, please read
> http://developers.videolan.org/lists.html
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list