inputstream.ffmpegdirect icon indicating copy to clipboard operation
inputstream.ffmpegdirect copied to clipboard

Can't install this AddOn

Open HRompel opened this issue 1 year ago • 31 comments

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 avatar Sep 16 '24 19:09 HRompel

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.

phunkyfish avatar Sep 16 '24 20:09 phunkyfish

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

ffmpeg-Error.txt

HRompel avatar Sep 22 '24 11:09 HRompel

I believe you need 6.0 of ffmpeg and not 6.1

phunkyfish avatar Sep 22 '24 11:09 phunkyfish

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

HRompel avatar Sep 22 '24 11:09 HRompel

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

phunkyfish avatar Sep 22 '24 16:09 phunkyfish

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

HRompel avatar Sep 22 '24 17:09 HRompel

@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

basilgello avatar Sep 23 '24 02:09 basilgello

@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 avatar Sep 23 '24 04:09 phunkyfish

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.

phunkyfish avatar Sep 23 '24 04:09 phunkyfish

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

HRompel avatar Sep 23 '24 17:09 HRompel

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

phunkyfish avatar Sep 24 '24 04:09 phunkyfish

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

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

Greetings Heiko

HRompel avatar Sep 24 '24 17:09 HRompel

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?

phunkyfish avatar Sep 24 '24 19:09 phunkyfish

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

Greetings Heiko

HRompel avatar Sep 24 '24 19:09 HRompel

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?

phunkyfish avatar Sep 24 '24 20:09 phunkyfish

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

basilgello avatar Sep 25 '24 00:09 basilgello

Hello basilgello,

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

Greetings Heiko

HRompel avatar Oct 10 '24 17:10 HRompel

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 avatar Oct 11 '24 07:10 basilgello

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 avatar Oct 11 '24 09:10 basilgello

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

basilgello avatar Oct 11 '24 10:10 basilgello

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

HRompel avatar Oct 11 '24 13:10 HRompel

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!

basilgello avatar Oct 11 '24 13:10 basilgello

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 avatar Oct 11 '24 14:10 HRompel

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

heiko

HRompel avatar Oct 11 '24 14:10 HRompel

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

basilgello avatar Oct 11 '24 16:10 basilgello

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... :-/

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 avatar Oct 13 '24 05:10 basilgello

FTR https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=kodi-git#n85 @graysky2

basilgello avatar Oct 13 '24 05:10 basilgello

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 avatar Oct 13 '24 06:10 HRompel

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 avatar Oct 17 '24 15:10 HRompel