<?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>Confessions of a Guru &#187; ffmpeg</title>
	<atom:link href="http://www.guru.net.nz/blog/category/ffmpeg/feed" rel="self" type="application/rss+xml" />
	<link>http://www.guru.net.nz/blog</link>
	<description>Random stuff from a Dunedin (NZ) based web developer, beer drinker and dad</description>
	<lastBuildDate>Wed, 14 Dec 2011 09:18:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Convert ASX to MP3 (or WAV)</title>
		<link>http://www.guru.net.nz/blog/2007/08/convert-asx-to-mp3-or-wav.html</link>
		<comments>http://www.guru.net.nz/blog/2007/08/convert-asx-to-mp3-or-wav.html#comments</comments>
		<pubDate>Tue, 14 Aug 2007 11:51:00 +0000</pubDate>
		<dc:creator>GuruBob</dc:creator>
				<category><![CDATA[asx]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.guru.net.nz/newblog/?p=156</guid>
		<description><![CDATA[From an email tonight &#8230; Hey Geoff, Great success! I managed to easily convert your news.asx file to a MP3 (and a PCM file in between if that&#8217;s useful to you). First of all, I installed mplayer and ffmpeg (I didn&#8217;t have either):bob@stella:~$ sudo apt-get install ffmpeg mplayer Then, I converted the news.asx file to [...]]]></description>
			<content:encoded><![CDATA[<p>From an email tonight &#8230;</p>
<blockquote><p>Hey Geoff,</p>
<p>Great success!  I managed to easily convert your news.asx file to a MP3 (and a PCM file in between if that&#8217;s useful to you).</p>
<p>First of all, I installed mplayer and ffmpeg (I didn&#8217;t have either):<br />bob@stella:~$ sudo apt-get install ffmpeg mplayer</p>
<p>Then, I converted the news.asx file to a PCM file:<br />bob@stella:~$ mplayer -ao pcm news.asx</p>
<p>This created a file called audiodump.wav.  I then converted that to a MP3 using ffmpeg.<br />bob@stella:~$ ffmpeg -i audiodump.wav news.mp3</p>
<p>I was then left with a mp3 file which I could do what I pleased with.  Ironically I used mplayer to confirm that it&#8217;s content was playable &#8211; we&#8217;ve come full circle:<br />bob@stella:~$ mplayer news.mp3</p>
<p>Then, because I&#8217;m a tidy kiwi I cleaned up behind myself:<br />bob@stella:~$ rm audiodump.pcm</p>
<p>Let me know how you get on.</p>
<p>Cheers,</p>
<p>- Bob -</p>
<p>Geoff Barkman wrote:<br />> Hi Bob<br />> This is the asx file that I was talking to you about tonight at the dunlug meeting.<br />> I record using mimms, which is a media file grabber. It plays using mplayer if needed&#8230; but I haven&#8217;t found a way to convert it to an editable file that I can just grab a 5 minute clip out of the audio&#8230; I have to play it in real time and hit record when the news starts.<br />> I looked at recording less than a 11 minute clip&#8230; but the time seems to vary at the radio station and I end up loosing the start or finish of the news.<br />><br />> My shell script that I run using a crontab has this code in it.<br />><br />> #!/bin/bash<br />><br />> mimms -t 11 -c http://www.thesomethingorother.com/listenlive/news.asx /home/geoff/NEWS/news.asx &#038;<br />><br />> It gets saved as a file called news.asx.<br />> I looked at recording it using just an ordinairy old radio tuner&#8230; but it is only broadcast on AM radio in dunedin&#8230; the web stream option has higher quality audio on it.<br />><br />> Cheers<br />> Geoff Barkman</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.guru.net.nz/blog/2007/08/convert-asx-to-mp3-or-wav.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

