[FFmpeg-devel] [RFC] Private streams in MPEG PS

Michael Niedermayer michaelni
Thu May 28 02:51:30 CEST 2009


On Wed, May 27, 2009 at 10:00:22PM +0100, M?ns Rullg?rd wrote:
> Jai Menon <jmenon86 at gmail.com> writes:
> 
> > Hi,
> >
> > I'm becoming increasingly suspicious of this check in lavf/mpeg.c:370 -
> >
> >   4093        mru     if (startcode == PRIVATE_STREAM_1 &&
> > !m->psm_es_type[startcode & 0xff]) {
> >
> >              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > Looking at issue 1122 and 725 on roundup,  I'm inclined to believe
> > that a lot of files out there don't have a program stream map (which I
> > didn't back when issue 725 was reported). Removing this check actually
> > would solve both 1122 and 725 without the need for the fix commited in
> > r17150.
> 
> Removing that check would break other files.  I have at least one file
> that needs this, or I wouldn't have added it.
> 
> The file in issue 1122 has this program stream map:
> 
> program_stream_map                       1bc   
>   program_stream_map_length              1e     30   
>   current_next_indicator                 1     
>   reserved                               3     

did you use some program to generate this?
if so is it available somewhere?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/20090528/3ac9a4e0/attachment.pgp>



More information about the ffmpeg-devel mailing list