Hallo,
starte ich meinen mplayer über das mplayer-plugin meldet er:
Code
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
Ton geht normal. Ich benutze VDPAU und softhddevice und starte mplayer über mplay.sh.
Wenn ich ihn bei gestartetem X server manuell anfeuer funktioniert das Videoabspielen:
Hat jemand eine Idee wo es hängen könnte?
Ich hab mplayer so gebaut:
runvdr:
Code
VDRPLUGINS="\
-P'softhddevice -a hw:0,0 -c Master -f -v vdpau -x'\
-Pfemon\
-Pepgsearch\
-P'mp3 -S mp3'\
-P'mplayer -M /etc/vdr/mplay.sh -S mplayer'"
mplayrc:
Code
# mplayrc
# configuration file for 'mplay'
# set this to find debug messages in syslog
#MPLAY_DEBUG=yes
# set this, if your VDR doesn't stop to play its sound, when
# invoking 'mplay.sh'
#MPLAY_FIXVDRSOUND=yes
# media root dir (the trailing slash is important)
MPLAY_MEDIA_DIR=/space
# media types to search for in MDIR
# (when no file is given in a set file)
MPLAY_TYPES="avi mpg mkv mov flv vob vdr"
# where or what is our 'mplayer'
MPLAY_MPLAYER=mplayer
# where is 'mplayer-multi' (if you need it)
#MPLAY_MULTI=mplayer-multi
# support file for playing
# (in case of problems maybe set this to an absolute path)
MPLAY_PLAY="/space/vdr/mplay.play"
### default video out
MPLAY_VOUT="vdpau:deint=4:hqscaling=1"
# use this, when output card is not the first (and only)
#MPLAY_VOUT="mpegpes:card=1"
### default audio out
MPLAY_AOUT="alsa:device=hw=0.0"
# use this, when output card is not the first (and only)
#MPLAY_AOUT="mpegpes:card=1"
# MPlayer mandatory options
# (this will always passed through to MPlayer)
#MPLAY_GLOBAL="-quiet -nolirc -cache 8192 -framedrop"
MPLAY_GLOBAL="-quiet -cache 8192 -nolirc"
# automatic identifying file types
MPLAY_IDENTIFY=yes
### target resolutions of video output
# up to 3 resolutions are supported
# (set the highest in MPLAY_RES1)
# this seems to be the most common use
MPLAY_RES1=720x576
MPLAY_RES2=352x288
# try this with a slow cpu
#MPLAY_RES1=352x288
# this are full settings
#MPLAY_RES1=720x576
#MPLAY_RES2=640x480
#MPLAY_RES3=352x288
# scale videos up instead of down
MPLAY_SCALE=up
# care for aspect
MPLAY_ASPECT=yes
# TV aspect correction
# you don't need to set this for a 4/3 TV
# use for instance "7/5" for a 16/9 TV
#MPLAY_TV="7/5"
# when using 'lavc' filter, use it with this argument
MPLAY_LAVC=4600
# option for MPlayer's 'pp' option (very seldom used)
#MPLAY_PP=fd
# padding
#MPLAY_PADDING=20
### global options for subtitle handling
# show subtitles, if found
MPLAY_SUB_SHOW=yes
# languages to display
MPLAY_SUB_LANGUAGES=ger,eng
# vertical position (% of screen height)
MPLAY_SUB_POS=95
# width on screen (% of screen width)
MPLAY_SUB_WIDTH=95
# fps
#MPLAY_SUB_FPS=25
# subtitle delay
#MPLAY_SUB_DELAY=5
# background transparency
#MPLAY_SUB_BG_ALPHA=0
# background 'color' (means grayscale up to now)
#MPLAY_SUB_BG_COLOR=0
# handle sound sets with 'sndctl' plugin
#MPLAY_WITH_SNDCTL=yes
# command for SVDR commands to VDR, if available
MPLAY_SVDR=svdrpsend.pl
# command for logging into syslog
MPLAY_LOGGER="logger -i -t mplay.sh"
Alles anzeigen