mirror of
git://f0xx.org/ac/ac-ms-media-transcode
synced 2026-07-29 02:58:05 +03:00
Encode-once/fanout scripts, HLS output, and single overloadable env source. Commits assets/pirate_drift.png as default watermark for cluster runs. Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
262 B
Bash
Executable File
9 lines
262 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Lab helper: print nginx fragment with HLS_ROOT substituted.
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
HLS_ROOT="${1:-${ROOT}/storage/hls}"
|
|
|
|
sed "s|@HLS_ROOT@|${HLS_ROOT}|g" "${ROOT}/nginx/hls-location.conf"
|