aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg14/vlc/encoder/event-hls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tg14/vlc/encoder/event-hls.sh')
-rwxr-xr-xexamples/tg14/vlc/encoder/event-hls.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/tg14/vlc/encoder/event-hls.sh b/examples/tg14/vlc/encoder/event-hls.sh
new file mode 100755
index 0000000..6b642c4
--- /dev/null
+++ b/examples/tg14/vlc/encoder/event-hls.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+while :; do
+vlc -vv -I dummy --live-caching 0 http://cubemap.tg14.gathering.org/event.flv vlc://quit --sout='#std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/srv/stream.tg14.gathering.org/hls/event.m3u8,index-url=http://stream.tg14.gathering.org/hls/event-########.ts},mux=ts{use-key-frames},dst=/srv/stream.tg14.gathering.org/hls/event-########.ts}'
+ sleep 2
+done