Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install this AddOn #308

Open
HRompel opened this issue Sep 16, 2024 · 31 comments
Open

Can't install this AddOn #308

HRompel opened this issue Sep 16, 2024 · 31 comments

Comments

@HRompel
Copy link

HRompel commented Sep 16, 2024

Hello,
i can't the install this AddOn on
my system.

inxi -Fz
System:
  Kernel: 6.9.12-3-MANJARO arch: x86_64 bits: 64
  Desktop: Xfce v: 4.18.1 Distro: Manjaro Linux
Machine:
  Type: Laptop System: ASUSTeK product: G750JS v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G750JS v: 1.0 serial: <superuser required>
    BIOS: American Megatrends v: G750JS.208 date: 07/17/2014
Battery:
  ID-1: BAT0 charge: 41.6 Wh (100.0%) condition: 41.6/77.0 Wh (54.1%)
    volts: 14.8 min: 14.8
CPU:
  Info: quad core model: Intel Core i7-4700HQ bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 3174 min/max: 800/3400 cores: 1: 3174 2: 3174 3: 3174
    4: 3174 5: 3174 6: 3174 7: 3174 8: 3174
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
    v: kernel
  Device-2: NVIDIA GK104M [GeForce GTX 870M] driver: nouveau v: kernel
  Device-3: Chicony USB2.0 HD UVC WebCam driver: uvcvideo type: USB
  Display: x11 server: X.org v: 1.21.1.13 driver: X: loaded: modesetting
    dri: crocus,nouveau gpu: i915 resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: crocus,nouveau,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel mesa v: 24.1.6-arch1.1
    renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    driver: snd_hda_intel
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    driver: snd_hda_intel
  Device-3: Plantronics Plantronics Blackwire 3225 Series
    driver: plantronics,snd-usb-audio,usbhid type: USB
  API: ALSA v: k6.9.12-3-MANJARO status: kernel-api
  Server-1: PipeWire v: 1.2.3 status: active
Network:
  Device-1: Broadcom BCM4352 802.11ac Dual Band Wireless Network Adapter
    driver: bcma-pci-bridge
  Device-2: Qualcomm Atheros QCA8171 Gigabit Ethernet driver: alx
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: IMC Networks BCM20702A0 driver: btusb type: USB
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.6 TiB used: 871.43 GiB (53.3%)
  ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS541515A9E630
    size: 1.36 TiB
  ID-2: /dev/sdb vendor: SanDisk model: SD5SE2256G1002E size: 238.47 GiB
Partition:
  ID-1: / size: 233.67 GiB used: 134.59 GiB (57.6%) fs: ext4 dev: /dev/sdb1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 93.0 C mobo: N/A gpu: nouveau temp: 71.0 C
  Fan Speeds (rpm): cpu: 5600
Info:
  Memory: total: 32 GiB note: est. available: 30.8 GiB used: 3.6 GiB (11.7%)
  Processes: 263 Uptime: 1h 49m Shell: Bash inxi: 3.3.36

kodi_error_log.txt

Every time if a new version of kodi is avaible, this AddOn can't install - why?

Greetings from germany
Heiko

@HRompel HRompel changed the title Can't install the AddOn Can't install this AddOn Sep 16, 2024
@phunkyfish
Copy link
Collaborator

What version of ffmpeg do you have installed?

My guess is you have ffmpeg 7 and kodi is waiting for that PR to be merged so is still on version 6.

@HRompel
Copy link
Author

HRompel commented Sep 22, 2024

the version 6.1 of ffmpeg is installed, but i become this Error from pacman

ffmpeg-Error.txt

@phunkyfish
Copy link
Collaborator

I believe you need 6.0 of ffmpeg and not 6.1

@HRompel
Copy link
Author

HRompel commented Sep 22, 2024

6.1 and 7.0.21 are in the repro from manjaro - 6.0 not.

@phunkyfish
Copy link
Collaborator

Can you build and install 6.0 manually? Otherwise I’m not sure how to get around this.

@HRompel
Copy link
Author

HRompel commented Sep 22, 2024

