From f443ffe6a2b63b3e88b019b21bdc3d33e1d887aa Mon Sep 17 00:00:00 2001 From: "saxon.milton@gmail.com" Date: Wed, 14 Mar 2018 08:41:33 +1030 Subject: [PATCH] what's happening --- revid/RevidInstance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index d94cc73b..6e7baf56 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -59,7 +59,7 @@ const ( clipDuration = 1 // s mp2tPacketSize = 188 // MPEG-TS packet size mp2tMaxPackets = 2016 * clipDuration // # first multiple of 7 and 8 greater than 2000 - ringBufferSize = 10000 + ringBufferSize = 1000 ringBufferElementSize = 100000 maxClipSize = 10000 httpTimeOut = 5 // s @@ -461,7 +461,7 @@ func (r *revidInst) setupInputForRaspivid() error { "-o", "-", "-n", "-t", r.config.Timeout, - "-b", 10000, + "-b", "1000", //"-qp", r.config.Quantization, "-w", r.config.Width, "-h", r.config.Height,