Oops... (was: Re: [MPlayer-users] [BUG] Can't play DVDs with ffmpeg12)

Carlos Laviola carlos at laviola.org
Sun May 12 00:24:01 CEST 2002


Well, I'm really sorry, I have messed up in my original bug report.  But
I did not know that you had to be standing at mplayer's directory (the
one that has the source code) to be able to debug properly.

Can I offer a patch to bugreports.html to clear up the confusion?

Here's the (I hope) *real* back trace:

DEMUXER: freeing demuxer at 0x82e3fd8  
DEMUXER: freeing demuxer at 0x82e3fd8  
DVD Seek! lba=0x4  cell=0  packs: 0x4-0x2185B  
Angle-seek synced! skip=0  new_lba=0x4  
DEMUXER: freeing demuxer at 0x82e3fd8  
DVD Seek! lba=0x4  cell=0  packs: 0x4-0x2185B  
Angle-seek synced! skip=0  new_lba=0x4  
DEMUXER: freeing demuxer at 0x82e3fd8  
DEMUXER: freeing demuxer at 0x82e3fd8  
DVD Seek! lba=0x4  cell=0  packs: 0x4-0x2185B  
Angle-seek synced! skip=0  new_lba=0x4  
system stream synced at 0x200D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  12250.0 kbps (1531.2 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/claviola/.mplayer/sub/'
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
Selecting Audio Decoder: [liba52] AC3-liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 56000->192000
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bits/pixel (":0" => local display)
[x11] Detected wm is of class NetWM.
==========================================================================
Forced video codec: ffmpeg12
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
INFO: libavcodec init OK!
Forcing video codec: [ffmpeg12] drv:5 prio:0 (FFmpeg-1)
==========================================================================
vo_xv: get: XV_DOUBLE_BUFFER = 1
vo_xv: assume: XV_DOUBLE_BUFFER = 2000
vo_xv: get: XV_COLORKEY = 66046
vo_xv: assume: XV_COLORKEY = 31
vo_xv: get: XV_AUTOPAINT_COLORKEY = 1
vo_xv: assume: XV_AUTOPAINT_COLORKEY = 2000
vo_xv: get: XV_BRIGHTNESS = 0
vo_xv: assume: XV_BRIGHTNESS = 0
vo_xv: get: XV_CONTRAST = 4096
vo_xv: assume: XV_CONTRAST = 0
vo_xv: get: XV_SATURATION = 4096
vo_xv: assume: XV_SATURATION = 0
vo_xv: get: XV_HUE = 0
vo_xv: assume: XV_HUE = -1000
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 128/128  (1024 bytes/frag)  free: 131072
Start playing...
==> Found audio stream: 129
VDec: vo config request - 720 x 480, Planar YV12    0%  0%  0.0% 0 0 0%
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x437 (i=0) 
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
video_out->init(720x480->854x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 854x480 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 76 for hw scaling
vo_xv: reset gamma correction
[xv] dx: 0 dy: 0 dw: 854 dh: 512
*** [vo] Exporting mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 854 dh: 480
A:   0.4 V:   0.4 A-V: -0.038 ct:  0.000    5/  4   0%  0%  0.0% 0 0 0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 9130)]
0x08079847 in fast_memcpy (to=0x40c52000, from=0x8a0, len=720)
    at aclib_template.c:320
320			__asm__ __volatile__ (
(gdb) bt
#0  0x08079847 in fast_memcpy (to=0x40c52000, from=0x8a0, len=720)
    at aclib_template.c:320
#1  0x0807f67e in draw_slice (image=0x82e9cd8, stride=0x82e9ce4, w=720, h=480, 
    x=0, y=0) at vo_xv.c:626
#2  0x0809b8d7 in put_image (vf=0x83072e8, mpi=0x82e9cb8) at vf_vo.c:79
#3  0x080952a0 in decode_video (sh_video=0x82e6de0, start=0x40a12008 "", 
    in_size=2208, drop_frame=0) at dec_video.c:204
#4  0x08065c0e in main (argc=6, argv=0xbffffa44, envp=0xbffffa60)
    at mplayer.c:1546
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8079827 to 0x8079867:
0x8079827 <fast_memcpy+327>:	add    %edx,%esi
0x8079829 <fast_memcpy+329>:	add    %edx,%edi
0x807982b <fast_memcpy+331>:	sub    $0x40,%ecx
0x807982e <fast_memcpy+334>:	cmp    $0x40,%ecx
0x8079831 <fast_memcpy+337>:	jae    0x80797b0 <fast_memcpy+208>
0x8079837 <fast_memcpy+343>:	test   %ecx,%ecx
0x8079839 <fast_memcpy+345>:	je     0x807988e <fast_memcpy+430>
0x807983b <fast_memcpy+347>:	nop    
0x807983c <fast_memcpy+348>:	lea    0x0(%esi,1),%esi
0x8079840 <fast_memcpy+352>:	prefetchnta 0x140(%esi)
0x8079847 <fast_memcpy+359>:	movq   (%esi),%mm0
0x807984a <fast_memcpy+362>:	movq   0x8(%esi),%mm1
0x807984e <fast_memcpy+366>:	movq   0x10(%esi),%mm2
0x8079852 <fast_memcpy+370>:	movq   0x18(%esi),%mm3
0x8079856 <fast_memcpy+374>:	movq   0x20(%esi),%mm4
0x807985a <fast_memcpy+378>:	movq   0x28(%esi),%mm5
0x807985e <fast_memcpy+382>:	movq   0x30(%esi),%mm6
0x8079862 <fast_memcpy+386>:	movq   0x38(%esi),%mm7
0x8079866 <fast_memcpy+390>:	movntq %mm0,(%edi)
End of assembler dump.
(gdb) 

I hope this is right now...

Thanks,
Carlos.

-- 
 _ _  _| _  _  | _   . _ | _   icq -> bad -|- jabber -> good
(_(_|| |(_)_)  |(_|\/|(_)|(_|  Support Scientology! http://xenu.net




More information about the MPlayer-users mailing list