Missing inputstream.ffmpegdirect on Raspberry Pi (3B+) Bullseye
#1
I found lots of articles about this problem but they are all old. Apparently there is no repository for inputstream.ffmpegdirect so I have to build it myself. I am following these instructions (Linux):

GitHub inputstream.ffmpegdirect

The build was successful but I can't figure out how to do the last step which is undocumented:

The addon files will be placed in ../../xbmc/build/addons so if you build Kodi from source and run it directly the addon will be available as a system addon.

I have Kodi already installed from the repository. Is this saying I have to remove it and build it from source? Is there no way to install it within Kodi? TIA.
Reply
#2
if you want to install your compiled version then you need to package it as an addon zip then install it into your existing Kodi

the instruction you say is undocumented does not need documentation, if you compiled Kodi at the same time as the addon then the addon will be installed for your compilation of kodi

-----

Bullseye does provide the package - https://packages.debian.org/bullseye/kod...mpegdirect

'apt install kodi-inputstream-ffmpegdirect'
Reply
#3
Thanks for the reply but I've already been down that road:

 $ sudo apt install kodi-inputstream-ffmpegdirect
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package kodi-inputstream-ffmpegdirect is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'kodi-inputstream-ffmpegdirect' has no installation candidate

This is why I am where I am with this.
Reply
#4
did you perform an update first? - 'apt update'

did you try to download the deb directly and attempt to install with dpkg instead? -

links from the page above -

https://packages.debian.org/bullseye/arm...t/download arm32
https://packages.debian.org/bullseye/arm...t/download arm64
Reply
#5
(2023-10-10, 20:50)izprtxqkft Wrote: did you perform an update first? - 'apt update'

did you try to download the deb directly and attempt to install with dpkg instead? -

links from the page above -

https://packages.debian.org/bullseye/arm...t/download arm32
https://packages.debian.org/bullseye/arm...t/download arm64
Thanks again. I did an update and upgrade but I never found those deb files. I'll give it a try.
Reply
#6
I feel like I am out of my element. This is like peeling an onion:

$ sudo apt install ./kodi-inputstream-ffmpegdirect_1.19.2+ds1-1_arm64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'kodi-inputstream-ffmpegdirect:arm64' instead of './kodi-inputstream-ffmpegdirect_1.19.2+ds1-1_arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kodi-inputstream-ffmpegdirect:arm64 : Depends: libavcodec58:arm64 (>= 7:4.2.2) but it is not installable
                                       Depends: libavformat58:arm64 (>= 7:4.2.2) but it is not installable
                                       Depends: libavutil56:arm64 (>= 7:4.2.2) but it is not installable
                                       Depends: libc6:arm64 (>= 2.17) but it is not installable
                                       Depends: libgcc-s1:arm64 (>= 3.3.1) but it is not installable
                                       Depends: libstdc++6:arm64 (>= 6) but it is not installable
                                       Depends: kodi-api-inputstream:arm64 (>= 3.0.1) but it is not installable
                                       Depends: kodi-api-inputstream:arm64 (< 3.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.



I'm confused by this line:

Note, selecting 'kodi-inputstream-ffmpegdirect:arm64' instead of './kodi-inputstream-ffmpegdirect_1.19.2+ds1-1_arm64.deb'

Did it use the deb file or pull from the repository?
Reply
#7
(2023-10-11, 16:06)gw1500se Wrote: Note, selecting 'kodi-inputstream-ffmpegdirect:arm64' instead of './kodi-inputstream-ffmpegdirect_1.19.2+ds1-1_arm64.deb'

Did it use the deb file or pull from the repository?

yes, it found it in the repository
 
(2023-10-11, 16:06)gw1500se Wrote: Depends: libstdc++6:arm64 (>= 6) but it is not installable

somehow, the version you are trying to install requires a newer version dependencies than your system has, this one is a big one and would indicate -

a) you are not on bullseye
b) you have a newer repository in the sources.list than what is installed on your system

this is turning into a debian linux support thread rather than a simple kodi one - recommend seeking debian support https://forums.debian.net
Reply
#8
@gw1500se, if you followed the build instructions exactly, then your command line should have included -DPACKAGE_ZIP=1 at the end.  If you return to the build directory (where you typed make before) and type instead make package-inputstream.ffmpegdirect then the build system will create a zip file for you to install.  This I think will end up in build/build/zips.  You can then install it in the normal way.
Learning Linux the hard way !!
Reply
#9
(2023-10-11, 16:15)izprtxqkft Wrote: yes, it found it in the repository


somehow, the version you are trying to install requires a newer version dependencies than your system has, this one is a big one and would indicate -

a) you are not on bullseye
b) you have a newer repository in the sources.list than what is installed on your system

this is turning into a debian linux support thread rather than a simple kodi one - recommend seeking debian support https://forums.debian.net

It is not a)

$ lsb_release -irdc
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye

I don't know about b) but I would think an update and upgrade would make sure it matches. My sources.list has a single entry:

deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

I guess it is off to the debian forum.
Reply
#10
(2023-10-11, 17:35)black_eagle Wrote: @gw1500se, if you followed the build instructions exactly, then your command line should have included -DPACKAGE_ZIP=1 at the end.  If you return to the build directory (where you typed make before) and type instead make package-inputstream.ffmpegdirect then the build system will create a zip file for you to install.  This I think will end up in build/build/zips.  You can then install it in the normal way.

Yes that option was in the command line. However, I can't find a zip file. there is no zip directory in build/build:

bootstrap  depends   ffmpeg            gmp     libpng   libzvbi  xz-utils
bz2        download  gas-preprocessor  gnutls  libxml2  nettle   zlib
Reply
#11
(2023-10-11, 18:47)gw1500se Wrote: deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

