From fe8bdb5a658fd1b186f5d3e55ecaa3d521a7006e Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 2 Mar 2024 13:48:04 +0000 Subject: [PATCH] e --- unifi/cams/base.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/unifi/cams/base.py b/unifi/cams/base.py index 89d03ad..50c0613 100644 --- a/unifi/cams/base.py +++ b/unifi/cams/base.py @@ -908,14 +908,14 @@ class UnifiCamBase(metaclass=ABCMeta): # "-use_wallclock_as_timestamps 1", ] - try: - output = subprocess.check_output(["ffmpeg", "-h", "full"]) - if b"stimeout" in output: - base_args.append("-stimeout 15000000") - else: - base_args.append("-timeout 15000000") - except subprocess.CalledProcessError: - self.logger.exception("Could not check for ffmpeg options") + # try: + # output = subprocess.check_output(["ffmpeg", "-h", "full"]) + # if b"stimeout" in output: + # base_args.append("-stimeout 15000000") + # else: + # base_args.append("-timeout 15000000") + # except subprocess.CalledProcessError: + # self.logger.exception("Could not check for ffmpeg options") return " ".join(base_args)