<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DarkkInferno's Blog &#187; compression</title>
	<atom:link href="http://inferno.freedom-uplink.net/blog/tag/compression/feed/" rel="self" type="application/rss+xml" />
	<link>http://inferno.freedom-uplink.net/blog</link>
	<description></description>
	<lastBuildDate>Fri, 28 May 2010 20:03:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>My Quest For Good Quality YouTube Video Uploads</title>
		<link>http://inferno.freedom-uplink.net/blog/2009/04/03/my-quest-for-good-quality-youtube-video-uploads/</link>
		<comments>http://inferno.freedom-uplink.net/blog/2009/04/03/my-quest-for-good-quality-youtube-video-uploads/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 00:37:04 +0000</pubDate>
		<dc:creator>Inferno</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://inferno.freedom-uplink.net/blog/?p=235</guid>
		<description><![CDATA[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&#8217;s quality still sucks. Over my experiment I probably uploaded the same video  twenty-five times or [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_237" class="wp-caption alignleft" style="width: 210px"><a href="http://www.youtube.com"><img class="size-full wp-image-237" title="YouTube Logo" src="http://inferno.freedom-uplink.net/blog/wp-content/uploads/2009/04/youtubelogo.jpg" alt="The Internet's most popular video sharing site." width="200" height="150" /></a><p class="wp-caption-text">The Internet&#39;s most popular video sharing site.</p></div>
<p>Yesterday I spent a good chunk of my day trying to find the best settings, format and codec for the best quality <a href="http://www.youtube.com">Youtube</a> videos.  The good news is I think I found the right recipe, the bad news is Youtube&#8217;s quality still sucks.</p>
<p>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.</p>
<p>For testing I used a 13 second clip of my wife feeding a pigeon by hand.  I did this because it&#8217;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.</p>
<p>The first thing I did was upload the clip in it&#8217;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&#8217;t so great to be honest.  I think mostly because of the tools Google uses isn&#8217;t optimized to convert from DV to their MP4 and FLV.</p>
<p>I think did twenty or so conversions to FLV, Divx, Xvid, MPEG 2 &amp; 4, WMV H.264 and many more on the advise of many forums and guides.  I don&#8217;t want to bore you all with the details (I&#8217;m sure I&#8217;ve lost some people already) but the important thing to note is that <a href="http://help.youtube.com/support/youtube/bin/answer.py?answer=132460&amp;topic=16612&amp;hl=en-US">Google states H264, MPEG-2 and MPEG-4 are preferred</a>.  Unfortunately they drop the ball by not giving the best settings (bitrate, resolution) to get the best quality videos.</p>
<p><strong>So, what is the best way to encode your videos for youtube?</strong></p>
<p>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&#215;480, so I use this.</p>
<p>This was a lot of work for such a simple idea.  The higher quality you give YouTube the better it&#8217;ll look.  However the goal I was looking for was where the diminishing returns sets in, and I feel I&#8217;ve have found it.  However I&#8217;m still unhappy with the quality of the video, and it seems comparing my videos with others that it&#8217;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&#8217;ll touch on after I have an answer.</p>
<p>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&#8217;s useful to someone, and it&#8217;s definitely a good reminder for me, so I don&#8217;t attempt such a thing again.</p>
]]></content:encoded>
			<wfw:commentRss>http://inferno.freedom-uplink.net/blog/2009/04/03/my-quest-for-good-quality-youtube-video-uploads/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->