Spaces:
Running
on
T4
Running
on
T4
PKUWilliamYang
commited on
Commit
·
e9ea181
1
Parent(s):
fcf0ef1
Update vtoonify_model.py
Browse files- vtoonify_model.py +1 -1
vtoonify_model.py
CHANGED
@@ -200,7 +200,7 @@ class Model():
|
|
200 |
exstyle = self.exstyle
|
201 |
video_cap = cv2.VideoCapture(aligned_video)
|
202 |
num = int(video_cap.get(7))
|
203 |
-
fourcc = cv2.VideoWriter_fourcc(*'
|
204 |
videoWriter = cv2.VideoWriter('output.mp4', fourcc,
|
205 |
video_cap.get(5), (int(video_cap.get(3)*4),
|
206 |
int(video_cap.get(4)*4)))
|
|
|
200 |
exstyle = self.exstyle
|
201 |
video_cap = cv2.VideoCapture(aligned_video)
|
202 |
num = int(video_cap.get(7))
|
203 |
+
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
|
204 |
videoWriter = cv2.VideoWriter('output.mp4', fourcc,
|
205 |
video_cap.get(5), (int(video_cap.get(3)*4),
|
206 |
int(video_cap.get(4)*4)))
|