Changes between Version 36 and Version 37 of Scaling
- Timestamp:
- May 4, 2024, 4:34:46 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scaling
v36 v37 89 89 ffmpeg -i input.jpg -vf "scale=iw*.5:ih*.5" input_half_size.png 90 90 ffmpeg -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.png96 91 }}} 97 92
