[Libav-user] 0.8.5 and x264
Joshua Tidsbury
Joshua.Tidsbury at bellmedia.ca
Thu Oct 27 18:17:48 CEST 2011
Hi folks,
I went to upgrade one of our transcoders to the 0.8.5 release, and subsequently am receiving an error on some transcodes:
[libx264 @ 0xd6ddb0] Error: nal buffer is too small
In doing some research, it appears this is tied to a source code change in the libx264 interface to x264:
http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/135402
Am I the only one experiencing this particular failure as a result of this upgrade?
I have rolled the transcoder back to 0.8.2 and all is well again.
The log from the attempted transcode is below.
If there is a different mailing list I should be submitting this bug to, please let me know.
Many thanks,
Josh
----- LOG -----
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
ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 26 2011 15:56:05 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
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
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original_252161.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-10-27 14:30:11
Duration: 00:00:01.76, start: 0.000000, bitrate: 62358 kb/s
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
Metadata:
creation_time : 2011-10-27 14:30:11
Stream #0.1(eng): Data: tmcd / 0x64636D74, 0 kb/s
Metadata:
creation_time : 2011-10-27 14:30:20
[buffer @ 0xd7ee90] w:1032 h:581 pixfmt:yuvj422p tb:1/1000000 sar:1032/1032 sws_param:
[scale @ 0xd733f0] w:1032 h:581 fmt:yuvj422p -> w:640 h:360 fmt:yuv420p flags:0x4
[libx264 @ 0xd6ddb0] using SAR=1161/1162
[libx264 @ 0xd6ddb0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0xd6ddb0] profile Constrained Baseline, level 3.0
[libx264 @ 0xd6ddb0] 264 - core 116 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - 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
Output #0, mp4, to 'test.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-10-27 14:30:11
encoder : Lavf53.4.0
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
Metadata:
creation_time : 2011-10-27 14:30:11
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
[libx264 @ 0xd6ddb0] Error: nal buffer is too small
Video encoding failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111027/75a14f5b/attachment.html>
More information about the Libav-user
mailing list