From 4c6e90717a7a41f098dc904d3fe5ba9afab54dd9 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Fri, 4 Dec 2020 18:23:54 -0600 Subject: [PATCH] update some default config values --- frigate/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frigate/config.py b/frigate/config.py index 55baa48b3..d7a2d19cf 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -54,8 +54,9 @@ SAVE_CLIPS_SCHEMA = vol.Schema( } ) -FFMPEG_GLOBAL_ARGS_DEFAULT = ['-hide_banner','-loglevel','panic'] +FFMPEG_GLOBAL_ARGS_DEFAULT = ['-hide_banner','-loglevel','fatal'] FFMPEG_INPUT_ARGS_DEFAULT = ['-avoid_negative_ts', 'make_zero', + '-fflags', '+genpts+discardcorrupt' '-rtsp_transport', 'tcp', '-stimeout', '5000000', '-use_wallclock_as_timestamps', '1'] @@ -183,7 +184,7 @@ CAMERAS_SCHEMA = vol.Schema(vol.All( vol.Optional('draw_zones', default=False): bool, vol.Optional('draw_bounding_boxes', default=True): bool, vol.Optional('crop_to_region', default=True): bool, - 'height': int + vol.Optional('height', default=175): int }, 'objects': OBJECTS_SCHEMA }