oskarastrom commited on
Commit
d457578
·
1 Parent(s): 3f972d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ result = {}
50
 
51
 
52
  vid_frames = np.random.rand(100, 100, 3)
53
- out = cv2.VideoWriter("static/test_video.mp4", cv2.VideoWriter_fourcc(*'hvc1'), 10, [ 100, 100 ] )
54
  for j, frame in enumerate(vid_frames):
55
  out.write(frame)
56
  out.release()
 
50
 
51
 
52
  vid_frames = np.random.rand(100, 100, 3)
53
+ out = cv2.VideoWriter("static/test_video.mp4", cv2.VideoWriter_fourcc(*'H264'), 10, [ 100, 100 ] )
54
  for j, frame in enumerate(vid_frames):
55
  out.write(frame)
56
  out.release()