Spaces:
Paused
Paused
artificialguybr
commited on
Commit
•
ac401be
1
Parent(s):
992f837
Update app.py
Browse files
app.py
CHANGED
@@ -62,8 +62,8 @@ 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=-1:720:force_original_aspect_ratio=decrease').run()
|
66 |
-
|
67 |
|
68 |
video_path = output_filename
|
69 |
|
|
|
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=-1:720:force_original_aspect_ratio=decrease').run()
|
66 |
+
ffmpeg.input(video).output(output_filename, vf='scale=-2:720').run()
|
67 |
|
68 |
video_path = output_filename
|
69 |
|