moneytoo / Player

▶ Simple and lightweight, yet polished and powerful Android video player based on ExoPlayer
https://play.google.com/store/apps/details?id=com.brouken.player
The Unlicense
1.44k stars 171 forks source link

TrueHD problem with tunneled playback enabled #585

Open xanatos opened 1 month ago

xanatos commented 1 month ago

I have an android TV connected to a soundbar through EARC. The TV is set to passthrough to the soundbar through the Android OS. On Just Player If I use the "Prefer device encoders" + "Tunneled playback = on" and I try to watch a movie with TrueHD audio (MLP FBA 16-ch/Meridian Lossless Packing FBA with 16-channel presentation/Dolby TrueHD with Dolby Atmos/A_TRUEHD) I receive the error

FfmpegAudioRenderer error, index=4, format=Format(2, Atmos 7.1, null, audio/raw, null, -1, it, [-1,-1,-1.0, null, [8, 48000]) , format_supported=NO_UNSUPPORTED_TYPE

If I set "Prefer device encoders" + "Tunneled playback = off" it works correctly. The audio is probably decoded by Just Player (because on the soundbar I can see that the audio format is PCM audio).

And it is unclear exactly what Tunneled playback does, because other formats of audio are still decoded by the soundbar even when "Tunneled playback = off" and I still get the "Dolby Vision" logo when I watch a DV movie.

Device (please complete the following information):