Experiment - Video writing
Problem:You want to save a sequence of images as a video file using OpenCV in Python.
Current Metrics:The current code writes a video but the output video is corrupted or does not play properly.
Issue:The video writer parameters (codec, frame size, fps) are not set correctly, causing the video file to be unreadable.