Roll Wizard: the Premiere plugin that removes shake and cuts silence. Try it free for 3 days
Editing

Best Export Settings: High Quality, Small File Size

Export settings explained: codec, bitrate, resolution and frame rate, and how to balance video quality against file size.

8 min read
Best Export Settings: High Quality, Small File Size

High quality and a small file pull in opposite directions: the smaller the file, the more detail you lose. But a wide band lies between the extremes, and the gap between an editor who knows the export settings and one who leaves everything on default is large. Four things decide the result: the codec, the bitrate, the resolution and the frame rate.

The short answer: export with H.264 if you want compatibility with every device, or H.265 if the place that will play the video supports it and you want a smaller file at similar quality. Keep the resolution and frame rate you shot at, and set the bitrate to suit the content. Then check the current guide of the platform you are uploading to, because its recommendations change.

What decides file size

File size is roughly bitrate multiplied by duration. Bitrate is the amount of data the file spends on each second of video, so a minute at double the bitrate gives a file about twice as large. Every other setting, whether codec, resolution or frame rate, affects size through the bitrate you need to reach acceptable quality.

So the real question is how much bitrate this particular video needs, and that depends on the content. A static shot of someone talking in front of a plain background needs little. A shot with fast motion, falling rain, leaves and fine detail needs far more to look clean.

Codec: H.264 or H.265

The codec is the method of compressing the video. Both are common for export.

H.264 (also called AVC) plays on almost every device, browser, TV and phone. It encodes quickly, and nearly every program supports it. If you do not know where the video will be shown, it is the safe choice.

H.265 (also called HEVC) compresses more efficiently, so it gives similar quality at a smaller size, and the gap shows most at high resolutions. Its drawbacks are known: encoding is slower and heavier on the machine, support is weaker in some browsers and older devices, and some platforms attach licensing details. If you send a file to a client, they may not be able to play it. Test the file on the device where it will be shown before you commit.

How much space H.265 saves varies with the content, the settings and the encoder, so do not rely on a number you heard from someone. Try your own clip and compare size and quality with your own eyes.

Bitrate: the most important setting

Most programs offer two ways to control bitrate.

Constant (CBR) gives every second the same amount of data. It helps in live streaming, where the flow has to be steady. But it wastes data on simple scenes and starves complex ones.

Variable (VBR) spreads the data according to need, giving complex scenes more and simple ones less. This is the usual choice for a finished file you will upload. If your program offers two-pass encoding, it analyzes the video first and then distributes the bitrate more precisely, at the cost of a longer export.

Some programs and encoders also offer a constant quality mode in place of a bitrate target, often called CRF or something similar. You pick a quality level and the encoder decides the size. It suits cases where quality matters more than a fixed size. The names of these options differ, so check your program’s official documentation.

How do you pick the number? Start from the platform’s official recommendation, or from your program’s default preset, then lower it step by step and watch the hard scenes: fast motion, smooth gradients such as skies, and dark shadows. When you see blocky patches or banding in gradients, you have gone too low.

Resolution

Export at the resolution you shot or edited in unless you have a reason not to. Scaling a low-resolution video up at export adds no detail and only makes the file bigger. Scaling down cuts the size a lot, which is a good option when people will watch on a phone and need nothing more.

Keep in mind that platforms re-compress what you upload and serve it in several resolutions. A high-quality upload gives their system better material to start from, but there is no point uploading an absurdly large file. Balance matters.

Frame rate

Keep the frame rate you shot at. Footage at 24, 25 or 30 frames per second should be exported at the same value. Raising 24 fps footage to 60 does not create real smoothness; it duplicates frames and adds size. Converting between rates can also cause judder. If your video was shot at 60 and you want a smaller file, dropping it to 30 saves a lot, but it changes how the motion feels, so decide based on the kind of content.

Platform recommendations

I will not list one platform’s numbers here, because they change every so often and anything I write today may be out of date tomorrow. What holds in general: each platform publishes on its official help page the preferred format, the supported resolutions and aspect ratios, limits on file size and length, and its suggestions for codec and bitrate. Check the current guide before every big project. Remember too that the platform will probably re-compress your video, so make the export clean enough to survive a second round of compression.

If the video goes to a client for review only, a smaller file at lower quality is fine. For final delivery to an archive or for broadcast, you need a much higher quality format, and the receiving party usually sends its specifications in writing.

One version does not suit every platform, so each version needs its own export settings. The Sail marine services app video was delivered in horizontal and vertical versions, in Arabic and English, an example of one project that needs more than one export.

Audio as well

Do not forget the sound. Exporting audio with a codec such as AAC at a sensible bitrate is enough for most uses. Audio is small next to the picture, so lowering it saves little. Set the sample rate to match your project, normally 48 kHz for video.

A practice exercise

Pick a one-minute clip with one simple scene and one complex scene. Export it four times: H.264 at a medium bitrate, H.264 at a lower bitrate, H.265 at a medium bitrate, and H.265 at a lower bitrate. Write down each file size, then watch all four on a computer monitor and on a phone. You will see where the difference starts to show, and you will leave with a setting to reuse in future projects instead of guessing.

Frequently asked questions

Why is my file huge when the video is short?

Usually because the preset has a high bitrate, or because you picked an editing format instead of a delivery format. Editing formats keep high quality and are large, and they are not meant for direct upload.

Does H.265 always look better than H.264?

Not necessarily. At the same bitrate H.265 usually gives higher quality, but if you halve the bitrate the two may end up roughly equal. A fair comparison looks at size and quality together.

Should I export at maximum quality and let the platform deal with it?

You do not need to reach the maximum. A good-quality file at a reasonable size is enough, since the platform will compress it again anyway. A huge file slows your upload and uses your storage, and gives you nothing visible in return.

Should I lower the resolution to reduce size?

Yes, if your audience mostly watches on phones. Do not lower it if the video will play on large screens.

What is the best ready-made preset?

Programs ship presets for popular platforms, and they are a good starting point. They change between versions, so test one on a short clip before you rely on it.

Summary

On your next project, export a short test with two different bitrates, compare size and quality on a phone, and save the setting you were happy with as your default.

Keep reading

All posts

العربية