Changes between Version 36 and Version 37 of Scaling


Ignore:
Timestamp:
May 4, 2024, 4:34:46 PM (2 years ago)
Author:
MasterQuestionable
Comment:

͏    Remove duplicate: mentioned in # Keeping the Aspect Ratio.
͏    Less verbosity = More readability

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v36 v37  
    8989ffmpeg -i input.jpg -vf "scale=iw*.5:ih*.5" input_half_size.png
    9090ffmpeg -i input.jpg -vf "scale=iw/2:ih/2" input_half_size.png
    91 }}}
    92 
    93 Alternatively, you can scale only one component and keep the aspect ratio by setting the other component to -1:
    94 {{{
    95 ffmpeg -i input.jpg -vf "scale=iw*.5:-1" input_half_size.png
    9691}}}
    9792