ZiyuG commited on
Commit
155fa4f
1 Parent(s): b5d5c85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def flip_video_horizontally(video_path):
59
  frame_width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
60
  frame_height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
61
  fps = int(cap.get(cv2.CAP_PROP_FPS))
62
- fourcc = int(cap.get(cv2.CAP_PROP_FOURCC))
63
 
64
  temp_output_path = video_path + "_temp.mp4"
65
 
 
59
  frame_width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
60
  frame_height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
61
  fps = int(cap.get(cv2.CAP_PROP_FPS))
62
+ fourcc = cv2.VideoWriter_fourcc(*'XVID') #int(cap.get(cv2.CAP_PROP_FOURCC))
63
 
64
  temp_output_path = video_path + "_temp.mp4"
65