Disable encoding and show only original file (#829)

Disable encoding and show only original file #829
This commit is contained in:
Markos Gogoulos
2023-11-10 14:25:10 +02:00
committed by GitHub
parent 15d217453b
commit e8d3ff25be
5 changed files with 31 additions and 7 deletions

View File

@@ -538,8 +538,8 @@ def get_base_ffmpeg_command(
target_width = round(target_height * 16 / 9)
scale_filter_opts = [
f"if(lt(iw\\,ih)\\,{target_height}\\,{target_width})",
f"if(lt(iw\\,ih)\\,{target_width}\\,{target_height})",
f"if(lt(iw\\,ih)\\,{target_height}\\,{target_width})", # noqa
f"if(lt(iw\\,ih)\\,{target_width}\\,{target_height})", # noqa
"force_original_aspect_ratio=decrease",
"force_divisible_by=2",
"flags=lanczos",