MPlayer (latest CVS) crashes when playing VOB files
The error appears to be the following lines: X11 error: BadAlloc (insufficient resources for operation) Type: 0, display: 8437178, resourceid: 40, serial: 55 Error code: b, request code: 8d, minor code: 13 The complete output from "MPlayer -V" is shown below. Any ideas? Ross. ---------- %mplayer -V -x 360 -y 240 finalromance1.VOB MPlayer dev-CVS-040114-00:11-3.2.2 (C) 2000-2004 MPlayer Team CPU: Intel Celeron A Mendocino/Pentium II Dixon 365.2 MHz (Family: 6, Stepping: 10) Detected cache-line size is 32 bytes CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/rsf/.mplayer/config Reading /home/rsf/.mplayer/codecs.conf: 62 audio & 164 video codecs CommandLine: '-V' '-x' '360' '-y' '240' 'finalromance1.VOB' init_freetype get_path('font/font.desc') -> '/home/rsf/.mplayer/font/font.desc' font: can't open file: /home/rsf/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using MMX Optimized OnScreenDisplay Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Using usleep() timing get_path('input.conf') -> '/home/rsf/.mplayer/input.conf' Can't open input config file /home/rsf/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config get_path('finalromance1.VOB.conf') -> '/home/rsf/.mplayer/finalromance1.VOB.conf' Playing finalromance1.VOB. [file] File size is 1048576 bytes STREAM: [file] finalromance1.VOB STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) Checking for YUV4MPEG2 DEMUXER: freeing demuxer at 0x83a6d70 ASF_check: not ASF guid! DEMUXER: freeing demuxer at 0x83a6d70 Checking for NuppelVideo DEMUXER: freeing demuxer at 0x83a6d70 Checking for REAL DEMUXER: freeing demuxer at 0x83a6d70 Checking for SMJPEG DEMUXER: freeing demuxer at 0x83a6d70 DEMUXER: freeing demuxer at 0x83a75d8 Searching demuxer type for filename finalromance1.VOB ext: .VOB Trying demuxer 2 based on filename extension system stream synced at 0xD (0)! ==> Found video stream: 0 MPEG-PS file format detected. ==> Found audio stream: 128 Searching for sequence header... OK! VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334 get_path('sub/') -> '/home/rsf/.mplayer/sub/' get_path('default.sub') -> '/home/rsf/.mplayer/default.sub' ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 dec_audio: Allocating 3840 bytes for input buffer. dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer. No accelerated IMDCT transform found AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s A52 flags before a52_frame: 0x2A A52 flags after a52_frame: 0xA Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit) Selected audio codec: [a52] afm:liba52 (AC3-liba52) ========================================================================== X11 opening display: :0.0 vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F) vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local display) [x11] Detected wm supports layers. [x11] Using workaround for Metacity bugs. [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES) Trying filter chain: vo Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] SwScale params: -1 x -1 (-1=no scaling) Trying filter chain: scale vo The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1 Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2)) ========================================================================== Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... [libaf] Adding filter dummy [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) 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: 8/8 (4096 bytes/frag) free: 32768 AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 Starting playback... VDec: vo config request - 720 x 480 (preferred csp: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) VO Config (720x480->360x240,flags=0,'MPlayer',0x32315659) VO: [xv] 720x480 => 360x240 Planar YV12 VO: Description: X11/Xv VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x30323449 (I420) planar Xvideo image format: 0x35315652 (RV15) packed Xvideo image format: 0x36315652 (RV16) packed using Xvideo port 61 for hw scaling [xv] dx: 0 dy: 0 dw: 360 dh: 240 *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes [xv] dx: 0 dy: 0 dw: 360 dh: 240 *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes% get_path('subfont.ttf') -> '/home/rsf/.mplayer/subfont.ttf' New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. X11 error: BadAlloc (insufficient resources for operation) Type: 0, display: 8437178, resourceid: 40, serial: 55 Error code: b, request code: 8d, minor code: 13 MPlayer interrupted by signal 6 in module: flip_page - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. Uninit audio filters... [libaf] Removing filter dummy uninit audio: liba52 uninit video: libmpeg2 DEMUXER: freeing demuxer at 0x83a75d8 DEMUXER: freeing sh_video at 0x83a5410 DEMUXER: freeing sh_audio at 0x8421178 Xlib: unexpected async reply (sequence 0x58)! vo: uninit ...
Ross Finlayson wrote:
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html] The error appears to be the following lines: X11 error: BadAlloc (insufficient resources for operation) Type: 0, display: 8437178, resourceid: 40, serial: 55 Error code: b, request code: 8d, minor code: 13
The complete output from "MPlayer -V" is shown below.
Any ideas?
Ross.
Is this from a DVD, with "mplayer dvd://1 -dumpstream"? Doing that works fine for me, with CVS from a minute ago.... Perhaps there's an anomoly somewhere else in your system? Maybe your video card drivers aren't scaling in hardware properly? I would expect the behavior to be the same for DVDs, in that case. I really don't know, except to say that I'm not having any problem here. -Corey
participants (2)
-
Corey Hickey -
Ross Finlayson