From dc3fb77ded81c755f695df409efd14eb3731c09d Mon Sep 17 00:00:00 2001 From: yooooger <761181201@qq.com> Date: Wed, 23 Jul 2025 17:17:52 +0800 Subject: [PATCH] yoooger --- ai2/cv_video.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ai2/cv_video.py b/ai2/cv_video.py index cc16709..e5f1b97 100644 --- a/ai2/cv_video.py +++ b/ai2/cv_video.py @@ -377,7 +377,6 @@ def startAIVideo2(video_path, output_url, m1, cls, confidence): ov_model = None try: - global frame_queue, processed_frame_queue, stop_event stop_event = Event() @@ -472,8 +471,7 @@ def startAIVideo2(video_path, output_url, m1, cls, confidence): '-vsync', '1', rtmp ] - - + print(f"启动FFmpeg推流到: {rtmp}") pipe = subprocess.Popen(command, shell=False, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,