Ich habe meinen VDR auf 1.3.12 upgedatet
mplayer-Plugin ist die Version 0.9.3, mplayer.sh 0.8.5
Distribution ist Gentoo
kernel 2.4.21
Für den SAT-Empfang nutze ich eine Technotrend FF DVB-Karte rev 1.3 und eine budget-Karte, glaube auch von TT
Wenn ich per mplayer-Plugin einen Film starten will, wird das Bild kurz schwarz, springt dann aber wieder zurück in den Fernseh-Modus. Ich habe mich daraufhin hier ein wenig umgesehen und habe auch manchen Thread über ähnliche Probleme gefunden, die mich aber nicht weiter gebracht haben.
wenn VDR läuft und ich den mplayer via /usr/bin/mplayer.sh starte passiert folgendes
# mplayer.sh /mnt/nfs/movie.avi SLAVE
root: *** Starting mplayer.sh Version 0.8.5
root: *** DEBUG: Variable CFGFIL has value "/etc/vdr/mplayer.sh.conf"
root: *** DEBUG: Variable USEAC3 has value "false"
root: *** DEBUG: Variable AC3AOUT has value "-ao alsa9 -ac hwac3"
root: *** DEBUG: Variable TV_ASPECT has value "4/3"
root: *** DEBUG: Variable PAL has value "true"
root: *** DEBUG: Variable NTSC has value "true"
root: *** DEBUG: Variable USE_SPEED has value "true"
root: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
root: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
root: *** DEBUG: Variable VOP has value "lavc=5000"
root: *** DEBUG: Variable VO has value "mpegpes"
root: *** DEBUG: Variable AO has value "mpegpes"
root: *** DEBUG: Variable CACHE has value "4096"
root: *** DEBUG: Variable CACHESTR has value "-cache 4096"
root: *** DEBUG: Variable FRAMEDROP has value "true"
root: *** DEBUG: Variable FDSTR has value "-framedrop"
root: *** DEBUG: Variable LIRCRC has value "/etc/lircd.conf"
root: *** DEBUG: Variable LIRCSTR has value "-lircconf /etc/lircd.conf"
root: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 0"
root: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
root: *** Use Option USERDEF at your own risk!
root: *** DEBUG: Variable USERDEF has value "-quiet"
root: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720"
root: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
root: *** DEBUG: Variable SLOW_CPU has value "false"
root: *** DEBUG: Variable DVDFiles has value "/video/plugins/DVD-VCD"
root: *** DEBUG: Variable DVD has value "/dev/hdc"
root: *** DEBUG: Variable DVDLANG has value "de"
root: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170"
root: *** DEBUG: Variable VCDOPTIONS has value ""
root: *** DEBUG: Variable MPEG_DIRECT has value "true"
root: *** DEBUG: Variable SUFFIX has value ".avi"
root: *** DEBUG: Variable MPLAYER_V1 has value "true"
root: *** DEBUG: Calling getvidxy function to analyze source video stream ...
root: *** DEBUG: OutputFromMPLAYER: "ID_FILENAME=/mnt/nfs/movie.avi
ID_VIDEO_FORMAT=DX50
ID_VIDEO_BITRATE=706616
ID_VIDEO_WIDTH=352
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=a52
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=5261"
root: *** DEBUG: MPLAYER_RETURN: "0"
root: *** DEBUG: parsed output for ORIG_X: "352"
root: *** DEBUG: parsed output for ORIG_Y: "240"
root: *** DEBUG: parsed output for ORIG_FPS: "23.976"
root: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000"
root: *** DEBUG: parsed output for VIDEO_FORMAT: "DX50"
root: *** DEBUG: parsed output for AUDIO_CODEC: "a52"
root: *** INFO: Source Video has Resolution of 352 x 240 ...
root: *** DEBUG: Film ""
root: *** DEBUG: Variable MAX_X has value "320"
root: *** DEBUG: Variable NEW_Y has value "218"
root: *** INFO: For Sqare Pixels we would scale to 320 x 218 ...
root: *** DEBUG: Variable XResTEMP has value "352 480 512 640 704 720"
root: *** DEBUG: Variable AnzahlVonXResTEMP has value "6"
root: *** DEBUG: Variable NEW_X has value "352"
root: *** DEBUG: setting NEW = ORIG ""
root: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:29.970,expand=352:240:-1:-1:1,scale=352:240 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 0 -quiet "
MPlayer 1.0pre5-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1831 MHz (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds
Playing /mnt/nfs/movie.avi.
Cache fill: 0.00% (0 bytes) AVI file format detected.
VIDEO: [DX50] 352x240 24bpp 23.976 fps 706.6 kbps (86.3 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 2.0 (dolby) 48000 Hz 192.0 kbit/s
No accelerated resampler found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening /dev/dvb/adapter0/video0+audio0
DVB VIDEO DEVICE: : Device or resource busy
Error opening/initializing the selected video_out (-vo) device.
Exiting... (End of file)
Alles anzeigen
Wenn ich den VDR beende und versuche, dann den mplayer zu starten bekomme ich folgendes:
mplayer.sh /mnt/nfs/movie.avi SLAVE
root: *** Starting mplayer.sh Version 0.8.5
root: *** DEBUG: Variable CFGFIL has value "/etc/vdr/mplayer.sh.conf"
root: *** DEBUG: Variable USEAC3 has value "false"
root: *** DEBUG: Variable AC3AOUT has value "-ao alsa9 -ac hwac3"
root: *** DEBUG: Variable TV_ASPECT has value "4/3"
root: *** DEBUG: Variable PAL has value "true"
root: *** DEBUG: Variable NTSC has value "true"
root: *** DEBUG: Variable USE_SPEED has value "true"
root: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
root: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
root: *** DEBUG: Variable VOP has value "lavc=5000"
root: *** DEBUG: Variable VO has value "mpegpes"
root: *** DEBUG: Variable AO has value "mpegpes"
root: *** DEBUG: Variable CACHE has value "4096"
root: *** DEBUG: Variable CACHESTR has value "-cache 4096"
root: *** DEBUG: Variable FRAMEDROP has value "true"
root: *** DEBUG: Variable FDSTR has value "-framedrop"
root: *** DEBUG: Variable LIRCRC has value "/etc/lircd.conf"
root: *** DEBUG: Variable LIRCSTR has value "-lircconf /etc/lircd.conf"
root: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 0"
root: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
root: *** Use Option USERDEF at your own risk!
root: *** DEBUG: Variable USERDEF has value "-quiet"
root: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720"
root: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
root: *** DEBUG: Variable SLOW_CPU has value "false"
root: *** DEBUG: Variable DVDFiles has value "/video/plugins/DVD-VCD"
root: *** DEBUG: Variable DVD has value "/dev/hdc"
root: *** DEBUG: Variable DVDLANG has value "de"
root: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170"
root: *** DEBUG: Variable VCDOPTIONS has value ""
root: *** DEBUG: Variable MPEG_DIRECT has value "true"
root: *** DEBUG: Variable SUFFIX has value ".avi"
root: *** DEBUG: Variable MPLAYER_V1 has value "true"
root: *** DEBUG: Calling getvidxy function to analyze source video stream ...
root: *** DEBUG: OutputFromMPLAYER: "ID_FILENAME=/mnt/nfs/movie.avi
ID_VIDEO_FORMAT=DX50
ID_VIDEO_BITRATE=706616
ID_VIDEO_WIDTH=352
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=a52
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=5261"
root: *** DEBUG: MPLAYER_RETURN: "0"
root: *** DEBUG: parsed output for ORIG_X: "352"
root: *** DEBUG: parsed output for ORIG_Y: "240"
root: *** DEBUG: parsed output for ORIG_FPS: "23.976"
root: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000"
root: *** DEBUG: parsed output for VIDEO_FORMAT: "DX50"
root: *** DEBUG: parsed output for AUDIO_CODEC: "a52"
root: *** INFO: Source Video has Resolution of 352 x 240 ...
root: *** DEBUG: Film ""
root: *** DEBUG: Variable MAX_X has value "320"
root: *** DEBUG: Variable NEW_Y has value "218"
root: *** INFO: For Sqare Pixels we would scale to 320 x 218 ...
root: *** DEBUG: Variable XResTEMP has value "352 480 512 640 704 720"
root: *** DEBUG: Variable AnzahlVonXResTEMP has value "6"
root: *** DEBUG: Variable NEW_X has value "352"
root: *** DEBUG: setting NEW = ORIG ""
root: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:29.970,expand=352:240:-1:-1:1,scale=352:240 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 0 -quiet "
MPlayer 1.0pre5-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1831 MHz (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds
Playing /mnt/nfs/movie.avi.
Cache fill: 0.00% (0 bytes) AVI file format detected.
VIDEO: [DX50] 352x240 24bpp 23.976 fps 706.6 kbps (86.3 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 2.0 (dolby) 48000 Hz 192.0 kbit/s
No accelerated resampler found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening /dev/dvb/adapter0/video0+audio0
Opening video filter: [lavc=5000:29.970]
Opening video filter: [expand w=352 h=240 x=-1 y=-1 osd=1]
Expand: 352 x 240, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [scale w=352 h=240]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [mpegpes] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.47:1 - prescaling to correct movie aspect.
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
[mpeg1video @ 0x847a8b8]removing common factors from framerate
[mpeg1video @ 0x847a8b8]MPEG1/2 doesnt support 2997/100 fps
Could not open codec.
FATAL: Cannot initialize video driver.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)
Alles anzeigen
Also habe ich vermutet, dass mplayer versucht, auf das falsche DVB-Device zuzugreifen. Es gab hier einen Thread über ein ähnliches problem. Dementsprechend habe ich die vo_mpegpes.c so gepatcht, dass mplayer auf das zweite Device /dev/dvb/adapter1/video0 statt /dev/dvb/adapter0/video0 zugreift. Leider existiert dieses Device gar nicht. In adapter1 ist kein video* Verzeichnis, was darauf hindeutet, dass adapter0 schon die richtige Fully Featured Karte ist. Ergo bekam ich vom mplayer daraufhin nicht die Fehlermeldung Device Busy sondern soetwas wie Device not found.
Soweit zur Fehlerbeschreibung. Könnt ihr mir hier helfen?