tomerk commited on
Commit
82240dd
·
verified ·
1 Parent(s): 1e93edd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def encode_to_video_fast(frames, fps):
51
  size = (width, height)
52
 
53
  # Define the codec and create VideoWriter object
54
- fourcc = cv2.VideoWriter_fourcc(*'mp4v') # You can also try 'XVID', 'MJPG', etc.
55
  out = cv2.VideoWriter(video_clip_path, fourcc, fps, size)
56
 
57
  for frame in frames:
 
51
  size = (width, height)
52
 
53
  # Define the codec and create VideoWriter object
54
+ fourcc = cv2.VideoWriter_fourcc(*'h264') # You can also try 'XVID', 'MJPG', etc.
55
  out = cv2.VideoWriter(video_clip_path, fourcc, fps, size)
56
 
57
  for frame in frames: