From 77ed1865298f994c710007859ca285d48bcdc574 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 14 Mar 2018 08:43:36 +1030 Subject: [PATCH] Fixing bitrate --- revid/RevidInstance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index 6e7baf56..ded130c0 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -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,