From ba65a2f37039d5044f523d3f560ab08746aa3903 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:40:26 +0800 Subject: [PATCH] =?UTF-8?q?Update=20iptv=E6=B5=81=E7=95=85=E5=BA=A6?= =?UTF-8?q?=E6=A3=80=E6=B5=8B.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/iptv流畅度检测.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/iptv流畅度检测.py b/py/iptv流畅度检测.py index 8b5be4b..5ccfea8 100644 --- a/py/iptv流畅度检测.py +++ b/py/iptv流畅度检测.py @@ -207,7 +207,7 @@ for filename in os.listdir(folder_path): cap = cv2.VideoCapture(url) start_time = time.time() frame_count = 0 - while frame_count < 20 and (time.time() - start_time) < 10: + while frame_count < 10 and (time.time() - start_time) < 2: ret, frame = cap.read() if not ret: break