androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android
https://developer.android.com/media/media3
Apache License 2.0
1.7k stars 406 forks source link

the video works, but not the audio, of a .mkv video that has 6 audio channels (the 2 channel stereo works fine) #1513

Open GuidoGirardo opened 4 months ago

GuidoGirardo commented 4 months ago

Version

Media3 main branch

More version details

the video works, but not the audio, of a .mkv video that has 6 audio channels (the 2 channel stereo works fine)

In the video settings gear, if the .mvk video has 2 channel stereo audio everything works fine, but if it has 6 channels, it shows "Audio None" (in the video settings gear)

My cell phone is a motog7

Link of the .mkv video with 6 audio channels: https://firebasestorage.googleapis.com/v0/b/darkmovies-34a1c.appspot.com/o/Braking%20Bad%2F2%2FBB2x07.mkv%20LO%20DE%20JOSE.mkv?alt=media&token=fdbcba5c-baaf-4fef-88b8-93e431ae4b04

Devices that reproduce the issue

motog7

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps

the video plays but not the audio

Expected result

to play the video and audio of a .mkv video with 6 channel audio on my motog7

Actual result

the video plays but not the audio

Media

https://firebasestorage.googleapis.com/v0/b/darkmovies-34a1c.appspot.com/o/Braking%20Bad%2F2%2FBB2x07.mkv%20LO%20DE%20JOSE.mkv?alt=media&token=fdbcba5c-baaf-4fef-88b8-93e431ae4b04

Bug Report

GuidoGirardo commented 4 months ago

To give a little more information, it seems to me that this bug only happens on a range of cell phones. I have a motog7 and it can't be heard, but a friend has a Samsung (I don't know what model but it must be from 2019-2020) and it can be heard perfectly.

If anyone knows what it could be, it would be very helpful, I can give you the code if you like.

microkatz commented 4 months ago

Hi @GuidoGirardo, thank you for reporting your issue!

If you could please provide a bug report then that would be very helpful. Please send them to android-media-github@google.com with the subject Issue #1513. Please also update this issue to indicate you've done this.

yzm123-yzm commented 2 months ago

Hi @GuidoGirardo How can I obtain channel data and set channels?