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.8k stars 190 forks source link

Option to transcode 7.1/dts-hd to 5.1/ddp #625

Open zhuhang-jasper opened 1 week ago

zhuhang-jasper commented 1 week ago

Issue So right now there is always following error when the player tries to load a 7.1 track:

MediaCodecAudioRenderer error - 
AudioTrack init failed 0 Config(48000, 6396, 48000) Format(2, null, null,
audio/vnd.dts.hd, null,-1, en, [1, -1,-1.0, null), [8, 48000)

If the video only had a single 7.1 audio track, then the movie cannot be played. The player also will not auto fallback to other audio track if the 1st audio is 7.1.

Setup Installed on Android 12 TV box (support Dolby but not DTS). The box is connected to TV via HDMI 2.1, the TV is then connected to AV-receiver. TV itself does not support 7.1 too.

Request A setting to transcode the audio to Dolby 5.1 will it be helpful? Or it's something to do with 7.1 channel support of the TV?

moneytoo commented 6 days ago

Any difference with this version: https://brouken.com/player/no-dts-hd/?

zhuhang-jasper commented 6 days ago

Any difference with this version: https://brouken.com/player/no-dts-hd/?

Thanks let me try this out

zhuhang-jasper commented 1 day ago

Any difference with this version: https://brouken.com/player/no-dts-hd/?

Hi, I tested and it's the same error. Maybe something to do with 7.1 not supported on certain devices?