Spaces:
Sleeping
Sleeping
Update chatgpt-ad-maker.py
Browse files- chatgpt-ad-maker.py +1 -1
chatgpt-ad-maker.py
CHANGED
|
@@ -68,7 +68,7 @@ def process_video(video_path, dot_size=10, spacing=2, invert=False, fps=30):
|
|
| 68 |
frame_height = frame_height // 2 * 2
|
| 69 |
|
| 70 |
output_path = "output.mp4"
|
| 71 |
-
fourcc = cv2.VideoWriter_fourcc(*'
|
| 72 |
out = cv2.VideoWriter(output_path, fourcc, output_fps, (frame_width, frame_height), True)
|
| 73 |
|
| 74 |
try:
|
|
|
|
| 68 |
frame_height = frame_height // 2 * 2
|
| 69 |
|
| 70 |
output_path = "output.mp4"
|
| 71 |
+
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
|
| 72 |
out = cv2.VideoWriter(output_path, fourcc, output_fps, (frame_width, frame_height), True)
|
| 73 |
|
| 74 |
try:
|