“I’ve made my video, how do I get it ready for the web?”
This is a simple guide to compressing video for upload to the internet. Compressing just means to ‘make it smaller’ so the file is not so big, and it doesn’t take such a long time to upload/download. As technology improves, internet connections are getting better and faster, but at the same time, video files are getting higher in resolution and thus bigger, so compression is still a vital step in distributing your video on the internet.
Some of you will be quite familiar with video and/or internet technology, so many of the principles we are talking about will make sense. Those who have been filmmakers or video editors will understand a bit about video and audio files, and how they work.
But some of you will be new to all of this, if so then don’t worry, we have a Glossary of Terms that will explain the basic concepts covered in this guide as well as step-by-step instructions to compress video using Handbrake.
For those of you who just need the settings, here are our basic recommendations what to use when compressing HD video (where the original is 1920 x 1080 pixels) for upload to the web in 2019:
For H264 encoding, you can choose a bitrate within the range we have suggested (5,000 – 10,000 kbit/s). The higher the bitrate the better quality it will be. If you set the bitrate to 10,000 as opposed to 5,000, the file will be twice as big and take twice as long to upload.
|Video Length||Bitrate||File Size|
|10:00 minutes||5,000 kbit/s||400 MB|
|10:00 minutes||10,000 kbit/s||775 MB|
For example, if you start with a 10-minute video, and choose 5000 kbit/s video bitrate and the settings above, the file-size of your compressed video will be about 400 MB. If you choose 10,000 kbit/s your file-size will be about 775 MB. You can use this guide to estimate how big your video will be – if your video is twice as long i.e. 20 minutes, it will be double this size i.e. about 1.5GB.
Keep in mind that most video websites automatically make even smaller versions of your video file to playback in the web browser. Some sites give you the option of letting some people download the original file you uploaded too.
To skip to a simple tutorial on how to compress video into this format, try our guide for using Handbrake on Linux, Mac, and Windows. However, it can be really helpful to know a bit more about what you’re actually doing, and why. The settings discussed here are also applicable in other video encoders bundled with Adobe Premiere Pro, DaVinci Resolve, Final Cut Pro, etc. So read on for a bit more explanation of what all those numbers and letters actually mean.
As we discussed above, video files are usually too big to upload/download without compressing them or making them smaller, first. But there are other reasons to compress (or ‘encode’) your video. You need to create a format that the system you are uploading it to will understand, so it needs to be a commonly acceptable type of file. The settings above will playback on all relatively new computers if you use software such as VLC to play it back. It will also playback in most web browsers natively – check this list for details. And video-sharing sites such as EngageMedia, Vimeo and Youtube all recommend using settings like these for upload to their systems.
Note: It is a good idea to keep an original higher quality copy of your video as a master version too e.g. in Apple ProRes or your usual native editing format. This means you can re-compress the video in the future, into any other format that you may need.
Well, the first thing is, it becomes smaller. But, the more compressed the video is, the less quality is able to be retained, and the more degraded the image usually becomes. Compression is a compromise between quality and file size. However, if you use an advanced codec such as H264 and H265, and a reasonably high bitrate, the quality can still be very good, and you won’t get compression artefacts.
The most common video file format these days is MPEG4 (which will have the file extension “.mp4”). This works on most platforms. Formats are also called containers. Other common containers include WebM, Quicktime (.mov), AVI (.avi) and Matroska (.mkv).
“Codec” stands for ‘compression/decompression’. It is a piece of software, an algorithm, that is used to make your video file smaller. It is used by the encoding program such as Handbrake to make it smaller, and then by the video player such as VLC to de-compress it again, ready for playback. H264 is the most common codec to use, creating good quality videos with relatively small file size.
H265 video is also becoming common with newer smartphones and DSLRs using it as a native codec. Since 2018, Facebook, Youtube, and Vimeo have supported it in their platforms.
A Video transcoded using this codec can have better quality and smaller file size compared to the one where H264 was used. The biggest drawback to using H265 in transcoding is the significant increase in conversion time. Also, older computers may not have support for it, both for playback and transcoding. Learn more about codecs, container formats and more in the Glossary of Terms.
To be able to watch 4K UHD videos seamlessly, Youtube recommends a consistent download speed of at least 15 megabits per second. The global internet speed average in 2019 is 11.03 megabits per second according to a study by cable.co.uk. Using this as a reference, it is obvious that video playback will buffer in most internet connections. So, the answer is no.
Given the disparity of internet speed connections, it might be a good idea to know the average internet speed of your target country or countries and then decide the resolution size using the table below:
|Arkipel: Int'l Documentary & Experimental Film Festival||Jakarta|
|Bali International Film Festival||Bali|
|Festival Film Dokumenter||Yogyakarta|
|Jogja NETPAC Asian Film Festival||Yogyakarta|
|Minikino Film Week||Bali|
|ReelOzInd! Australia-Indonesia Short Film Festival||Australia / Indonesia|
Live video streaming is becoming popular these days because of added engagement on social media platforms. You don’t have to be literally ‘live’ to go on live when using platforms like Facebook Live or Youtube Live. Open Broadcast Software, free and open-source software for video recording and live streaming, makes it possible to stream videos that were previously recorded and edited.
The most important consideration when streaming live is your upload speed, so it is best to run a speed test beforehand. Bitrate should not exceed more than 80% of your upload speed. For example, if your upload speed is 5,000 kbps, bitrate should not exceed 3,500.
Try these settings for low bandwidth situations, and for end-users whose computers are older and might have trouble playing back a higher-bitrate/higher-resolution video such as the one we recommend settings for above.
Try these settings for SD NTSC video:
Try these settings for SD PAL video:
This guide doesn’t cover compressing video for mobile phones, as it’s a little more complicated. Unfortunately, there’s not just one setting we can recommend for all devices. But if you follow our guide for compressing video with Handbrake, and then take a look at this page on the Handbrake wiki, you can find presets you can easily select within Handbrake for different kinds of mobile devices – just keep in mind you may have to make several different kinds of file to suit different devices.