Skip to content

Incorrect PCM 5.1 channel mapping #310

@peterbarlow2000

Description

@peterbarlow2000

Playing a pcm_s16le 48000Hz 5.1 file through omxplayer with the -p flag results in a minor mapping error. The centre speaker audio is routed through the LFE. (the AVR reports a 5.1 PCM signal). (Removing the -p flag puts omxplayer in stereo down-mix mode.). I have written my own program using the OpenMAX IL client library and have the exact same problem. However, when playing the file through kodi all is well. I have to select 5.1 in the config, but the AVR again reports and good 5.1 PCM signal and all channels are correct this time. DTS and AC3(DDP) passthrough work fine under omxplayer.

I'm using test wave files from this site https://www2.iis.fraunhofer.de/AAC/multichannel.html

  1. Please can anyone verify that PCM HDMI passthrough on omxplayer using a PCM 5.1 audio file works for them ??
  2. Does anyone have any insights into why or how it works in kodi but not omxplayer?
  3. Does (should) the PCM data be sent directly to the OMX render component (that should work), or does kodi somehow route the data via the decode component first (even though it's redundant)?
    Thanks for reading :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions