sysadmin/vlcrecord.sh

9 lines
160 B
Bash
Raw Normal View History

2018-03-31 04:07:38 -04:00
#!/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;