diff options
author | root <root@frank.tg14.gathering.org> | 2014-04-20 01:31:46 +0200 |
---|---|---|
committer | root <root@frank.tg14.gathering.org> | 2014-04-20 01:31:46 +0200 |
commit | 4327c9ffeb0926944e4c8a1f0bd31e4eb531c198 (patch) | |
tree | 0b6cc3b96d1214d19feb179e31477b7640d9117e /examples | |
parent | 61be41e44a43cf0d2bfcaed512af5937e227fa7b (diff) |
encoder file for event encode sd flash
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/vlc/encoder/event-encode-sd-flash.sh | 9 |
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 |