|
@@ -61,7 +61,7 @@ def gather_video(video_uuid):
|
|
|
|
|
|
|
|
result_path = UPLOAD_DIR + video_uuid + ".result.mp4"
|
|
result_path = UPLOAD_DIR + video_uuid + ".result.mp4"
|
|
|
|
|
|
|
|
- out = cv2.VideoWriter(result_path, cv2.VideoWriter_fourcc(*"mp4v"), fps, img_array[0].size)
|
|
|
|
|
|
|
+ out = cv2.VideoWriter(result_path, cv2.VideoWriter_fourcc(*"mp4v"), fps, (img_array[0].shape[1], img_array[0].shape[1])) # So fucking stupid
|
|
|
for i in img_array:
|
|
for i in img_array:
|
|
|
out.write(i)
|
|
out.write(i)
|
|
|
out.release()
|
|
out.release()
|