add libpostproc patch and DRM PRIME support for v4l2m2#1
Conversation
|
I've tried your patch but it breaks the build process. You make references to libpostproc which does not exist in version 8 . *note: I'm not building with Kodi update: --disable-postproc fix that. |
|
Oops, forgot to add all files. The purpose was to add postproc which Kodi needs. Seeking issue is fixed |
|
Thanks, that fixed libpostproc, now the build is successful. FYI, built and tested on kernel 6.1. Kodi is on my test list. Testing this file with your patch (not DRM_PRIME) i get CPU usage ~98% , with a flush error below: using 6.1 (without you patch) i get CPU usage around 10~11 Obs: i had to change v4l2_fmt back to AV01, my current setup complains there is no support for AV1F (V4L2_PIX_AV1_FRAME), i supose it is used by Kodi |
|
The order was incorrect so it tried a format that the vpu doesn't know. Now in Kodi it shows in "top" 8-10% of cpu usage of 1200%. With ffplay it shows 100% of 1200%. This is the usage you hadvewith 6.1? |
Yes, similar results. But with ffplay (radxa) built on board i get close to you Kodi results. You most likely are using Orion 6 with slower memory speed. I'm curious about this: ffplay 5.1.6 built onboard ffplay v8 (44acea2) built onboard (with your patches) Would you know the part of the code that ask decoder for these formats? Regarding seek issues, did you fix that in Kodi or ffmpeg? |
|
@royka1 *update: |
This commit applies the libpostproc patch from Kodi, ensuring that Kodi can be built correctly. In addition, DRM PRIME support is added for v4l2m2 to allow hardware-accelerated video decoding with Kodi.
|
@avafinger Thanks for testing, the seeking issue should now be fixed. |
This commit applies the libpostproc patch from Kodi, ensuring that Kodi can be built.
In addition, DRM PRIME support is added for v4l2m2 to allow hardware-accelerated video decoding with Kodi.