Compare commits

..
Author SHA1 Message Date
CanbiZ (MickLesk) e5a7b7e3a3 Simplify FFmpeg installation in kyoo-install.sh
Removed comment about FFmpeg build and streamlined installation process.
2026-12-04 07:45:16 +01:00
MickLesk c52d54a310 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.
2026-12-04 07:27:21 +01:00
3 changed files with 9 additions and 3 deletions

No files matched your search

+6
View File
@@ -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
+1 -3
View File
@@ -368,9 +368,7 @@ User=root
EnvironmentFile=/etc/frigate.env
ExecStartPre=+/usr/bin/systemctl restart go2rtc.service
ExecStartPre=+rm -f /dev/shm/logs/frigate/current
ExecStart=/bin/bash -c 'exec > >(/usr/bin/ts "%%Y-%%m-%%d %%H:%%M:%%.S ") 2>&1; exec bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run'
KillMode=mixed
TimeoutStopSec=60
ExecStart=/bin/bash -c "bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run 2> >(/usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%.S ' >&2) | /usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%.S '"
StandardOutput=file:/dev/shm/logs/frigate/current
StandardError=file:/dev/shm/logs/frigate/current
+2
View File
@@ -25,6 +25,8 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
setup_ffmpeg
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