aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg16/streams/han
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tg16/streams/han')
-rw-r--r--examples/tg16/streams/han/encode.sh7
-rw-r--r--examples/tg16/streams/han/event-encode-mp4.sh5
-rw-r--r--examples/tg16/streams/han/event-sd.sh6
-rw-r--r--examples/tg16/streams/han/hls-creativia.sh6
-rw-r--r--examples/tg16/streams/han/hls-event.sh6
-rw-r--r--examples/tg16/streams/han/hls-game.sh6
-rw-r--r--examples/tg16/streams/han/hls-noc.sh6
-rw-r--r--examples/tg16/streams/han/hls-south.sh6
-rw-r--r--examples/tg16/streams/han/noc-reflect.sh9
-rw-r--r--examples/tg16/streams/han/south-encode-mp4.sh5
-rw-r--r--examples/tg16/streams/han/south-encode.sh10
-rw-r--r--examples/tg16/streams/han/south-reflect.sh9
12 files changed, 81 insertions, 0 deletions
diff --git a/examples/tg16/streams/han/encode.sh b/examples/tg16/streams/han/encode.sh
new file mode 100644
index 0000000..34cda9f
--- /dev/null
+++ b/examples/tg16/streams/han/encode.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+cvlc -I dummy -vvvv --decklink-audio-connection embedded --live-caching 3000 --decklink-aspect-ratio 16:9 --decklink-mode hp60 --decklink-video-connection sdi --no-sub-autodetect-file --sub-source marq --marq-marquee 'Hello world! %t' \
+ --sout-x264-preset medium --sout-x264-tune film --sout-transcode-threads 15 --no-sout-x264-interlaced --sout-mux-caching 3000 \
+ --sout-x264-keyint 50 --sout-x264-lookahead 100 --sout-x264-vbv-maxrate 6000 --sout-x264-vbv-bufsize 6000 --ttl 60 \
+ -v decklink:// vlc://quit \
+ --sout \
+'#transcode{sfilter=logo{file="/home/tech/test.gif",position=10},vcodec=h264,vb=5500,acodec=mp4a,ab=256,channels=2}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5004/han.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5004/han.flv}'
diff --git a/examples/tg16/streams/han/event-encode-mp4.sh b/examples/tg16/streams/han/event-encode-mp4.sh
new file mode 100644
index 0000000..7cb202f
--- /dev/null
+++ b/examples/tg16/streams/han/event-encode-mp4.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+cvlc -I dummy --network-caching 5000 --live-caching 5000 -vvvv http://cubemap.tg16.gathering.org/event.ts vlc://quit \
+--sout-x264-preset medium --sout-x264-tune film --sout-mux-caching 5000 --sout-transcode-threads 8 --sout-x264-vbv-maxrate 5000 --sout-x264-vbv-bufsize 5000 --sout-avformat-options '{movflags=empty_moov+frag_keyframe+default_base_moof}' --no-avcodec-dr --sout-x264-keyint 50 \
+--sout \
+'#transcode{vcodec=h264,vb=3500,acodec=mp4a,ab=128,channels=2}:std{mux=ffmpeg{mux=mp4},access=http{mime=video/mp4,metacube},dst=:1994/event.mp4}'
diff --git a/examples/tg16/streams/han/event-sd.sh b/examples/tg16/streams/han/event-sd.sh
new file mode 100644
index 0000000..9b927b3
--- /dev/null
+++ b/examples/tg16/streams/han/event-sd.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+cvlc -I dummy -vvvv --sout-x264-preset medium --sout-x264-tune film --sout-transcode-threads 5 --no-sout-x264-interlaced --sout-mux-caching 5000 \
+ --sout-x264-keyint 50 --sout-x264-lookahead 100 --sout-x264-vbv-maxrate 2000 --sout-x264-vbv-bufsize 2000 --ttl 60 --live-caching 10000 --network-caching 10000 \
+ -v http://cubemap.tg16.gathering.org/anakin.ts vlc://quit \
+ --sout \
+'#transcode{vcodec=h264,vb=2000,acodec=mp4a,ab=128,channels=2,height=576}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5009/eventsd.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5009/eventsd.flv}'
diff --git a/examples/tg16/streams/han/hls-creativia.sh b/examples/tg16/streams/han/hls-creativia.sh
new file mode 100644
index 0000000..d07cbf7
--- /dev/null
+++ b/examples/tg16/streams/han/hls-creativia.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+while :; do
+ffmpeg -i http://cubemap.tg16.gathering.org/creativia.ts -vcodec copy -c:a libfdk_aac -ar 44100 -ac 2 -f flv rtmp://185.110.148.11/live/creativia;
+sleep 1
+done
+
diff --git a/examples/tg16/streams/han/hls-event.sh b/examples/tg16/streams/han/hls-event.sh
new file mode 100644
index 0000000..8050305
--- /dev/null
+++ b/examples/tg16/streams/han/hls-event.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+while :; do
+ffmpeg -i http://cubemap.tg16.gathering.org/event.ts -vcodec copy -c:a libfdk_aac -ar 44100 -ac 2 -f flv rtmp://185.110.148.11/live/event;
+sleep 1
+done
+
diff --git a/examples/tg16/streams/han/hls-game.sh b/examples/tg16/streams/han/hls-game.sh
new file mode 100644
index 0000000..3d2fef9
--- /dev/null
+++ b/examples/tg16/streams/han/hls-game.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+while :; do
+ffmpeg -i http://cubemap.tg16.gathering.org/game.ts -vcodec copy -c:a libfdk_aac -ar 44100 -ac 2 -f flv rtmp://185.110.148.11/live/game;
+sleep 1
+done
+
diff --git a/examples/tg16/streams/han/hls-noc.sh b/examples/tg16/streams/han/hls-noc.sh
new file mode 100644
index 0000000..f467fc4
--- /dev/null
+++ b/examples/tg16/streams/han/hls-noc.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+while :; do
+ffmpeg -thread_queue_size 16 -i http://cubemap.tg16.gathering.org/noccam.ts -f lavfi -i anullsrc -vcodec copy -c:a libfdk_aac -ar 44100 -ac 2 -f flv rtmp://185.110.148.11/live/noccam;
+sleep 1
+done
+
diff --git a/examples/tg16/streams/han/hls-south.sh b/examples/tg16/streams/han/hls-south.sh
new file mode 100644
index 0000000..6966b59
--- /dev/null
+++ b/examples/tg16/streams/han/hls-south.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+while :; do
+ffmpeg -thread_queue_size 16 -i http://cubemap.tg16.gathering.org/southcam.ts -f lavfi -i anullsrc -vcodec copy -c:a libfdk_aac -ar 44100 -ac 2 -f flv rtmp://185.110.148.11/live/southcam;
+sleep 1
+done
+
diff --git a/examples/tg16/streams/han/noc-reflect.sh b/examples/tg16/streams/han/noc-reflect.sh
new file mode 100644
index 0000000..a33c4e0
--- /dev/null
+++ b/examples/tg16/streams/han/noc-reflect.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# reflecting purposes
+source="rtsp://185.110.150.85/live.sdp"
+
+while :; do
+vlc -I dummy -vv --network-caching 500 $source vlc://quit --sout '#duplicate{dst=std{access=http{metacube},mux=ts,dst=:5005/noccam.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5005/noccam.flv}'
+sleep 1
+done
+
diff --git a/examples/tg16/streams/han/south-encode-mp4.sh b/examples/tg16/streams/han/south-encode-mp4.sh
new file mode 100644
index 0000000..0face57
--- /dev/null
+++ b/examples/tg16/streams/han/south-encode-mp4.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+cvlc -I dummy -vvvv rtsp://88.92.61.10/live.sdp vlc://quit \
+--live-caching 5000 --network-caching 5000 --sout-x264-preset medium --sout-x264-tune film --sout-mux-caching 5000 --sout-transcode-threads 6 --sout-x264-vbv-maxrate 5000 --sout-x264-vbv-bufsize 5000 --sout-avformat-options '{movflags=empty_moov+frag_keyframe+default_base_moof}' --no-avcodec-dr --sout-x264-keyint 50 \
+--sout \
+'#transcode{vcodec=h264,vb=3500,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=http{mime=video/mp4,metacube},mux=ffmpeg{mux=mp4},dst=:5006/southcamlb.mp4},dst=std{access=http{metacube},mux=ts,dst=:5006/southcamlb.ts}}' \
diff --git a/examples/tg16/streams/han/south-encode.sh b/examples/tg16/streams/han/south-encode.sh
new file mode 100644
index 0000000..9138736
--- /dev/null
+++ b/examples/tg16/streams/han/south-encode.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+while :; do
+cvlc -I dummy -vvvv \
+ --sout-x264-preset medium --sout-x264-tune film --sout-transcode-threads 10 --no-sout-x264-interlaced --sout-mux-caching 5000 --network-caching 3000 \
+ --sout-x264-keyint 50 --sout-x264-lookahead 100 --sout-x264-vbv-maxrate 3000 --sout-x264-vbv-bufsize 3000 --ttl 60 \
+ -v rtsp://88.92.61.10/live.sdp vlc://quit \
+ --sout \
+'#transcode{vcodec=h264,vb=4500,acodec=null}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5006/southcamlb.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5006/southcamlb.flv}'
+sleep 1
+done
diff --git a/examples/tg16/streams/han/south-reflect.sh b/examples/tg16/streams/han/south-reflect.sh
new file mode 100644
index 0000000..cfeaeab
--- /dev/null
+++ b/examples/tg16/streams/han/south-reflect.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# reflecting purposes
+source="rtsp://88.92.61.10/live.sdp"
+
+while :; do
+vlc -I dummy -vv --network-caching 500 $source vlc://quit --sout '#duplicate{dst=std{access=http{metacube},mux=ts,dst=:5004/southcam.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5004/southcam.flv}'
+sleep 1
+done
+