[x264-devel] start code "00 00 00 01 65" and "00 00 00 01 45"

Sergey A. Sablin sergey.sablin at elecard.com
Fri Nov 9 03:29:49 CET 2007


some applications require exact value of nal_ref_idc for IDR pictures,
RTP iirc uses value 2 (ie highest priority).

Sergey.

alexander tian wrote:
> Hi, jp_liu
> 
> The "nal_ref_idc" in the "NAL unit" only interpret that some nal unit 
> should be 0 and some should not be 0. But it not interpret what's the 
> value for the IDR. So the two file all are right. You can understand the 
> means from the specification.
> 
> I think your decoder has some bugs. In addition, you should test h.264 
> file by JM which is reference software.
> 
> Best wishes
> Alexander Tian
> 
> 
> 
> 在07-11-8, *xiejun06* <xiejun06 at mails.thu.edu.cn 
> <mailto:xiejun06 at mails.thu.edu.cn>> 写道:
> 
>     I try the file, it can be decoded by JM. And the difference of two
>     file is the value of nal_ref_idc of the nal unite, it will not
>     effect the decoder, I think.
>      
>     ------------------------------------------------------------------------
>     xiejun06
>     2007-11-08
>     ------------------------------------------------------------------------
>     *发件人:* jp_liu
>     *发送时间:* 2007-11-08 17:50:34
>     *收件人:* x264-devel
>     *抄送:*
>     *主题:* [x264-devel] start code "00 00 00 01 65" and "00 00 00 01 45"
>      
>     x264-devel,hi
>      
>     I use two h264 encoders encode a video file, use almost the same
>     profile, baseline and level3.0.
>     But one of the output files like this:
>     "00 00 00 01 67 .....
>      00 00 00 01 68 .....
>      00 00 00 01 06 .....
>      00 00 00 01 45 .....
>      00 00 00 01 45 .....
>      00 00 00 01 06 .....
>      00 00 00 01 41 ....."
>      
>     And another one like this:
>     "00 00 00 01 67 .....
>      00 00 00 01 68 .....
>      00 00 00 01 06 .....
>      00 00 00 01 65 .....
>      00 00 00 01 65 .....
>      00 00 00 01 06 .....
>      00 00 00 01 41 ....."
>      
>     The strange thing is my stb decoder only can decode the first one,
>     if decoder the second file, it complain that
>     "The framesDropped reason is : unsupported parameter!
>     The framesDropped reason is : corrupted header!"
>      
>     Can any expert explain it for me, Thanks very much!
>      
>     jp_liu,jp_liu at astrocom.cn
>     <mailto:%3C%21--AID_FROMADDRESS_BEGIN--%3Ejp_liu at astrocom.cn%3C%21--AID_FROMADDRESS_END--%3E>
>     2007-11-08
> 
>     _______________________________________________
>     x264-devel mailing list
>     x264-devel at videolan.org <mailto:x264-devel at videolan.org>
>     http://mailman.videolan.org/listinfo/x264-devel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel



More information about the x264-devel mailing list