hello,
i have a little question concerning the audio device selection of the softdevice. i'm running vdr 1.4.1 with softdevice 0.2.3a. my tv card is recongized as: bttv0: using: Twinhan DST + clones [card=113,autodetected] with frontendend: DVB: registering frontend 0 (DST DVB-T)... and my soundcard is a: C-Media CMI8x38 PCI they are all recognized by my kernel v2.6.17.
my commandline is like $vdr -P 'softdevice -vo xv: -ao:dummy'. but, for my tv-card has no audio out, i would like to get the sound out of my soundcard. the example commandline "-ao alsa:pcm=plug:spdif#ac3=plug:spdif#" doesn't work for me, i think because there is no spdif... other experiments didn't work either. and i didn't find any information about this alsa device stuff. but there must exist, cause running xine with vdr-xine plugin i get sound out of my snd-card.
here some takeouts of my syslog: ... Dec 22 20:52:41 gockels-video vdr: [11772] [softdevice-audio] Opening alsa device plug:spdif Dec 22 20:52:41 gockels-video vdr: [11772] [softdevice-audio] Using alsa AC3 device hw:0,1 Dec 22 20:52:41 gockels-video vdr: [11772] [softdevice-audio] Playback open error: plug:spdif, Invalid argument FATAL exiting ... Dec 23 00:20:25 gockels-video vdr: [7907] [softdevice-audio] Opening alsa device plug:default Dec 23 00:20:25 gockels-video vdr: [7907] [softdevice-audio] Using alsa AC3 device hw:0,1 Dec 23 00:20:25 gockels-video vdr: [7907] [softdevice-audio] Playback open error: plug:default, No such device FATAL exiting ... Dec 23 00:19:57 gockels-video vdr: [7760] [softdevice-audio] Opening alsa device plug:front Dec 23 00:19:57 gockels-video vdr: [7760] [softdevice-audio] Using alsa AC3 device hw:0,1 Dec 23 00:19:57 gockels-video vdr: [7760] [softdevice-audio] Playback open error: plug:front, Invalid argument FATAL exiting ...
i would be very thankful for some hints! alex
Hi,
You can't get audio output since you write -ao dummy:
Best regards. Halim
thats quite sure. the only way momentarly getting the softdevice running is with "-ao dummy:". without it, it complains about: "[softdevice-audio] Playback open error: plug:spdif, Invalid argument FATAL exiting". for my understanding, it gets ac3 audio stream from the tv-card, and tries to open the default audio, spdif in this way. i just must redirect it to the right device, but which one?
i'm searching for a command line containing somethings like "-ao alsa:pcm=plug:spdif#ac3=plug:spdif#". as one can see, i've tried several "plugs" like spdif, default, line and front, but none worked. i've searched some time the net, but nothing found explaining something like this.
i explicitly do not want to learn the alsa api, write my own program, which in turn tests some various strings, witch might work for my softdevice. (i've already taken a look at the api, and it is a bit difficult for my limited programming skills...)
Why dont you just try -ao alsa:pcm=default
your said your soundcard doesnt have spdif and you arent using it, so why are you telling softdevice to use spdif?
ich wrote:
thats quite sure. the only way momentarly getting the softdevice running is with "-ao dummy:". without it, it complains about: "[softdevice-audio] Playback open error: plug:spdif, Invalid argument FATAL exiting". for my understanding, it gets ac3 audio stream from the tv-card, and tries to open the default audio, spdif in this way. i just must redirect it to the right device, but which one?
i'm searching for a command line containing somethings like "-ao alsa:pcm=plug:spdif#ac3=plug:spdif#". as one can see, i've tried several "plugs" like spdif, default, line and front, but none worked. i've searched some time the net, but nothing found explaining something like this.
i explicitly do not want to learn the alsa api, write my own program, which in turn tests some various strings, witch might work for my softdevice. (i've already taken a look at the api, and it is a bit difficult for my limited programming skills...)
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr