Changes between Version 10 and Version 11 of Scaling


Ignore:
Timestamp:
Dec 27, 2017, 12:22:10 PM (14 months ago)
Author:
slhck
Comment:

grammar and formatting

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v10 v11  
    101101== Specifying scaling algorithm ==
    102102
    103 You can specify which algorithm is used for the resizing,
     103You can specify which algorithm is used for resizing with the `-sws_flags` option. For example, to use bilinear instead of the default bicubic scaling:
    104104
    105 {{{ffmpeg -i test.tif -vf scale=504:376 -sws_flags bilinear out.bmp}}}
     105{{{
     106ffmpeg -i test.tif -vf scale=504:376 -sws_flags bilinear out.bmp
     107}}}
    106108
    107 See the [https://ffmpeg.org/ffmpeg-scaler.html documentation].  Default is bicubic.  To have multiples it's like {{{-sws_flags lanczos+full_chroma_inp}}} You can also specify like {{{-vf scale=1920x1080:flags=lanczos}}}
     109See the [https://ffmpeg.org/ffmpeg-scaler.html scaler documentation] for more info. To set multiple flags you can combine them with a `+` sign. For example:
     110
     111{{{
     112-sws_flags lanczos+full_chroma_inp
     113}}}
     114
     115You can also specify the options directly in the `scale` filter, for example:
     116
     117{{{
     118-vf scale=1920x1080:flags=lanczos
     119}}}