aboutsummaryrefslogtreecommitdiffstats
path: root/examples/old-stream-stuff/transcode
diff options
context:
space:
mode:
Diffstat (limited to 'examples/old-stream-stuff/transcode')
-rwxr-xr-xexamples/old-stream-stuff/transcode/count.sh17
-rwxr-xr-xexamples/old-stream-stuff/transcode/flash.sh6
-rwxr-xr-xexamples/old-stream-stuff/transcode/flashtest.sh5
-rwxr-xr-xexamples/old-stream-stuff/transcode/ios-sd.sh7
-rwxr-xr-xexamples/old-stream-stuff/transcode/ios-south.sh7
5 files changed, 0 insertions, 42 deletions
diff --git a/examples/old-stream-stuff/transcode/count.sh b/examples/old-stream-stuff/transcode/count.sh
deleted file mode 100755
index 22f6aa1..0000000
--- a/examples/old-stream-stuff/transcode/count.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-while :; do
- date=$(date +"%Y-%m-%d-%H:%M:%S")
- ( lsof -n | grep vlc ; ssh root@gaffeltruck.tg12.gathering.org 'lsof -n | grep vlc' ) > /var/log/stream-count/$date
- for PORT in 3013 5013 3014 5014 3015; do
- for PROTO in IPv4 IPv6; do
- # 176.110.x.x / 2a01:798:76a:125:: -> TG12
- # 176.31.230.19 / 2001:41d0:2:f700::2 -> OVH box
- cat /var/log/stream-count/$date | grep EST | egrep $PROTO | egrep "(176\.31\.230\.19|2001:41d0:2:f700::.*):$PORT->" | cut -d'>' -f2 | sed 's/:[0-9]\+ (ESTABLISHED)//' | sort -u | grep -vEc 'fisk' | while read foo; do echo "$date $PORT $PROTO foreign $foo"; done | tee -a count_datacube.log
- cat /var/log/stream-count/$date | grep EST | egrep $PROTO | egrep "(176\.110\..*|2a01:798:76a:125::.*):$PORT->" | cut -d'>' -f2 | sed 's/:[0-9]\+ (ESTABLISHED)//' | sort -u | grep -vEc -e "\[2a01:798:76a:|176\.110\." | while read foo; do echo "$date $PORT $PROTO external $foo"; done | tee -a count_datacube.log
- cat /var/log/stream-count/$date | grep EST | egrep $PROTO | egrep "(176\.110\..*|2a01:798:76a:125::.*):$PORT->" | cut -d'>' -f2 | sed 's/:[0-9]\+ (ESTABLISHED)//' | sort -u | grep -Ec -e "\[2a01:798:76a:|176\.110\." | while read foo; do echo "$date $PORT $PROTO internal $foo"; done | tee -a count_datacube.log
- done
- done
- sleep 60
-done;
-
diff --git a/examples/old-stream-stuff/transcode/flash.sh b/examples/old-stream-stuff/transcode/flash.sh
deleted file mode 100755
index 3c42a8c..0000000
--- a/examples/old-stream-stuff/transcode/flash.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# udp://@:5013
-while :; do
-vlc --intf dummy -vvv http://vivace.tg12.gathering.org:5013/stream.flv vlc://quit --network-caching 2000 --sout-mux-caching 3000 --sout "#std{access=http{mime=video/x-flv},dst=:5013/stream.flv}"
- sleep 1
-done
diff --git a/examples/old-stream-stuff/transcode/flashtest.sh b/examples/old-stream-stuff/transcode/flashtest.sh
deleted file mode 100755
index 83ea48d..0000000
--- a/examples/old-stream-stuff/transcode/flashtest.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-while :; do
- vlc --intf dummy -vvv http://stream.tg12.gathering.org:3013 vlc://quit --udp-caching 1000 --sout-x264-tune film --sout-x264-keyint 25 --sout-x264-preset veryfast --sout "#transcode{width=980,height=550,vcodec=h264,vb=1000,acodec=aac,ab=128}:std{access=http{mime=video/x-flv},dst=:5013/stream.flv}"
- sleep 1
-done
diff --git a/examples/old-stream-stuff/transcode/ios-sd.sh b/examples/old-stream-stuff/transcode/ios-sd.sh
deleted file mode 100755
index 28a907a..0000000
--- a/examples/old-stream-stuff/transcode/ios-sd.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-while :; do
-vlc -I dummy --live-caching 0 http://vivace.tg12.gathering.org:5013/stream.flv --sout-x264-profile baseline --sout-x264-preset veryfast --sout-x264-aud --sout-x264-keyint 30 --sout-x264-ref 1 vlc://quit --sout='#std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/srv/stream.tg12.gathering.org/ios/sd.m3u8,index-url=http://stream.tg12.gathering.org/ios/sd-########.ts},mux=ts{use-key-frames},dst=/srv/stream.tg12.gathering.org/ios/sd-########.ts}'
- sleep 2
-done
-
-# --sout-x264-level 30
diff --git a/examples/old-stream-stuff/transcode/ios-south.sh b/examples/old-stream-stuff/transcode/ios-south.sh
deleted file mode 100755
index ac06968..0000000
--- a/examples/old-stream-stuff/transcode/ios-south.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-while :; do
-vlc -I dummy --live-caching 0 udp://@:5114 vlc://quit --sout='#std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/srv/stream.tg12.gathering.org/ios/south.m3u8,index-url=http://stream.tg12.gathering.org/ios/south-########.ts},mux=ts{use-key-frames},dst=/srv/stream.tg12.gathering.org/ios/south-########.ts}'
- sleep 2
-done
-
-# --sout-x264-level 30