why use ffmpeg 6.0?
6.1.2 was released on 2024-08-02. It is the latest stable FFmpeg release from the 6.1 release branch, which was cut from master on 2023-10-29.
7.0.2 was released on 2024-08-03. It is the latest stable FFmpeg release from the 7.0 release branch, which was cut from master on 2024-03-27
On Manjaro repo the last version from "kodi-addon-inputstream-ffmpegdirect" was 21.3.5-5 from 16.04.2024.
So i doesn't a older ffmpeg-version, i need a newer addon version, thats use the new ffmpeg.

Greetings from germany
Heiko

@basilgello
Copy link
Contributor

@phunkyfish The advice to install older ffmpeg is a disaster waiting to come. I had 20.x addon built along ffmpeg 6.1.1 in Debian sid just fine: https://salsa.debian.org/multimedia-team/kodi-media-center/kodi-inputstream-ffmpegdirect/-/tree/debian/20.5.1+ds-1/debian/patches?ref_type=tags

@phunkyfish
Copy link
Collaborator

@phunkyfish The advice to install older ffmpeg is a disaster waiting to come. I had 20.x addon built along ffmpeg 6.1.1 in Debian sid just fine: https://salsa.debian.org/multimedia-team/kodi-media-center/kodi-inputstream-ffmpegdirect/-/tree/debian/20.5.1+ds-1/debian/patches?ref_type=tags

Then the issue must be something else then. Ffmpeg 6 should be API stable AFAIK and should not cause problems. Anyway to make sure it’s choosing the correct ffmpeg version to build against (I.e. FFmpeg 6 and not 7)?

@phunkyfish
Copy link
Collaborator

why use ffmpeg 6.0? 6.1.2 was released on 2024-08-02. It is the latest stable FFmpeg release from the 6.1 release branch, which was cut from master on 2023-10-29. 7.0.2 was released on 2024-08-03. It is the latest stable FFmpeg release from the 7.0 release branch, which was cut from master on 2024-03-27 On Manjaro repo the last version from "kodi-addon-inputstream-ffmpegdirect" was 21.3.5-5 from 16.04.2024. So i doesn't a older ffmpeg-version, i need a newer addon version, thats use the new ffmpeg.

Greetings from germany Heiko

Unfortunately we can’t build against a different ffmpeg verison than is used in Kodi, they must remain the same. But any v6 release of ffmpeg should work. I don’t know why this is not working for you.

@HRompel
Copy link
Author

HRompel commented Sep 23, 2024

Hello,
if have deinstall Kodi and clean my home folder about kodi, but i can't install the ffmpeg AddOn.

On three pictures you can see what i found in the repo about kodi and ffmpeg.

ffmpeg-error_001
ffmpeg-error_002
ffmpeg-error_003

I doesn't know what i can do more

Greetings Heiko

@phunkyfish
Copy link
Collaborator

Can you not install kodi-addon-inputstream-ffmpegdirect?

@HRompel
Copy link
Author

HRompel commented Sep 24, 2024

Can you not install kodi-addon-inputstream-ffmpegdirect?

wow, 100%. And now what is your info that's help me?

Greetings Heiko

@phunkyfish
Copy link
Collaborator

Can you not install kodi-addon-inputstream-ffmpegdirect?

wow, 100%. And now what is your info that's help me?

Greetings Heiko

Now I’m just confused, does the addon work once installed?

@HRompel
Copy link
Author

HRompel commented Sep 24, 2024

I Can't install the Addon and i can't install ffmpeg 6.0.

Greetings Heiko

@phunkyfish
Copy link
Collaborator

Sorry, I’m not a Linux user. So installing the addon is actually building it? I.e. the ffmpeg error comes from the attempted install?

@basilgello
Copy link
Contributor

Let me spin a Manjaro container and check what's there…

@HRompel
Copy link
Author

HRompel commented Oct 10, 2024

Hello basilgello,

have you spin the Manjaro container? If yes, can you install the AddOn?

Greetings
Heiko

@basilgello
Copy link
Contributor

I did spin docker.io/manjarolinux/base:latest which is 24.1.1 "Xahea" and indeed the kodi-addon-inputstream-ffmpegdirect is missing despite Adaptive and RTMP are there!

Also, Manjaro Package Tracker confirms that: https://manjaristas.org/branch_compare?q=kodi-addon

Trying to find the repo for the addon package in Manjaro now

@basilgello
Copy link
Contributor

