aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg15/streams/linda-encode.sh
blob: 238aebc77c0c9900f9571190003ae99691516eb0 (plain)
1
2
3
4
5
6
7
#!/bin/bash
cvlc -I dummy -vvvv --decklink-audio-connection embedded --live-caching 3500 --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 3500 \
 --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,fps=50,channels=2}:duplicate{dst=std{access=http{metacube},mux=ts,dst=:5004/game.ts},dst=std{access=http{metacube},mux=ffmpeg{mux=flv},dst=:5004/game.flv}'
" simbol" + (n == 11 ? "us" : (/^\d*[1]$/im.test(n)? "u" : "us")); }, formatInputTooLong: function (input, max) { var n = input.length - max; return "Lūdzu ievadiet par " + n + " simbol" + (n == 11 ? "iem" : (/^\d*[1]$/im.test(n)? "u" : "iem")) + " mazāk"; }, formatSelectionTooBig: function (limit) { return "Jūs varat izvēlēties ne vairāk kā " + limit + " element" + (limit == 11 ? "us" : (/^\d*[1]$/im.test(limit)? "u" : "us")); }, formatLoadMore: function (pageNumber) { return "Datu ielāde..."; }, formatSearching: function () { return "Meklēšana..."; } }); })(jQuery);