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.54k stars 178 forks source link

can't passthrough DTS to soundbar #201

Closed greymda closed 2 years ago

greymda commented 2 years ago

i have a Sony HT-X8500 soundbar capable of decoding DTS/DTS-HD audio. so when trying to playback a video with DTS sound, Just Player fails with errorMediaCodecAudioRenderer error, index=2, format=Format(11, Original....), format_supported=YES

if it says format_supported=YES, then why failing on playback? hope you can help me out

cheers

moneytoo commented 2 years ago

What Android device do you use? Is that issue with any video containing DTS audio or only some?

greymda commented 2 years ago

What Android device do you use? Is that issue with any video containing DTS audio or only some?

Amazon Firetv Stick 4K. any video containing DTS/DTS-HD.

same video if played by PLEX client with direct play sends audio to external sound workout issue.

greymda commented 2 years ago

@moneytoo can i help with understanding the issue?

moneytoo commented 2 years ago

This is probably more of an ExoPlayer & device issue. (As generally DTS decoding as well as bitstream works.) Amazon also has their own ExoPlayer port which makes me wonder how well the upstream ExoPlayer actually works on Amazon devices.

moneytoo commented 2 years ago

I don't think I will be able to anything about this as this is probably specific hardware related issue (as DTS output works with my devices). Just Player can only be as good as ExoPlayer. To resolve any such problem, please reproduce your issues in the ExoPlayer Demo app and report it directly to ExoPlayer on their issue tracker.