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() 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,