[FFmpeg-devel] seeking in ts (was: mpegvideo_parser outputs incomplete frames)

Michael Niedermayer michaelni
Wed Sep 5 18:46:56 CEST 2007


Hi

On Wed, Sep 05, 2007 at 02:31:50PM -0000, Wolfram Gloger wrote:
> > From: Michael Niedermayer <michaelni at gmx.at>
> > 
> > the problem is not so much if av_find_stream_info() can or cannot be
> > called in the middle of a stream but rather that there should not be
> > any need to
> > 
> > the parameters of an existing AVStream MUST NOT change if they do the
> > mpeg ts demuxer is buggy it should rather create a new stream
> 
> Interesting idea..  But not easy to realize -- in order to decide that
> for example the audio parameters are changing (eg. number of channels)
> the demuxer would have to parse and look at (all?) PES packets.

mpeg ts contain fields (splicing_point_flag and such) which indicte such
changes if i understand the spec correctly though i do not know if they
are mandatory, i hope they are ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070905/03ed9768/attachment.pgp>



More information about the ffmpeg-devel mailing list