aboutsummaryrefslogtreecommitdiffstats
path: root/examples/vlc/encoder/event-encode-sd-flash.sh
diff options
context:
space:
mode:
authorroot <root@riffraff.tg14.gathering.org>2014-04-20 02:58:05 +0200
committerroot <root@riffraff.tg14.gathering.org>2014-04-20 02:58:05 +0200
commit8f4ae8e5833f0d26be5fad5160ae6ee0479b0712 (patch)
treeda5089e91fbe52fd7da57a1c431c9af64f6ac8af /examples/vlc/encoder/event-encode-sd-flash.sh
parent37a3b5d6ed97367989aecc875f1db1e9eb0458df (diff)
parent19cd0064816a577b72577b9f21a5a946eb746f64 (diff)
Merge branch 'master' of https://github.com/tech-server/tgmanage
Diffstat (limited to 'examples/vlc/encoder/event-encode-sd-flash.sh')
-rwxr-xr-xexamples/vlc/encoder/event-encode-sd-flash.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/vlc/encoder/event-encode-sd-flash.sh b/examples/vlc/encoder/event-encode-sd-flash.sh
new file mode 100755
index 0000000..bf1f025
--- /dev/null
+++ b/examples/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