Hi <br>Would you explain more clearly? As far as i know in VCL NAL units we have a 3 byte start code prefix which startwith 0x00 00 01. after that we have a byte which the first most significant bit (the most left bit) should be zero, the next two bits are nal_ref_idc which for I-Frames should not be zero, and the last 5 bit which are called nal_unit_type, they can be a number from 1 to 32. for frames they can be 1 to 5. ant it seems for i-frames the value of these 5 bit should be 5 according to standard. I would be pleased if you explain more about the values of 2,4,7,9 which u believe are i-frame codes..<br>
<br><div class="gmail_quote">On Sat, Apr 30, 2011 at 3:25 PM, Jaroslav Korchevsky <span dir="ltr"><<a href="mailto:jslav@mail.ru">jslav@mail.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><br><br>In VCL videoslice header there is a Variable Length coded field SliceType.<br>Types 2,4,7,9 - correspond to I-frames<br><br>Fri, 29 Apr 2011 11:49:42 +1000 письмо от Amir Rouhi-Rmit <<a href="mailto:amir.rouhi@rmit.edu.au" target="_blank">amir.rouhi@rmit.edu.au</a>>:<br>
<br><blockquote style="border-left:1px solid #0857A6;margin:10px;padding:0 0 0 10px"><div><div><div></div><div class="h5">Those who has worked deeply with FFMPEG should know the answer of my question. My question is that :<br>
how the software find I-Frame by parsing bit-stream of the input video. Can the software( FFMPEG, X264) can differentiate IDR and non IDR I-Frames? <br>
Probably yes, in that case what's the starting word bit stream of these two type of I-Frames? Some people believe that IDR I-Frames starting bit stream is 00 00 00 01 y in hex which (y=25, 45, 65). Are you agree with this?<br>

According to H.264 standard chapter 7 and annex B, The three byte start code bit-stream  00 00 01 is correct for starting VCL NAL units. But the one Byte header which start with 0, the rest of 7 bits can not be 0 if the picture is IDR. I confused, please somebody advise.<br clear="all">

<br>-- <br><div>Amir H. Rouhi</div>
<div>PhD Student/ CSIT RMIT University</div>
<div>Room: 14-09-04</div>
<div><a href="http://sentmsg?compose&To=rouhi_amirhossein@student.rmit.edu.au" target="_blank">rouhi_amirhossein@student.rmit.edu.au</a></div>
<div><a href="http://sentmsg?compose&To=amir.rouhi@rmit.edu.au" target="_blank">amir.rouhi@rmit.edu.au</a></div>
<div> </div><br></div></div>

_______________________________________________<br>
Libav-user mailing list<br>
<a href="http://sentmsg?compose&To=Libav%2duser@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
</div></blockquote><br></div>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>Amir H. Rouhi</div>
<div>PhD Student/ CSIT RMIT University</div>
<div>Room: 14-09-04</div>
<div><a href="mailto:rouhi_amirhossein@student.rmit.edu.au" target="_blank">rouhi_amirhossein@student.rmit.edu.au</a></div>
<div><a href="mailto:amir.rouhi@rmit.edu.au" target="_blank">amir.rouhi@rmit.edu.au</a></div>
<div> </div><br>