[vdr] Trouble with mplayer plugin / audio

Jörn Reder joern at zyn.de
Sun Feb 10 12:55:34 CET 2008


Hiho,

I'm using vdr 1.4.7 and mplayer plugin from e-tobi on Debian Etch with a
full featured Hauppauge Nexus-S card and having trouble with audio 
during video playback.

When I configure mplayer to decode audio with the Nexus by setting

  AO="mpegpes:card=1"

in /etc/vdr/plugins/vdrmplayer.sh.conf, movie playback doesn't work at 
all. I get a black screen, TV audio mutes but movie playback doesn't 
start. The mplayer process is there, but seems to do nothing:

  /usr/bin/mplayer -vo mpegpes:card=1 -ao mpegpes:card=1 \
       -vf scale=704:331,expand=704:576:-1:-1:1,lavc=5000:25 \
       -framedrop -cache-min 10 -slave -nolirc -subpos 80 \
       -sub-bg-color 0 -sub-bg-alpha 30 -quiet -osdlevel 0 \
       /movies/foo.avi

When I press "Exit" (a few times) on my remote, vdr resumes to TV 
playback, but often I need to restart vdr for proper operation. 
Otherwise I can't tune all channels resp. I'm getting messages of 
channels not available.

I stopped vdr and tried the command line above (only removed -slave 
option): this works pretty well. I get proper video and audio playback.
For me it seems, that vdr still occupies the DVB (audio) device when the
plugin starts mplayer for video playback. Is that possible?

I tried playing audio via the onboard soundchip by setting

  AO="alsa"

and this works so far. But audio and video are getting seriously out of
sync, so this is no reasonable workaround for the problem (besides that
switching my amplifier to the other audio line is somewhat annoying ;)

Something I'm doing wrong?

Any help is appreciated. If you need more configuration information 
please ask for it.

Thanks,

Jörn

-- 
sub i($){print$_[0]}*j=*ENV;sub w($){sleep$_[0]}sub _($){i"$p:$c> ",w+01
,$_=$_[0],tr;i-za-h,;a-hi-z ;,i$_,w+01,i"\n"}$|=1;$f='HO';($c=$j{PWD})=~
s+$j{$f."ME"}+~+;$p.="$j{USER}\@".`hostname`;chop$p;_"kl",$c='~',_"zu,".
"-zn,*",_"#,epg,lw,gwc,mfmkcbm,cvsvwev,uiqt,kwvbmvb?",i"$p:$c> ";w+1<<07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20080210/c42dbe33/attachment.pgp 


More information about the vdr mailing list