Netflix / Amazon 5.1 on HDMI ARC / Optical

Lebrou0034

New member
Feb 22, 2019
4
0
1
On Plex if a movie is in DTS and your amp (or Sonos in my case) do not support DTS there is no sound... as Plex see DTS as supported by the Shield so do not convert it in 5.1...

Thanks again for your great work
 

Koying

Senior Member
Jan 12, 2007
88
54
0
Brussels
Thanks for the trick. Indeed DTS is converted in stereo but not 5.1 and EAC stop working if I put audio surround on auto.
Yeah, EAC3 not working anymore is as-designed. The hack is disabled, then.
That DTS is not converted to AC3 by Plex is strange, but a Plex issue. Maybe some licensing issue as well. I know decoding is out of patents for plain AC3 but not sure about encoding.

I can translate DTS to AC3 as well, though. Just a bit worried about sync, as DTS and AC3/EAC3 do not have the same packet duration. Will try...

PS: I hate doing ads, but MrMC, the Kodi fork I'm working on, can use Plex as backend, and *do* convert DTS to AC3 as needed ;)
If you use it, you can keep the hack on, and disable DTS inside the app. Conversion is then automagic.
 
Last edited:

Lebrou0034

New member
Feb 22, 2019
4
0
1
Thanks I was a big fan of spmc and I tried to install MrMC but as the shield has an unlocked bootloader it seems it is not compatible... And I need root :(
 

jarayn

Senior Member
Aug 6, 2012
1,504
310
103
Works great thanks. One small issue i have, is that the auto switching between DD and stereo when exiting a show (netflix) causes quite loud popping from the speakers as the amp changes mode. I wonder if theres a way to avoid that somehow. Like force even the UI of netflix to output DD instead of stereo, even if it wasnt genuine.


Thanks

Edit: the effect is also an issue with pausing and restarting playback.
 
Last edited:

I_did_it_just_tmrrow

Senior Member
Feb 27, 2011
337
53
0
2019-03-16:
- Added 7.2.3 version
- Added 7.2.3 version that also transcodes DTS, for those having a TV only supporting AC3
Wow, THX. I will try the DTS libs on my Samsung F-Serie TV. I had still some problems with my configuration.


I had a Sound-System (can handle DTS and DD 5.1) connected to my TV with optical cable and my shield just connected with HDMI to my TV. Perhaps ARC is making some trouble.


Greetings by Idijt


EDIT:
Yesterday I flashed the 7.2.2 libs to my 7.2.3 dev-rom with twrp. Is there another way to do this?
 
Last edited:
  • Like
Reactions: Zeljko1234

I_did_it_just_tmrrow

Senior Member
Feb 27, 2011
337
53
0
2019-03-16:
- Added 7.2.3 version
- Added 7.2.3 version that also transcodes DTS, for those having a TV only supporting AC3
...
Enjoy :)
Sadly I had still no chance to use your libs without this device:
AMANKA Digitaler Audio Konverter HDMI zu HDMI SPDIF/Toslink RCA L/R Audio Konverter
or
ViewHD HDMI Audio Extractor | Optical Toslink + L/R Stereo Analog Converter


My TV is a Samsung TV from the F-Series. My Sound system had just Optical and Coaxial input and can just handle DTS, Dolby-Digital and Dolby Pro Logic II. I was hoping to be able to get rid of that device and would be able to use HDMI-CEC again. But when I connect my ShieldTV-Pro just to the HDMI on my Samsung, the Sound-System got no input.

So I guess the problem is the passthrough from samsung over the HDMI-ARC.



How do i upgrade to 7.2.3 without using root and settings on my shield (bootloader is still unlocked on it)
If you want to update to the new 7.2.3 you can do this with fastboot and the dev-rom from nvidia. You should take a look at this thread:
https://forum.xda-developers.com/shield-tv/general/guide-root-nvidia-shield-experience-t3882254
Please read the last pages too about the 7.2.3 update.


Greetings by Idijt
 
Last edited:

DipsoNOR

Member
Apr 14, 2015
7
0
0
If you want to update to the new 7.2.3 you can do this with fastboot and the dev-rom from nvidia. You should take a look at this thread:
https://forum.xda-developers.com/shield-tv/general/guide-root-nvidia-shield-experience-t3882254
Please read the last pages too about the 7.2.3 update.


Greetings by Idijt
Just flashed the dev rom, but now i cant push the files
it says i dont have write access when i try to remount and i tried to disable verity, but i still cant push

EDIT: ok, rebooted after disabling verity, and then it worked.
Installed the DTS one by mistake first, and that made netflix not have any audio at all, but once i installed the right binaries, it works great. :D
 
Last edited:

fryheit

Senior Member
Jul 28, 2010
53
3
0
Thank you so much, I really wasn't expecting this. After about 5 hours to update my rooted shield to the last version( with the magisk and boot.img stuff) finally everything worked out and i didnt brick my device and still got all my settings. Then one more hour to install your libraries. I had problems to push the files and thenn i removed magisk and then i suddenly worked :) now i dont have root anymore but i dont care, netflix in 5.1 is so great!! i have the sonos which doesnt support so your hack is like the best thing that happened to the shield. before i only could watch 5.1 trough kodi.. Now I have one question, youtube is 5.1 also nowadays, do you have any idea how to make that work also through sonos. I think the codec used there is aac and/or vorbis.. Do you think you could change this in the settings also, or is it a totally different thing? Anyway, Thank you sooooo much for now!!!???
 

jarayn

Senior Member
Aug 6, 2012
1,504
310
103
Is this expected to break pass through for VLC / MX player?
I can't get that working. I'm not sure if it's this though or something else.
That's
 

MajinChibi

New member
Feb 23, 2012
4
1
0
Thanks for this hack.

My Sonos Beam only supports AC3.

Everything worked fine. Was on 7.2.2 unlocked the bootloader, installed the developer image (just with the nvidia instructions), backuped the files, pushed the hack and it worked.
When 7.2.3 arrived i just installed that developer image and pushed the hack again :) (no wiping, all settings and my data was still their)

On which occasions can i benefit from the DTS transcoding? (netflix and amazon only have DD , DD+ right?)

And i think the backup code should look more like this:

Code:
adb pull /system/lib/libaudioflinger.so libaudioflinger.so.bak
adb pull /system/lib/libaudiopolicymanagerdefault.so libaudiopolicymanagerdefault.so.bak
adb pull /system/lib/libaudiospdif.so libaudiospdif.so.bak
right?

And where can i donate?
 
Last edited:
  • Like
Reactions: Koying

Koying

Senior Member
Jan 12, 2007
88
54
0
Brussels
Thanks for the fix :)

The DTS is a request for, e.g., Plex users. As the shield reports all passthrough format as available, Plex doesn't transcode DTS anymore, so the hack does it instead.
Kodi (and derivatives) users can fine-adjust the capabilities inside the app, but Plex relies fully on what the system reports.
 
  • Like
Reactions: MajinChibi