Fixing bitrate

This commit is contained in:
Unknown 2018-03-14 08:43:36 +10:30
parent f443ffe6a2
commit 77ed186529
1 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ func (r *revidInst) outputClips() {
now := time.Now()
prevTime := now
bytes := 0
delay := 40
delay := 0
for r.isRunning {
// Here we slow things down as much as we can to decrease cpu usage
switch {
@ -461,7 +461,7 @@ func (r *revidInst) setupInputForRaspivid() error {
"-o", "-",
"-n",
"-t", r.config.Timeout,
"-b", "1000",
"-b", "10000",
//"-qp", r.config.Quantization,
"-w", r.config.Width,
"-h", r.config.Height,