artificialguybr commited on
Commit
992f837
β€’
1 Parent(s): 651e04e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -62,7 +62,9 @@ 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=-2:720:force_original_aspect_ratio=decrease').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=-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
 
70
  #Time tracking