Kapitel 13/Tutorial.md aktualisiert

This commit is contained in:
2025-09-17 08:53:17 +00:00
parent 3bbdfd5a4e
commit 4d47331bbb

View File

@@ -816,13 +816,11 @@ mkdir -p "$ANALYSIS" "$LOGDIR"
exec > >(tee -a "${LOGDIR}/analyze.log") 2>&1
echo "== Analyze $ID =="
# 1) Szenenwechsel
echo "[FFMPEG] Szenewechselanalyse läuft..."
ffmpeg -hide_banner -loglevel error -i "${VOD_IN_MP4}" \
-vf "scale=-2:360,select=gt(scene\,0.30),showinfo" -an -f null - \
2> "${LOGDIR}/sceneinfo.log"
# 2) Audio-Statistik
echo "[FFMPEG] Audiostatistik läuft..."
ffmpeg -hide_banner -loglevel error -i "${VOD_IN_MP4}" \
-vn -ac 1 -ar 16000 \
@@ -830,7 +828,6 @@ ffmpeg -hide_banner -loglevel error -i "${VOD_IN_MP4}" \
-f null - \
2> "${LOGDIR}/astats.log" || true
# 3) Logs → candidates.json
ANALYSIS="$ANALYSIS" LOGDIR="$LOGDIR" python3 - <<'PY'
import os, re, json, sys
from datetime import datetime