From 9a12b02d222299375a3196240e00910f158b0b47 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 24 Feb 2020 20:05:30 -0600 Subject: [PATCH] increase the buffer size a bit --- frigate/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/video.py b/frigate/video.py index 9f41d65fb..5fba8e810 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -163,7 +163,7 @@ def track_camera(name, config, ffmpeg_global_config, global_objects_config, dete print(" ".join(ffmpeg_cmd)) - ffmpeg_process = sp.Popen(ffmpeg_cmd, stdout = sp.PIPE, bufsize=frame_size) + ffmpeg_process = sp.Popen(ffmpeg_cmd, stdout = sp.PIPE, bufsize=frame_size*10) plasma_client = plasma.connect("/tmp/plasma") frame_num = 0