{"id":682,"date":"2006-08-20T18:13:54","date_gmt":"2006-08-21T02:13:54","guid":{"rendered":"http:\/\/www.krunk4ever.com\/blog\/?p=682"},"modified":"2006-08-20T18:13:54","modified_gmt":"2006-08-21T02:13:54","slug":"hosting-my-videos","status":"publish","type":"post","link":"https:\/\/www.krunk4ever.com\/blog\/2006\/08\/20\/hosting-my-videos\/","title":{"rendered":"Hosting My Videos"},"content":{"rendered":"<p>I&#8217;ve decided to host my own videos now in my Gallery: <a href=\"http:\/\/www.krunk4ever.com\/gallery\/v\/Videos\/\">Videos<\/a><\/p>\n<p>The reasoning for this&#8230; well, let me just show you my usage for last month:<\/p>\n<p><strong>Bandwidth Usage<\/strong>:<br \/>\nTotal Provided: 1314 GB ($1\/GB over)<br \/>\nTotal Used So Far: 5.432 GB<\/p>\n<p><strong>Disk Usage<\/strong>:<br \/>\nTotal Provided: 26640.000 MB ($0.10 \/ MB over)<br \/>\n3 Day Avg: 1851.572 MB<\/p>\n<p>So last month, I used less than 1% of the provided bandwidth and I&#8217;m currently using ~7% of my alloted disk space. So I thought, instead of getting my account locked on YouTube again or having videos on PutFile get deleted after 6 months of inactivity, I thought I&#8217;d just host my own videos given I have so much unused space and bandwidth.<\/p>\n<p>Gallery does support videos (movies) which is nice, so I began transferring my movies onto Gallery. However, I hit 2 problems:<\/p>\n<ol>\n<li>Thumbnails weren&#8217;t being created for my .wmv files<\/li>\n<li>Gallery wouldn&#8217;t recognize .mov as movie files (GalleryMovieItem)<\/li>\n<\/ol>\n<p>I was actually okay with the thumbnails not being generated as I know most of my videos were encoded with WMV9 and it is a &#8216;proprietary&#8217; codec, but what was funny was that .mov files were recognized as application\/quicktime and as a movie before I uploaded, but after I uploaded, it was placed into the GalleryUnknownItem category. This was really mind boggling as I started to trace through the Gallery code and went through my database trying to find the problem. The ability to downlaod the movie was still there (there was a &#8220;Download unknown&#8221; link), but I wanted the video to play on screen.<\/p>\n<p>I ended up giving up and posted on the Gallery forums asking for help, as it seems there&#8217;s also been other people that hit this same problem. So at this point, I started looking up info on FFMPEG as that&#8217;s what Gallery uses to generate thumbnails. Apparently there&#8217;s already support for WMV9, but required to get the latest nightly builds. What I found interesting about FFMPEG was there was no download for it. There download\/files page on SourceForge had 0 files. The only way to get it was to download the source code from MPlayer and compile it on my own, which I ended up doing.<\/p>\n<p>I replaced FFMPEG and regenerated all my thumbnails and my videos now have icons. Yay!<\/p>\n<p>Then I thought, maybe Gallery was marking .mov files as Unknown because it FFMPEG said it wasn&#8217;t a movie file. So I tried reuploading a .mov file and BAM, it worked! So both my problems were solved just by updating FFMPEG.<\/p>\n<hr \/>\n<p><strong>Random Crap<\/strong>:<\/p>\n<p><a href=\"http:\/\/youtube.com\/watch?v=FgMqhKTlRS0\">Darth Vader Phones Home<\/a> &#8211; I believe this a scene from Robot Chicken on Cartoon Networks&#8217; Adult Swim. The scene features what happened after they blew up the Death Star and Darth Vader phones the Chancellor. Really funny video.<\/p>\n<p><a href=\"http:\/\/news.yahoo.com\/s\/ap\/20060818\/ap_on_fe_st\/chocolate_virgin_mary\">Workers discover chocolate Virgin Mary<\/a> &#8211; <em>Workers at Angiano&#8217;s gourmet chocolate company, Bodega Chocolates, <strong>discovered under a vat a 2-inch-tall column of chocolate drippings that they believe bears a striking resemblance to the Virgin Mary<\/strong>.<\/em> Sigh&#8230; Another Virgin Mary resemblance&#8230;<\/p>\n<p><a href=\"http:\/\/backstage.ilounge.com\/index.php\/backstage\/comments\/zune-interface-features-detailed\/\">Zune interface, features detailed<\/a> (from \/.) &#8211; Here&#8217;s a prototype of Microsoft&#8217;s Zune player, that is going to compete against iPod.<\/p>\n<p><a href=\"http:\/\/news.yahoo.com\/s\/nm\/20060815\/od_nm\/germany_robbery_dc\">A truly bizarre crime&#8230;<\/a> &#8211; <em>Thieves in Germany <strong>stole 7,500 euros ($9,554) from a man by throwing feces at him<\/strong> from behind and then pick-pocketing him while they pretended to help clean up the mess, authorities said Monday.<\/em> Interesting way to pick pocket.<\/p>\n<p><a href=\"http:\/\/news.yahoo.com\/s\/nm\/20060815\/od_nm\/life_poll_dc\">Current events dwarfed by pop culture&#8230;<\/a> &#8211; here&#8217;s my score card:<\/p>\n<ul>\n<li># of dwarfs from Snow White you can name: 5<\/li>\n<li># of Supreme Court justices you can name: 0<\/li>\n<li>Who is J.K. Rowling&#8217;s fictional boy wizard: Harry Potter<\/li>\n<li>Who is British prime minister: Tony Blair<\/li>\n<li>Name of Homer&#8217;s son on the television show &#8220;The Simpsons&#8221;: Bart<\/li>\n<li>One of the ancient Greek poet Homer&#8217;s epic poems: The Odyssey<\/li>\n<li>What planet Superman was from: didn&#8217;t know<\/li>\n<li>Which planent is closest to the sun: Mercury<\/li>\n<li>Name the Three Stooges: didn&#8217;t know<\/li>\n<li>Name the three branches of the U.S. government: legislative, executive, judicial<\/li>\n<li>Name the most recent winner of the television talent show &#8220;American Idol&#8221;: didn&#8217;t know<\/li>\n<li>Name the Supreme Court Justice confirmed in January 2006: didn&#8217;t know<\/li>\n<\/ul>\n<p><a href=\"http:\/\/blogs.zdnet.com\/emergingtech\/?p=322\">A gallery of unusual Chinese robots<\/a> (from \/.) &#8211; <em>Chinese engineers have unveiled a series of robots these days \u2014 without releasing lots of technical details about them. In the past two months, I&#8217;ve gathered pictures of robots which can act as waiters in restaurants in Hong Kong or pull rickshaws near Beijing. I&#8217;ve also found a four-finger robotic hand able to play organ, a female robot greeting tourists visiting the Sichuan Science Museum with &#8216;ni hao&#8217; (&#8216;How are you?&#8217; in Mandarin \u2014 if my sources are correct), and even a robotic chimpanzee. Please visit my photo gallery\u2026<\/em><\/p>\n<p><a href=\"http:\/\/lug.oregonstate.edu\/index.php\/Projects\/Firefox\/Firefox_Circle\">Firefox Circle<\/a> &#8211; a group of friends found a field that hasn&#8217;t been harvested yet and made a crop circle resembling the Firefox logo. Pretty neat!<\/p>\n<p><a href=\"http:\/\/arstechnica.com\/news.ars\/post\/20060814-7491.html\">Dell users in China upset about processor mislabelling<\/a> &#8211; article&#8217;s not that interesting, but I found the cartoon funny:<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.krunk4ever.com\/gallery\/d\/10085-1\/dellchina.jpg\" alt=\"china vs dell\" \/><br \/>\n(Left: Chinese consumer) &#8211; You lied to me! That&#8217;s not right!<br \/>\n(Right: Dell) &#8211; It&#8217;s not affecting your usage, why be so concerned?<\/p>\n<p><a href=\"http:\/\/www.activevirusshield.com\/antivirus\/freeav\/index.adp\">Active Virus Shield<\/a> (from B$) &#8211; a new service provided free from AOL. Although I&#8217;m very anti-AOL, this is a move that I approve. They&#8217;ve rebranded <a href=\"http:\/\/www.kaspersky.com\/\">Kaspersky Lab&#8217;s<\/a> AV software and is giving it away for free. Kaspersky Lab is rated as one of the best AV software. If you think Norton or Symantec is good, you haven&#8217;t tried Kasperksy Lab or Computer Associates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve decided to host my own videos now in my Gallery: Videos The reasoning for this&#8230; well, let me just show you my usage for last month: Bandwidth Usage: Total Provided: 1314 GB ($1\/GB over) Total Used So Far: 5.432 GB Disk Usage: Total Provided: 26640.000 MB ($0.10 \/ MB over) 3 Day Avg: 1851.572 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.krunk4ever.com\/blog\/2006\/08\/20\/hosting-my-videos\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hosting My Videos&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/posts\/682"}],"collection":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/comments?post=682"}],"version-history":[{"count":0,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/posts\/682\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/media?parent=682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/categories?post=682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/tags?post=682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}