2026-09-11 09:42:51 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
# HMS MediaEngine - Linux Setup (einmalig ausfuehren)
|
|
|
|
|
set -e
|
|
|
|
|
echo "=== HMS MediaEngine Linux Setup ==="
|
|
|
|
|
if command -v apt-get >/dev/null; then
|
|
|
|
|
sudo apt-get update -qq
|
|
|
|
|
sudo apt-get install -y -qq gstreamer1.0-tools gstreamer1.0-plugins-base \
|
|
|
|
|
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
|
|
|
|
|
gstreamer1.0-libav python3-gst-1.0 gir1.2-gst-1.0 python3-tk xvfb
|
|
|
|
|
elif command -v dnf >/dev/null; then
|
|
|
|
|
sudo dnf install -y gstreamer1 gstreamer1-plugins-base gstreamer1-plugins-good \
|
2026-09-11 13:34:43 +02:00
|
|
|
gstreamer1-plugins-bad-free gstreamer1-plugins-ugly gstreamer1-libav \
|
|
|
|
|
python3-gobject python3-tkinter
|
2026-09-11 09:42:51 +02:00
|
|
|
fi
|
|
|
|
|
echo "=== Fertig ==="
|
2026-09-11 13:34:43 +02:00
|
|
|
echo "Start: python3 run.py"
|
|
|
|
|
echo "Media-Verwaltung, Layer und Einstellungen: Web-UI im Browser"
|