mirror of https://bitbucket.org/ausocean/av.git
Updated parameters
This commit is contained in:
parent
80c609c584
commit
0cf51ee5b1
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue