From c41b104997fbc5c04a0481ecb123b19624c01153 Mon Sep 17 00:00:00 2001 From: blakeblackshear Date: Tue, 4 Jun 2019 21:39:07 -0500 Subject: [PATCH] extra ffmpeg params to reduce latency --- frigate/video.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/video.py b/frigate/video.py index de064cfc7..1b46c614a 100644 --- a/frigate/video.py +++ b/frigate/video.py @@ -21,6 +21,9 @@ def fetch_frames(shared_arr, shared_frame_time, frame_lock, frame_ready, frame_s ffmpeg_cmd = ['ffmpeg', '-hide_banner', '-loglevel', 'panic', '-avoid_negative_ts', 'make_zero', + '-fflags', 'nobuffer', + '-flags', 'low_delay', + '-strict', 'experimental', '-fflags', '+genpts', '-rtsp_transport', 'tcp', '-stimeout', '5000000',