Update IPTV搜索引擎采集.py

This commit is contained in:
frxz751113
2024-08-21 19:47:16 +08:00
committed by GitHub
parent 23d13a233f
commit c9683afa69
+2 -2
View File
@@ -212,8 +212,8 @@ for filename in os.listdir(folder_path):
if not ret: if not ret:
break break
frame_count += 1 frame_count += 1
# 如果在3秒内读取到60帧以上,设置成功标志 # 如果在3秒内读取到63帧以上,设置成功标志
if frame_count >= 60: if frame_count >= 63:
success = True success = True
break break
cap.release() cap.release()