diff options
author | Joachim Tingvold <joachim@tingvold.com> | 2015-03-21 14:48:22 +0100 |
---|---|---|
committer | Joachim Tingvold <joachim@tingvold.com> | 2015-03-21 14:48:22 +0100 |
commit | 6875390524d606e23b23ab0a45239630ed49ba65 (patch) | |
tree | 6e71411f41e3a7db379f69c17486ded35a75d053 /examples/tg14/vlc | |
parent | 630f90f91cb5ef32d432314c9934a8ec5c3c7b05 (diff) |
Re-add moved files.
Diffstat (limited to 'examples/tg14/vlc')
-rwxr-xr-x | examples/tg14/vlc/encoder/event-encode-sd-flash.sh | 9 | ||||
-rwxr-xr-x | examples/tg14/vlc/encoder/event-encode-superlow-flash.sh | 9 | ||||
-rwxr-xr-x | examples/tg14/vlc/encoder/event-encode.sh | 6 | ||||
-rwxr-xr-x | examples/tg14/vlc/encoder/event-hls.sh | 5 | ||||
-rwxr-xr-x | examples/tg14/vlc/encoder/southcam-encode-sd-flash.sh | 9 | ||||
-rwxr-xr-x | examples/tg14/vlc/encoder/southcam-flash.sh | 6 | ||||
-rwxr-xr-x | examples/tg14/vlc/encoder/southcam-hls.sh | 5 | ||||
-rwxr-xr-x | examples/tg14/vlc/reflector/vlc-noccam.sh | 6 | ||||
-rwxr-xr-x | examples/tg14/vlc/reflector/vlc-roofcam.sh | 6 | ||||
-rwxr-xr-x | examples/tg14/vlc/reflector/vlc-southcam.sh | 6 |
10 files changed, 67 insertions, 0 deletions
diff --git a/examples/tg14/vlc/encoder/event-encode-sd-flash.sh b/examples/tg14/vlc/encoder/event-encode-sd-flash.sh new file mode 100755 index 0000000..bf1f025 --- /dev/null +++ b/examples/tg14/vlc/encoder/event-encode-sd-flash.sh @@ -0,0 +1,9 @@ +#!/bin/bash +while :; do +cvlc -I dummy -vvvv \ + --sout-x264-preset medium --sout-x264-tune film --sout-transcode-threads 6 --no-sout-x264-interlaced --network-caching 3000 --sout-mux-caching 5000 \ + --sout-x264-keyint 50 --sout-x264-lookahead 100 --sout-x264-vbv-maxrate 2000 --sout-x264-vbv-bufsize 2000 --ttl 60 \ + -v http://cubemap.tg14.gathering.org/event.ts vlc://quit \ + --sout '#transcode{vcodec=h264,vb=2000,height=480,acodec=mp4a,aenc=fdkaac,ab=256}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5006/event-sd.ts},dst=std{access=udp,mux=ts,dst=[ff7e:a40:2a02:ed02:ffff::16]:2016},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5004/event.flv},dst=std{access=http,mux=ts,dst=:5006/event-sd.ts.yes}' +sleep 1 +done diff --git a/examples/tg14/vlc/encoder/event-encode-superlow-flash.sh b/examples/tg14/vlc/encoder/event-encode-superlow-flash.sh new file mode 100755 index 0000000..1ce72b6 --- /dev/null +++ b/examples/tg14/vlc/encoder/event-encode-superlow-flash.sh @@ -0,0 +1,9 @@ +#!/bin/bash +while :; do +cvlc -I dummy -vvvv \ + --sout-x264-preset fast --sout-x264-tune film --sout-transcode-threads 2 --no-sout-x264-interlaced --network-caching 3000 --sout-mux-caching 5000 \ + --sout-x264-keyint 50 --sout-x264-lookahead 100 --sout-x264-vbv-maxrate 500 --sout-x264-vbv-bufsize 500 --ttl 60 \ + -v http://cubemap.tg14.gathering.org/event.ts vlc://quit \ + --sout '#transcode{vcodec=h264,vb=500,height=360,acodec=mp4a,aenc=fdkaac,ab=64}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5006/event-superlow.ts},dst=std{access=udp,mux=ts,dst=[ff7e:a40:2a02:ed02:ffff::17]:2017},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5006/event-superlow.flv}' +sleep 1 +done diff --git a/examples/tg14/vlc/encoder/event-encode.sh b/examples/tg14/vlc/encoder/event-encode.sh new file mode 100755 index 0000000..e04263d --- /dev/null +++ b/examples/tg14/vlc/encoder/event-encode.sh @@ -0,0 +1,6 @@ +#!/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 12 --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=6000,acodec=mp4a,aenc=fdkaac,ab=256}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5004/event.ts},dst=std{access=udp,mux=ts,dst=[ff7e:a40:2a02:ed02:ffff::15]:2015}' 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 diff --git a/examples/tg14/vlc/encoder/southcam-encode-sd-flash.sh b/examples/tg14/vlc/encoder/southcam-encode-sd-flash.sh new file mode 100755 index 0000000..ea58f83 --- /dev/null +++ b/examples/tg14/vlc/encoder/southcam-encode-sd-flash.sh @@ -0,0 +1,9 @@ +#!/bin/bash +while :; do +cvlc -I dummy -vvvv \ + --sout-x264-preset veryfast --sout-x264-tune film --sout-transcode-threads 2 --no-sout-x264-interlaced --network-caching 3000 --sout-mux-caching 3000 \ + --sout-x264-keyint 50 --sout-x264-lookahead 100 --sout-x264-vbv-maxrate 3000 --sout-x264-vbv-bufsize 3000 --ttl 60 \ + -v http://cubemap.tg14.gathering.org/southcam.ts vlc://quit \ + --sout '#transcode{vcodec=h264,vb=2000,height=480,acodec=mp4a,aenc=fdkaac,ab=256}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5005/southcam-sd.ts},dst=std{access=udp,mux=ts,dst=[ff7e:a40:2a02:ed02:ffff::17]:2017},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5005/southcam.flv}' +sleep 1 +done diff --git a/examples/tg14/vlc/encoder/southcam-flash.sh b/examples/tg14/vlc/encoder/southcam-flash.sh new file mode 100755 index 0000000..29d21bd --- /dev/null +++ b/examples/tg14/vlc/encoder/southcam-flash.sh @@ -0,0 +1,6 @@ +#!/bin/sh +while :; do +cvlc -vv --network-caching 3000 --sout-x264-preset fast --sout-transcode-threads 2 --sout-x264-tune film --sout-mux-caching 2000 --sout-x264-lookahead 50 --sout-x264-vbv-maxrate 1500 --sout-x264-vbv-bufsize 1500 --sout-x264-keyint 50 -v http://cubemap.tg14.gathering.org/southcam.ts vlc://quit \ +--sout '#transcode{height=480,vcodec=h264,vb=2000,acodec=fdkaac,ab=128}:std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5005/southcam.flv}' + sleep 1 +done diff --git a/examples/tg14/vlc/encoder/southcam-hls.sh b/examples/tg14/vlc/encoder/southcam-hls.sh new file mode 100755 index 0000000..ecb4981 --- /dev/null +++ b/examples/tg14/vlc/encoder/southcam-hls.sh @@ -0,0 +1,5 @@ +#!/bin/sh +while :; do +vlc -vv -I dummy --live-caching 0 http://cubemap.tg14.gathering.org/southcam.flv vlc://quit --sout='#std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/srv/stream.tg14.gathering.org/hls/southcam.m3u8,index-url=http://stream.tg14.gathering.org/hls/southcam-########.ts},mux=ts{use-key-frames},dst=/srv/stream.tg14.gathering.org/hls/southcam-########.ts}' + sleep 2 +done diff --git a/examples/tg14/vlc/reflector/vlc-noccam.sh b/examples/tg14/vlc/reflector/vlc-noccam.sh new file mode 100755 index 0000000..48d1ca6 --- /dev/null +++ b/examples/tg14/vlc/reflector/vlc-noccam.sh @@ -0,0 +1,6 @@ +#!/bin/bash +while :; do +vlc -I dummy -vv --network-caching 500 rtsp://151.216.252.134/live.sdp vlc://quit --sout '#std{access=http{metacube},mux=ts,dst=:5003/noccam.ts}' +sleep 1 +done + diff --git a/examples/tg14/vlc/reflector/vlc-roofcam.sh b/examples/tg14/vlc/reflector/vlc-roofcam.sh new file mode 100755 index 0000000..8ca4892 --- /dev/null +++ b/examples/tg14/vlc/reflector/vlc-roofcam.sh @@ -0,0 +1,6 @@ +#!/bin/bash +while :; do +vlc -I dummy -vv --network-caching 500 rtsp://151.216.252.104/live.sdp vlc://quit --sout '#std{access=http{metacube},mux=ts,dst=:5001/roofcam.ts}' +sleep 1 +done + diff --git a/examples/tg14/vlc/reflector/vlc-southcam.sh b/examples/tg14/vlc/reflector/vlc-southcam.sh new file mode 100755 index 0000000..099aa74 --- /dev/null +++ b/examples/tg14/vlc/reflector/vlc-southcam.sh @@ -0,0 +1,6 @@ +#!/bin/bash +while :; do +vlc -I dummy -vv --network-caching 500 rtsp://151.216.234.23/live.sdp vlc://quit --sout '#std{access=http{metacube},mux=ts,dst=:5002/southcam.ts}' +sleep 1 +done + |