[vlc-devel] Re: Trick mode support for MPEG2 TS
Måns Rullgård
mru at inprovide.com
Mon Mar 6 10:07:34 CET 2006
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
More information about the vlc-devel
mailing list