| 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 | {{{ |
| | 9 | ffmpeg -i input.mp4 -vf scale=320:240,setsar=1:1 output.mp4 |
| | 10 | }}} |