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

Carlos Laviola carlos at laviola.org
Sun May 12 06:29:02 CEST 2002


On Sun, May 12, 2002 at 02:17:08AM +0200, Arpi wrote:
> > Here's the (I hope) *real* back trace:
> > 
> > DEMUXER: freeing demuxer at 0x82e3fd8  
> 
> DO NOT CUT THE MPLAYER OUTPUT LOG
> PLEASE!

It is somewhat hard to cut & paste all the text, it tends to scroll by
and gets lost... :-/  I had included all that I could see then, but now
I've managed to include everything from the initial MPlayer startup
message to the crash.

> so, include uncutted mplayer -v ... output, and your config.h too
> and your /proc/cpuinfo too.

Below...

> you already sent 5+ useless mails.
> could you please send only one, but usefull mail next time?

Here I go again...

MPlayer CVS-020510-23:00-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/claviola/.mplayer/codecs.conf: can't open '/home/claviola/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 92 video codecs
CommandLine: '-v' '-vc' 'ffmpeg12' '-dvd' '4'
get_path('font/font.desc') -> '/home/claviola/.mplayer/font/font.desc'
Font /home/claviola/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/claviola/.mplayer/input.conf'
Can't open input config file /home/claviola/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing DVD title 4
get_path('') -> '/home/claviola/.mplayer/'
get_path('DVDKeys') -> '/home/claviola/.mplayer/DVDKeys'
libdvdcss debug: GetASF authenticated
libdvdcss debug: already authenticated
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 23 chapters in this DVD title.
There are 1 angles in this DVD title.
dvdcss: opening /home/claviola/.mplayer/DVDKeys/2001080311253900/000000d471 to look for key
DVD successfully opened!
[open] audio stream: 0 audio format: ac3 language: en aid: 128
[open] audio stream: 1 audio format: ac3 language: en aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: en
[open] subtitle ( sid ): 2 language: pt
[open] subtitle ( sid ): 3 language: pt
[open] number of subtitles on disk: 4
DVD start cell: 0  pack: 0x4-0x2185B  
DVD start=4 end=3835900  
DVD Seek! lba=0x4  cell=0  packs: 0x4-0x2185B  
Angle-seek synced! skip=0  new_lba=0x4  
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82e3fd8  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82e3fd8  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82e3fd8  
Checking for MOV
DEMUXER: freeing demuxer at 0x82e3fd8  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82e3fd8  
Checking for REAL
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  
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.5 V:   0.4 A-V:  0.004 ct:  0.007    5/  4   0%  0%  0.0% 0 0 0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 15889)]
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.

/proc/cpuinfo was at my 1st message, but here it is again:

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 4
model name	: AMD Athlon(tm) Processor
stepping	: 2
cpu MHz		: 1009.006
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips	: 2011.95

And here's config.h.

/* -------- This file has been automatically generated by configure ---------
   Note: Any changes in it will be lost when you run configure again. */

/* use GNU internationalisation */
#undef USE_I18N

/* Runtime Cpudetection */
#undef RUNTIME_CPUDETECT

#define PREFIX "/usr/local"

/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* Toggles debugging informations */
#define MP_DEBUG 1

/* Indicates that Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1

/* Indicates that dvdread is from libmpdvdkit */
#define USE_MPDVDKIT 1

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#define DVD_STRUCT_IN_LINUX_CDROM_H 1
#undef DVD_STRUCT_IN_SYS_CDIO_H
#undef DVD_STRUCT_IN_SYS_DVDIO_H
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
#undef HAVE_BSD_DVD_STRUCT
#define HAVE_LINUX_DVD_STRUCT 1
#undef SOLARIS_USCSI
#define HAVE_STDDEF_H 1

/* Common data directory (for fonts, etc) */
#define DATADIR "/usr/local/share/mplayer"
#define CONFDIR "/usr/local/share/mplayer"
#define LIBDIR "/usr/local/lib"

/* Define this to compile stream-caching support, it can be enabled via
   -cache <kilobytes> */
#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#define USE_DIVX

/* Define for using new XviD/DivX4Linux library, instead of open-source OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#define NEW_DECORE 1

/* Define if you are using DivX5Linux Decore library */
#define DECORE_DIVX5 1

