diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index a5b2f816..30bf3430 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -59,12 +59,12 @@ const ( clipDuration = 1 // s mp2tPacketSize = 188 // MPEG-TS packet size mp2tMaxPackets = 2016 * clipDuration // # first multiple of 7 and 8 greater than 2000 - ringBufferSize = 10000 / clipDuration - ringBufferElementSize = 10000000 + ringBufferSize = 1000 / clipDuration + ringBufferElementSize = 100000 maxClipSize = 100000 httpTimeOut = 5 // s packetsPerFrame = 7 - h264BufferSize = 1000000 + h264BufferSize = 100000 bitrateTime = 60 mjpegParserInChanLen = 100000 ffmpegPath = "/home/saxon/bin/ffmpeg"