Skip to content
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

Supported audio codecs -- Especially ATMOS #2465

Closed
jmgirven opened this issue Feb 17, 2017 · 2 comments
Closed

Supported audio codecs -- Especially ATMOS #2465

jmgirven opened this issue Feb 17, 2017 · 2 comments
Labels

Comments

@jmgirven
Copy link

Does ExoPlayer support whatever audio codecs the device does? Or does it have a list of supported codecs? Presumably the same applies for video?

I was asked if our app (using ExoPlayer) supports videos with "Dolby TrueHD 7.1 ATMOS" audio tracks, e.g: http://thedigitaltheater.com/index.php/dolby-trailers/. Unfortunately I don't have a device that supports ATMOS, so can't really test it for myself.

@jmgirven
Copy link
Author

I see ExoPlayer mentions the mime type "audio/true-hd", but I actually don't if that is the same as ATMOS.

public static final String AUDIO_TRUEHD = BASE_TYPE_AUDIO + "/true-hd";

@ojw28 ojw28 added the question label Feb 17, 2017
@andrewlewis
Copy link
Collaborator

On the rendering side, MediaCodecAudioRenderer and MediaCodecVideoRenderer support whatever codecs the device has, but on the extraction side we have to add support for each format individually (which can be non-trivial). See also Supported formats for more information.

Note that for surround playback it is common to output encoded audio directly to an audio receiver (passthrough). The Android platform supports passthrough of arbitrary formats from Nougat onwards, and #2147 tracks exposing this functionality. We're unlikely to prioritize it in the near future, however.

Not sure about TrueHD vs Atmos but this page suggests that TrueHD is an extension.

@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants