Ville Skyttä kirjoitti:
On Monday 03 September 2007, Kartsa wrote:
I thought I'd try using mplayer plugin for DVDplayback but for some reason my mplayer plugin does not want to play DVD's (don't know why all settings should be correct in mplayer.sh.conf, even set debug to true).
Last time I tried it (I suppose you're talking about the vdr-mplayer package from livna.org) it did work for me out of the box. Mplayer didn't have DVD menu support back then - and I don't know if it has nowadays - so I lost interest to experiment further pretty quickly.
So NPTL seems to be the problem here. I decided to update my mplayer. Now the bahaviour changed so that the dvd starts but the screen stays black. This is what the log shows
logger: *** Starting mplayer.sh Version 0.8.7 logger: *** DEBUG: Variable CFGFIL has value "/etc/vdr/plugins/mplayer.sh.conf" logger: *** DEBUG: Variable USEAC3 has value "false" logger: *** DEBUG: Variable AC3AOUT has value "-ao alsa -ac hwac3" logger: *** DEBUG: Variable TV_ASPECT has value "4/3" logger: *** DEBUG: Variable PAL has value "true" logger: *** DEBUG: Variable NTSC has value "true" logger: *** DEBUG: Variable USE_SPEED has value "true" logger: *** DEBUG: Variable DETC_FILTER has value "ivtc=1" logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer" logger: *** DEBUG: Variable VOP has value "lavc=5000" logger: *** DEBUG: Variable VO has value "dxr3" logger: *** DEBUG: Variable AO has value "oss:/dev/em8300_ma-0" logger: *** DEBUG: Variable CACHE has value "4096" logger: *** DEBUG: Variable CACHESTR has value "-cache 4096" logger: *** DEBUG: Variable FRAMEDROP has value "true" logger: *** DEBUG: Variable FDSTR has value "-framedrop" logger: *** DEBUG: Variable LIRCRC has value "/etc/vdr/lircrc" logger: *** DEBUG: Variable LIRCSTR has value "-lircconf /etc/vdr/lircrc" logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30" logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc" logger: *** Use Option USERDEF at your own risk! logger: *** DEBUG: Variable USERDEF has value "-quiet" logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 704 720" logger: *** DEBUG: Variable XResNTSC has value "352 480 512 544 640 704 720" logger: *** DEBUG: Variable SLOW_CPU has value "false" logger: *** DEBUG: Variable DVDFiles has value "/usr/share/vdr/DVD-VCD" logger: *** DEBUG: Variable DVD has value "/dev/dvd" logger: *** DEBUG: Variable DVDLANG has value "fi" logger: *** DEBUG: Variable DVDOPTIONS has value "" logger: *** DEBUG: Variable VCDOPTIONS has value "" logger: *** DEBUG: Variable MPEG_DIRECT has value "true" logger: *** DEBUG: Variable SUFFIX has value "/dvd" logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo dxr3 -ao oss:/dev/em8300_ma-0 -alang fi -framedrop -cache 4096 -slave -nolirc -quiet -dvd-device /dev/dvd dvd://"
Trying the cmdline gives Playing dvd://. There are 53 titles on this DVD. There are 1 chapters in this DVD title. There are 1 angles in this DVD title. number of audio channels on disk: 0. number of subtitles on disk: 0 No matching DVD audio language found! Cache fill: 0.00% (0 bytes) MPEG-PS file format detected. MPEG: No audio stream found -> no sound. VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 4000.0 kbps (500.0 kbyte/s) Error opening/initializing the selected video_out (-vo) device.
And # mplayer -vo help MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team CPU: Intel(R) Celeron(R) D CPU 3.20GHz (Family: 15, Model: 6, Stepping: 5) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Available video output drivers: xv X11/Xv x11 X11 ( XImage/Shm ) xover General X11 driver for overlay capable video output drivers gl X11 (OpenGL) gl2 X11 (OpenGL) - multiple textures version dga DGA ( Direct Graphic Access V2.0 ) sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!) fbdev Framebuffer Device fbdev2 Framebuffer Device svga SVGAlib aa AAlib directfb Direct Framebuffer Device dfbmga DirectFB / Matrox G200/G400/G450/G550 xvidix X11 (VIDIX) cvidix console VIDIX null Null video output xvmc XVideo Motion Compensation mpegpes Mpeg-PES to DVB card yuv4mpeg yuv4mpeg output for mjpegtools png PNG file jpeg JPEG file gif89a animated GIF output tga Targa output pnm PPM/PGM/PGMYUV file md5sum md5sum of each frame
Seems like dxr3 is not supported.
The funny thing is that with a different DVD the cmdline starts playing the dvd but nothing is displayed even though the same error is shown.
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team CPU: Intel(R) Celeron(R) D CPU 3.20GHz (Family: 15, Model: 6, Stepping: 5) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. 112 audio & 235 video codecs Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick
Playing dvd://. There are 1 titles on this DVD. There are 7 chapters in this DVD title. There are 1 angles in this DVD title. audio stream: 0 format: mpeg1 (stereo) language: fi aid: 0. number of audio channels on disk: 1. number of subtitles on disk: 0 Selected DVD audio channel: 0 language: fi Cache fill: 0.39% (16384 bytes) MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 5000.0 kbps (625.0 kbyte/s) Error opening/initializing the selected video_out (-vo) device. ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback...
\Kartsa