Spaces:
Runtime error
Runtime error
artificialguybr
commited on
Commit
β’
651e04e
1
Parent(s):
892ff2a
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def process_video(radio, video, target_language):
|
|
62 |
run_uuid = uuid.uuid4().hex[:6]
|
63 |
|
64 |
output_filename = f"{run_uuid}_resized_video.mp4"
|
65 |
-
ffmpeg.input(video).output(output_filename, vf='scale=-
|
66 |
video_path = output_filename
|
67 |
|
68 |
#Time tracking
|
|
|
62 |
run_uuid = uuid.uuid4().hex[:6]
|
63 |
|
64 |
output_filename = f"{run_uuid}_resized_video.mp4"
|
65 |
+
ffmpeg.input(video).output(output_filename, vf='scale=-2:720:force_original_aspect_ratio=decrease').run()
|
66 |
video_path = output_filename
|
67 |
|
68 |
#Time tracking
|