[MPlayer-dev-eng] [PATCH] MPEG-ES in GXF demuxer

Nico Sabbi nsabbi at email.it
Thu Aug 25 15:28:34 CEST 2005


Reimar Döffinger wrote:

>  
>
>>in all other cases you can implement a simple demuxer relying on a 
>>second probing function
>>    
>>
>
>Why duplicating code? It won't interfere with MPEG-PS detection as far
>as I can tell, since that is done before (line 451/452).
>Hmm... well, PES detection seems to be a bit below...
>Anyway, even then it is possible to move the if () a few lines down, in
>the worst case in the last place before failing autodetection.
>Though maybe somebody with access to the specs can see if we currently
>handle the 0x1BC and 0x1BF headers correctly? 
>

0x1bc is correctly handled by parse_psm(), 0x1bf contains pes_private2 
streams (not padding
as I wrote before) and discarded.

>E.g. will the extradata
>they contain be ended by any 0x1?? header or only by 0x100 as it seems
>to be the case with gxf?
>  
>

the PSM can contain everything. The only way to know when it's complete
is reading as many bytes as indicated in the length field

>Greetings,
>Reimar Döffinger
>
>  
>

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Fun Stepper
* Modella fianchi, gambe, glutei e brucia calorie divertendoti! clicca qui
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3851&d=25-8




More information about the MPlayer-dev-eng mailing list