In this FFmpeg tutorial, we learn to change the resolution of a video (or resize/scale a video) using FFmpeg’s commandline tool.
Media in category 'Video display resolution 640 x 360'. The following 200 files are in this category, out of 2,468 total.
Changing a video’s resolution (also known as resizing or scaling) is a very common operation in video editing, processing, and compression. This is particularly true for ABR video streaming where a single video is taken as the source and compressed to several different bitrate-resolution combinations. For example, the input video’s resolution could be
1920x1080
and ABR bitstreams could be 1280x720
, 640x480
, etc. ![640x480 640x480](/uploads/1/1/9/5/119564398/622530905.jpg)
So, as the very first step, let’s find out what the input video’s resolution is. Using the
ffprobe
tool that’s shipped with the FFmpeg builds, let’s determine the resolution of an input video. Here’s the command line using ffprobe
. If you don’t have access to ffprobe
, you can download it from OTTVerse’s FFmpeg build page. Are you getting 'Can't Find 640×480 Video Mode' error while starting the GTA Vice City game? Here's how to fix this problem in just 2 minutes. Dec 11, 2010 Video resolution is the video's size in terms of pixels value, which also influences your video size. With various multimedia devices supporting different resolution videos or uploading videos to online video sites with specific resolution, a video resolution converter is needed to change the resolution easily and quickly without quality loss. Cannot Find 640x480 Video Mode Just bought this on the sale, hit play and it says 'cannot find 640x480 video mode' then closes out. Can't even start the game. I'm playing on a windows 8.1 laptop with a native resolution of 1920x1080.
The output of this command should be something like this
1920x1080
displayed on your console. That’s great – you now know the video’s resolution and can scale or change the resolution now. Note: You must note that the act of up/down scaling is a lossy process and will result in some loss of video quality.
How do you Resize/Scale/Change the Resolution of a Video using FFmpeg?
Using FFmpeg to scale or change the resolution of a video is done by the
scale
filter in FFmpeg. To use the scale
filter, use the following command – where,
$w
and $h
denote the required width and height of the destination video. For example, you could use -vf scale=640:480
to resize your video to 480p
. That’s it! With this simple command, you can change the video’s resolution with FFmpeg.
And, after FFmpeg changes the resolution of the video, it will re-encode it at that resolution. In the command line above, you can supply encoding parameters to FFmpeg and encode the scaled video using those parameters. For example, you could tell FFmpeg to encode it using
crf=18
for pretty high-quality H.264/AVC encoding, or choose something else! All good? Okay, let’s tackle the next subject which is changing a video’s resolution but retaining/keepings it’s aspect ratio.
How to Resize Video While Keeping the Quality High with FFmpeg
After resizing, you might notice that the quality of the output video is pretty bad or not what you expected. This can be easily fixed by telling FFmpeg the video encoding parameters that you would like to use after the resizing process.
Here is an example –
Here, you are telling FFmpeg to scale the video to
720p
and then encode it using crf=18
with libx264
‘s slow
preset that usually provides very good quality due to the number of coding tools that it turns on. How to Change the Video’s Resolution but Keep the Aspect Ratio?
The aspect ratio of an image is very well defined in Wikipedia as follows: The aspect ratio of an image is the ratio of its width to its height. It is commonly expressed as two numbers separated by a colon, as in
16:9
. For an x:y
aspect ratio, the image is x units wide and y units high.It is very common to run into this problem while working with videos: How do I change a video’s resolution (or scaling a video) but keeping or retaining the video’s original aspect ratio.
In FFmpeg, if you want to scale a video while retaining its aspect ratio, you need to set either one of the
height
or width
parameter and set the other parameter to -1
. That is if you set the height
, then set the width to -1
and vice-versa. To demonstrate, assume the following commands take a HD video (
1920x1080
) as its input. And, let’s assume that we want to change its resolution. This can be done in two ways as discussed above, so let’s try both ways. 1. Specify the Width To Retain the Aspect Ratio
The resulting video will have a resolution of
320x180
. This is because 1920 / 320
= 6
. Thus, the height
is scaled to 1080 / 6 = 180
pixels.2. Specify the Height To Retain the Aspect Ratio
The resulting video will have a resolution of
1280x720
. This is because 1080 / 720
= 1.5
. Thus, the width
is scaled to 1920 / 1.5 = 1280
pixels.Use Variables to Scale/Change Resolution of a Video in FFmpeg
We can implement the same scaling commands using variables that denote the video parameters. The input video’s
width
and height
are denoted by iw
and ih
respectively. Let’s see what a command to scale the video’s width two times (
2x
) looks like. If you want to divide either the height or width by a number, the syntax changes a little as the
scale=iw/2:ih/2
argument need to be enclosed within double quotes.Avoid Upscaling a Video based on the Input Video’s Dimensions
As we mentioned right at the start of the article, every up/down scaling action will usually not produce the same level of video quality as the input video. There is bound to be a few compression losses during the scaling process. If the input resolution is too low, FFmpeg offers a neat trick to prevent upscaling.
In the command line above, the minimum width/height to perform scaling is set to
320
and 240
pixels respectively. This is a very simple way to guard against poor quality scaling. If you enjoyed this post, do check out the rest ofOTTVerse’s FFmpeg tutorials to learn more about how to use FFmpeg to improve your video editing, compression, and processing skills!
Akshay is a student at the NYU Tandon School of Engineering, completing his M.S. in Computer Engineering. His area of interest includes software system design, machine learning, and cybersecurity.
Akshay also serves as a Contributing Author on OTTVerse.com
Related Posts:
Summary :
Need a free video resolution converter to reduce video resolution? Now, this post lists several tools. You can select a suitable one, like MiniTool MovieMaker, to change video resolution in Windows, change video resolution Android and iOS, change video resolution Mac, and others.
Quick Navigation :
As most of us know, when you watch a video YouTube will change video resolution automatically depending on your internet connection. Now, some of you might be wondering:
“Is it possible to change video resolution on a Mac/PC/Android/iPhone?”
Of course. The answer is positive.
This article lists several ways to help you change video resolution.
Let’s begin with some information about video resolution.
What Is Video Resolution?
Resolution refers to the number of distinct pixels each dimension can display. Video resolution is usually expressed as width × height, with the value given in pixels. For example, 1024 × 768 means this video has 768 lines that are each 1024 pixels wide.
Common Types of Video Resolutions
4320p: 7680x4320
7680x4320 pixels is known as 8K or 4320p. It offers 16 times more pixels than the regular 1080p FHD or Full HD resolution. However, right now, you can only see 8K on expensive TVs like Samsung and LG.
2160p: 3840x2160
2160p, a very large display resolution, is commonly known as 4K or UHD (Ultra-High Definition) resolution. 2160p offers four times the resolution of 1080p. 4K resolution mainly exists in the digital television and cinematography industry.
1440p: 2560x1440
1440p is commonly known as QHD or Quad HD resolution. Typically, you can see it on gaming monitors and on high-end smartphones. 1440p is four times the resolution of 720p HD or HD ready.
1080p: 1920x1080
It is usually known as FHD or Full HD resolution. It is suitable for HDTV high definition video with a widescreen aspect ratio of 16:9.
720p: 1280x720
720p is usually known as HD or HD Ready resolution. Most television channels broadcast at this resolution. 1080p is developed based on 720p.
Standard Definition (SD)
The most popular standard resolutions are 640 x 360 and 640 × 480 for video, and 720 × 480 and 720 × 576 for DVD.
Reading here you might think that the higher the resolution the better. However, in fact, to get a better viewing experience, you need to consider the video resolution as well as the aspect ratio.
For instance, if you put a 720p (1280 x 720 pixels) video in an iPhone 6 Plus, you might find there are some black bars. Therefore, it is necessary to change video resolution to avoid the black bars.
If your video has black bars, don’t worry as you can find answers from this post “Tutorial: How to Remove Black Bars - Windows Movie Maker.”
Do you know how to change video resolution? Here, fortunately, this post lists several tools to help you complete this task on different platforms.
1. Change Video Resolution Windows via 3 Free Video Resolution Converters
As we know, changing video resolution may be a frequent requirement.
For instance, you might have to reduce video resolution when uploading a video on a computer to your mobile phone.
Or you have to convert low resolution video to high resolution when burning a low-resolution video (for example a 320×240 video shot on your cell phone) to a DVD because DVD standards require the video to have a resolution of at least 720×480.
A free Video resolution converter can help you complete this task.
Windows Movie Maker
Many users said on forums, “how can I change the resolution of videos using Windows Movie Maker?”
For example, you can see the following message.
Note: Here, if you want to know more details about this video resolution converter, you can read this post, “Windows Movie Maker 2019 Free Download + 6 Things To Know.”
Now, you can try the following steps to change the resolution in Windows Movie Maker.
Step 1. Download and install Windows Movie Maker and then launch this tool to get its main window.
Step 2. Import video files. In general, there are 3 different ways to import video files to Microsoft Movie Maker. Now, read this post “How to Add Pictures and Videos to Windows Movie Maker” to find the detailed steps.
After importing files you can split/trim video to remove some unwanted parts, you can also add video transitions as well as filters to create a cool movie, you can add text to video, etc. Here, you might be interested in this post “How to Use Movie Maker | Step-by-step Guide for Beginners.”
Step 3. Click on File, choose the Save Movie option and select the Create custom setting button located at the bottom of the list.
Step 4. Type the name of the video. Then, enter the resolution settings you want to use (width, height, etc.) under the Video settings category.
Step 5. Click the Save button to create your video with custom resolution settings.
Recommend article: Windows Movie Maker: How to Save Movie Maker Project (2019).
In summary, you can easily change video resolution free in Windows Movie Maker. However, some users reported that they could not complete this task because Windows Movie Maker was not working.
In this case, you could try another free video resolution converter.
MiniTool Movie Maker
MiniTool Movie Maker, the best Windows Movie Maker alternative, can help you change the resolution of video without any difficulty.
MiniTool Movie Maker, an easy and intuitive Windows movie editor, is available for Windows 10/8/7. This video resolution changer supports the most popular video formats including .wmv, .mp4, .avi, .mov, .f4v, .mkv, .ts, .3gp, .mpeg2, .webm, .gif, and .mp3.
Now, you can take the following steps to change video resolution free.
Step 1. Launch this free video resolution converter and close the movie template window to enter its main interface.
Note: To help users quickly create a cool video MiniTool Movie Maker offers several different movie templates. You only need to select a suitable template and then import files and finally share this cool video with friends.
Step 2. Click the Import Media Files button and then select the video file you want to change and click the Open button to import it to this free video resolution converter.
Step 3. Drag the video file to the storyboard. Next, you can edit your video as you like.
- Split/trim video: you not only can split this video into multiple parts, but can also remove the unwanted frames from the start or end of this video.
- Add text to video: you can add title, caption or end credits to this video as you like.
- Add filter to video: you can change the color of your video by using the Effect feature provided by this free video resolution changer.
Related article: Add subtitles to video.
Step 4. Click the Export button to enter the following window.
Step 5. Open the drop-down list of Resolution and then select which kind of resolution you want to change to. Finally, click the Export button to begin converting your video.
Note: MiniTool Movie Maker not only can help you change video resolution free, it also supports changing video formats. For instance, it can convert video to GIF. More details can be found in this post “Top 7 Video to GIF Converters – You Should Know.”
VLC
Have you heard about VLC? Did you hear about “VLC change video resolution”?
VLC is famous for its powerful support in playing all kinds of media files. Here, if you have installed the VLC media player, you can use it to increase video resolution or decrease video resolution.
The steps are:
Step 1. Launch VLC.
Step 2. Hold Ctrl and R on the keyboard to open the open media window.
Step 3. Click Add to add video file(s).
Step 4. Next, select Convert/Save and then choose the Convert option to get the convert window as follows.
Step 5. Select the Edit selected profile in the Settings section to enter into the Profile edition window.
Step 6. Select Video codec and then choose Resolution.
Step 7. Type in figures in the Width and Height.
Step 8. Press the Save button to go back to the Convert window.
Step 9. Select a folder to place the video and give it a file name.
Step 10. When all changes have been completed thoroughly, click the Start button to create the file.
See! VLC changes video resolution easily.
2. Change Video Resolution Mac
If you are running MAC OS X, you don’t need to install any software. The QuickTime Player on Mac can help you. How to use this free video resolution converter?
The steps are:
Step 1. Open the file you wish to convert in QuickTime.
Step 2. Choose File, then mouse down to Export, and choose an option from the Export menu.
Here, you will see 3 video resolution options and 3 other options:
- 1080p: QuickTime movie using H.264 or HEVC (H.265), up to 1920x1080 resolution.
- 720p: QuickTime movie using H.264, up to 1280x720 resolution.
- 480p: QuickTime movie using H.264, up to 640x480 resolution.
Step 3. Choose a size based on where you will view your movie and click the Save button to continue.
Step 4. Enter a name for your exported file, choose a destination, and click Save button.
Now, QuickTime begins the process of changing the video resolution on the Mac.
Reading here, I guess you might be wondering:
“Is it possible to change video resolution Android or iPhone?”
Of course, we can.
Keep reading to find out more information.
Also read: Top 2 Best Video Resizers to Resize Video Online
3. Change Video Resolution Android/iOS
To change video resolution on your iPhone or Android you can try using the Udemy app. With this video resolution converter app you can quickly adjust the video quality to a suitable resolution on both the Android and iOS, depending on your needs.
Here, we take how to change video resolution on an iPhone for example.
Step 1. Open the Udemy app, find the target video, and then tap on the 3 lines icon at the top right hand side of the screen.
Step 2. Select the Video Quality option and then select either 360p, 480p, 720p, 1080p or Auto for the video resolution.
You need to choose 1080p if you want to watch the video in the best resolution possible. However, you need to choose a lower resolution if you are in an area with a weak Wifi connection or cellular signal.
If you don’t know which one to choose, you can select the Auto option. Then, the video resolution converter app will automatically select the resolution based on the internet bandwidth that’s available.
4. Change Video Resolution Online
Last but not least, we want to share how to change video resolution online with a step-by-step tutorial.
If you don’t want to install any video resolution converters, you can try OnlineVideoConverter to change video resolution online.
![Video Video](/uploads/1/1/9/5/119564398/955167689.jpg)
The steps are:
- Enter the link of the video that you want to convert or choose a file from your device or cloud storage.
- Select the video format you want to convert to.
- Select the video resolution.
- Click the Start button to start the conversion process.
- Finally, you can download your video file after the conversion is completed.
640x480 Resolution Video Download Hd
Now, It Is Your Turn
Need to change video resolution?
Now, try the above different ways to change the resolution of your video for better viewing on different video platforms.
Well, if you have a good suggestion about how to change video resolution for free, please let me know and we’d glad to add it here. Thanks in advance.
Like this post? Share it with more people.
Video Resolution Changer FAQ
- Import your 1080p video into MiniTool Movie Maker.
- Drag and drop this video into the timeline.
- Click the Export button.
- Select video resolution 1280 X 720.
- Click the Export button to convert the 1080p video to 720p.
- Open the video resolution changer app like Udemy.
- Find the video you want to change.
- Select the 3 lines icon at the top right-hand side of the screen.
- Select the Video Quality option.
- Select either 360p, 480p, 720p, 1080p.
640x480 Resolution Video Download Free
- Adjust brightness and contrast automatically to create a more delightful video.
- Add transitions, text, and animations to improve video quality.
- Change video resolution.
640x480 Resolution Video Download Free
- MiniTool Movie Maker
- Windows Movie Maker
- iMovie
- Adobe Premiere Pro CC
- Corel VideoStudio Ultimate
- CyberLink PowerDirector
- Final Cut Pro X