mirror of https://bitbucket.org/ausocean/av.git
Fixing bitrate
This commit is contained in:
parent
f443ffe6a2
commit
77ed186529
|
@ -311,7 +311,7 @@ func (r *revidInst) outputClips() {
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
prevTime := now
|
prevTime := now
|
||||||
bytes := 0
|
bytes := 0
|
||||||
delay := 40
|
delay := 0
|
||||||
for r.isRunning {
|
for r.isRunning {
|
||||||
// Here we slow things down as much as we can to decrease cpu usage
|
// Here we slow things down as much as we can to decrease cpu usage
|
||||||
switch {
|
switch {
|
||||||
|
@ -461,7 +461,7 @@ func (r *revidInst) setupInputForRaspivid() error {
|
||||||
"-o", "-",
|
"-o", "-",
|
||||||
"-n",
|
"-n",
|
||||||
"-t", r.config.Timeout,
|
"-t", r.config.Timeout,
|
||||||
"-b", "1000",
|
"-b", "10000",
|
||||||
//"-qp", r.config.Quantization,
|
//"-qp", r.config.Quantization,
|
||||||
"-w", r.config.Width,
|
"-w", r.config.Width,
|
||||||
"-h", r.config.Height,
|
"-h", r.config.Height,
|
||||||
|
|
Loading…
Reference in New Issue