From b6fccd8f1b61d012fa053dea92ac53e4cbec5bcb Mon Sep 17 00:00:00 2001 From: Kautenja Date: Sat, 3 Apr 2021 17:25:02 -0500 Subject: [PATCH] fix --- frames_to_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frames_to_video.py b/frames_to_video.py index a9a49ac..3f01b33 100644 --- a/frames_to_video.py +++ b/frames_to_video.py @@ -40,7 +40,7 @@ def pairs(iterable): height, width, dims = frames[0].shape # setup a video output stream -fourcc = cv2.VideoWriter_fourcc(*'mp4v') # Be sure to use lower case +fourcc = cv2.VideoWriter_fourcc(*'h264') # Be sure to use lower case out = cv2.VideoWriter(video_name, fourcc, 20.0, (width, height)) # write the frames to the video file