IPTV KHnet dvbstartscript
Z KHnetWiki
VLC startovací script DVB-T
funkční, ale zde pravděpodobně neudržováno
#!/bin/bash VLC=/usr/local/bin/vlc CARD=2 FREQ=570000000 PORT=8010 PNRS=(257 258 259 260) PIDFILE=/var/run/vlc.${CARD}.pid for pnr in ${PNRS[@]}; do programs=${programs},${pnr} let PORT=PORT+1 dst=${dst}",dst=std{access=http,url=*:${PORT}},select=\"program=${pnr}\" " done programs=${programs:1} dst=${dst:1} ${VLC} --daemon --intf dummy --sout-standard-mux=ts --ts-es-id-pid --programs=${programs} \ dvb-t:adapter=${CARD}:frequency=${FREQ}:bandwidth=8:guard=4 --no-spu --sout \ '#duplicate{ dst=std{access=http,dst=*:8011},select="program=257", dst=std{access=http,dst=*:8012},select="program=258", dst=std{access=http,dst=*:8013},select="program=259", dst=std{access=http,dst=*:8014},select="program=260" }' sleep 5 PID=`ps -U vlc l --cols 255 | grep "adapter=${CARD}" | awk '{printf "%d", $3}'` echo -n $PID > $PIDFILE