<div>set the variable i_slice_max_size value to the NALU size you want. e.g 1300bytes in the structure x264_param_t which is given during x264_encoder_open call. </div>
<div> </div>
<div>This slice size will be for all type of frames , I,P and B. </div>
<div>De-interlacing has nothing to do with slice size. </div>
<div><br> </div>
<div class="gmail_quote">On Sat, Jun 18, 2011 at 3:07 AM, Hardik Sharma <span dir="ltr"><<a href="mailto:hardik.sharma22@yahoo.com">hardik.sharma22@yahoo.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div style="BACKGROUND-COLOR: #fff; FONT-FAMILY: arial, helvetica, sans-serif; COLOR: #000; FONT-SIZE: 10pt">
<div style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">Hi guys,</div>
<div style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><br></div>
<div><font size="2" face="arial, helvetica, sans-serif">I am new to ffmpeg and that's why having some problems while using ffmpeg for x264. I want to control NALU and I believe by setting slice_max_size I can control it. Please help me by guiding how to control slice-max-size and please also let me know that by this feature can I control P and B frames slice size too or is it just for I frames? Do I have to de-interlace the video for using slice-max-size? </font></div>
<div><font size="2" face="arial, helvetica, sans-serif"><br></font></div>
<div><font size="2" face="arial, helvetica,
sans-serif">I really appreciate your any kind of help. Thanks.</font></div>
<div><font size="2" face="arial, helvetica, sans-serif"><br></font></div>
<div><font size="2" face="arial, helvetica, sans-serif">Regards,</font></div>
<div><font size="2" face="arial, helvetica, sans-serif">Harry </font></div></div></div><br>_______________________________________________<br>x264-devel mailing list<br><a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br><br></blockquote></div><br>