Raspberry Pi (Raspbian) Audio Passthrough

*nix specific usage questions
ant_in_wales
New Cone
New Cone
Posts: 2
Joined: 28 Dec 2020 12:07

Raspberry Pi (Raspbian) Audio Passthrough

Postby ant_in_wales » 28 Dec 2020 12:18

Happy Twixmas everyone!
I've started to use VLC on my Pi, which is connected via HDMI to my 5.1 Audio receiver.
Playback is excellent, but the only problem is that the Audio seems to be downmixing to stereo.
I've had a hunt through the menus (and the fora) for a "Passthru" option, but can't find one.
Ideally I'd like the VLC to ignore the Audio and just send it to the receiver to handle.
Is this possible?
Thank you, and Happy NuYear.

Rémi Denis-Courmont
Developer
Developer
Posts: 15215
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Raspberry Pi (Raspbian) Audio Passthrough

Postby Rémi Denis-Courmont » 31 Dec 2020 10:34

For PA; the relevant setting lie inside PA, not VLC. For ALSA, there is a pass-through option in the VLC ALSA module.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ant_in_wales
New Cone
New Cone
Posts: 2
Joined: 28 Dec 2020 12:07

Re: Raspberry Pi (Raspbian) Audio Passthrough

Postby ant_in_wales » 31 Dec 2020 12:57

Thank you very much for the reply, Remi (et Bonne Année?)

In VLC, I've selected Alsa(default Device) in Simple Audio Preferences.
In All, I've gone into Audio/Output and changed Output Channels to 5.1.
But I can't find Passthru, and it's now crackling.

I'm sorry to bother you, but where is Passthru?

Would I be better off changing PulseAudio?
Which is the best add-in for this?

Thanks again
Tony

st0rmforce
New Cone
New Cone
Posts: 1
Joined: 11 Jun 2021 11:24

Re: Raspberry Pi (Raspbian) Audio Passthrough

Postby st0rmforce » 11 Jun 2021 11:33

I have the same problem, I assume it's the same for anybody trying this.
I found that omxplayer has a -p option which works correctly, but omxplayer is outdated (it can do audio passthrough, but can't do many codecs), so I want to move my media player over to use VLC.
I took a look on the Windows version and the passthrough option is right there, but not on RP. I spent a couple of hours fiddling around with ALSA and Pulse, but no luck. I almost had something: I disabled the audio output in the pulseaudio mixer, then set the output in VLC to use S/PDIF when possible and it was able to pass through a DTS test clip I've got. But AC3/E-AC3 are still being downmixed to PCM.

All the while, omxplayer -p is sitting there taunting me that it is possible.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 3 guests