increase the buffer size a bit

This commit is contained in:
Blake Blackshear 2020-02-24 20:05:30 -06:00
parent 088bd18adb
commit 8e73c7e95e

View File

@ -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