Instantly share code, notes, and snippets.

Matt Ribbins mattyribbo

View GitHub Profile
@mattyribbo
mattyribbo / uwe-freewire-transcode.service
Created Dec 13, 2016
UWE Freewire TV transcoder Systemd script
View uwe-freewire-transcode.service
[Unit]
Description=News 24 - VLC Transcode
After=network.target
[Service]
#.14 - BBC1
#.17 - BBC2
#.22 - BBCNews
# udp://@233.166.193.22:5000
ExecStart=/usr/bin/cvlc udp://@233.166.193.22:5000/ --sout '#transcode{vcodec=mp2v,venc=x264{preset=ultra},scale=Auto,acodec=mpga,ab=128,scodec=dvbs,soverlay,scale=1}:standard{access=http,mux=ts,dst=:8090/}' -vvv --vbi-page=0 --sout-keep --verbose=2 --logfile=/home/alex/vlc-log.txt
@mattyribbo
mattyribbo / hub-webcam.js
Created Oct 25, 2016
Hub Webcam Display
View hub-webcam.js
// Hub Radioplayer Webcam Script
var timeout = 2.5;
var webcam_t;
var img_num = "1"
var img_loc_start = "http://www.hubradio.co.uk/webcam/studio"
var img_loc_end = ".jpg"
var img_height = 237;
var img_width = 315;