In this video we take a look at how to resize videos using FFmpeg.
We take a look at how to how to scale videos or images using fixed parameters, or parameters depending on the original resolution or the aspect ratio.
We also take a look at how to specially resize putting padding borders to match an input size resolution.
For any questions or doubts, feel free to write a comment down below!
Further reference about scaling in FFmpeg:
► trac.ffmpeg.org/wiki/Scaling
► ffmpeg.org/ffmpeg-scaler.html...
Sample video: www.pexels.com/video/drone-fo...
👉👉👉 FOLLOW ME 👈👈👈
--------------------------
► Instagram: / devstefit
► TikTok: / devstefit
🎼🎵🎶 MUSIC CREDIT 🎶🎵🎼
---------------------------
► Evolution - Royalty Free Music by Benjamin Tissot
www.bensound.com/royalty-free...
► "Local Forecast - Elevator" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...
📖 CHAPTERS 📖
---------------------------
00:00 Intro
00:50 Scale a video with fixed width and height
05:17 Extract single frame from a video
07:13 Scale an image with fixed width and height
08:10 Scaling by maintaining the aspect ratio
10:58 Using variables - iw and ih
14:22 Using decimal number while scaling
15:51 Preventing upscaling while resizing
19:02 force_original_aspect_ratio parameter and the pad filter
25:14 force_original_aspect_ratio parameter and cropping
27:04 Change the interpolation algorithm
30:58 Conclusions
#devstefit #ffmpeg #resizevideos
2 июл 2024