Create vlcrecord.sh
This commit is contained in:
parent
98d8982f85
commit
60f8842a74
8
vlcrecord.sh
Normal file
8
vlcrecord.sh
Normal 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;
|
||||
|
Loading…
Reference in a new issue