Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kautenja committed Apr 3, 2021
1 parent 79d280d commit b6fccd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frames_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6fccd8

Please sign in to comment.