From fcfeed2f3e40f6e5e66b91602594caaeee371840 Mon Sep 17 00:00:00 2001 From: Ishaan Datta Date: Wed, 6 Nov 2024 14:13:24 -0800 Subject: [PATCH] change --- tools/video/mp4-recorder.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/video/mp4-recorder.py b/tools/video/mp4-recorder.py index 0340d1e..928d3f6 100644 --- a/tools/video/mp4-recorder.py +++ b/tools/video/mp4-recorder.py @@ -52,10 +52,10 @@ def record_zed_to_mp4(output_file="output.mp4", fps=30, duration=10): # Write the frame to the video file video_writer.write(frame) - # Optional: Display the frame (press 'q' to exit early) - cv2.imshow("ZED Video", frame) - if cv2.waitKey(1) & 0xFF == ord('q'): - break + # # Optional: Display the frame (press 'q' to exit early) + # cv2.imshow("ZED Video", frame) + # if cv2.waitKey(1) & 0xFF == ord('q'): + # break else: print("Frame grab failed") break