Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
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 |
|