

To retain the aspect ratio of your video, you first need to input your video width specifics.įfmpeg -i input.mp4 -vf scale=480:-1 output.mp4 To switch a command line, type ‘cd Desktop’ then hit the ‘Enter’ button.įFmpeg uses a scale filter in resizing. Then type ‘Cmd’ in the search bar and open the command prompt. To open, click on the start menu on your computer. The command prompt is usually pre-installed on every computer. Rename it to a shorter one to make the conversion process more manageable. To determine your file format, right-click and head over to properties.Īlso, try to determine the file name since you will have to input it in FFmpeg. Determine your file format and nameīefore you use FFmpeg resize video tool, you need to determine the format and name of your files. Conversely, the Homebrew package manager is absent in Mac computers. On a Windows computer, you can install it via the terminal, which is part of the Homebrew package manager. It is easier to install FFmpeg on a Windows computer than on a Mac computer. To install, you need to have an administrator account. Download and Install FFmpeg to Your Computerįirst, download the latest version of FFmpeg to your computer. Install FFmpeg to your computer. Here below are the steps of changing your video resolution using FFmpeg video resize You can change your video resolution and simultaneously retain its aspect ratio (The aspect ratio of a video is its ratio of width length, i.e., x:y) FFmpeg uses a series of commands to resize videos and audio. In your computer device, you can change the resolution or the aspect ratio by using FFmpeg. FFmpeg is a free command-line tool whose static role is to convert both video and audio file formats. You can resize your video and still maintaining its quality – This is by using FFmpeg.

Therefore, for you to optimize the disc space, you need to resize your videos.

Usually, we don’t want to account for space in this manner. Therefore having a couple of videos means that your storage space is at risk of getting depleted. Short raw video with a resolution of about 1920x1080 may take GBs of storage space. How do you resize a video to make it smaller with FFmpeg?
