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

Joshua Grauman jnfo-c at grauman.com
Wed Jun 15 01:01:43 CEST 2011

Thanks! That fixed it. I'm not sure how to check for double frees though. 
I'll leave any fixes to you as I don't want to mess anything up ;) Let me 
know if there is anything else you'd like me to check about it though.


> On Tue, Jun 14, 2011 at 02:27:06PM -0700, Joshua Grauman wrote:
>> I want, but don't know enough ;) Maybe you can help me. I ran valgrind on
>> the following command:
>> valgrind --tool=memcheck --leak-check=full --track-origins=yes
>> /usr/local/ffmpeg/ffmpeg_g -i Hebrew1/Hebrew1/00000.MTS -t 1 -vf
>> mp=perspective=`qts2 getCrop.cpp -.8`:0 -aspect 4:3 -r 30 -b 2000k -ab
>> 256k hebrew12b.mp4
>> Here is the output. I should note that I didn't see all the memory leaks
>> listed when I ran the same command without the -vf=mp=perspective
>> stuff...
>> Any help would be appreciated!
> look at vf_mp.c end_frame() the outcommenetd unref
> maybe it fixes it but make sure it doesnt create double frees
> [...]

More information about the ffmpeg-devel mailing list