androidx / androidx/media

Please add support for PCM 6.1 and stereo Hi-Res support

Open
#1,924 1 comment 2 reactions 1 assignee View on GitHub

@tianyif is already working on this.

Since Nov 29, 2024.

enhancement
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Use case description

AndroidX Media needs to support PCM 6.1 as well as stereo Hi-Res support.

For PCM 6.1, there are plenty of movies on DVD and Bluray that were encoded with PCM 6.1, DTS-ES 6.1 and even DTS-HD Master Audio 6.1; in case that we remux them to a different container (MKV) for example, when we playback those movies on Android for TV, they get downmixed to stereo because of the lack of support. This is useful when we're using an Android for TV device with DTS support that gets connected to a TV that lacks DTS decoding through any of its HDMI inputs, that way we can still enjoy PCM 6,1 by decoding those DTS codecs to multichannel PCM 6.1 which is sent to an AV receiver or soundbar through the eARC port. Currently, this is something that users can do with DTS 5.1 and DTS-HD Master Audio 7.1.

Meanwhile, Hi-Res support is limited to multichannel PCM 5.1 and 7.1, where all audio resolutions passthrough to an AV receiver for example, but stereo Hi-Res (ranging between 88.2Khz to 192Khz) is still not supported, see below for current status:

image

Proposed solution

Unfortunately, I am not a developer so I don't have a proposal, but I clearly understand that AndroidX Media lacks full support in that regard.

Alternatives considered

The vast majority of Android for TV apps use AndroidX Media for video and audio playback so I don't believe there is an alternative.

Thank you for your attention.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.