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

Michael Niedermayer michaelni at gmx.at
Tue Jun 14 23:39:24 CEST 2011

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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110614/55d995e7/attachment.asc>

More information about the ffmpeg-devel mailing list