From 2d22a04391747ff886dba589eaf6b575b6c50745 Mon Sep 17 00:00:00 2001 From: blakeblackshear Date: Sun, 2 Jun 2019 09:02:23 -0500 Subject: [PATCH] reduce verbosity of ffmpeg --- frigate/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/video.py b/frigate/video.py index ba3787d3f..de064cfc7 100644 --- a/frigate/video.py +++ b/frigate/video.py @@ -7,7 +7,6 @@ import ctypes import multiprocessing as mp import subprocess as sp import numpy as np -import ffmpeg from . util import tonumpyarray, draw_box_with_label from . object_detection import FramePrepper from . objects import ObjectCleaner, BestPersonFrame @@ -20,6 +19,7 @@ def fetch_frames(shared_arr, shared_frame_time, frame_lock, frame_ready, frame_s frame_size = frame_shape[0] * frame_shape[1] * frame_shape[2] ffmpeg_cmd = ['ffmpeg', + '-hide_banner', '-loglevel', 'panic', '-avoid_negative_ts', 'make_zero', '-fflags', '+genpts', '-rtsp_transport', 'tcp',