[MPlayer-users] mencoder segmentation fault trying to convert a QT file to mpeg2

Philip Walden pwaldenlinux at pacbell.net
Tue Nov 8 22:32:03 CET 2005


I have a segmentation fault trying mencoder to convert a QT file to 
mpeg2. I have reduced the variables of the situation as much as 
possible. Output and gdb stack tace are below.

Seems to fail in the FFmpeg Sorenson Video v3 (SVQ3) code.

The original QT file is here:

http://www.nasa.gov/externalflash/cev/CEVedit2.mov

================================================

Starting program: /home/pwalden/downloads/mplayer/main/mencoder -ovc 
lavc -of mpeg -mpegopts format=dvd -lavcopts vcodec=mpeg2video 
CEVedit2.mov -o CEVedit2.mpg
[New Thread 1077356256 (LWP 3174)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
 
MEncoder dev-CVS-051024-19:56-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
 
success: format: 0  data: 0x0 - 0x1984040
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
Compressed header uses zlib algo!
Compressed header size: 29294 / 57565
--------------
MOV track #0: 1396 chunks, 9770 samples
MOV: Found unknown movie atom SMI  (21)!
Image size: 500 x 281 (24 bpp)
Display size: 500 x 281
Fourcc: SVQ3  Codec: 'Sorenson Video 3'
--------------
MOV: longest streams: A: #-1 (0 samples)  V: #0 (9770 samples)
VIDEO:  [SVQ3]  500x281  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7  fourcc:0x33515653  size:500x281  fps:30.00  ftime:=0.0333
PACKET SIZE: 2048 bytes
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffsvq3] vfm: ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
==========================================================================
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
VDec: vo config request - 500 x 281 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (500x281 fourcc=3267706d [mpg2])
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1077356256 (LWP 3174)]
0x08337510 in hl_decode_mb (h=0x4059b020) at h264.c:3446
3446                    chroma_dc_dequant_idct_c(h->mb + 16*16, 
h->chroma_qp, h->dequant4_coeff[IS_INTRA(mb_type) ? 1:4][h->chroma_qp][0]);
(gdb) bt
#0  0x08337510 in hl_decode_mb (h=0x4059b020) at h264.c:3446
#1  0x08348bec in svq3_decode_frame (avctx=0x8692080, data=0x8691fa0, 
data_size=0xbfffefcc, buf=0x86c8bb8 "A\003`", buf_size=1020) at svq3.c:971
#2  0x081f63f7 in avcodec_decode_video (avctx=0x8692080, picture=0x100, 
got_picture_ptr=0xbfffefcc, buf=0x100 <Address 0x100 out of bounds>,
    buf_size=1020) at utils.c:905
#3  0x080b4bd0 in decode (sh=0x86aac40, data=0x8692080, len=1020, 
flags=-1073745972) at vd_ffmpeg.c:818
#4  0x080b0a53 in decode_video (sh_video=0x86aac40, start=0x100 <Address 
0x100 out of bounds>, in_size=256, drop_frame=0) at dec_video.c:316
#5  0x08079bfe in main (argc=256, argv=0x100) at mencoder.c:1292
#6  0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)




More information about the MPlayer-users mailing list