forked from Github/frigate
reduce verbosity of ffmpeg
This commit is contained in:
committed by
Blake Blackshear
parent
baa587028b
commit
2d22a04391
@@ -7,7 +7,6 @@ import ctypes
|
|||||||
import multiprocessing as mp
|
import multiprocessing as mp
|
||||||
import subprocess as sp
|
import subprocess as sp
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import ffmpeg
|
|
||||||
from . util import tonumpyarray, draw_box_with_label
|
from . util import tonumpyarray, draw_box_with_label
|
||||||
from . object_detection import FramePrepper
|
from . object_detection import FramePrepper
|
||||||
from . objects import ObjectCleaner, BestPersonFrame
|
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]
|
frame_size = frame_shape[0] * frame_shape[1] * frame_shape[2]
|
||||||
|
|
||||||
ffmpeg_cmd = ['ffmpeg',
|
ffmpeg_cmd = ['ffmpeg',
|
||||||
|
'-hide_banner', '-loglevel', 'panic',
|
||||||
'-avoid_negative_ts', 'make_zero',
|
'-avoid_negative_ts', 'make_zero',
|
||||||
'-fflags', '+genpts',
|
'-fflags', '+genpts',
|
||||||
'-rtsp_transport', 'tcp',
|
'-rtsp_transport', 'tcp',
|
||||||
|
|||||||
Reference in New Issue
Block a user