/* Define to include support for libdv-0.9.5 */
#undef HAVE_LIBDV095

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available
   Note: for mencoder */
#define HAVE_DIVX4ENCORE 1

/* Indicates if libmp3lame is available
   Note: for mencoder */
#define HAVE_MP3LAME 1

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)
   -bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)
   with a stereo MPEG layer 2/3 audio stream. The command-line option
   -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
   right-only), with 0 being the default.
   */
#define USE_FAKE_MONO 1

/* Undefine this if your soundcard driver has no working select().
   If you have kernel Oops, player hangups, or just no audio, you should
   try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use RTC (/dev/rtc) for video timers (LINUX only) */
#define HAVE_RTC 1

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if you system has the header file for the OSS sound interface
 * in /usr/include */


/* Define this if your system uses ftello() for off_t seeking */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
# define ftello(a) ftell(a)
#endif

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

/* Define this if you have zlib */
#define HAVE_ZLIB 1

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

/* DVD navigation support using libdvdnav */
#undef USE_DVDNAV

/* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#define USE_WIN32DLL 1

/* DirectShow support */
#define USE_DIRECTSHOW 1

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* Use libfame encoder filter */
#undef USE_LIBFAME

/* XAnim DLL support */
#define USE_XANIM 1
/* Default search path */
#define XACODEC_PATH "/usr/lib/xanim"

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* gui support, please do not edit this option */
#undef HAVE_NEW_GUI

/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/dsp"
#define PATH_DEV_MIXER "/dev/mixer"
#define HAVE_ALSA5 1
#undef HAVE_ALSA9
#define HAVE_SYS_ASOUNDLIB_H 1
#undef HAVE_ALSA_ASOUNDLIB_H
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#define HAVE_NAS 1

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable Video 4 Linux TV interface support */
#undef HAVE_TV_V4L

/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

#define ARCH_X86 1

/* Define this for Cygwin build for win32 */


/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ 686

#define TARGET_LINUX 1

#define HAVE_VCD 1

#ifdef sun
#define	DEFAULT_CDROM_DEVICE	"/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom"
#define DEFAULT_DVD_DEVICE	"/dev/dvd"
#endif


/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
**       --enable/--disable options of the ./configure script!
**       See ./configure --help for details.
**
*---------------------------------------------------------------------------*/

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* termcap flag for getch2.c */
#define USE_TERMCAP 1

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#define HAVE_PNG 1

/* enable JPEG support */
#define HAVE_JPEG 1

/* libmad support */
#define USE_LIBMAD 1

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable FAAD (AAC) support */
#undef HAVE_FAAD

/* enable streaming */
#define STREAMING 1

/* enables / disables vidix usage */
#define CONFIG_VIDIX 1

/* enables / disables new input */
#define HAVE_NEW_INPUT 1

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* Extension defines */
#define HAVE_3DNOW 1	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#define HAVE_3DNOWEX 1	// only define if you have 3DNOWEX (AMD Athlon, etc.)
#define HAVE_MMX 1	// only define if you have MMX (newer x86 chips, not P54C/PPro)
#define HAVE_MMX2 1	// only define if you have MMX2 (Athlon/PIII/4/CelII)
#undef HAVE_SSE	// only define if you have SSE (Intel Pentium III/4 or Celeron II)
#undef HAVE_SSE2	// only define if you have SSE2 (Intel Pentium 4)

#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif

#undef HAVE_MLIB  // Sun mediaLib, available only on solaris

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#define HAVE_XF86VM 1
#define HAVE_XINERAMA 1
#define HAVE_GL 1
#define HAVE_DGA 1
#define HAVE_DGA2 1
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#define HAVE_GGI 1
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB


#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA

#define HAVE_FBDEV 1

#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAVE_SVGALIB
#define HAVE_VESA 1
#define HAVE_XDPMS 1
#define HAVE_AA 1

/* used by GUI: */


#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif

Sorry for the screw-ups.  I'll make some modifications to
bugreports.html to clarify the issues that have made my bug reporting
effort so difficult.

Thanks,
Carlos.

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




More information about the MPlayer-users mailing list