2023-02-16, 08:04
Hello,
I'm trying to get Kodi to use hardware accelerated video decoding on my Orange PI PC+. I know that it's possible because it works great on LibreELEC, but I want to achieve the same on Armbian.
So far I've recompiled ffmpeg with the v4l2_request patches to get HW acceleration support. Running "ffmpeg -hwaccels" outputs vdpau, vaapi, and drm. But the problem is that Kodi does not show any option to use DRM PRIME. After some time searching for an answer I found that Kodi won't show this option unless it's compiled with HAS_GLES, and the PPA version appears to have been compiled without it.
Is that true or I'm wrong? If so, why?
I was hoping to just get Kodi to use the patched ffmpeg by updating the FFmpeg shared libraries used by it (as I was told on the Armbian forums), but it doesn't seem like this would work.
I'm trying to get Kodi to use hardware accelerated video decoding on my Orange PI PC+. I know that it's possible because it works great on LibreELEC, but I want to achieve the same on Armbian.
So far I've recompiled ffmpeg with the v4l2_request patches to get HW acceleration support. Running "ffmpeg -hwaccels" outputs vdpau, vaapi, and drm. But the problem is that Kodi does not show any option to use DRM PRIME. After some time searching for an answer I found that Kodi won't show this option unless it's compiled with HAS_GLES, and the PPA version appears to have been compiled without it.
Is that true or I'm wrong? If so, why?
I was hoping to just get Kodi to use the patched ffmpeg by updating the FFmpeg shared libraries used by it (as I was told on the Armbian forums), but it doesn't seem like this would work.