Updated parameters

This commit is contained in:
Unknown 2018-01-15 14:06:44 +10:30
parent 80c609c584
commit 0cf51ee5b1
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ func (r *revidInst) input() {
var inputReader *bufio.Reader var inputReader *bufio.Reader
switch r.config.Input { switch r.config.Input {
case raspivid: case raspivid:
cmd := exec.Command("raspivid", "-o", "-", "-n", "-t", "0", "-b", "5000000") cmd := exec.Command("raspivid", "-o", "-", "-n", "-t", "0", "-b", "1000000", "-w","1280","-h","720")
stdout, _ := cmd.StdoutPipe() stdout, _ := cmd.StdoutPipe()
err := cmd.Start() err := cmd.Start()
inputReader = bufio.NewReader(stdout) inputReader = bufio.NewReader(stdout)