DO NOT reduce AVI file sizes that go up to YouTube

A feature article on LearnMMD by Trackdancer2015!DO NOT reduce AVI file sizes that go up to YouTube

Our Reggie Dentmore just posted an article showing you how to reduce an AVI file’s size so as to make it upload to YouTube more quickly. My advice is that you DO NOT reduce AVI file sizes that go up to YouTube anymore than you have to and the reasons are as follows:

1. There’s a huge cost for that reduction. What you’re losing is “definition” (sharpness of image) and fidelity. When you reduce an 80mb video down 3mb you’re going to lose a lot of quality and in the final analysis, you do want to give your viewers the best possible viewing experience on their equipment right?

If you really want to reduce your file sizes, embed a mpg music file rather than a wav format audio file. That’ll save a huge chunk of data without loss of visual quality. YouTube converts all WAV formats to MPEG standard audio files anyway so embedding a WAV is really a waste of effort anyway.

2. YouTube is a streaming service and this has technical implications that needs to be factored into the equation. The factors that you need to consider are as follows:

a. A streaming service basically crams everything into a series of packages and sends it from their servers to your PC and will do it as quickly as both machines can cope with the data transfer with no checks for missing packages. Missing packages translates into skipped frames. So if you’re watching a video and sometimes it gets choppy, your connection is dropping frames.

A TCP/IP transfer like a file download is different, here if a package is missing the package is resent. So it may take a bit longer but you get the whole deal.

Don’t mix up the two protocols.

b. When you upload any video file to YouTube, their server will reprocess whatever you upload and make several copies of the video you uploaded. These different versions of your video gets sent out depending on the bandwidth available to the requesting PC.  In other words, if you have a high speed broadband connection, YouTube will send the best quality version of the video to your PC. On the other hand, if you have a dial-up connection, their server is going to send you the most low quality version.

Also their video compression service/servers even factors in what kind of device is requesting the video – so they can accommodate for PCs, HDTVs and SmartPhones, etc.

c. So what’s the difference? It’s compression ratios and this means lose of data which in visual terms means loss of definition.

d. So factor these into your equation before you upload to YouTube. How much more definition are you willing to lose after their server recompressed your hard work?

e. Therefore, if you want your viewers to see the best possible version of your video do the following:

Render your videos to at least the size of your monitor screen (ie. full screen).

If you want to go HD then see here for more details on HD video file sizes;

In a nutshell I use 1280×720 for my videos, but if you can go 1920×1080, use that for HD quality videos. If you use either of these sizes there will be a “HD” notation next to your video on your YouTube file management page and trust me when I tell you that it does make a difference to the quality of the video served if your video has this notation. YouTube want people to watch their videos full screen and on large monitors.
Use a “sensible” compression ratio.
Each compression codec has a recommended setting for “hi def” videos, find out what it is and use that.

I use the Xvid Codec to compress my videos. It is open sourced (free) and one of the best codecs out there. I only use one of two settings, both defaults.

A setting for “standard” videos which balances economy of file sizes versus quality of imagery – these still qualify for a HD rating on YouTube if I render to one of the HD standard sizes. Most of my videos are around the 80mb mark when rendered with these settings. These all display fine and at the quality I expected when hosted by YouTube. Nice and sharp with good strong color renditions.

Or for maximum image quality I use their standard HD output setting. The file sizes for these can weigh in at around 200mb so I rarely use this setting, plus I know roughly what YouTube’s server will probably do if they encounter one of these files – to be fair they’ve done a pretty good job compressing these buggers, too.

Upload videos to these types of specs to YouTube and generally you will get the best results.

YouTube are the experts at what they’re doing. Let them figure out what the best compression ratio is for your video and the available bandwidth plus intended viewing device: PC, smart phone, HD TV or whatever. Just give them a reasonably high quality video to work with and you’ll get the best out of their service if you follow this advice.

A footnote from LearnMMD’s Kazuki Matsuoka…

I strongly agree with him.

I never ever try to minimize the file size; I have too much of a long history of experience in videos that are poor in quality and they are crappy.
Lower the space, the lower the quality, it’s a fact. Doesn’t matter how much space I may have, I am much happier with my HD 500MB videos. If I don’t have enough space, I burn them onto a DVD disk. Done

– Kazuki M