Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HD Audio Passthrough on Nvidia Shield #281

Open
Robert-D opened this issue Jan 31, 2020 · 29 comments
Open

HD Audio Passthrough on Nvidia Shield #281

Robert-D opened this issue Jan 31, 2020 · 29 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@Robert-D
Copy link

Hello and sorry if this is already being addressed, but it appears HD audio streams such as DTS-X and TrueHD encoded with Atmos metadata are not being passed properly to receivers/sound bars from the Nvidia Shield. It appears most people are using Kodi as a work around:

https://www.reddit.com/r/jellyfin/comments/ewf73h/audio_passthrough_direct_on_shield_tv/

If there is anything I can do to help please let me know and sorry again if this is a duplicate.

@nielsvanvelzen nielsvanvelzen added the bug Something isn't working label Jan 31, 2020
@stale
Copy link

stale bot commented Sep 29, 2020

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.

@stale stale bot added the stale label Sep 29, 2020
@stale stale bot closed this as completed Oct 20, 2020
@StereotypicalCat
Copy link

StereotypicalCat commented Dec 15, 2020

Even after #524, i am still unable to get either Atmos or DTS:X to passthrough. Tried both on 11.5 and the newest azure build as of today.
EDIT: This is VLC specific, passthrough works on exoplayer and kodi.

@stale stale bot removed the stale label Dec 15, 2020
@stale
Copy link

stale bot commented Jun 3, 2021

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.

@stale stale bot added the stale label Jun 3, 2021
@Robert-D
Copy link
Author

Robert-D commented Jun 3, 2021

Thanks for the reminder stale bot, but I would still love to see proper audio passthrough with the native player instead of using VLC.

@stale stale bot removed the stale label Jun 3, 2021
@metronidazole
Copy link

Is it just tracks with atmos or also lossless audio? I am able to passthrough TrueHD and DTS-HD MA without issue when building this from source.

@roblav96
Copy link

More info on this wide-spread problem can be found here:
moneytoo/Player#139

@jellyfin-bot
Copy link
Contributor

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.

@bokysan
Copy link

bokysan commented Mar 1, 2022

Anybody tried this lately? As of late, I don't have a lot of issues using ExoPlayer, but would need to recheck if this is still an issue with the latest Jellyfin version.

@jellyfin-bot jellyfin-bot removed the stale label Mar 2, 2022
@ElegyD
Copy link
Contributor

ElegyD commented Mar 2, 2022

I've got Jellyfin 10.7.7 with 0.12.3 on my Nvidia Shield. I'm using Exoplayer for Dolby Vision compatibility.
Dolby TrueHD passthrough works, but DTS-HD MA doesn't. Regardless of the "Bitstream DTS audio" toggled on or off.

