The patch shared by arcreactor does finally let it compile, thanks! The patch at pastebin needs one more line at the end to avoid git patch failing with 2 rather than 3 lines of context. I then used "git apply --ignore-whitespace ../kodi-addon-inputstream-ffmpegdirect.diff.txt"
ffmpeg6.1 is required by this package unless this patch is applied. I couldn't build ffmpeg6.1 on my (up-to-date) system. I applied the above patch, and it built with the standard ffmpeg on my system, version 8. ffmpeg4.4 is also installed from extra.
Great news that it now compiles, but it still doesn't work (but see below). Got this error that I haven't seen before, when using an addon that depends on inputstream-ffmpegdirect: VideoPlayer InputStream: Inputstream FFmp... Add-on couldn't be loaded. An unknown error has occurred.
I could look into it further.
Using a precompiled addon, version 21.3.5, works, from "https://github.com/arnesongit/inputstream.ffmpegdirect-binaries". It's the last link on the page. But I hope we can compile from source.
Pinned Comments