<?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>Schadenfreude &#187; youtube</title>
	<atom:link href="http://www.ralree.com/tag/youtube/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Sun, 28 Feb 2010 04:18:37 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Classical Rickrolling</title>
		<link>http://www.ralree.com/2008/09/09/classical-rickrolling/</link>
		<comments>http://www.ralree.com/2008/09/09/classical-rickrolling/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 03:06:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[classical]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[orchestra]]></category>
		<category><![CDATA[rickroll]]></category>
		<category><![CDATA[symphony]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/09/09/classical-rickrolling</guid>
		<description><![CDATA[Sometimes, I want to hear classical music, but it helps if I can relate to the music being played and really get into it (see: John Williams).  Walt Ribeiro recently has awoken me to some awesome arrangements like Pork and Beans and The RickRoll Song that he has produced.  You should buy them [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, I want to hear classical music, but it helps if I can relate to the music being played and really get into it (see: John Williams).  Walt Ribeiro recently has awoken me to some awesome arrangements like <i>Pork and Beans</i> and <i>The RickRoll Song</i> that he has produced.  You should buy them <a href="http://waltribeiro.net/music/">here</a> if you like them, as I did.  Here are some nice samples:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Z5CQ20Nx3MM&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Z5CQ20Nx3MM&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/qlSEy2Cn0yo&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/qlSEy2Cn0yo&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Actually, truth be told, I bought Pork and Beans, and Walt was cool enough to notice and send me <i>Never Gonna Give You Up</i> for free!  Please spend money on him!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/09/09/classical-rickrolling/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Putting Non-YouTube Videos in MxTube</title>
		<link>http://www.ralree.com/2008/08/07/putting-non-youtube-videos-in-mxtube/</link>
		<comments>http://www.ralree.com/2008/08/07/putting-non-youtube-videos-in-mxtube/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 06:49:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/08/07/putting-non-youtube-videos-in-mxtube</guid>
		<description><![CDATA[So, you have your Jailbroken iPod Touch or iPhone with 2.0 firmware running OpenSSH, and you have MxTube 1.5 or better, of course. What if you want one of those pesky videos that YouTube deletes all the time, like Paris Hilton For President? Or maybe you want a full movie on your iPod without having to sync to iTunes since you’re stuck in Linux Land. Well, here’s how.]]></description>
			<content:encoded><![CDATA[<p>So, you have your <strong>Jailbroken</strong> iPod Touch or iPhone with 2.0 firmware running OpenSSH, and you have <a href="http://www.appleiphoneapps.com/2008/08/update-mxtube-v15-with-walkthrough/">MxTube 1.5 or better</a>, of course.  What if you want one of those pesky videos that YouTube deletes all the time, like Paris Hilton For President?  Or maybe you want a full movie on your iPod without having to sync to iTunes since you’re stuck in Linux Land.  Well, here’s how:</p>
<h2>Download the video</h2>
<p>This can be done lots of ways, but somehow obtain a version of the video that ffmpeg can read.  It can be just about any format.  Let’s assume that we get a file called <strong>paris.flv</strong>.</p>
<h2>Convert the video</h2>
<pre><code>
ffmpeg -i paris.flv -b 500000 -s 176x144 -ac 1 -ab 64000 paris-high.mp4
</code></pre>
<p>This will make a nice movie for us to play.  Let’s put it on the iPod:</p>
<pre><code>
scp paris-high.mp4 root@ipod:/var/mobile/Media/MxTube/
</code></pre>
<h2>Make the Thumbnail</h2>
<p>We need to grab a frame from the middle of the movie.  Let’s use <code>mplayer</code> for that!</p>
<pre><code>
mplayer -vo jpeg -frames 1 -ss 30 paris.flv
</code></pre>
<p>This will make a file called <strong>00000001.jpg</strong>.  Let’s put that in the right spot:</p>
<pre><code>
scp 00000001.jpg root@ipod:/var/mobile/Media/MxTube/paris.thm
</code></pre>
<h2>Add the video to the Library</h2>
<p>Edit <strong>/var/mobile/Library/MxTube/VideoLibrary.plist</strong> <em>on the iPod</em>.  Make a new <strong>dict</strong> entry in the list like so:</p>
<pre><code>
        &lt;dict&gt;
                &lt;key&gt;author&lt;/key&gt;
                &lt;string&gt;hank&lt;/string&gt;
                &lt;key&gt;duration&lt;/key&gt;
                &lt;string&gt;01:50&lt;/string&gt;
                &lt;key&gt;high&lt;/key&gt;
                &lt;string&gt;/var/mobile/Media/MxTube/paris-high.mp4&lt;/string&gt;
                &lt;key&gt;id&lt;/key&gt;
                &lt;string&gt;64ad536a6dQ&lt;/string&gt;
                &lt;key&gt;thumbnail&lt;/key&gt;
                &lt;string&gt;/var/mobile/Media/MxTube/paris.thm&lt;/string&gt;
                &lt;key&gt;title&lt;/key&gt;
                &lt;string&gt;Paris for President&lt;/string&gt;
        &lt;/dict&gt;
</code></pre>
<p>Just fill in the right filenames for the thumbnail and movie like you used above.  Also, change the author to yourself or the original director, and the duration accordingly.  Keep the id something random.  Also, you can change the display title as the last option there.</p>
<h2>Other Pro Tips</h2>
<p>Keep in mind that if you want to be able to delete the movie from the interface, you need to change the ownership on all the files to <strong>mobile:mobile</strong> using <code>chown</code>.</p>
<h2>Results!</h2>
<p>Well, it totally works, with sound even.</p>
<p><img src="http://ralree.com/assets/2008/8/7/IMG_0001.PNG" alt="Paris is at the Bottom" /></p>
<p><img src="http://ralree.com/assets/2008/8/7/IMG_0006.PNG" alt="Here's Paris in Full Glory" /></p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/08/07/putting-non-youtube-videos-in-mxtube/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.305 seconds -->
