Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm converting a video with resolution 960x720p using HandBrake on Mac. When I convert two videos with exactly the same settings but with different resolutions, the file size is almost the same. Actually, the video with larger resolution (960x720p) is slightly smaller than the video with smaller resolution (720x540p). File size of the larger resolution video is 18,7 MB and the file size of the smaller resolution video is 19,1 MB. Like I said, the conversion settings are exactly the same, only resolution is different. I'm using H.264 codec with variable bitrate. Please check the settings from the attached screenshot.

Why the file size isn't smaller on the lower resolution video?


share|improve this question
up vote 2 down vote accepted

You are using the same bitrate for each video. The bitrate determines how much data is used per second. The resolution has nothing to do with how much data is used, it only impacts the number of points of data which are encoded (and thus determines part of the quality of the video output for a given bitrate).

What you end up with is a lower resolution file that more faithfully reproduces the original format since it has more data storage allocated per pixel where as the higher resolution file produces more pixels in the output, but as it has less data available per pixel, it is a less faithful reproduction.

It is a fluid question as to whether you lose more quality from the downscale or bitrate being used, so there is no preferred value to change. In some situations the best overall quality will be to reduce the resolution and bitrate and in other cases the best result will be to keep the resolution the same but only reduce the bitrate.

If you intend to make different resolutions for different connection speeds, you should decrease both the resolution and the bitrate. This will result in a smaller file with similar relative quality, so long as you use similar compression ratios (the relationship between the size of the input and the file size).

For example, as a rough guideline, if a video is 1080p and takes 225MB in total, then you would want the 720p version to take around 100MB because there is a little under half the pixels in a 720p video than there is in the 1080p video. The amount of data used to store each pixel is thus the same, so the amount of artifacts should be pretty similar. (Though the loss of detail will make it slightly unpredictable, so it doesn't hold exactly. I'm oversimplifying a bit since compression is actually a pretty complicated field.)

share|improve this answer
Thank you for your answer! – nqw1 Jul 31 '14 at 6:11
Not necessarily, the bitrate can be quite different as long as you choose a variable bit rate TARGET like in this case and not a fixed bitrate. One video can tend to be quite higher than 700kbps and the other can be quite a bit lower than that which can affect the file size greatly depending on the length of the video. – Professor Sparkles Jul 31 '14 at 18:10
True, quality VBR rather than data rate VBR will result in different file sizes since it will adjust the actual bitrate used for you. I was only addressing bitrate VBR though, and especially for 2-pass it will be pretty close to the target, at least if the encoder is any good. – AJ Henderson Jul 31 '14 at 18:18

That has to do with choosing a variable bitrate aswell as how h264 essentially works. Some videos can be compressed better than others. If in one video for example you have a lot of "still" frames with not much moving the scene, h264 can compress that a lot better than a video with a lot of action.

H.264 is doing motion estimation and works in so called Group of Picture where there are only a few frames that actually contain a full video frame and the in-between frames just contain information to calculate a full frame during playback. That's the reason why you sometimes get these smearing artifacts when playing a h264 video. Also the reason why resolution doesn't necessarily affect the file size that much and a higher resolution video can sometimes be smaller than a lower resolution video, it depends on the content.

That size difference should be less though if you encode both with constant quality.

share|improve this answer
Thank you for the help! – nqw1 Jul 31 '14 at 6:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.