Changes between Version 13 and Version 14 of Scaling


Ignore:
Timestamp:
Nov 8, 2020, 1:37:01 PM (6 months ago)
Author:
huupoke12
Comment:

Warn about the Sample Aspect Ratio

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v13 v14  
    33{{{
    44#!div style="border: 1px solid #e5c7c7; margin: 1em; background-color: #fdd;"
    5 '''Warning:''' When using `-filter_complex`/`-lavfi`, the default scaling flags are not applied, so the default algorithm is not `bicubic`, but `bilinear`. To achieve the same results for complex filter chains, you have to explicitly set the scaling algorithm via the `flags=bicubic` option.
     5'''Warning:'''
     6* When using `-filter_complex`/`-lavfi`, the default scaling flags are not applied, so the default algorithm is not `bicubic`, but `bilinear`. To achieve the same results for complex filter chains, you have to explicitly set the scaling algorithm via the `flags=bicubic` option.
     7* In some cases, FFmpeg will set the Sample Aspect Ratio to compensate for the ratio change. You have to manually set the SAR value to 1:1 to make the players display it in the way you want. For example:
     8{{{
     9ffmpeg -i input.mp4 -vf scale=320:240,setsar=1:1 output.mp4
     10}}}
    611}}}
    712