[FFmpeg-devel] ffmpeg crash with out of memory error (perspective filter?)

Joshua Grauman jnfo-c at grauman.com
Tue Jun 14 07:00:29 CEST 2011


Hello all,

Unless I'm missing something, I think I must have found a memory leak in 
ffmpeg (probably the perspective filter?). The following command runs fine 
(ie. produces good output), but if I run it for too long (~6000+ frames), 
eventually the frame rate starts to drop and finally the process gets 
killed with an out of memory error. Anyone want to help me debug it? 
Here's my ffmpeg version info too (which I compiled from the main git 
source). Thanks!

Josh

ffmpeg -i Hebrew1/Hebrew1/00000.MTS -vf mp=perspective=16.183:29.2526:1412.85:3.24948:27.1531:1076.75:1423.82:1050.75:0 
-aspect 4:3 -r 30 -b 2000k -ab 256k out.mp4


ffmpeg version git-N-30743-ge6ba3d4, Copyright (c) 2000-2011 the FFmpeg 
developers
   built on Jun 13 2011 14:45:33 with gcc 4.4.3
   configuration: --enable-libfreetype --enable-gpl
   libavutil    51.  8. 0 / 51.  8. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  3. 1 / 53.  3. 1
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 18. 0 /  2. 18. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] 
outfile}...



More information about the ffmpeg-devel mailing list