softdevice cvs
vdr 1.3.34 kernel 2.6.14-rc3 using kernel ALSA drivers
I have got softdevice working with sound via SPDIF for PCM, but cant get AC3 to pass through to the decoder, mplayer and ac3dec both pass AC3 no problem, but with softdevice I get error:
ac3play: Unable to update the IEC958 control: No such file or directory
-P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,0#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,1#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=plug:iec958#"
it doesnt matter which of the above commandlines I use, same error all the time.
ALSA lib is 1.0.10-rc3, Driver is 1.0.10-rc1.
Any ideas?
Dave a écrit :
softdevice cvs
vdr 1.3.34 kernel 2.6.14-rc3 using kernel ALSA drivers
I have got softdevice working with sound via SPDIF for PCM, but cant get AC3 to pass through to the decoder, mplayer and ac3dec both pass AC3 no problem, but with softdevice I get error:
ac3play: Unable to update the IEC958 control: No such file or directory
-P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,0#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,1#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=plug:iec958#"
I use : -ao alsa:pcm=default#ac3=spdif#
I think you're not that off : just remove "plug:" from the last one, to get "ac3=iec958"
I tried with option
-ao alsa:pcm=default#ac3=iec958# -ao alsa:pcm=default#ac3=spdif#
Still get the error
ac3play: Unable to update the IEC958 control: No such file or directory
Nicolas Huillard wrote:
Dave a écrit :
softdevice cvs
vdr 1.3.34 kernel 2.6.14-rc3 using kernel ALSA drivers
I have got softdevice working with sound via SPDIF for PCM, but cant get AC3 to pass through to the decoder, mplayer and ac3dec both pass AC3 no problem, but with softdevice I get error:
ac3play: Unable to update the IEC958 control: No such file or directory
-P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,0#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,1#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=plug:iec958#"
I use : -ao alsa:pcm=default#ac3=spdif#
I think you're not that off : just remove "plug:" from the last one, to get "ac3=iec958"
Stealing a line from the output of ac3dec, I came up with this:
-ao alsa:pcm=default#ac3=iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2#
this gives me AC3 passthrough, but Im open to suggestions on how to make this easier or why it works like this :)
Thanks!
Dave wrote:
I tried with option
-ao alsa:pcm=default#ac3=iec958# -ao alsa:pcm=default#ac3=spdif#
Still get the error ac3play: Unable to update the IEC958 control: No such file or directory
Nicolas Huillard wrote:
Dave a écrit :
softdevice cvs
vdr 1.3.34 kernel 2.6.14-rc3 using kernel ALSA drivers
I have got softdevice working with sound via SPDIF for PCM, but cant get AC3 to pass through to the decoder, mplayer and ac3dec both pass AC3 no problem, but with softdevice I get error:
ac3play: Unable to update the IEC958 control: No such file or directory
-P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,0#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,1#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=plug:iec958#"
I use : -ao alsa:pcm=default#ac3=spdif#
I think you're not that off : just remove "plug:" from the last one, to get "ac3=iec958"
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Nicolas Huillard nhuillard@e-dition.fr wrote:
Dave a écrit :
-P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,0#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=hw:0,1#" -P"softdevice -vo dfb: -ao alsa:pcm=default#ac3=plug:iec958#"
I use : -ao alsa:pcm=default#ac3=spdif#
I think you're not that off : just remove "plug:" from the last one, to get "ac3=iec958"
Actually, I've got
softdevice -ao alsa:pcm=plug:spdif#ac3=plug:spdif# -vo dfb:
here. Works like a charm. PCM and AC3 get routed through the SPDIF out to my DD receiver.
Whatever ALSA devices you use should be mentioned by `aplay -L` :-)