[Mplayer-advusers] [BUG] Mencoder Crash when trying to encode VCD-to-avi
ismail donmez
voidcartman at yahoo.com
Thu Jan 2 16:26:30 CET 2003
Mencoder crashes when I try to encode a VCD (
Southpark The Movie ) into
avi. Here is the option passed to mencoder.
mencoder -vcd 1 -o southpark.avi -oac copy -ovc lavc
-lavcopts
vcodec=mpeg4:vbitrate=1000:vhq:vqmin=2:
vlelim=-4:vcelim=9:lumi_mask=0.05:dark_mask=0.01:vpass=1
<<The Crash>> :
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /opt/movie/share/locale
MEncoder CVS-030102-09:59-3.2.1 (C) 2000-2002 Arpad
Gereoffy (see DOCS)
CPU: Intel Celeron 2/Pentium III
Coppermine,Geyserville (Family: 6,
Stepping: 3)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0
SSE: 1 SSE2: 0
Reading /home/cartman/.mplayer/codecs.conf: 49 audio &
126 video codecs
File not found: 'frameno.avi'
Reading config file /home/cartman/.mplayer/mencoder:
Böyle bir dosya ya da
dizin yok
init_freetype
track 01: adr=1 ctrl=4 format=2 00:02:00 mode:
152
track 02: adr=1 ctrl=4 format=2 00:18:00 mode:
152
success: format: 0 data: 0x551B8 - 0x2FDF78
MPEG-PS file format detected.
VIDEO: MPEG1 352x288 (aspect 8) 25.00 fps 1439.5
kbps (179.9 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:352x288
fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio:
28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG
layer-2, layer-3)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video
passthrough
VDec: vo config request - 352 x 288 (preferred csp:
Mpeg PES)
Could not find matching colorspace - retrying with
-vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with
this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video
decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 352 x 288 (preferred csp:
Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie
aspect.
videocodec: libavcodec (352x288 fourcc=58564944
[DIVX])
High quality encoding selected (non real time)!
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or
2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=50 chans=2 rate=44100
bits=16 bps=28000
sample=1)
Writing AVI header...
Pos: 5.6s 141f (121%) 25fps Trem: 0min 0mb
A-V:0.081 [126:224]
Skipping frame!!!
Pos: 6.4s 163f (124%) 24fps Trem: 0min 0mb
A-V:0.081 [296:224]
Skipping frame!!!
Pos: 7.6s 193f (133%) 17fps Trem: 0min 0mb
A-V:0.081 [636:224]
Skipping frame!!!
Pos: 29.4s 739f (267%) 16fps Trem: 0min 1mb
A-V:0.066 [933:224]]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 27366)]
0x081d75f0 in sad16x16_mmx2 (s=0x836d880,
blk2=0x843d260 "xegif¨ºt]chglgel", '\005' <repeats
17 times>,
"7µ§¦¦©¦¨¨¨§¨©¨©\t6²©ª§¨©©©©©©©¨©ª©ª««««¬¬¬¬¬¬®¬¬¬¬®®®®®®®®®®®¯¯¯¯¯¯¯¯²±±±³´³²³³´³²³³³²±²²²²³³³´³³´´³³³´µµ´´´´´´µµµµ´´´´µµ¶¶¶´´´µµ¶¶¶·······¸¸¸¸¸¸¸¸¹¹¸¸¸¸¹¹¹¹"...,
blk1=0x316cf7e0 <Address 0x316cf7e0 out of bounds>,
stride=384)
at i386/motion_est_mmx.c:70
70 asm volatile(
<<Complete Backtrace>> :
(gdb) bt
#0 0x081d75f0 in sad16x16_mmx2 (s=0x836d880,
blk2=0x843d260 "xegif¨ºt]chglgel", '\005' <repeats
17 times>,
"7µ§¦¦©¦¨¨¨§¨©¨©\t6²©ª§¨©©©©©©©¨©ª©ª««««¬¬¬¬¬¬®¬¬¬¬®®®®®®®®®®®¯¯¯¯¯¯¯¯²±±±³´³²³³´³²³³³²±²²²²³³³´³³´´³³³´µµ´´´´´´µµµµ´´´´µµ¶¶¶´´´µµ¶¶¶·······¸¸¸¸¸¸¸¸¹¹¸¸¸¸¹¹¹¹"...,
blk1=0x316cf7e0 <Address 0x316cf7e0 out of bounds>,
stride=384)
at i386/motion_est_mmx.c:70
#1 0x0817d129 in simple_epzs_motion_search
(s=0x836d880, block=0,
mx_ptr=0xbffe56c4, my_ptr=0xbffe56c8,
P=0xbffe56e0, pred_x=0, pred_y=0, xmin=-352,
ymin=-288, xmax=16,
ymax=16, ref_picture=0x836e318,
last_mv=0x838e940, ref_mv_scale=32768,
mv_penalty=0x83b7c82) at
motion_est_template.c:856
#2 0x08192cfc in ff_pre_estimate_p_frame_motion
(s=0x836d880, mb_x=21,
mb_y=0) at motion_est.c:1078
#3 0x0814ed24 in encode_picture (s=0x836d880,
picture_number=735) at
mpegvideo.c:2799
#4 0x08149c41 in MPV_encode_picture (avctx=0x11,
buf=0xffffe800 <Address
0xffffe800 out of bounds>,
buf_size=-6144, data=0xffffe800) at
mpegvideo.c:1227
#5 0x08146a8a in avcodec_encode_video
(avctx=0x836d380, buf=0xffffe800
<Address 0xffffe800 out of bounds>,
buf_size=-6144, pict=0xffffe800) at utils.c:300
#6 0x0806f8e0 in put_image (vf=0x836d250,
mpi=0x316d0fe0) at ve_lavc.c:473
#7 0x080855e9 in vf_next_put_image (vf=0xffffe800,
mpi=0xffffe800) at
vf.c:399
#8 0x08077931 in decode_video (sh_video=0x835b2b0,
start=0xffffe800
<Address 0xffffe800 out of bounds>,
in_size=-6144, drop_frame=0) at dec_video.c:329
#9 0x0804d34e in main (argc=-6144, argv=0xffffe800)
at mencoder.c:1088
#10 0x40b51f94 in __libc_start_main (main=0x804c8c0
<main>, argc=12,
ubp_av=0x836d1c0,
init=0x804b480 <_init>, fini=0,
rtld_fini=0x316d0fe0,
stack_end=0x843ea60)
at ../sysdeps/generic/libc-start.c:144
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x81d75d0 to 0x81d7610:
0x81d75d0 <sad16x16_mmx2+16>: mov 0x10(%ebp),%edi
0x81d75d3 <sad16x16_mmx2+19>: mov
%esi,0x4(%esp,1)
0x81d75d7 <sad16x16_mmx2+23>: pxor %mm7,%mm7
0x81d75da <sad16x16_mmx2+26>: pxor %mm6,%mm6
0x81d75dd <sad16x16_mmx2+29>: mov %ebx,%esi
0x81d75df <sad16x16_mmx2+31>: mov 0xc(%ebp),%edx
0x81d75e2 <sad16x16_mmx2+34>: shl $0x4,%esi
0x81d75e5 <sad16x16_mmx2+37>: mov %esi,%eax
0x81d75e7 <sad16x16_mmx2+39>: neg %eax
0x81d75e9 <sad16x16_mmx2+41>: mov %edi,%ecx
0x81d75eb <sad16x16_mmx2+43>: sub %eax,%ecx
0x81d75ed <sad16x16_mmx2+45>: sub %eax,%edx
0x81d75ef <sad16x16_mmx2+47>: nop
0x81d75f0 <sad16x16_mmx2+48>: movq
(%ecx,%eax,1),%mm0
0x81d75f4 <sad16x16_mmx2+52>: movq
(%edx,%eax,1),%mm2
0x81d75f8 <sad16x16_mmx2+56>: psadbw %mm2,%mm0
0x81d75fb <sad16x16_mmx2+59>: add %ebx,%eax
0x81d75fd <sad16x16_mmx2+61>: movq
(%ecx,%eax,1),%mm1
0x81d7601 <sad16x16_mmx2+65>: movq
(%edx,%eax,1),%mm3
0x81d7605 <sad16x16_mmx2+69>: psadbw %mm1,%mm3
0x81d7608 <sad16x16_mmx2+72>: paddw %mm3,%mm0
0x81d760b <sad16x16_mmx2+75>: paddw %mm0,%mm6
0x81d760e <sad16x16_mmx2+78>: add %ebx,%eax
End of assembler dump.
<<System Info>> :
gcc 3.2.1
glibc 2.3.1
binutils 2.13.1
<<Mplayer Compile options>> :
./configure --enable-debug=3 --disable-vidix
=====
Microsoft Windows: made for the internet
The Internet: made for UNIX
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the MPlayer-advusers
mailing list