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

Måns Rullgård mru at inprovide.com
Tue Mar 7 22:39:38 CET 2006

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.

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

More information about the vlc-devel mailing list