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

yj yunjnz at yahoo.com
Wed Mar 8 02:03:57 CET 2006


Thank you.
and currently my problem lies in how to extract the I
frames in the TS stream to a new TS stream.


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

> yj <yunjnz at yahoo.com> writes:
> 
> > --- Måns Rullgård <mru at inprovide.com> wrote:
> >
> >> yj <yunjnz at yahoo.com> writes:
> >> 
> >> > Hi,
> >> > I've read the standards, and I got the idea
> that there
> >> > is a byte indicates the frame is I/P/B frame.
> >> > but that is for PS format,
> >> > how to split I/P/B frame for TS format?
> >> 
> >> There is no indicator of the frame type in either
> PS or TS.  You
> >> have to demux the stream and parse the video
> elementary stream
> >> (that's what 13818-2 describes).  The frame type
> is given in the
> >> picture header, see sections 6.2.3 and 6.3.9 in
> 13818-2.
> >
> > But I found the following sentence in 6.3.9:
> >
> > picture_coding_type -- The picture_coding_type
> > identifies whether a picture is an intra-coded
> > picture(I),
> > predictive-coded picture(P) or bidirectionally
> > predictive-coded picture(B).
> >
> > It seems that the field picture_coding_type is the
> > indicator, isn't it?
> 
> That is correct.
> 
> -- 
> 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