jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.69k stars 458 forks source link

Audio only PCM when refresh rate switching is on #3528

Open p45L opened 4 months ago

p45L commented 4 months ago

Describe the bug

This is for android tv 11 on Nvidia Shield TV Pro 2019.

As the title states, when refresh switching is on (whether that's scale to tv or device) it causes anything to be played to be output as PCM. When refresh rate switching is off, everything plays as normal with it's intended audio codec (bitstream in my case).

I think what's happening is that when refresh switching is on, it causes a bit of a pause to do the switch (which is typical of refresh/resolution switching) and in that moment it didn't have time to properly send the bitstream passthru audio which leads to the device just decoding the audio and sending it as PCM. It also doesn't switch resolutions correctly. Using a 4k display, 1080p is correctly switched to but anything below that isn't. So 720p and 480p will not be switched to in resolution. I also got curious whether this is my device's fault or Jellyfin client so I went and got Plex to see if it's resolution/refresh switching causes the same issue and it does not. Is there a way to fix this? Not sure if it's just happening to me or if others are affected.

Logs

No response

FFmpeg logs

No response

Media info of the file

No response

Application version

0.16.8

Device information

Nvdia Shield TV Pro 2019

Android version

Android 11 (Shield Experience)

Jellyfin server version

10.8.13

jellyfin-bot commented 3 weeks ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

AdrianAntunez commented 3 weeks ago

I would say this is still happening. Is there any ETA for this bugfix? Thx!

jmalmsten commented 1 week ago

I can confirm. I can either have correct untouched fps. OR I can have correct pristine sound.

I apparently am not allowed to have both at rhe same time.

Ok. I technically CAN activate the external player option. That way I get both refresh rate switching AND bitstream audio... But... That player can't do subtitles apparently.

No matter what I do I lose something significant.

This app perplexes me to no end.