Create vlcrecord.sh

This commit is contained in:
deflax 2018-03-31 11:07:38 +03:00 committed by GitHub
parent 98d8982f85
commit 60f8842a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
vlcrecord.sh Normal file
View file

@ -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;