From c52d54a3100ef17d7b3cd2cd35966965c4e20f94 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Fri, 4 Dec 2026 07:27:21 +0100 Subject: [PATCH] Kyoo: install the FFmpeg build its transcoder needs (#19290) Since Kyoo 5.3.0 the transcoder passes HLS options that only exist in zoriya/ffmpeg. The prebuilt release goes to /opt/kyoo-ffmpeg and is linked into /usr/local/bin; Debian's ffmpeg stays for its libraries. The update fetches it too, so existing installs are repaired. --- ct/kyoo.sh | 6 ++++++ install/kyoo-install.sh | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ct/kyoo.sh b/ct/kyoo.sh index f72c39960..a669533b0 100644 --- a/ct/kyoo.sh +++ b/ct/kyoo.sh @@ -32,6 +32,12 @@ function update_script() { exit fi + if check_for_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg"; then + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg" "prebuild" "latest" "/opt/kyoo-ffmpeg" "ffmpeg-*-linux-$(arch_resolve).tar.xz" + ln -sf /opt/kyoo-ffmpeg/ffmpeg /opt/kyoo-ffmpeg/ffprobe /usr/local/bin/ + systemctl restart kyoo-transcoder + fi + if check_for_gh_release "kyoo" "zoriya/Kyoo"; then msg_info "Stopping Kyoo" systemctl stop kyoo-scanner kyoo-api kyoo-transcoder kyoo-auth diff --git a/install/kyoo-install.sh b/install/kyoo-install.sh index c3e0f3b73..329ed76c6 100644 --- a/install/kyoo-install.sh +++ b/install/kyoo-install.sh @@ -25,6 +25,9 @@ $STD apt install -y \ msg_ok "Installed Dependencies" setup_ffmpeg +# Kyoo needs its own FFmpeg build; it links against the libraries of Debian's package +fetch_and_deploy_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg" "prebuild" "latest" "/opt/kyoo-ffmpeg" "ffmpeg-*-linux-$(arch_resolve).tar.xz" +ln -sf /opt/kyoo-ffmpeg/ffmpeg /opt/kyoo-ffmpeg/ffprobe /usr/local/bin/ setup_hwaccel PG_VERSION="18" setup_postgresql PG_DB_NAME="kyoo" PG_DB_USER="kyoo" setup_postgresql_db