Skip to content

Commit

Permalink
MPEG -> mp4v for fourcc
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjunSahlot committed Feb 21, 2022
1 parent a629509 commit ad9a091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vidmaker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def export(self):
Export the generated video.
"""
video = cv2.VideoWriter(
self.path, cv2.VideoWriter_fourcc(*"MPEG"), self.fps, tuple(self.res)
self.path, cv2.VideoWriter_fourcc(*"mp4v"), self.fps, tuple(self.res)
)
for frame in os.listdir(self.tmp_dir):
video.write(
Expand Down

0 comments on commit ad9a091

Please sign in to comment.