This commit is contained in:
yooooger 2025-07-23 17:17:52 +08:00
parent 766a240a7e
commit dc3fb77ded

View File

@ -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,