jellyfin / jellyfin-roku

The Official Roku Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
412 stars 129 forks source link

Full breakdown of all audio playback issues on Roku Ultra 4800R #958

Open Sawtaytoes opened 1 year ago

Sawtaytoes commented 1 year ago

Software Versions Jellyfin Server Version: 10.8.8 Roku Client Version: Latest as of today (I can grab this when I'm at my TV)

Describe the bug

When the Roku is in Passthrough mode, audio playback is downsampled to stereo PCM:

DTS 5.1 results in a playback error: "An error was encountered while playing this item".

image

Because I'm not sure how to bring up playback information, I'm uncertain if Stereo AAC is being transcoded or not.

I also tested Dolby Digital and Dolby Atmos over Dolby Digital Plus. Those work correctly.

How To Reproduce

  1. Configure the Roku Audio setting as Passthrough.
  2. Open the Jellyfin channel.
  3. Play a demo video with the listed problematic audio formats (PCM 5.1, DTS 5.1, DTS-HD MA, DTS:X, Dolby TrueHD, Dolby Atmos over Dolby TrueHD).
  4. Playback downsampled to 2-channel PCM or errors (DTS 5.1).

Expected behavior

I expect it to passthrough DTS and PCM 5.1 audio directly to my receiver.

Logs

How do I get these logs on my Roku?

Screenshots

Roku Passthrough Formats: image

Connection Information Is server local or remote? Local

Is server connection http or https? HTTP

Additional context

Roku: Roku Ultra 4800R Receiver: Yamaha RX-A6A TV: LG C1 OLED

Connections: Roku -> Receiver -> TV.

eARC and any other CEC disabled (although, it's not used anyway).

Sawtaytoes commented 1 year ago

There are some other GitHub issues with similar problems, but none of them go into this much detail about what's actually going wrong nor do they all use Passthrough mode:

jimdogx commented 1 year ago

Because I'm not sure how to bring up playback information, I'm uncertain if Stereo AAC is being transcoded or not.

You can press up while watching a video to get transcoding / streaming information. Note that the streaming section can sometimes be incorrect. But if it's being transcoded, that section should be correct.

lakerssuperman commented 1 year ago

Software Versions Jellyfin Server Version: 10.8.8 Roku Client Version: Latest as of today (I can grab this when I'm at my TV)

Describe the bug

When the Roku is in Passthrough mode, audio playback is downsampled to stereo PCM:

* PCM 5.1

* DTS-HD MA

* DTS:X

* Dolby TrueHD

* Dolby Atmos over Dolby TrueHD

DTS 5.1 results in a playback error: "An error was encountered while playing this item".

image

Because I'm not sure how to bring up playback information, I'm uncertain if Stereo AAC is being transcoded or not.

I also tested Dolby Digital and Dolby Atmos over Dolby Digital Plus. Those work correctly.

How To Reproduce

1. Configure the Roku Audio setting as Passthrough.

2. Open the Jellyfin channel.

3. Play a demo video with the listed problematic audio formats (PCM 5.1, DTS 5.1, DTS-HD MA, DTS:X, Dolby TrueHD, Dolby Atmos over Dolby TrueHD).

4. Playback downsampled to 2-channel PCM or errors (DTS 5.1).

Expected behavior

I expect it to passthrough DTS and PCM 5.1 audio directly to my receiver.

Logs

How do I get these logs on my Roku?

Screenshots

Roku Passthrough Formats: image

Connection Information Is server local or remote? Local

Is server connection http or https? HTTP

Additional context

Roku: Roku Ultra 4800R Receiver: Yamaha RX-A6A TV: LG C1 OLED

Connections: Roku -> Receiver -> TV.

eARC and any other CEC disabled (although, it's not used anyway).

The Roku doesn't support lossless passthrough of formats like Dolby TrueHD and DTS-MA. The DTS-HD Master Audio I believe really means DTS-HD which is a lossy DTS format kind of analogous to Dolby Digital Plus.

Likewise, I believe the Roku will only do two channel PCM, not full uncompressed 5.1 PCM.

DTS is the strange one. DTS 5.1 should passthrough and play back correctly. I have many of my Blurays that I've kept the DTS track for and they all play back on my 4800 with passthrough enabled.. We'd have to see the error though to get more specific with what's happening there as it should be working unless it's trying to play back the DTS-MA file and not the core track.

Sawtaytoes commented 1 year ago

How do I get you the error?

lakerssuperman commented 1 year ago

How do I get you the error?

You could post the relevant snippet of the server log here or pastebin the whole log and post the link.