raspbian is not debian, debian is debian - https://www.debian.org/releases/bullseye

that is why your packages are not lining up and your sources.list shows a raspberrypi.org address

raspian is not even raspbian any longer, it is raspberry pi os - https://www.raspberrypi.com/software

forget the debian forum, head to the raspberry forum - https://forums.raspberrypi.com
Reply
#12
(2023-10-11, 18:50)gw1500se Wrote: Yes that option was in the command line. However, I can't find a zip file. there is no zip directory in build/build:

Yeah, you have to specifically make package-etc rather than just make. 

cpp:
xbmc@Diamond:/media/sdd1/build/inputstream.ffmpegdirect/build/build$ ls
bz2      download  gas-preprocessor  gnutls  libxml2  nettle    zlib
depends  ffmpeg    gmp               libpng  libzvbi  xz-utils

xbmc@Diamond:/media/sdd1/build/inputstream.ffmpegdirect/build$ make package-inputstream.ffmpegdirect
[  8%] Built target zlib
[ 16%] Built target bz2
[ 24%] Built target gas-preprocessor
[ 32%] Built target gmp
[ 41%] Built target nettle
[ 49%] Built target xz-utils
[ 57%] Built target gnutls
[ 65%] Built target libxml2
[ 74%] Built target libpng
[ 82%] Built target libzvbi
[ 90%] Built target ffmpeg
[ 91%] Performing forcebuild step for 'inputstream.ffmpegdirect'
Force build of inputstream.ffmpegdirect
[ 92%] Performing build step for 'inputstream.ffmpegdirect'
[100%] Built target inputstream.ffmpegdirect
[ 93%] Performing install step for 'inputstream.ffmpegdirect'
[100%] Built target inputstream.ffmpegdirect
Install the project...

<snip>

Run CPack packaging tool...
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: inputstream.ffmpegdirect
CPack: - Install project: inputstream.ffmpegdirect []
CPack: -   Install component: inputstream.ffmpegdirect-21.2.0-linux
CPack: Create package
CPack: - package: /media/sdd1/build/inputstream.ffmpegdirect/build/inputstream.ffmpegdirect-prefix/src/inputstream.ffmpegdirect-build/addon-inputstream.ffmpegdirect-21.2.0-linux.zip generated.
Built target addon-package
[100%] Built target package-inputstream.ffmpegdirect

xbmc@Diamond:/media/sdd1/build/inputstream.ffmpegdirect/build/build$ ls
bz2      download  gas-preprocessor  gnutls  libxml2  nettle    zips
depends  ffmpeg    gmp               libpng  libzvbi  xz-utils  zlib

xbmc@Diamond:/media/sdd1/build/inputstream.ffmpegdirect/build/build$ cd zips && cd inputstream.ffmpegdirect+linux && ls
inputstream.ffmpegdirect-21.2.0.zip
Learning Linux the hard way !!
Reply
#13
$ make package-inputstream.ffmpegdirect
[  8%] Built target gmp
[  9%] Performing build step for 'nettle'
[ 12%] Performing build step for 'nettle'
/bin/sh: 1: autoheader: not found
make[8]: *** [Makefile:447: stamp-h.in] Error 127
make[7]: *** [Makefile:46: all] Error 2
make[6]: *** [CMakeFiles/nettle.dir/build.make:130: nettle-prefix/src/nettle-stamp/nettle-build] Error 2
make[5]: *** [CMakeFiles/Makefile2:95: CMakeFiles/nettle.dir/all] Error 2
make[4]: *** [Makefile:149: all] Error 2
make[3]: *** [CMakeFiles/nettle.dir/build.make:135: build/nettle/src/nettle-stamp/nettle-build] Error 2
make[2]: *** [CMakeFiles/Makefile2:565: CMakeFiles/nettle.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:229: CMakeFiles/package-inputstream.ffmpegdirect.dir/rule] Error 2
make: *** [Makefile:176: package-inputstream.ffmpegdirect] Error 2
Reply
#14
@Fuzzard, being the cmake guru, do you have any idea about the above?
Learning Linux the hard way !!
Reply
#15
(2023-10-11, 19:46)black_eagle Wrote: @Fuzzard, being the cmake guru, do you have any idea about the above?

no need for a guru, its simple - the environment isnt setup properly
 
Quote:# apt-file search autoheader
autoconf: /usr/bin/autoheader             
autoconf: /usr/share/autoconf/autoconf/autoheader.m4
autoconf: /usr/share/man/man1/autoheader.1.gz
autoconf-dickey: /usr/bin/autoheader-dickey
autoconf-dickey: /usr/share/man/man1/autoheader-dickey.1.gz
autoconf2.13: /usr/bin/autoheader2.13
autoconf2.13: /usr/share/autoconf2.13/autoheader.m4
autoconf2.13: /usr/share/autoconf2.13/autoheader.m4f
autoconf2.13: /usr/share/man/man1/autoheader2.13.1.gz
autoconf2.64: /usr/bin/autoheader2.64
autoconf2.64: /usr/share/autoconf2.64/autoconf/autoheader.m4
autoconf2.64: /usr/share/man/man1/autoheader2.64.1.gz
autoconf2.69: /usr/bin/autoheader2.69
autoconf2.69: /usr/share/autoconf2.69/autoconf/autoheader.m4
autoconf2.69: /usr/share/man/man1/autoheader2.69.1.gz
bash-completion: /usr/share/bash-completion/completions/autoheader
manpages-tr: /usr/share/man/tr/man1/autoheader.1.gz
Reply

Logout Mark Read Team Forum Stats Members Help
Missing inputstream.ffmpegdirect on Raspberry Pi (3B+) Bullseye0