diff --git a/backend/main.py b/backend/main.py index 71ac4bf..b3d374a 100644 --- a/backend/main.py +++ b/backend/main.py @@ -456,6 +456,8 @@ def vsf_output(out, ): Thread(target=vsf_output, daemon=True, args=(p.stderr,)).start() p.wait() self.vsf_running = False + # 释放资源 + self.video_cap.release() def filter_watermark(self): """