artificialguybr commited on
Commit
651e04e
1 Parent(s): 892ff2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=-1:720').run()
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