<br><br><div class="gmail_quote">2011/11/17 Måns Rullgård <span dir="ltr"><<a href="mailto:mans@mansr.com" target="_blank">mans@mansr.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Can Wu <<a href="mailto:wu.canus@gmail.com" target="_blank">wu.canus@gmail.com</a>> writes:<br>
<br>
> On Thu, Nov 17, 2011 at 9:25 AM, Laurent Aimar <<a href="mailto:fenrir@elivagar.org" target="_blank">fenrir@elivagar.org</a>> wrote:<br>
><br>
>> On Wed, Nov 16, 2011 at 11:13:03PM +0800, Can Wu wrote:<br>
>> > ---<br>
>> >  modules/demux/ts.c |    3 +++<br>
>> >  1 files changed, 3 insertions(+), 0 deletions(-)<br>
>> ><br>
>> > diff --git a/modules/demux/ts.c b/modules/demux/ts.c<br>
>> > index ff3ba66..352c8a3 100644<br>
>> > --- a/modules/demux/ts.c<br>
>> > +++ b/modules/demux/ts.c<br>
>> > @@ -2405,6 +2405,9 @@ static int PIDFillFormat( ts_pid_t *pid, int i_stream_type )<br>
>> >      case 0x1B:  /* H264 <- check transport syntax/needed descriptor */<br>
>> >          es_format_Init( fmt, VIDEO_ES, VLC_CODEC_H264 );<br>
>> >          break;<br>
>> > +    case 0x42:  /* CAVS (Chinese AVS) */<br>
>> > +        es_format_Init( fmt, VIDEO_ES, VLC_CODEC_CAVS );<br>
>> > +        break;<br>
>>  Is there a registration descriptor or something equivalent to detect CAVS<br>
>> streams? if not, do you know if this stream type has been properly assigned<br>
>> by ISO?<br>
>><br>
> Yeah, I couldn't find the define from a iso spec, I'm just got it from the<br>
> sample ts file, and some sample tools like  <a href="http://code.google.com/p/tstools" target="_blank">http://code.google.com/p/tstools</a>,<br>
> use this value.<br>
><br>
> AVS will be the standardard video coding standard, maybe the only one, and<br>
<br>
</div>????????<br></blockquote><div>Oh, I mean in china <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><br>
> it's also a ISO standard in ITU,<br>
<br>
</div>AVS is not an ISO or ITU standard.<br></blockquote><div>it's ITU standard, not?<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div><br>
> I think this stream_type value should not be random used.<br>
<br>
</div>The latest edition of the MPEG-TS spec (2006-05 + amendments) lists 0x42<br>
as "reserved".  There is (predictably) no mention of AVS or any other<br>
non-ISO standard.<br></blockquote><div>need more source to check...<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span><font color="#888888"><br>
--<br>
Måns Rullgård<br>
<a href="mailto:mans@mansr.com" target="_blank">mans@mansr.com</a><br>
</font></span><div><div><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>wucan<br><br>