mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-31 03:03:24 +01:00
The bundled ffmpeg 8.0 needs glibc 2.35 and does not start on Ubuntu 20.04 or Debian 11 (plan: per-distro ffmpeg, Stages 2-4). XC_VM_FFMPEG releases one build per label and distribution, each built in that distribution's container. - `console.php ffmpeg` (FfmpegBuildsCommand, as xc_vm) fetches 4.0, 7.1 and 8.1 for this distribution (`ffmpeg_<label>_<distro>.tar.gz`), checks each against the release's hashes.md5, extracts it aside, and swaps it into bin/ffmpeg_bin/<label>/ only once ffmpeg and ffprobe start here; the installed build stays otherwise. ffmpeg_version.json keeps each label's release, so an unchanged one is not fetched again. cron:root_signals runs it daily on every node, the first pass at once, and hourly while a launch has not finished (a service restart in the same cron pass killed one on the test LB). - XUI's 4.0 is kept where a node has it: only it takes -nofix_dts, which the legacy DTS path passes, until the rebuilt 4.0's DTS handling is validated. A rebuilt 4.0 (BUILD_INFO beside it) is never passed -nofix_dts (FfmpegPaths::fixDts). - The 8.x label is 8.1: migration 057 moves the ffmpeg_cpu/ffmpeg_gpu settings from 8.0, and a version a node lacks takes the newest build of its major it has (8.0 until it fetched 8.1). - GIT_REPO_FFMPEG, on the BIN update channel.