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()