tomerk commited on
Commit
478ce87
·
verified ·
1 Parent(s): 901a746

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def encode_to_video_fast(frames, fps):
77
  size = (width, height)
78
 
79
  # Define the codec and create VideoWriter object
80
- fourcc = cv2.VideoWriter_fourcc(*'h264') # You can also try 'XVID', 'MJPG', etc.
81
  out = cv2.VideoWriter(video_clip_path, fourcc, fps, size)
82
 
83
  for frame in frames:
 
77
  size = (width, height)
78
 
79
  # Define the codec and create VideoWriter object
80
+ fourcc = cv2.VideoWriter_fourcc(*"mp4v") # You can also try 'XVID', 'MJPG', etc.
81
  out = cv2.VideoWriter(video_clip_path, fourcc, fps, size)
82
 
83
  for frame in frames: