Pinephone hardware decoding with cedrus
Hi, i would like to ask if hardware decoding with cedrus is enable on some build of Manjaro for Pinephone
Probably cedrus module is enabled by default, but to get it working on real applications, they need to have some special support: as i have understood from my researches is that cedrus is controlled using v4l2 request api, that need to be explicitly supported. As reported from megi's site (https://xnux.eu/devices/pine64-pinephone.html), hardware decoding with v4l2 request api works with gstreamer 1.18 and Kwiboo ffmpeg branch (https://github.com/Kwiboo/FFmpeg), but have never tested it personally.
There is also another way to get cedrus working, that is using libva_v4l2_request (https://github.com/bootlin/libva-v4l2-request), but the repository is supposed to work with kernel 5.4 and, since this things has not been stabilized inside the kernel, they need to be adjusted for more modern kernels. I have made some test and i managed to update and fix some incompatibilities on a fork that i made (https://github.com/uniformbuffer/libva-v4l2-request). With this i have managed to get mpv working using vaapi-copy on PMOS kernel 5.8.0 with a h264_1280x720x60.mkv video, but the performance are worst than software decoding. I suppose the original repository was meant for a demonstration, not a real use.
So in generally i would simply like to know what is the situation about hardware decoding on Manjaro, i know it is not an easy topic and probably there is need more time to get all working.
Thanks for listening,
Have a good day