Well… Manjaro devs followed the path of least resistance and picked up AUR PKGBUILD that bundles ffmpeg 6.0.1 into Kodi, instead of picking up #24972 port from Debian and using currently shipped FFmpeg 7.0.2. The ffmpegdirect CMakeLists.txt now has no code to build ffmpeg from depends so a conflict arose

@basilgello
Copy link
Contributor

One option would be to uninstall Kodi from Manjaro and install kodi-git, and needed kodi-addon-*-git via pamac from AUR

@HRompel
Copy link
Author

HRompel commented Oct 11, 2024

sudo pacman -S kodi-git
[sudo] Passwort für heiko:
Fehler: Ziel nicht gefunden: kodi-git

sudo -S kodi-addon--git
sudo: kodi-addon-
-git: Befehl nicht gefunden

Greetings
Heiko

@basilgello
Copy link
Contributor

basilgello commented Oct 11, 2024

pamac build kodi-git
pamac build kodi-addon-inputstream-adaptive-git
pamac build kodi-addon-inputstream-ffmpegdirect-git
etc for all binary addons you want to have in your system

But keep in mind it will probably install v22 Piers!

@HRompel
Copy link
Author

HRompel commented Oct 11, 2024

pamac build kodi-git

pr24972.patch ... FEHLGESCHLAGEN
==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung!
Finished with result: exit-code
Main processes terminated with: code=exited, status=1/FAILURE
Service runtime: 2min 24.919s
CPU time consumed: 3min 19.235s
Memory peak: 2.4G (swap: 0B)
Fehler: Fehler beim Erstellen von kodi-git

@HRompel
Copy link
Author

HRompel commented Oct 11, 2024

i think i must change my os from manjaro to debian, because in debian kodi and his addons works.

heiko

@basilgello
Copy link
Contributor

You can :) I am maintaining Kodi there and we are about to backport v21 to bookworm!

@bingChilling-Amnesty-Coalition

I have been trying to install / uninstall all variants to get the kodi-addons-inputstream-ffmpeg to install without success.

==> Validating source files with b2sums...
    xbmc ... Skipped
    libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz ... Passed
    libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz ... Passed
    libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz ... Passed
    ffmpeg-7.0.2.tar.gz ... Passed
    crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz ... Passed
    fstrcmp-0.7.D001.tar.gz ... Passed
    flatbuffers-23.3.3.tar.gz ... Passed
    libudfread-1.1.2.tar.gz ... Passed
    pr24972.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Failed to build kodi-git

im open to suggestions - perhaps im not able to select the ffmpeg6 version correctly - really kinda frustrating... :-/

@basilgello
Copy link
Contributor

basilgello commented Oct 13, 2024

24972 is a patch for ffmpeg7, basically xbmc/xbmc#24972 :) It was rebased several times, so it must be a PKGBUILD problem if it fetches the patch by "generic" name and not by commit hash.

@basilgello
Copy link
Contributor

@HRompel
Copy link
Author

HRompel commented Oct 13, 2024

this PKGBUILD doesn't works with my manjaro Linux ;-(

Greetings
Heiko

Vorbereitung...

Klone kodi-addon-inputstream-ffmpegdirect Build-Dateien...

Generiere kodi-addon-inputstream-ffmpegdirect Informationen...

Überprüfe kodi-addon-inputstream-ffmpegdirect Abhängigkeiten...

Vorgang konnte nicht erfolgreich vorbereitet werden:

Ziel nicht gefunden: kodi-addon-inputstream-ffmpegdirect

Vorgang abgebrochen.

@HRompel
Copy link
Author

HRompel commented Oct 17, 2024

ee any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

[100%] Completed 'gmp'
[100%] Built target gmp
[ 65%] Performing install step for 'gmp'
[100%] Built target gmp
Install the project...
-- Install configuration: "Release"
Done
[ 66%] Completed 'gmp'
[ 66%] Built target gmp
make: *** [Makefile:91: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
-> Fehler beim Erstellen: kodi-addon-inputstream-ffmpegdirect-git-exit status 4
-> Die folgenden Pakete konnten nicht installiert werden. Ein manueller Eingriff ist erforderlich:
kodi-addon-inputstream-ffmpegdirect-git - exit status 4

@HRompel
Copy link
Author

HRompel commented Oct 17, 2024

With the binary from https://github.com/arnesongit/inputstream.ffmpegdirect-binaries?tab=readme-ov-file it works.

Greetings Heiko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants