Kapitel 13/Tutorial.md aktualisiert
This commit is contained in:
@@ -847,11 +847,11 @@ Das folgende Schaubild zeigt dir die konkrete Verkabelung
|
||||
**Ort:** Terminal im **Clipper‑LXC** → als Benutzer **`clipper`**
|
||||
|
||||
|
||||
Öffne das Skript und trage den Inhalt ein:
|
||||
Öffne die Datei und füge den Inhalt ein:
|
||||
|
||||
|
||||
```bash
|
||||
nano /srv/clipper/bin/vod-analyze
|
||||
nano /srv/clipper/bin/vod-analyze # (dieses Skript wird das VOD analysieren und candidates.json erzeugen)
|
||||
```
|
||||
|
||||
|
||||
@@ -865,7 +865,7 @@ Das folgende Schaubild zeigt dir die konkrete Verkabelung
|
||||
ID="${1:?need VOD id}"
|
||||
|
||||
|
||||
VOD_IN_MP4="${CLIPPER_IN}/${ID}.mp4"
|
||||
VOD_IN_MP4="/srv/clipper/temp/${ID}.mp4" # temporäre Datei (vom VOD aus NC heruntergeladen)
|
||||
OUT_BASE="${CLIPPER_OUT}/${ID}"
|
||||
ANALYSIS="${OUT_BASE}/analysis"
|
||||
LOGDIR="${CLIPPER_LOG}/${ID}"
|
||||
@@ -925,12 +925,11 @@ Das folgende Schaubild zeigt dir die konkrete Verkabelung
|
||||
|
||||
|
||||
echo "== Done $ID =="
|
||||
```
|
||||
|
||||
|
||||
Ausführbar machen:
|
||||
```bash
|
||||
chmod +x /srv/clipper/bin/clipper-analyze
|
||||
# cleanup temp VOD
|
||||
echo "== Cleanup: remove temp file $VOD_IN_MP4 =="
|
||||
rm -f "$VOD_IN_MP4"
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user