[FFmpeg-devel] segfaults: Internal buffer inconsistency. flushbits <> ResvSizebit reservoir error
Artur Bodera
abodera
Thu Jan 21 21:28:51 CET 2010
Hi!
When transcoding another MP4 I've just received: "Internal buffer
inconsistency. flushbits <> ResvSizebit reservoir error:". FFmpeg is
throwing french at me? :-)
It happens on this particular mp4 file (encoded with handbrake, plain
default settings).
Any ideas what could be the cause and how to work around it?
# ffmpeg -y -v 1 -i file.mp4 -b 1024k -bt 1024k -g 40 -acodec libmp3lame
-ac 2 -ab 96k -ar 44100 -vfilters "movie=0:png:logo.png
[wm];movie=0:png:236.png [awm];[in][wm] overlay=15:mainH-overlayH-15:1
[int];[int][awm] overlay=mainW-overlayW-15:mainH-overlayH-15:1 [out]" -f flv
./video.flv 2>&1
FFmpeg version SVN-r20880, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Dec 20 2009 13:52:13 with gcc 4.3.2 20081105 (Red Hat 4.3.2-7)
configuration: --prefix=/usr --incdir=/usr/include --libdir=/usr/lib64
--mandir=/usr/share/man --arch=x86_64 --shlibdir=/usr/lib64
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
--enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads
--enable-gpl --enable-debug --enable-avfilter --enable-avfilter-lavf
--enable-nonfree
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.43. 0 / 52.43. 0
libavformat 52.43. 0 / 52.43. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.12. 0 / 1.12. 0
libswscale 0. 7. 2 / 0. 7. 2
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 30.00
(30/1) -> 15.00 (15/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
encoder : HandBrake 0.9.4 2009112300
Duration: 09:46:06.86, start: 0.000000, bitrate: 561 kb/s
Stream #0.0(und): Video: h264, yuv420p, 964x900, 423 kb/s, 30 fps, 15
tbr, 90k tbn, 30 tbc
Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 134 kb/s
[overlay @ 0x10adc60]auto-inserting filter 'scale'
[overlay @ 0x109f5e0]auto-inserting filter 'scale'
[scale @ 0x10a7e90]w:135 h:35 fmt:yuva420p
[scale @ 0x10a8010]w:132 h:35 fmt:yuva420p
Output #0, flv, to './video.flv':
Stream #0.0(und): Video: flv, yuv420p, 964x900, q=2-31, 1024 kb/s, 1k
tbn, 15 tbc
Stream #0.1(und): Audio: libmp3lame, 44100 Hz, stereo, s16, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[...]
frame=213938 fps= 58 q=2.0 size= 1956798kB time=14262.86
bitrate=1123.9kbits/s dup=0 drop=1
frame=213967 fps= 58 q=2.0 size= 1956878kB time=14264.82
bitrate=1123.8kbits/s dup=0 drop=1
Internal buffer inconsistency. flushbits <> ResvSizebit reservoir error:
l3_side->main_data_begin: 3096
Resvoir size: -96720
resv drain (post) -7
resv drain (pre) 0
header and sideinfo: 288
data bits: 1949
total bits: 2230 (remainder: 6)
bitsperframe: 2504
This is a fatal error. It has several possible causes:90
0X0.00000000000012P-14437ME compiled with buggy version of gcc using
advanced optimizations 9% Your system is overclocked 1% bug in LAME encoding
libraryInternal buffer inconsistency. flushbits <> ResvSizeInternal buffer
inconsistency. flushbits <> ResvSize
Segmentation fault
Thanks!
--
__
/.)\ +48 695 600 936
\(./ abodera at gmail.com
--
--
__
/.)\ +48 695 600 936
\(./ abodera at gmail.com
More information about the ffmpeg-devel
mailing list