New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect surround channel mapping #188

Closed
antrix opened this Issue Jun 15, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@antrix

antrix commented Jun 15, 2013

Hi.

I have a Sony home theater system connected via HDMI to my raspberry pi.

When playing a video containing 5.1 surround sound using omxplayer, the channel mapping is incorrect. The Sony system plays the rear left/right channels out of the front left/right speakers.

This issue happens only for the audio decoded by omxplayer, i.e. either AC3/AAC/DolbyDigital.

In case of using hdmi passthrough for DTS audio, which the Sony can decode natively, the Sony plays the audio correctly.

The Sony also has no trouble playing the audio correctly when the same files are streamed via DLNA (no transcoding) using Serviio or Plex.

So I suspect it is an issue with the channel mapping matrix used by omxplayer.

Would it be possible to make this mapping matrix configurable? I know there's ways to do it using alsa/pulseaudio but I don't think omxplayer uses those systems.

@popcornmix

This comment has been minimized.

Show comment
Hide comment
@popcornmix

popcornmix Jun 15, 2013

Collaborator

omxplayer only supports 5.1 in passthrough mode.
Non-passthrough will be sent as stereo PCM.

Collaborator

popcornmix commented Jun 15, 2013

omxplayer only supports 5.1 in passthrough mode.
Non-passthrough will be sent as stereo PCM.

@popcornmix popcornmix closed this Jun 18, 2013

@antrix

This comment has been minimized.

Show comment
Hide comment
@antrix

antrix Jun 18, 2013

Interesting! A cursory reading of OMXAudio.cpp had led me to believe that omxplayer does support 5.1 output.. there's a lot of channels related code in there!

antrix commented Jun 18, 2013

Interesting! A cursory reading of OMXAudio.cpp had led me to believe that omxplayer does support 5.1 output.. there's a lot of channels related code in there!

@popcornmix

This comment has been minimized.

Show comment
Hide comment
@popcornmix

popcornmix Jun 18, 2013

Collaborator

It supports 5.1 (or even 7.1) audio, but it will be downmixed to stereo.

Collaborator

popcornmix commented Jun 18, 2013

It supports 5.1 (or even 7.1) audio, but it will be downmixed to stereo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment