input.mp4
Selected file
FFmpeg command
ffmpeg -i 'input.mp4' -vf scale=1280:-2 'output.mp4'About this command
Resizes the video to the selected width while automatically calculating the height to preserve the original aspect ratio.
-iSpecifies the input video file.
-vf scaleApplies FFmpeg's video scaling filter.
scale=1280:-2Sets the video width to 1280 pixels and automatically calculates the height while preserving the aspect ratio.