diff --git a/vlcrecord.sh b/vlcrecord.sh new file mode 100644 index 0000000..ead94a1 --- /dev/null +++ b/vlcrecord.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +while true; do + today=`date +%Y-%m-%d.%H:%M:%S` + cvlc -vvv $1 --sout="#std{access=file,mux=ps,dst=out-$today.ts}" + sleep 5 + done; +