Merge ffmpeg host provisioning into streaming-overhaul
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@ apt-get install -y --no-install-recommends \
|
||||
openssl \
|
||||
jq \
|
||||
wget \
|
||||
ca-certificates
|
||||
ca-certificates \
|
||||
ffmpeg
|
||||
|
||||
echo " [ok] apt packages installed"
|
||||
|
||||
|
||||
+8
-1
@@ -41,6 +41,12 @@ if ! command -v nginx &>/dev/null; then
|
||||
die "nginx not found on PATH. Install nginx before running this script."
|
||||
fi
|
||||
|
||||
# ffmpeg (with libopus) is required at runtime by DeepDrftAPI for Opus transcode (Phase 18.1).
|
||||
# On Ubuntu/Debian the stock ffmpeg apt package includes libopus; bootstrap.sh installs it.
|
||||
if ! command -v ffmpeg &>/dev/null; then
|
||||
die "ffmpeg not found on PATH. Install it before running this script: apt-get install -y ffmpeg"
|
||||
fi
|
||||
|
||||
# rrsync ships in the rsync package; path varies by distro version
|
||||
RRSYNC_BIN=""
|
||||
if command -v rrsync &>/dev/null; then
|
||||
@@ -51,7 +57,7 @@ else
|
||||
die "rrsync not found. Install the rsync package: apt-get install -y rsync"
|
||||
fi
|
||||
|
||||
ok "psql present, PostgreSQL active, nginx present"
|
||||
ok "psql present, PostgreSQL active, nginx present, ffmpeg present"
|
||||
ok "rrsync found at: ${RRSYNC_BIN}"
|
||||
|
||||
# ── Step 0b: Parameter collection ─────────────────────────────────────────────
|
||||
@@ -433,6 +439,7 @@ Installed / configured:
|
||||
- PostgreSQL role '${PG_ROLE}' and databases: ${DB_META}, ${DB_AUTH}
|
||||
- SSH authorized_keys with forced-command + restrict
|
||||
- nginx sites-available + sites-enabled, default site removed
|
||||
- ffmpeg (with libopus) installed at $(command -v ffmpeg) — runtime prereq for Opus transcode
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Remaining manual steps:
|
||||
|
||||
Reference in New Issue
Block a user