Package Details: kodi-addon-inputstream-ffmpegdirect 21.3.8-3

Git Clone URL: https://aur.archlinux.org/kodi-addon-inputstream-ffmpegdirect.git (read-only, click to copy)
Package Base: kodi-addon-inputstream-ffmpegdirect
Description: Inputstream ffmpegdirect kodi plugin
Upstream URL: https://github.com/xbmc/inputstream.ffmpegdirect
Keywords: addon arm AUR ffmpeg kodi
Licenses: GPL
Groups: kodi
Provides: kodi-addon-inputstream-ffmpegdirect
Submitter: ivanich
Maintainer: wast3
Last Packager: wast3
Votes: 9
Popularity: 0.004544
First Submitted: 2021-02-21 20:51 (UTC)
Last Updated: 2025-10-06 19:10 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 Next › Last »

Veldt commented on 2026-01-03 21:41 (UTC)

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.

arcreactor commented on 2025-11-05 12:49 (UTC) (edited on 2025-11-05 12:56 (UTC) by arcreactor)

Hello wast3,

due to the recent update in arch to ffmpeg8, the package no longer compiles. I managed to compile it applying this patch:

https://pastebin.com/QbqXUYh9

Thank you for your work!

wast3 commented on 2025-09-09 16:17 (UTC) (edited on 2025-09-09 16:17 (UTC) by wast3)

Hey @Lucki,

for some inscrutable reason, it builds fine if you add the mainline ffmpeg to the chroot (that's ffmpeg version 7, which the package will not use).

I will add it to the pkgbuild, thank you.

Lucki commented on 2025-09-09 15:24 (UTC)

I get the following error building this in a clean chroot:

[…]
[ 50%] Building CXX object CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/CurlInput.cpp.o
In file included from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegLog.cpp:8:
/build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegLog.h:14:10: fatal error: libavcodec/avcodec.h: No such file or directory
   14 | #include <libavcodec/avcodec.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:121: CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegLog.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegStream.h:13,
                 from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegStream.cpp:8:
/build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/DemuxStream.h:24:10: fatal error: libavcodec/avcodec.h: No such file or directory
   24 | #include <libavcodec/avcodec.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:135: CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegStream.cpp.o] Error 1
In file included from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/DemuxStream.cpp:8:
/build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/DemuxStream.h:24:10: fatal error: libavcodec/avcodec.h: No such file or directory
   24 | #include <libavcodec/avcodec.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:93: CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/DemuxStream.cpp.o] Error 1
In file included from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegStream.h:13,
                 from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegCatchupStream.h:10,
                 from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegCatchupStream.cpp:8:
/build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/DemuxStream.h:24:10: fatal error: libavcodec/avcodec.h: No such file or directory
   24 | #include <libavcodec/avcodec.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/FFmpegStream.h:13,
                 from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/StreamManager.h:10,
                 from /build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/StreamManager.cpp:8:
/build/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-21.3.8-Omega/src/stream/DemuxStream.h:24:10: fatal error: libavcodec/avcodec.h: No such file or directory
   24 | #include <libavcodec/avcodec.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:107: CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegCatchupStream.cpp.o] Error 1
make[2]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:79: CMakeFiles/inputstream.ffmpegdirect.dir/src/StreamManager.cpp.o] Error 1
[…]
make[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/inputstream.ffmpegdirect.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/lucki/build

piter85 commented on 2024-12-27 12:26 (UTC) (edited on 2024-12-27 12:30 (UTC) by piter85)

Hi, i got the following issue with this package:


make[2]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:135: CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegStream.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/inputstream.ffmpegdirect.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...

any suggestions? Many thanks!

spontex commented on 2024-11-28 22:01 (UTC)

Thank you @wast3, this worked for me and solved the problems I had with IPTV Simple Client.

wast3 commented on 2024-11-28 17:56 (UTC) (edited on 2024-11-28 18:21 (UTC) by wast3)

Fails to build against ffmpeg 7. Needs a dependency to ffmpeg6.1 and the following added to the PKGBUILD:

-DFFMPEG_INCLUDE_DIRS=/usr/include/ffmpeg6.1 -DFFMPEG_LIBRARIES=/usr/lib/ffmpeg6.1

silex commented on 2024-11-15 11:08 (UTC) (edited on 2024-11-15 11:12 (UTC) by silex)

Building break with errors:

  1. static declaration of 'sincos' follows non-static declaration - resolved by deleting non-static declaration

/root/aur/inputstream.ffmpegdirect-21.3.5-Omega/build/build/libzvbi/src/libzvbi/src/io-sim.c:128:1: error: static declaration of 'sincos' follows non-static declaration 128 | sincos (double x, | ^~ In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from /root/aur/inputstream.ffmpegdirect-21.3.5-Omega/build/build/libzvbi/src/libzvbi/src/io-sim.c:28: /usr/include/bits/mathcalls.h:79:1: note: previous declaration of 'sincos' with type 'void(double, double , double ' 79 | __MATHDECL_VEC (void,sincos,, | ^~

  1. Didn't resolved

/usr/bin/ld: /tmp/ccfMF0oo.ltrans4.ltrans.o:(.data.rel.ro+0x8): undefined reference to `nettle_sha3_256_shake' collect2: error: ld returned 1 exit status ERROR: gnutls not found using pkg-config

[ 12%] Performing configure step for 'ffmpeg' ERROR: gnutls not found using pkg-config

If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. make[5]: *** [CMakeFiles/ffmpeg.dir/build.make:92: ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-configure] Error 1 make[4]: *** [CMakeFiles/Makefile2:87: CMakeFiles/ffmpeg.dir/all] Error 2

thepasto commented on 2024-04-16 18:15 (UTC) (edited on 2024-04-16 18:16 (UTC) by thepasto)

I think kodi-dev it's always required, so just put kodi-dev, for all architectures. If kodi-rpi-dev provides kodi-dev, rpi users should select the rpi one, when prompted. at least i guess so :)

ivanich commented on 2024-04-16 17:57 (UTC)

@thepasto would this work?

if [[ $CARCH == 'armv6h' || $CARCH == 'armv7h'  || $CARCH == 'aarch64' ]]; then
    makedepends+=('kodi-rpi-dev')
fi