androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android
Apache License 2.0
1.36k stars 322 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 6 days ago

GuidoGirardo commented 6 days 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 5 days 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.