Browse Source

Keep standard vertical resolution and extend horizontal if inputfile is not 16/9

morbificagent 2 years ago
parent
commit
2589b4486b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      files/helpers.py

+ 1 - 1
files/helpers.py

@@ -540,7 +540,7 @@ def get_base_ffmpeg_command(
     scale_filter_opts = [
     scale_filter_opts = [
         f"if(lt(iw\\,ih)\\,{target_height}\\,{target_width})",
         f"if(lt(iw\\,ih)\\,{target_height}\\,{target_width})",
         f"if(lt(iw\\,ih)\\,{target_width}\\,{target_height})",
         f"if(lt(iw\\,ih)\\,{target_width}\\,{target_height})",
-        "force_original_aspect_ratio=decrease",
+        "force_original_aspect_ratio=increase",
         "force_divisible_by=2",
         "force_divisible_by=2",
         "flags=lanczos",
         "flags=lanczos",
     ]
     ]