<?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>Deaconsworld &#187; mplayer</title>
	<atom:link href="http://www.deaconsworld.org.uk/category/mplyer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deaconsworld.org.uk</link>
	<description>Welcome to my world</description>
	<lastBuildDate>Thu, 05 Feb 2009 09:41:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>More mplayer fun!</title>
		<link>http://www.deaconsworld.org.uk/2008/08/06/more-mplayer-fun/</link>
		<comments>http://www.deaconsworld.org.uk/2008/08/06/more-mplayer-fun/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 11:55:53 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/?p=100</guid>
		<description><![CDATA[This week I have been playing with youtube videos to either extract the sound from the video and converting to MP3 or converting the whole video to mpeg.
I&#8217;ve used the same kind of process to convert RealAudio streams to MP3. Firstly download the youtube video. I use the DownloadHelper addon for firefox. It&#8217;s really easy ]]></description>
			<content:encoded><![CDATA[<p>This week I have been playing with youtube videos to either extract the sound from the video and converting to MP3 or converting the whole video to mpeg.</p>
<p>I&#8217;ve used the same kind of process to convert <a href="http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/">RealAudio streams to MP3</a>. Firstly download the youtube video. I use the <a href="http://www.downloadhelper.net/" target="_blank">DownloadHelper</a> addon for firefox. It&#8217;s really easy to use, you just search for your favourite video then click the button in the toolbar.</p>
<p>Once you&#8217;ve got your flv, you should be able to play that through totem/mplayer. If not, you&#8217;ll need install the correct gstreamer plugins. If you&#8217;re using Fedora, I&#8217;d suggest taking a look at <a href="http://www.my-guides.net/en/content/view/103/26/#video_video_play">MyGuide</a></p>
<p>OK, let&#8217;s say we want to rip the sound out of the file.. Really useful if you want a obsecure song that you can only find on youtube. It&#8217;s a two stage process, rip it as a wav then encode it to mp3.</p>
<p><code>mplayer Pork_and_Beans.flv -ao pcm:file=file.wav -vc dummy -vo null<br />
lame -V Pork_and_Beans.mp3 file.wav --tt "Pork and Beans --ta "Weezer"<br />
rm file.wav</code></p>
<p>That&#8217;s all there is to it!</p>
<p>OK next trick is to convert the flv to a Mpeg. This is slightly tricker and I haven&#8217;t had great results playing these on Windows (timing are all screwy)</p>
<p><code>mencoder Pork_and_Beans.flv -oac lavc -ovc lavc -lavcopts vcodec=msmpeg4v2:acodec=libmp3lame:abitrate=64 -o Pork_and_Beans.avi 2&gt;/dev/null</code></p>
<p>The /dev/null is to drop the millions of warning messages you get about clipping.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2008/08/06/more-mplayer-fun/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Extreme ASCII Art</title>
		<link>http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/</link>
		<comments>http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 19:32:14 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/</guid>
		<description><![CDATA[Whilst procrastinating over yet another dead line, I thought I&#8217;d have a play with libcaca, the completely useless yet completely brilliant Colour AsCii Art library. libcaca is a graphics library that output text rather than images. The genius part of it is that you can use it as a video output in mplayer and display ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.deaconsworld.org.uk/wp-content/uploads/2007/04/libcaca.png" title="Libcaca"><img src="http://www.deaconsworld.org.uk/wp-content/uploads/2007/04/libcaca.thumbnail.png" title="Libcaca" alt="Libcaca" align="right" /></a>Whilst procrastinating over yet another dead line, I thought I&#8217;d have a play with <a href="http://libcaca.zoy.org/" target="_blank">libcaca</a>, the completely useless yet completely brilliant Colour AsCii Art library. libcaca is a graphics library that output text rather than images. The genius part of it is that you can use it as a video output in mplayer and display all your wonderful HD videos as text!</p>
<p>I always love stuff like this. You can see how much work as gone even though it&#8217;s a complete waste of time. It&#8217;s a similar idea to <a href="http://www.netqos.com/network%2Dmonitoring/network-monitoring-labs.html">NetQoS</a>&#8216; Network management display which again is great but completely useless. Check that out here <a href="http://www.techcrunch.com/2007/04/10/watch-your-network-play-space-invaders/" target="_blank">http://www.techcrunch.com/2007/04/10/watch-your-network-play-space-invaders/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recording RealAudio streams and converting them to MP3</title>
		<link>http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/</link>
		<comments>http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 14:09:21 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/</guid>
		<description><![CDATA[A friend of mine recently had his 5 minutes of fame of Five Live and asked me to if I could covert the &#8220;Listen again&#8221; to an mp3 so it could be saved for the good of Humanity. Here how I did it:

Finding the name of the stream can sometime be a bit tricky. If ]]></description>
			<content:encoded><![CDATA[<p>A friend of mine recently had his 5 minutes of fame of <a target="_blank" href="http://www.bbc.co.uk/fivelive">Five Live</a> and asked me to if I could covert the &#8220;Listen again&#8221; to an mp3 so it could be saved for the good of Humanity. Here how I did it:</p>
<ol>
<li>Finding the name of the stream can sometime be a bit tricky. If you can get it to play in the stand alone RealPlayer then you can just click on File->Clip properties->Clip source. This will then bizzarely open a webpage. You looking for an address like <a href="http://www.deaconsworld.org.uk/#">rtsp://rmv8.bbc.net.uk/radio5/anita_mon.ra</a>. If you can&#8217;t open it then it&#8217;s a case of looking though the source of the page.</li>
<li>Now you&#8217;ve got the address, run the following command:<code>mplayer -noframedrop -dumpfile file.rm -dumpstream rtsp://rmv8.bbc.net.uk/radio5/anita_mon.ra</code><br />
This will save the clip as file.rm. Watch out though, this is recorded in real time. So a 3 hour radio show will take&#8230; 3 Hours!</li>
<li>Next you need to covert the realmedia file to wav, again mplayer is your friend <code>mplayer file.rm -ao pcm:file=file.wav -vc dummy -vo null</code></li>
<li>Last stage is to convert from wav to mp3 using lame. I like to hedge my bets and encode it as VBR<code>lame -V file.mp3 file.wav --tt "Title" --ta "author"</code></li>
</ol>
<p>You should have have a shiny MP3 file for your troubles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

