From 04852ce382c78d50c72f188ee36dd4665bff3354 Mon Sep 17 00:00:00 2001 From: bene Date: Thu, 2 Mar 2023 08:56:00 +0100 Subject: [PATCH] add output directory --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2be4094..8976c3c 100644 --- a/main.py +++ b/main.py @@ -82,7 +82,7 @@ while(cap.isOpened()): # Format the date and time as a string dt_string = now.strftime("%Y-%m-%d_%H-%M-%S") print(dt_string + " Schreibe mp4 Datei") - out = cv2.VideoWriter("output-" + dt_string + ".mp4", fourcc, fps, frameSize=(width, height)) + out = cv2.VideoWriter("output/output-" + dt_string + ".mp4", fourcc, fps, frameSize=(width, height)) for frame in bufferedFrames: out.write(frame) out.release()