

In case you want to increase the width to a maximum of 500 pixels while keeping the aspect ratio the same as the input, use: scale=w='min(500\, iw*3/2):h=-1'.To resize a video to double of its original dimensions, use this syntax: scale=w=2*iw:h=2*ih.

If you want to resize a video to half of its original size, then use: scale=w=iw/2:h=ih/2.There are multiple other video resizing commands that you can use, such as: It will resize your video in a few seconds or minutes, depending upon the length of your video. Press the Enter button to execute the video resizing above command. And, enter new video dimensions in place of. In the above command, replace and with the full path of your input and output video files, respectively. In the CMD, enter a command with the following syntax which is used to resize a video in FFmpeg:

Now, in the address bar, type “ CMD” and then press Enter button. It is usually found in the bin folder of the main folder. After that, go to the sub-folder where the FFmpeg.exe file is present. Let us discuss these steps in detail now.įirst and foremost, you need to download FFmpeg from and then extract the executable files from the folder. Steps to resize videos using command are as follow: How to resize a video using Command-line through FFmpeg Let’s see what is that command and what are the steps you need to follow to resize a video using the command in Windows 10. It also lets you change the dimensions of a video and for that, a specific video resizing command is required. Each of its functionalities can be used with respective commands. It is a command-based utility that consists of various libraries and programs to play, stream, record, and convert video and audio files. In this article, I am going to show you how to resize the dimensions of a video through the command-line interface in Windows 10.įFmpeg is a free and open-source video and audio processing software for Windows. You can reduce video size, change aspect ratio or resolution using command line with FFmpeg tool in Windows 10.
