[Ffmpeg-devel] Using 'vhook' or 'deinterlace' Causes SEGV

Paul Curtis pfc
Sat Oct 14 23:02:11 CEST 2006

FFmpeg version SVN-r6691, Copyright (c) 2000-2006 Fabrice Bellard, et al.
   configuration:  --enable-faac --enable-mp3lame --enable-faad 
--enable-a52 --enable-a52bin --enable-gpl --enable-faadbin 
--extra-libs=-lpthread --enable-x264 --enable-swscaler --enable-pp 
   libavutil version: 49.0.1
   libavcodec version: 51.20.0
   libavformat version: 50.6.0
   built on Oct 14 2006 16:54:45, gcc: 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

/space/ffmpeg/ffmpeg_g -i In.mpg -vcodec copy -acodec copy -deinterlace 

(gdb) where
#0  0xb7d869dc in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1  0x08160006 in avpicture_deinterlace (dst=0xbfeec434, src=0xbfeec318, 
pix_fmt=0, width=30000, height=480) at imgconvert.c:2647
#2  0x0805c6d6 in output_packet (ist=0x8405d70, ist_index=0, 
ost_table=0x84043d0, nb_ostreams=2, pkt=0xbfeec9d4) at ffmpeg.c:614
#3  0x0806010c in main (argc=9, argv=0x3fccc10c) at ffmpeg.c:1940

I'm looking at this now, but the width value is either something wild 
(as above) or optimized out. I'll continue to investigate. With no 
'vhook' or 'deinterlace', it runs fine. The pointers or variables in 
pre_process_video_frame() seem to be the problem ...


More information about the ffmpeg-devel mailing list