Month: April 2009

My Quest For Good Quality YouTube Video Uploads

Posted by – April 3, 2009

The Internet's most popular video sharing site.

The Internet's most popular video sharing site.

Yesterday I spent a good chunk of my day trying to find the best settings, format and codec for the best quality Youtube videos.  The good news is I think I found the right recipe, the bad news is Youtube’s quality still sucks.

Over my experiment I probably uploaded the same video  twenty-five times or more, in a range of sizes, the largest being 400MB for a 13 second clip!  Just to see if there was a point of overkill.  So in order to let you know how the testing worked, let me explain the clip.

For testing I used a 13 second clip of my wife feeding a pigeon by hand.  I did this because it’s very small compared to the 10 minute limit set by YouTube so it should be easy to upload multiple times to test quality.  It also shows a range of motion from tilting to the flapping wings in decent outside lighting.  The original format was a DV AVI file for the most quality out of my Sony DCR-HC52.

The first thing I did was upload the clip in it’s original uncompressed format (DV AVI) with a total size of a little less than 400MB.  This being completely insane considering the max filesize for YouTube is 1GB and to upload at this size, the max length would be less than a minute.  Either way I tried it, and the quality wasn’t so great to be honest.  I think mostly because of the tools Google uses isn’t optimized to convert from DV to their MP4 and FLV.

I think did twenty or so conversions to FLV, Divx, Xvid, MPEG 2 & 4, WMV H.264 and many more on the advise of many forums and guides.  I don’t want to bore you all with the details (I’m sure I’ve lost some people already) but the important thing to note is that Google states H264, MPEG-2 and MPEG-4 are preferred.  Unfortunately they drop the ball by not giving the best settings (bitrate, resolution) to get the best quality videos.

So, what is the best way to encode your videos for youtube?

Use the H264 codec with a bitrate of 2000 (although you can play with this, but 2000 seems to be the sweet spot from what I can tell, more is better, but you probably wont notice).  You can probably get away with less bitrate too, but I want the best bang per MB.   Also set the resolution to the highest native resolution of the source.  For example DV from MiniDV tapes has a max Resolution of 720×480, so I use this.

This was a lot of work for such a simple idea.  The higher quality you give YouTube the better it’ll look.  However the goal I was looking for was where the diminishing returns sets in, and I feel I’ve have found it.  However I’m still unhappy with the quality of the video, and it seems comparing my videos with others that it’s now the fault of YouTube not the source video quality.  This is now setting me on another quest to find a better place to host my web videos.  Which of course is something I’ll touch on after I have an answer.

P.S.  I really wish I had more information to give you guys, especially considering how many hours I spent on this topic.  I hope it’s useful to someone, and it’s definitely a good reminder for me, so I don’t attempt such a thing again.

Odd Hobby: Fake Titles

Posted by – April 1, 2009

I’ve had this article bouncing around for awhile now and finally thought I should get around to posting it.  I was originally just lazy, and then it occurred to me that what I may be doing could be a form of fraud.  However since I’m not actually doing this for any actual gain and don’t do it for documents that actually MATTER for anything I shouldn’t worry about it.

Some time ago I had a discussion on the UplinkIRC Network with a good friend of mine (Darkk Rage), and I explained one of my very odd hobbies.  Everyone signs up for memberships for Movie rental places, grocery store club cards or even movie theaters for the additional discounts you can receive. When filling out the applications however I tend to add titles to my name that I don’t actually have.  Such as ‘Dr’ “Sir’ “Gen’ ‘Capt’ or a wide variety of all of them combined.

Not only does the card that I receive look cool to the point of being comical (Sir Dr Capt John Smith), but when I need to call in to these places or when I’m at the store and they call me “Mr” I tend to correct them.

“I didn’t go to school for so long to be a Mr” or “I didn’t kneel before the queen to be a Mr” etc.

I got the idea when I was working for a horrible American cellphone company where disgruntled employees would add titles to random caller’s phone oders for no reason but to get a laugh for the next representative and maybe a confused call from the customer.

I got the second part (correcting people) from the fact that if you happened to have a doctor on the line and called them ‘Mr’ they’d freak out and almost start screaming, (which may be a symptom of an inferiority complex), but there was no way for us to tell their titles or not as the applications used didn’t have such a field (probably due to they were coded before such a thing were invented, fuck they were old.).

The important thing to note for this however is to NEVER do this on a tax form, or resume, or anything that it may actually MATTER if you have a title.  Not only would it be unethical, but it’d probably be fraud.

Anyone else do anything similar?  I’d love to hear other things I can do too.