aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg16/streams/padme
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tg16/streams/padme')
-rw-r--r--examples/tg16/streams/padme/encode-mp4.sh8
-rw-r--r--examples/tg16/streams/padme/encode-webm.sh5
-rw-r--r--examples/tg16/streams/padme/encode.sh8
3 files changed, 21 insertions, 0 deletions
diff --git a/examples/tg16/streams/padme/encode-mp4.sh b/examples/tg16/streams/padme/encode-mp4.sh
new file mode 100644
index 0000000..8be1bbd
--- /dev/null
+++ b/examples/tg16/streams/padme/encode-mp4.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+#'#transcode{vcodec=h264,vb=5500,acodec=mp4a,ab=256,channels=2}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5004/padme.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5004/padme.flv,dst=std{access=http{mime=video/mp4},mux=ffmpeg{mux=mp4},dst=:5004/stream.mp4}}'
+
+cvlc -I dummy -vvvv --decklink-audio-connection embedded --live-caching 3000 --decklink-aspect-ratio 16:9 --decklink-mode hp50 --decklink-video-connection sdi \
+-v decklink:// vlc://quit --sout \
+'#transcode{vcodec=h264,vb=5500,acodec=mp4a,ab=256,channels=2}:duplicate{dst=std{access=http{mime=video/mp4,metacube},mux=ffmpeg{mux=mp4},dst=:5004/padme.mp4},dst=std{access=http{metacube},mux=ts,dst=:5004/padme.ts}}' \
+--sout-x264-preset slow --live-caching 3000 --sout-x264-tune film --sout-mux-caching 8000 --sout-x264-vbv-maxrate 5000 --sout-x264-vbv-bufsize 5000 --sout-avformat-options '{movflags=empty_moov+frag_keyframe+default_base_moof,frag_interleave=5}' --no-avcodec-dr --sout-x264-keyint 50
+
diff --git a/examples/tg16/streams/padme/encode-webm.sh b/examples/tg16/streams/padme/encode-webm.sh
new file mode 100644
index 0000000..eaac329
--- /dev/null
+++ b/examples/tg16/streams/padme/encode-webm.sh
@@ -0,0 +1,5 @@
+#!/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 \
+-v decklink:// vlc://quit --sout \
+'#transcode{vcodec=VP80,vb=3000,channels=2,samplerate=44100}:std{access=http{mime=video/webm},mux=webm,dst=:8080/stream.webm}' \
+--sout-mux-caching 5000
diff --git a/examples/tg16/streams/padme/encode.sh b/examples/tg16/streams/padme/encode.sh
new file mode 100644
index 0000000..b8f7204
--- /dev/null
+++ b/examples/tg16/streams/padme/encode.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+cvlc -I dummy -vvvv --decklink-audio-connection embedded --live-caching 3000 --decklink-aspect-ratio 16:9 --decklink-mode hp50 --decklink-video-connection sdi \
+ --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{vcodec=h264,vb=5500,acodec=mp4a,ab=256,channels=2}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5004/padme.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5004/padme.flv}'
+