瀏覽代碼

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

morbificagent 2 年之前
父節點
當前提交
2589b4486b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      files/helpers.py

+ 1 - 1
files/helpers.py

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