[FFmpeg-devel] double free when encoding in flv

Frédéric Léger fleger
Thu Jan 17 13:06:31 CET 2008


Hi all,

we've got some strange problem when using ffmpeg (last svn version) to 
encode as flv :

When trying to encode the file we use this commend line :

ffmpeg -i /home/fred/myvideo.mpg -b 800000 -r 25 -padbottom 0 -padtop 0 
-padleft 16 -padright 16 -ab 128000 -ar 44100 -s 352x288 /tmp/test.flv

And then we encounter the following crash during encoding :

FFmpeg version SVN-r11549, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-libmp3lame --enable-libfaad 
--enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid 
--enable-libamr_nb --enable-libamr_wb --enable-pp --enable-liba52 
--enable-libtheora --enable-libgsm --enable-libx264 --enable-liba52bin
  libavutil version: 49.6.0
  libavcodec version: 51.49.0
  libavformat version: 52.4.0
  libavdevice version: 52.0.0
  built on Jan 17 2008 12:28:51, gcc: 4.1.2 20061115 (prerelease) 
(Debian 4.1.1-21)
Input #0, mpeg, from '/home/fred/myvideo.mpg':
  Duration: 00:02:13.2, start: 0.000000, bitrate: 1388 kb/s
    Stream #0.0[0x1c0]: Audio: mp2, 44100 Hz, stereo, 224 kb/s
    Stream #0.1[0x1e0]: Video: mpeg1video, yuv420p, 352x288 [PAR 1:1 DAR 
11:9], 1150 kb/s, 25.00 tb(r)
File '/tmp/test.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to '/tmp/test.flv':
    Stream #0.0: Video: flv, yuv420p, 384x288 [PAR 11:12 DAR 11:9], 
q=2-31, 800 kb/s, 25.00 tb(c)
    Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Press [q] to stop encoding
frame= 3332 fps= 41 q=2.0 Lsize=   15173kB time=133.3 bitrate= 
932.6kbits/s   
video:12957kB audio:2083kB global headers:0kB muxing overhead 0.878135%
*** glibc detected *** double free or corruption (!prev): 0x087081d0 ***
Abandon


I attached gdb output, but don't understand much.
Does someone can help with this anoying problem ?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb_ffmpeg.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080117/1df64297/attachment.txt>



More information about the ffmpeg-devel mailing list