asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.24k stars 226 forks source link

Disable hardware acceleration #656

Open dagwieers opened 5 years ago

dagwieers commented 5 years ago

I'm submitting a ...

General information

Description

A lot of users require OMXPlayer to get proper playback (on Raspberry Pi) however it is incompatible with (among others) plugin.video.netflix and results in black/gibberish video. Completely unusable.

Since OMXPlayer is a global setting you cannot set per addon, it means that users have to turn it on and off depending on what addon they will be using, this obviously is unworkable. (I actually have to learn the wife/babysitter/kids how to change the settings and for which addon.

So what would be best is that when software decoding is used (like with Netflix) the hardware acceleration is automatically disabled. I am not sure if this is possible from the plugin, but then Kodi should be adapted to do the right thing (fix it if this appears to be a bug) or have a switch for the plugin to handle this.

Only OMXPlayer seems to affect Netflix, MMAL does not seem to affect the playback.

dagwieers commented 5 years ago

I have a working fix for this issue in #657

jodo234 commented 3 years ago

Hi @dagwieers, saw you posted link. Was that commit ever included into the addon? Just noticed that Netflix addon is always resetting my OMX player to false and doesnt revert it. Or does this need to be set up somehow or do I need to do something special once a Netflix stream ended? I use OMX for yt on 1080p and it is annoying to always need to turn it back on once I used Netflix :/

dagwieers commented 3 years ago

It was accepted in the successor to this project, release v1.0.0. Beware that this is only for Leia, in Matrix the OMXPlayer was removed from Kodi.

https://github.com/CastagnaIT/plugin.video.netflix/commit/18d201cb9bb004a62815cae1c6ce8405d63b0c6c