sysadmin/vlcrecord.sh
2018-03-31 11:07:38 +03:00

8 lines
160 B
Bash

#!/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;