<?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>beer planet &#187; videos</title> <atom:link href="http://beerpla.net/tag/videos/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Thu, 17 May 2012 22:50:53 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/> <item><title>How To Find Out The Number Of Videos On Youtube</title><link>http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/</link> <comments>http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/#comments</comments> <pubDate>Thu, 14 Aug 2008 16:01:31 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Technology]]></category> <category><![CDATA[gigabyte]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[petabyte]]></category> <category><![CDATA[quantity]]></category> <category><![CDATA[size]]></category> <category><![CDATA[videos]]></category> <category><![CDATA[youtube]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/</guid> <description><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/HowToFindOutTheNumberOfVideosOnYoutube_7F62/image.png" class="lightview" rel="gallery['395']" title="http://en.wikipedia.org/wiki/YouTube#cite_note-5"><img
style="border-right: 0px; border-top: 0px; margin: 0px 10px 10px 0px; border-left: 0px; border-bottom: 0px" height="169" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFindOutTheNumberOfVideosOnYoutube_7F62/image_thumb.png" width="244" align="left" border="0"/></a> According to Wikipedia, in April 2008, the number of videos on Youtube was 83.4 million (ref: <a
title="http://en.wikipedia.org/wiki/YouTube#cite_note-5" href="http://en.wikipedia.org/wiki/YouTube#cite_note-5">http://en.wikipedia.org/wiki/YouTube#cite_note-5</a>). However, the link in the cite note now displays <em>“*” video results <strong>1 &#8211; 20</strong> of <strong>millions</strong></em>, without showing the real count.</p><p>Here&#039;s one way I found to get an estimated, but relatively accurate, number of videos on the popular video sharing site <a
href="http://www.youtube.com">Youtube</a>. The idea is simple. Get this feed: <a
href="http://gdata.youtube.com/feeds/api/videos/-/*">http://gdata.youtube.com/feeds/api/videos/-/*</a> and parse out the number inside the &#60;opensearch:totalresults&#62; tag.</p><p>So here it is: the number of videos on Youtube is currently fluctuating between about 141 million and 144 million. The number goes up and down, which points to the fact that these are estimates.</p><p>That&#039;s a whole boatload ...<div
class=clear></div> <a
href="http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/HowToFindOutTheNumberOfVideosOnYoutube_7F62/image.png" class="lightview" rel="gallery['395']" title="http://en.wikipedia.org/wiki/YouTube#cite_note-5"><img
style="border-right: 0px; border-top: 0px; margin: 0px 10px 10px 0px; border-left: 0px; border-bottom: 0px" height="169" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFindOutTheNumberOfVideosOnYoutube_7F62/image_thumb.png" width="244" align="left" border="0"></a> According to Wikipedia, in April 2008, the number of videos on Youtube was 83.4 million (ref: <a
title="http://en.wikipedia.org/wiki/YouTube#cite_note-5" href="http://en.wikipedia.org/wiki/YouTube#cite_note-5">http://en.wikipedia.org/wiki/YouTube#cite_note-5</a>). However, the link in the cite note now displays <em>“*” video results <strong>1 &#8211; 20</strong> of <strong>millions</strong></em>, without showing the real count.</p><p>Here&#039;s one way I found to get an estimated, but relatively accurate, number of videos on the popular video sharing site <a
href="http://www.youtube.com">Youtube</a>. The idea is simple. Get this feed: <a
href="http://gdata.youtube.com/feeds/api/videos/-/*">http://gdata.youtube.com/feeds/api/videos/-/*</a> and parse out the number inside the &lt;opensearch:totalresults&gt; tag.</p><p>So here it is: the number of videos on Youtube is currently fluctuating between about 141 million and 144 million. The number goes up and down, which points to the fact that these are estimates.</p><p>That&#039;s a whole boatload of video if you ask me. To put it into perspective, a modest and completely inaccurate estimate of the amount of space all these videos occupy would be something like</p><p>142,500,000 * (a + b + c + d), where</p><ul><li>a = average size of an FLV, let&#039;s say 4MB, though I&#039;m probably way off. There are lots of really short videos out there and Youtube has a 10 minute cap. It&#039;s just an estimate, anyway.<li>b = average size of an MP4, let&#039;s say the same 4MB. There are lots of factors that would make this number completely inaccurate, the biggest one being I don&#039;t know at which point Youtube started generating MP4s and if they generated them for all videos or just the ones going forward). It also depends on whether they managed to save all originals that people uploaded.<li>c = average size of all images associated with the video, let&#039;s say 50KB. Small thumbnails and a larger first frame don&#039;t take that much space.<li>d = average size of an original uploaded to Youtube. These could be immediately discarded after the encoding is complete, or perhaps Youtube saves the past few months worth, or if they&#039;re completely insane, they&#039;re saving ALL originals ever. I&#039;m going to throw a semi-random number in &#8211; 50MB per file.</li></ul><p>So, just the FLVs, MP4s, and images would equal <strong>((4 MB) + (4 MB) + (50 KB)) * 142 500 000 = </strong><a
href="http://www.google.com/search?num=30&amp;hl=en&amp;safe=off&amp;rlz=1B3GGGL_en___US269&amp;q=(4MB%2B4MB%2B50KB)*142%2C500%2C000&amp;btnG=Search&amp;aq=f"><strong>1.06818788 petabytes</strong></a><strong>.</strong></p><p>If Youtube has been saving all originals since the beginning, this number goes up to <strong>((4 MB) + (4 MB) + (50 MB) + (50 KB)) * 142 500 000 = </strong><a
href="http://www.google.com/search?num=30&amp;hl=en&amp;safe=off&amp;rlz=1B3GGGL_en___US269&amp;q=(4MB%2B4MB%2B50MB%2B50KB)*142%2C500%2C000&amp;btnG=Search&amp;aq=f"><strong>7.70386123 petabytes</strong></a>.</p><p>In addition to the video files, I wonder how big Youtube&#039;s databases are. Depending on how the data is compacted over time (i.e. daily views folded into monthly after a month, monthly into yearly, etc), I would estimate something along the lines of 1.5-2TB, which is negligible compared to the space needed for videos. I&#039;m quite sure the databases are <a
href="http://www.mysql.com">mysql</a>, split into many shards for better performance, perhaps tweaked with <a
href="http://code.google.com/p/google-mysql-tools/">Google patches</a>. Watch <a
href="http://beerpla.net/2007/08/27/youtubes-presentation-about-scalability-at-googles-seattle-conference-on-scalability/">Youtube&#039;s Scalability Presentation</a> and have a peak at <a
href="http://highscalability.com/youtube-architecture">this article</a> for more info.</p><p>So there you have it, folks. Am I far off in my calculations? If so, don&#039;t hesitate to correct me.</p><p><strong>Edit: </strong>It seems that I forgot that Youtube also generates 3gp, so add some space needed for that.</p><div
class='post_blob_1'>Our certified <a
href="http://www.test-king.com/exams/642-873.htm">642-873</a> questions and <a
href="http://www.test-king.com/exams/646-363.htm">646-363</a> mock test will help you pass <a
href="http://www.test-king.com/exams/83-640.htm">83-640</a> exam and master the latest technology.</div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Find+Out+The+Number+Of+Videos+On+Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Find+Out+The+Number+Of+Videos+On+Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Find+Out+The+Number+Of+Videos+On+Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Find+Out+The+Number+Of+Videos+On+Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Find+Out+The+Number+Of+Videos+On+Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Find+Out+The+Number+Of+Videos+On+Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Find+Out+The+Number+Of+Videos+On+Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Find%20Out%20The%20Number%20Of%20Videos%20On%20Youtube&amp;link=http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/&amp;notes=%20According%20to%20Wikipedia%2C%20in%20April%202008%2C%20the%20number%20of%20videos%20on%20Youtube%20was%2083.4%20million%20%28ref%3A%20http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FYouTube%23cite_note-5%29.%20However%2C%20the%20link%20in%20the%20cite%20note%20now%20displays%20%E2%80%9C%2A%E2%80%9D%20video%20results%201%20-%2020%20of%20millions%2C%20without%20showing%20the%20real%20count.%0D%0AHere%27s%20one%20way%20I%20found%20to%20get%20a&amp;short_link=http://bit.ly/cvq2BU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2006/10/03/youtube-custom-rss-search-results/" rel="bookmark" title="October 3, 2006">Youtube Custom RSS Search Results</a></li><li><a
href="http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/" rel="bookmark" title="January 11, 2010">[Web Dev] Browser Breakdown Stats+Charts From Plaxo.com For December 2009 And Thoughts</a></li><li><a
href="http://beerpla.net/2010/01/12/are-your-youtube-video-embeds-missing-the-full-screen-button-here-is-how-to-fix-it/" rel="bookmark" title="January 12, 2010">Are Your Youtube Video Embeds Missing The Full Screen Button? Here Is How To Fix It</a></li><li><a
href="http://beerpla.net/2009/01/10/artems-top-10-tech-predictions-and-ideas-for-2009-and-beyond/" rel="bookmark" title="January 10, 2009">Artem&rsquo;s Top 10 Tech Predictions And Ideas For 2009 And Beyond</a></li><li><a
href="http://beerpla.net/2008/05/12/a-better-diff-or-what-to-do-when-gnu-diff-runs-out-of-memory-diff-memory-exhausted/" rel="bookmark" title="May 12, 2008">A Better diff Or What To Do When GNU diff Runs Out Of Memory (&quot;diff: memory exhausted&quot;)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F08%2F14%2Fhow-to-find-out-the-number-of-videos-on-youtube%2F&amp;title=How%20To%20Find%20Out%20The%20Number%20Of%20Videos%20On%20Youtube" id="wpa2a_2"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/08/14/how-to-find-out-the-number-of-videos-on-youtube/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> </channel> </rss>
