Encoding is just another term for data compression. Data (or file) compression is a cornerstone of our Internet-based world. Computer files take up hard drive space. Transferring computer files over the Internet takes time. The way that you save hard drive space or speed up the transfer of files is with file compression. Examples of file compression are JPEG images, DVDs (encoded as MPEG-2 video), MP3 audio files, and “Zip” archives. We’ll talk here about Video Encoding (video compression).

When you have finished editing your video, the editing programs allow you to save the video in a variety of formats, or share to a variety of video hosting sites such asYouTube or Vimeo. If you have a DVD recorder, you could create a DVD disc that can then be played in a home DVD player. If a video is not too long, you can even send it as an attachment in an email.

Two things will affect the file size when you encode/compress a video. First is the video’s dimensions, measured in pixels. If you are encoding a video into a smaller dimension, called scaling, you will make the file smaller. Video recorded with a typical HD camcorder will be 1920 x 1080 pixels. If we then encode the video with smaller dimensions, say 640 x 360 pixels, that will result in a smaller size file on the hard drive.

The second way we can get a smaller file is to reduce the “quality” settings when encoding. When you save a video file in a given format, it will ask you to specify a level of quality. If you want to distribute the file with virtually no quality loss, or save it for archiving purposes, you will likely use the highest quality setting. Viewers who have a high speed Internet connection will appreciate a high quality version. However, if they have a lower speed connection, you might choose a lower quality setting.

If you upload your video to YouTube, it will be automatically encoded at several different sizes, or resolutions. This will allow people to see your video on many different types of devices – from computers, to media devices (Roku or Apple TV), to tablets, to mobile phones. YouTube supports up to 4K resolution (3840×2160) video, but will also will encode in 1080p (1920×1080), 720p (1280×720), 480p, 360p, 240p, and 144p. While these are not “quality” settings per se, the 1080p version will appear “sharper” than the lower resolution versions when you watch them on your computer screen (especially at full screen size). The differences will be less noticeable on a smaller-screened device like a tablet, or a mobile phone.

Just keep in mind that video at a given resolution is not always equal. Something called bit rate will govern the quality at a particular resolution. For example, the bit rate of a 1080p movie on a Blu-ray disc will be much higher than the bit rate of a video you would watch on Netflix or YouTube. The movie file would also be significantly larger on the Blu-ray disc. The following images will give you an idea of how high quality (high bit rates) will differ from medium and low quality (lower bit rates). The fuzziness around the text is known as artifacting, and it gets more pronounced as you choose lower and lower quality settings. You’ll notice that colors also start to become less vibrant.

High Quality (high bit rate)

High Quality (high bit rate)

zoomed in

zoomed in

Medium Quality

Medium Quality

zoomed in

zoomed in

Low Quality (low bit rate)

Low Quality (low bit rate)

zoomed in

zoomed in

 

There are a few standalone encoding/compression programs that are worth mentioning that will convert a video from one format to another. Two of our favorites are Handbrake (Mac and Windows) which specializes in converting DVDs to MPEG4 video, and Miro Video Converter, a more all-purpose converter, including audio conversion. Handbrake uses the x.264 codec which is a fully compatible version of the h.264 codec. It allows you to save videos for devices like the iPhone, the iPod Touch, and the Apple TV. Miro Video Converter uses a different compression “library” called FFmpeg. Again, it allows a greater variety of input and output formats.

print