[MPlayer-dev-eng] proposed new codecs.conf [Re: new video codec selection code]

Juan J. Sierralta P. juanjo at atmlab.utfsm.cl
Wed Mar 20 04:54:29 CET 2002


On Tue, 2002-03-19 at 23:35, Juan J. Sierralta P. wrote:

> 
> 	Oops. I just tried ffmpeg12 on MPlayer, just playing some decrypteds
> VOB and it just segfaults (both last CVS). Indeed it plays a few frames
> and then segfaults. I can bet its the telecine patch on mpeg12.c. But
> the only change I made was to repeat the field if it was signaled on the
> stream and actually that solved mpeg2 decoding on ffmpeg.
> 	I will check this later and made a proper bugreport .....

	Here is the GDB output:

GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) set args /mnt/win/Documents\ and\ Settings/juanjo/Mis\
documentos/Ripped/vts_01_1.vob
(gdb) run
Starting program: /home/juanjo/devel/mplayer/main/mplayer
/mnt/win/Documents\ and\ Settings/juanjo/Mis\
documentos/Ripped/vts_01_1.vob


MPlayer CVS-020319-21:15-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Tualatin (Type: 6, Stepping: 1)
extended cpuid-level: 4
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get
best performance, recompile mplayer from sources with
--disable-runtime-cpudetection
Reading /home/juanjo/.mplayer/codecs.conf: 24 audio & 66 video codecs
Font /home/juanjo/.mplayer/font/font.desc loaded successfully! (206
chars)
Linux RTC init error: Permission denied
Using usleep() timing
Can't open input config file /home/juanjo/.mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) config
Playing /mnt/win/Documents and Settings/juanjo/Mis
documentos/Ripped/vts_01_1.vob
Not an URL!
header block 1 size: 0
Detected MPEG-PS file format!
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
Detected audio codec: [a52] drv:14 (AC3-liba52)
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 56000->192000
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
VDec: vo config request - 720 x 480, Planar YV12  
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12 
vo: X11 running at 1400x1050 with depth 24 and 32 bits/pixel (":0" =>
local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 46 for hw scaling
[xv] dcx: 6 dcy: 19 dx: 0 dy: 0 dw: 854 dh: 480
Detected video codec: [ffmpeg12] drv:5 prio:0 (FFmpeg-1)
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
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:   4/4  (16384 bytes/frag)  free:  65536
Start playing...
[xv] dcx: 10 dcy: 554 dx: 0 dy: 0 dw: 854 dh: 480
A:  92.2 V:  92.7 A-V: -0.459 ct: -0.007    3/  3   0%  0%  0.0% 0 0 0%
Program received signal SIGSEGV, Segmentation fault.
0x806db67 in fast_memcpy (to=0x40581000, from=0x41cc, len=720) at
aclib_template.c:314
314			__asm__ __volatile__ (
(gdb) bt
#0  0x806db67 in fast_memcpy (to=0x40581000, from=0x41cc, len=720) at
aclib_template.c:314
#1  0x8073c7e in draw_slice (image=0x8297a18, stride=0x8297a24, w=720,
h=480, x=0, y=0) at vo_xv.c:616
#2  0x8081b50 in decode_video (video_out=0x81c0640, sh_video=0x827b198,
start=0x40480008 "", in_size=16844, drop_frame=0)
    at dec_video.c:187
#3  0x80505ca in main (argc=2, argv=0xbffff9c4, envp=0xbffff9d0) at
mplayer.c:1481
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x806db47 to 0x806db87:
0x806db47 <fast_memcpy+567>:	add    %edx,%esi
0x806db49 <fast_memcpy+569>:	add    %edx,%edi
0x806db4b <fast_memcpy+571>:	sub    $0x40,%ecx
0x806db4e <fast_memcpy+574>:	cmp    $0x40,%ecx
0x806db51 <fast_memcpy+577>:	jae    0x806dad0 <fast_memcpy+448>
0x806db57 <fast_memcpy+583>:	test   %ecx,%ecx
0x806db59 <fast_memcpy+585>:	je     0x806dbae <fast_memcpy+670>
0x806db5b <fast_memcpy+587>:	nop    
0x806db5c <fast_memcpy+588>:	lea    0x0(%esi,1),%esi
0x806db60 <fast_memcpy+592>:	prefetchnta 0x140(%esi)
0x806db67 <fast_memcpy+599>:	movq   (%esi),%mm0
0x806db6a <fast_memcpy+602>:	movq   0x8(%esi),%mm1
0x806db6e <fast_memcpy+606>:	movq   0x10(%esi),%mm2
0x806db72 <fast_memcpy+610>:	movq   0x18(%esi),%mm3
0x806db76 <fast_memcpy+614>:	movq   0x20(%esi),%mm4
0x806db7a <fast_memcpy+618>:	movq   0x28(%esi),%mm5
0x806db7e <fast_memcpy+622>:	movq   0x30(%esi),%mm6
0x806db82 <fast_memcpy+626>:	movq   0x38(%esi),%mm7
0x806db86 <fast_memcpy+630>:	movntq %mm0,(%edi)
End of assembler dump.
(gdb) 


-- 
Juanjo sin .sig :(




More information about the MPlayer-dev-eng mailing list