v18 Disable / Enable Hardware Acceleration via JSON
#1
Hi,

so far I have only enabled / disabled AddOns via json.
Now I’d like to enable / disable two settings on Android. They’re in Settings—>Player —> Video:

1. Allow Hardware Acceleration - MediaCodec (Surface)
2. Allow Hardware Acceleration - MediaCodec

I could not find an example how to access these specific settings, that are not available on every system...

Could someone help me out or give me a hint? Official documentation on the wiki didn’t help me.

Thanks a lot for your work! :-)
Reply
#2
afaik it's called "videoplayer.usemediacodecsurface" and "videoplayer.usemediacodec"
you can change it by using "Settings.SetSettingValue" to True/False
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
(2020-05-29, 18:56)sualfred Wrote: Tafaik it's called "videoplayer.usemediacodecsurface" and "videoplayer.usemediacodec"
you can change it by using "Settings.SetSettingValue" to True/False

Thanks! That worked. Is there a list somewhere to find the names of the specific settings? So I don't have to ask in the future? Couldn't find anything.
Reply
#4
you always can take a look at the guisettings.xml in your userdata folder
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply

Logout Mark Read Team Forum Stats Members Help
Disable / Enable Hardware Acceleration via JSON0