aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorroot2014-12-29 22:36:28 +0100
committerroot2014-12-29 22:36:28 +0100
commit66dcbb4b66baf59ead741e4c5ffd3465b6997baf (patch)
tree2726df476dd39a585f19d468e72ac9129245bf8e /assets
parent77b38e07ca0790f890a75831949bd48970efee6a (diff)
use fahrplan mirror
Diffstat (limited to '')
-rwxr-xr-xassets/img/rooms/update-teaser-images.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/assets/img/rooms/update-teaser-images.sh b/assets/img/rooms/update-teaser-images.sh
new file mode 100755
index 0000000..a91cbc4
--- /dev/null
+++ b/assets/img/rooms/update-teaser-images.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+while true; do
+ ffmpeg -y -v warning -i rtmp://rtmp.stream.c3voc.de:1935/stream/s1_native_sd -vf "scale=213:120" -vframes 1 saal1.png
+ optipng saal1.png
+
+ ffmpeg -y -v warning -i rtmp://rtmp.stream.c3voc.de:1935/stream/s2_native_sd -vf "scale=213:120" -vframes 1 saal2.png
+ optipng saal2.png
+
+ ffmpeg -y -v warning -i rtmp://rtmp.stream.c3voc.de:1935/stream/s3_native_sd -vf "scale=213:120" -vframes 1 saalg.png
+ optipng saalg.png
+
+ ffmpeg -y -v warning -i rtmp://rtmp.stream.c3voc.de:1935/stream/s4_native_sd -vf "scale=213:120" -vframes 1 saal6.png
+ optipng saal6.png
+
+ sleep 1
+done