popcornmix / omxplayer

omxplayer
GNU General Public License v2.0
1.02k stars 334 forks source link

5.1 Sound #532

Open dgeffe opened 7 years ago

dgeffe commented 7 years ago

Hallo

Ich habe an meinem Raspberry eine 7.1 USB Soundbox angeschlossen. Der OMXPLayer gibt aber nur Sound 2.0 aus . Was kann ich tun damit ich 5.1 Sound bekomme ?

popcornmix commented 7 years ago

English only.

dgeffe commented 7 years ago

Hello

I have one of my Raspberry connected a 7.1 USB soundbox. The OMXPLayer outputs only sound 2.0. What can I do to get 5.1 sound?

popcornmix commented 7 years ago

@fabled what should be possible here?

dgeffe commented 7 years ago

Hello

I want the OMXPlayer to play the sound over my soundbox in dolby 5.1 and not in stereo.

fabled commented 7 years ago

I guess it depends how the soundbox shows up, as analog multichannel device, or digital device. In either case the alsa module should support passthrough mode and either dump it directly to digital out, or after that decode it to multichannel output.

Ruffio commented 7 years ago

X-ref.: https://github.com/popcornmix/omxplayer/issues/511

fre-ber commented 7 years ago

When I try passthrough with alsa, I get no playback at all - no video, no audio. Without -p, the video is fine and audio is working but downmixed to stereo.

Has anyone successfully done AC3/DTS passthrough via alsa?

I am testing this on a Pi3 running Raspbian Jessie with a HiFiBerry Digi+. The build date of my omxplayer is Fri, 23 Sep 2016.

fabled commented 7 years ago

@fre-ber Alsa passthrough is not supported in the code currently.