![]() |
kodi-git build script for mainline hwaccel media decoding - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: kodi-git build script for mainline hwaccel media decoding (/showthread.php?tid=9877) |
kodi-git build script for mainline hwaccel media decoding - xmixahlx - 05-17-2020 greetings, provided is a build script for kodi-git using gbm+gles. kodi works excellently on the pbp with hantro and rkvdec media decoding for mpeg2, h264, h265, vp8 and vp9 codecs. see the mainline kernel and mainline hwaccel threads for more information. particularly THIS POST. run kodi from a terminal WITHOUT a GUI running. REQUIREMENTS linux-hwaccel ffmpeg-v4l2request RECOMMENDED mesa-git SCRIPT script now part of pbp-tools. see other forum thread for details. https://github.com/xmixahlx/pbp-tools https://forum.pine64.org/showthread.php?tid=10190 RE: kodi-git build script for mainline hwaccel media decoding - Eight Bit - 05-17-2020 Is this Debian only? Or will it work with Manjaro too? RE: kodi-git build script for mainline hwaccel media decoding - xmixahlx - 05-17-2020 it will work with manjaro, also. just translate dependencies and other debian-centric steps to manjaro/pacman, etc. RE: kodi-git build script for mainline hwaccel media decoding - xmixahlx - 05-21-2020 modified the script a bit for rerun. you'll want to use ccache if doing that... RE: kodi-git build script for mainline hwaccel media decoding - xmixahlx - 06-07-2020 updated and added inputstream.adaptive from git, which allows >720p youtube, among other uses. RE: kodi-git build script for mainline hwaccel media decoding - xmixahlx - 06-11-2020 scripts now part of pbp-tools. see other forum thread for details. https://github.com/xmixahlx/pbp-tools https://forum.pine64.org/showthread.php?tid=10190 updated the first post RE: kodi-git build script for mainline hwaccel media decoding - spikerguy - 06-13-2020 Hi @xmixahlx I have added your vdec patch to `linux-pinebookpro` it built fine then I tried building ffmpeg full but it have too many extra libs enabled so I moved to ffmpeg with only v4l2_request and it was build just fine. Now I am stuck with kodi-git I tried my PKGBuild with your config and it fails with errors then I think I will just run your script and it fails with missing deps and after I install those deps then it fails with missing packages which are not part of arch linux example `fstrcmp` and `libdvdread` errors. Have you tried building using the kodi script on your pbp-tools repo? Can you add full dep list? Thanks for your work. RE: kodi-git build script for mainline hwaccel media decoding - xmixahlx - 06-13-2020 @spikerguy if you have built linux and ffmpeg with the linux-hwaccel and ffmpeg-v4l2request patches, i'm assuming you should be able to add gbm and gles from configure to an existing kodi PKGBUILD. i run all these scripts from debian sid arm64 and dependencies are largely solved with "apt-get build-dep kodi ffmpeg". i do plan to update debian dependencies shortly. i'm not that familiar with pacman - does it have a similar build-dep command? my assumption is you would want to convert these scripts to PKGBUILDs in manjaro. happy to help that if i can. can you post the kodi build log? note: i steal the "full" ffmpeg configure directly from debian-multimedia.org's debian package and add the needed v4l2-request additions. you could adapt this for manjaro by removing anything not included in the repo? RE: kodi-git build script for mainline hwaccel media decoding - spikerguy - 06-14-2020 (06-13-2020, 01:41 PM)xmixahlx Wrote: @spikerguy Thank you for the clarification. I just wanted to make sure I follow what is in your scripts. As it is clear now, I will try to build ffmpeg with v4l2_request enabled and kodi with gbm instead of x11. I did try to play a video with linux_hwacc and ffmpeg_hwacc and I see there is some less load on cpu as compared to before where I used ffmpeg to play the video and not mpv. There is some video tearing which is fine as hw decoding is still wip. I will try to rebuild kodi and ffmpeg again tonight. Thanks. RE: kodi-git build script for mainline hwaccel media decoding - Odel - 06-14-2020 I'm missing something configuration-wise, when I run kodi it opens up but I have no input methods that work. I tried an external keyboard but no dice |