Getstream is used to stream from dvb-t channels to multicast. One of mulicast streams is re-streamed to Windows Media using this script:
#!/bin/bash
SIZE=2097152
ulimit -m $SIZE -v $SIZE -d $SIZE
while true; do
su nobody -c 'cvlc -v udp://@233.1.1.1:1234 --sout "#transcode{deinterlace,width=320,height=300,vcodec=DIV3,vb=1024,cbr,acodec=wma2,ab=128,channels=1,samplerate=44100,udp-caching=8000,mux-caching=10000}:std{access=mmsh,mux=asfh,dst=0.0.0.0:1234}"'
done
Because of memleaks in VLC, crontab contains
0 * * * * pkill -9 vlc