Edit: 0.13.0 (having #1369) still only plays DTS instead of DTS-HD MA for me.

@nielsvanvelzen nielsvanvelzen added the playback Issue related to media playback label Mar 21, 2022
@morkyy
Copy link

morkyy commented Apr 22, 2022

Same issue here on the shield. Most codecs passthrough just fine (including Dolby TrueHD and Atmos). But DTS seems to be very buggy. A lot of files with DTS:X/Neural X audio play fine but multiple files with DTS-HD MA and sometimes DTS:X MA do not work. Video will play fine but there will be no audio regardless of the "bitstream DTS audio" setting. Since v0.13 some files might not play at all even though they used to play with v0.12 with no sound.

Receiver detects the correct audio format.

@roblav96
Copy link

roblav96 commented May 9, 2022

@nielsvanvelzen Here is a diff of adding DTS-HD to ExoPlayer's MatroskaExtractor.java:
https://github.com/moneytoo/ExoPlayer/commit/50d7b68756e281342c85ee277ff3929a1fdf6c44

@morkyy
Copy link

morkyy commented May 9, 2022

To add to this, I realised that for some DTS-HD MA files where sound doesn't work there's a small crackling sound that comes up randomly. I was also playing with the settings a bit and noticed that the app would attempt to open these files with lib vlc instead of exoplayer. exoplayer seems to be playing the files correctly most of the times without transcoding. However even with selecting exoplayer there's still some files that do not play at all.

@deltonio2
Copy link

I have the same problem on a Philips 65OLED804 (TPM191E) Android TV with Jellyfin client 0.13.7 using libVLC and Jellyfin server 10.8.1.
If I use Jellyfin with ExoPlayer, the DTS HDMA is playing correctly, but I have a lot of other problems with this player (for example some files doesn't play, the other take more than 30 sec. for begin playing).

@jaytea33
Copy link

This issue has been super annoying for months. The only ones that don't work for me have EAC3 audio and everything else works fine. Exoplayer plays the video, libvlc crashes, but external VLC works perfectly

@jameskimmel
Copy link

To add to this, I realised that for some DTS-HD MA files where sound doesn't work there's a small crackling sound that comes up randomly.

I also experience this issue with Jellyfin Desktop on macOS. Maybe this is a deeper rooted problem.
Let me know if you need further information to hunt down the issue.

@eengert
Copy link

eengert commented Jan 5, 2023

DTS:X doesn't get passed through using ExoPlayer on my 2019 Shield Pro either. If I play the same movie through JellyCon addon in Kodi (Mavens Kodinerds Nexus 20 RC2), it correctly passes the DTS:X through to my Yamaha AVR. With the Jellyfin app, DTS:X tracks are played as DTS 5.1.

@TraderHowell
Copy link

I am having the exact same issue on my 2019 Nvidia Shield TV Pro. I'm using Kodi as a workaround for now, but both ExoPlayer and LibVLC fail to properly passthrough DTS-HD MA when using the Jellyfin client.

@jellyfin-bot
Copy link
Contributor

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.

@ThisIsTheOnlyUsernameAvailable

Replying to keep this issue open. It's a show-stopper for a lot of home theatre setups.

@WSt89
Copy link

WSt89 commented Aug 26, 2023

I am facing the same issue. ExoPlayer runs very smoothly on my shield pro but it can't pass through DTS:MA and DTS:X. As they are very popular formats, it's support would make jellyfin a great choice for home theaters. Switching to an external player is always a work around. Can somebody explain why it's currently not possible and is somebody currently working on it?

@TraderHowell
Copy link

TraderHowell commented Sep 2, 2023

Also still facing the same issue with Jellyfin on my Nvidia Shield. I would love if anyone can provide any guidance or insight into starting to identify a solution. Neither ExoPlayer or libVLC can properly passthrough DTS-HD MA, but Dolby TrueHD passes through just fine. The amplifiers I have tested with all show DTS-HD MA for a second and then switch to lossy DTS. I have tested with so many different hardware configurations and sample formats, but nothing seems to work. Interestingly, Plex seems to work fine with the same sample files, but I would prefer to not use Plex.

@WSt89
Copy link

WSt89 commented Oct 16, 2023

My current workaround is to use Kodi's Jellyfin plugin, however I would prefer to use Jellyfin with ExoPlayer instead.

@Starfoxfs
Copy link

Same here with Nvidia Shield TV Pro 2019, i don´t wan´t to use Kodi with JellyFin Plugin.

Why you need Jellyfin then ? u can use Kodi alone to Stream Movies in DTS-HD MA
Plex does this too in Free Version.

But i like the UserInterface of JellyFin, so it would be nice if we get this HD Audio Feature for the Jellyfin Android Client.

@WSt89
Copy link

WSt89 commented Jan 9, 2024

I still use Jellyfin as I have multiple clients and I want to have my libary managed on the server. I only use Kodi + Jellyfin Plugin in my home cinema. Plex is too bloated. However, this thread is about to make HD Audio Passthrough possible...

@mikeporterinmd
Copy link

I notice that the audio codec passed from JellyFin itself is dts even for dts-hd ma. I have figured out how to build the source and get the debugging app running on my shield 2019 pro. Once I figure out how to debug it and what the control flow is perhaps I can make some headway. dts-hd ma is by far the most common sound track type of quality that I have. A real shame we can't get it to work with a nice player like this one. We'll see. I'm a long time C, Perl and now Python programmer. It's going to take me a little time to come to speed in this Android environment and some of these languages and templates that are used. I randomly tried changing some stuff, but to no effect. One interesting thing: the new media display shows all the tracks available in a particular container. DTS-HD MA is properly identified. Multiple streams of magic at play here?

Mike

@Nicolas-Ger
Copy link

I also have an Nvidia Shield TV Pro 2019 and DTS HD or DTS X 7.1 is output as DTS 5.1 with the Exoplayer. With libVLC it works but with a delay that is so high that I can't set it up correctly. I used Plex before and it worked without a problem and it also plays correctly in Kodi with the Exoplayer, so it must be something to do with Jellyfin or the interaction with ffmpeg. I think everyone with the Nvidia Shield TV pro has this problem. I hope that the update to 10.9 will bring an improvement.

@mikeporterinmd
Copy link

I also have an Nvidia Shield TV Pro 2019 and DTS HD or DTS X 7.1 is output as DTS 5.1 with the Exoplayer. With libVLC it works but with a delay that is so high that I can't set it up correctly. I used Plex before and it worked without a problem and it also plays correctly in Kodi with the Exoplayer, so it must be something to do with Jellyfin or the interaction with ffmpeg. I think everyone with the Nvidia Shield TV pro has this problem. I hope that the update to 10.9 will bring an improvement.

Just (Video) Player (On the app store) works well as an external player for JellyFin and handles DTS-HD MA 7.1 etc. It's a nice player and very lightweight. No where near the baggage that Kodi brings in. I think there are some things like resume that might not work correctly... not sure. I don't know why the JellyFin Android developers don't work with the Just (Video) Player author to merge the code bases. I took a look at the code, but there is no real documentation in the JellyFin app, so lacking experience in Android development, merging the code wasn't worth it for me. Not when I can just use the other player.

@jellyfin-bot
Copy link
Contributor

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.

@ThisIsTheOnlyUsernameAvailable

Bug still exists. Not stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playback Issue related to media playback
Projects
None yet
Development

No branches or pull requests