<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Menlo, sans-serif; ">
<div>
<div>
<div style="color: rgb(0, 0, 0); font-family: Menlo, sans-serif; font-size: 14px; ">
Hi folks,</div>
<div style="color: rgb(0, 0, 0); font-family: Menlo, sans-serif; font-size: 14px; ">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Menlo, sans-serif; font-size: 14px; ">
I went to upgrade one of our transcoders to the 0.8.5 release, and subsequently am receiving an error on some transcodes:</div>
<div style="color: rgb(0, 0, 0); font-family: Menlo, sans-serif; font-size: 14px; ">
<br>
</div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><b>[libx264 @ 0xd6ddb0] Error: nal buffer is too small</b></font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">In doing some research, it appears this is tied to a source code change in the libx264 interface to x264:</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><a href="http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/135402">http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/135402</a></font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">Am I the only one experiencing this particular failure as a result of this upgrade?</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">I have rolled the transcoder back to 0.8.2 and all is well again.</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">The log from the attempted transcode is below.</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">If there is a different mailing list I should be submitting this bug to, please let me know.</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">Many thanks,</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">Josh</font></div>
</div>
</div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">----- LOG -----</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Menlo,sans-serif">
<div>ffmpeg -i original_252161.mov -threads 0 -acodec libfaac -aq 150 -ab 96k -ar 44100 -vcodec libx264 -pix_fmt yuv420p -level 30 -b 900k -vf "scale=640:360" -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -subq 5 -trellis
1 -refs 5 -profile baseline -bf 0 -coder 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 test.mp4</div>
<div><br>
</div>
<div>ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers</div>
<div> built on Oct 26 2011 15:56:05 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)</div>
<div> configuration: --prefix=/usr/local --enable-pic --enable-shared --disable-mmx --enable-libmp3lame --enable-gpl --enable-zlib --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libfaac --enable-nonfree --enable-libx264 --enable-pthreads</div>
<div> libavutil 51. 9. 1 / 51. 9. 1</div>
<div> libavcodec 53. 7. 0 / 53. 7. 0</div>
<div> libavformat 53. 4. 0 / 53. 4. 0</div>
<div> libavdevice 53. 1. 1 / 53. 1. 1</div>
<div> libavfilter 2. 23. 0 / 2. 23. 0</div>
<div> libswscale 2. 0. 0 / 2. 0. 0</div>
<div> libpostproc 51. 2. 0 / 51. 2. 0</div>
<div><br>
</div>
<div>Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)</div>
<div>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original_252161.mov':</div>
<div> Metadata:</div>
<div> major_brand : qt </div>
<div> minor_version : 537199360</div>
<div> compatible_brands: qt </div>
<div> creation_time : 2011-10-27 14:30:11</div>
<div> Duration: 00:00:01.76, start: 0.000000, bitrate: 62358 kb/s</div>
<div> Stream #0.0(eng): Video: mjpeg, yuvj422p, 1032x581 [PAR 72:72 DAR 1032:581], 62323 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc</div>
<div> Metadata:</div>
<div> creation_time : 2011-10-27 14:30:11</div>
<div> Stream #0.1(eng): Data: tmcd / 0x64636D74, 0 kb/s</div>
<div> Metadata:</div>
<div> creation_time : 2011-10-27 14:30:20</div>
<div>[buffer @ 0xd7ee90] w:1032 h:581 pixfmt:yuvj422p tb:1/1000000 sar:1032/1032 sws_param:</div>
<div>[scale @ 0xd733f0] w:1032 h:581 fmt:yuvj422p -> w:640 h:360 fmt:yuv420p flags:0x4</div>
<div>[libx264 @ 0xd6ddb0] using SAR=1161/1162</div>
<div>[libx264 @ 0xd6ddb0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2</div>
<div>[libx264 @ 0xd6ddb0] profile Constrained Baseline, level 3.0</div>
<div>[libx264 @ 0xd6ddb0] 264 - core 116 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 -
<a href="http://www.videolan.org/x264.html">http://www.videolan.org/x264.html</a> - options: cabac=0 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=dia subme=5 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1
chroma_qp_offset=0 threads=24 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=10
qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00</div>
<div>Output #0, mp4, to 'test.mp4':</div>
<div> Metadata:</div>
<div> major_brand : qt </div>
<div> minor_version : 537199360</div>
<div> compatible_brands: qt </div>
<div> creation_time : 2011-10-27 14:30:11</div>
<div> encoder : Lavf53.4.0</div>
<div> Stream #0.0(eng): Video: libx264, yuv420p, 640x360 [PAR 1161:1162 DAR 1032:581], q=10-51, 900 kb/s, 30k tbn, 29.97 tbc</div>
<div> Metadata:</div>
<div> creation_time : 2011-10-27 14:30:11</div>
<div>Stream mapping:</div>
<div> Stream #0.0 -> #0.0</div>
<div>Press [q] to stop, [?] for help</div>
<div><b>[libx264 @ 0xd6ddb0] Error: nal buffer is too small </b></div>
<div>Video encoding failed</div>
<div><br>
</div>
</font></div>
</body>
</html>