Page 1 of 1

vlc digital pasthru hdmi

Posted: 17 Jul 2009 03:06
by seth_keith
I am trying to get VLC to do digital passthru for ac3, dts, etc. All audio is coming out 2 channel. This command line works correctly with 5.1 audio passthru with mplayer:

mplayer-svn -fs -zoom -quiet -ao alsa:device=hw=0.3 -channels 6 -ac hwdts,dwac3, <filename>

How can I make vlc do the same thing?

I tried vlc --spdif, and --alsa-audio-device hw=0.3, but that didn't work...
/mnt/rfs/video $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0

and also
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.
Compiled on Jul 14 2009 for kernel 2.6.30.1 (SMP).
---------
edited, more info
-----

I notice when I play any 5.1 source vlc shows:

[0xf80638] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:448000

but still the audio comes out 2 channel.