소스 검색

increase the buffer size a bit

Blake Blackshear 5 년 전
부모
커밋
8e73c7e95e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frigate/video.py

+ 1 - 1
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