ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Compress Videos for YouTube

Updated on May 25, 2013

If you're looking for a way to save time uploading to YouTube or a good way to compress your video files, here's two different workflows, one for Sony Vegas and one for Adobe's Media Encoder (Premiere or After Effects).

Source

What You Should Know Before Compressing

If you're not too familiar with compressing, there's a few important things you should know.

Compressing a file reduces the size and also reduces the quality. For the best archiving methods, you should keep a copy of your file in lossless format and one that is compressed. That way you have the original in full quality if you ever need to covert it or send a high quality file. You don't want to convert an already compressed file, as the compression will lost more information and lose quality more quickly.

Compressing actually reduces the color nuances of the video, the difference of light and any information and detail that can be removed. Depending if you use a two-pass or one pass compressor, the differences can vary between frames or can be applied to the video as a whole.

Different compression formats and codecs will compress files differently. The one that is most preferred is h.264 for sending files over the internet or to streaming websites.

What file container do you prefer?

See results

Containers vs. Codecs

Video files can be transmitted and saved in a number of formats. The container of file or file extension (.avi/.mov/.mp4) can be used with multiple codecs or compressors (h.264/Xvid/ProRes).

The codec that you use is more important than the specific container you use, but every website, festival and person has their own preference when it comes to favorite container and codec type.

Lossless Avi export settings for Sony Vegas.
Lossless Avi export settings for Sony Vegas. | Source

Sony Vegas Workflow

Rendering "Exporting" from Sony Vegas

I like to render a lossless copy of my video out of Vegas and then use another program to compress it to h.264. I find that the rendering capabilities of Vegas are slower than using another program, and I also like to keep a copy of my video file in a lossless state in case I ever need to re-compress it into a different format.

Since I'm working on a windows machine, I render my video as an AVI with the codec Huffy (which is a lossless codec). The file size does end up being giant, but before I upload it to YouTube, I'll compress it down.

As far as specific settings, it doesn't really matter. I like to keep my full resolution and export as a good quality audio file format (PCM 16-bit Uncompressed).

Easy h.264 Gui
Easy h.264 Gui | Source

Compressing the Uncompressed File to H.264

For this step, I have found a handy and very easy program called "Easy h.264" It was created by Tweevo and works like a charm. It is a freeware and you can download it from here.

As I said before, this program is super easy. All you need to do is click on the select button under video file, select your file. Then click on the select button under output, type in where you want to save your file and the name. Make sure the frame rate is correct and choose from any of the presets.

Then just hit Start Converting and you're all set!

Note: If you're using 1080p footage, you can select Extreme+720p and it'll output as a compressed 1080p file.

Uploading to YouTube

The final step is just to uplaod your compressed .mp4 you got from using Easy h.264. That's it!

Exporting for YouTube from Media Encoder
Exporting for YouTube from Media Encoder | Source

Premiere or After Effects (Media Encoder) Workflow

For your Adobe products, you'll be using the built in media encoder from Adobe.

First off, I usually will render out an uncompressed file so that I had a high quality file of my video in lossless format. After I have that, I'll render out a MPEG-4 (.mp4) for YouTube.

Rendering in Media Encoder

  1. After you've finished your video, from the drop down menu under "Format" select h.264. This will set you video to render with the h.264 codec into a .mp4 container.
  2. From the presets select the "YouTube Widescreen HD" or if you have a standard definition video file, select the SD version.
  3. This should set up your project, we just need to change a couple of audio settings. Under the Audio tab, change the Frequency to 48K and bitrate settings to 320.
  4. Check the preview of your video file to make sure the resolution is right and the frame rate is okay. After checking, hit render.

Upload to YouTube

After your video is done rendering you're ready to upload to YouTube!

YouTube Help Center

You can find YouTube's recommended Settings from YouTube's Help Center here.

Click thumbnail to view full-size
Quality Test OneQuality Test TwoQuality Test Three
Quality Test One
Quality Test One | Source
Quality Test Two
Quality Test Two | Source
Quality Test Three
Quality Test Three | Source

Improving Render Quality

Rendering different kinds of video (such as animation vs. life action) will yield different results. If you're unhappy with your rendering and how it's turning out, try increasing the bit rate in your render settings.

Render Quality Tips

It's better to upload a larger file since YouTube will recompress with their own compressor when you upload.

Do a few different tests playing around with the bitrate and quality settings. Find the balance for your videos between size and upload time.

To read more about rendering tests, you can reference the sections in this article I wrote the talks about quality tests here: Improving Quality by Testing Render Settings

working

This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://corp.maven.io/privacy-policy

Show Details
Necessary
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
Features
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Marketing
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Statistics
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)