<?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>stealthcopter.com &#187; browser</title>
	<atom:link href="http://www.stealthcopter.com/blog/tag/browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stealthcopter.com/blog</link>
	<description>Android, Linux, Python and stealthcopters</description>
	<lastBuildDate>Sat, 24 Jul 2010 00:01:55 +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>Bash: Script to convert .flv to mp3</title>
		<link>http://www.stealthcopter.com/blog/2010/01/bash-script-to-convert-flv-to-mp3/</link>
		<comments>http://www.stealthcopter.com/blog/2010/01/bash-script-to-convert-flv-to-mp3/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 21:04:50 +0000</pubDate>
		<dc:creator>mat</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=484</guid>
		<description><![CDATA[Flash Video (.FLV) is currently a very popular format of online videos, inparticular youtube. This post explains how to use a simple script to extract the sound from a flash video file and turn it into an mp3. In order for the script to work you will need to download ffmpeg (to decode the video) [...]]]></description>
			<content:encoded><![CDATA[<p>Flash Video (.FLV) is currently a very popular format of online videos, inparticular youtube. This post explains how to use a simple script to extract the sound from a flash video file and turn it into an mp3.</p>
<p>In order for the script to work you will need to download ffmpeg (to decode the video) and lame (to encode the mp3). This can be achieve in ubuntu by opening a terminal and running the following or alternatively you can use your package manager GUI to search and download the packages for you.</p>
<blockquote><p>
sudo apt-get install ffmpeg lame
</p></blockquote>
<p>You then need to create a new file named &#8220;flv2mp3.sh&#8221; and paste the following into it using your preferred text editor (which hopefully isn&#8217;t VI). Save the file and then change the file permissions so that it is executable (by running:`chmod a+x flv2mp3.sh` in the terminal or via the gui in you file browser)</p>
<pre name="code" class="bash">
#!/bin/sh
# this script should convert files from FLV to WAV and then to MP3
echo " "
echo "  Welcome to FLV to MP3 converter!  version 0.1"
echo " "
infile_name="$@"
# exit if the user did not enter anything:
if [ -z "$infile_name" ]; then
    echo " "
    echo "You did not tell me the file name, so I will exit now."
    echo " "
    exit
fi
echo " "
ffmpeg -i "$infile_name" -acodec pcm_s16le -ac 2 -ab 128k -vn -y "${infile_name%.flv}.wav"
lame --preset cd "${infile_name%.flv}.wav" "${infile_name%.flv}.mp3"
rm "${infile_name%.flv}.wav"
echo " "
echo "OK. I'm done! Have fun!"
echo " "
exit
</pre>
<p>You should now be able to convert a flashvideo into an mp3 by running the following command (changing the filenames to fit your purpose):<br />
<code>sh flv2mp3.sh videofilename.flv mp3audiofilename.mp3</code></p>
<p><strong>Extra: Youtube</strong><br />
In linux it might be worth noting that youtube downloads the flv&#8217;s to your /tmp folder and you can easily copy them or convert to mp3&#8242;s (Ensure video is completly finished loading).</p>
<p>Also there is an application called &#8216;youtube-dl&#8217; which can be installed from the repositories</p>
<blockquote><p>sudo apt-get install youtube-dl</p></blockquote>
<p>and then run using</p>
<blockquote><p>youtube-dl http://www.youtube.com/video_to_borrow</p></blockquote>
<p>Of course it&#8217;s up to your moral guidance to decide what you can and can&#8217;t download.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stealthcopter.com/blog/2010/01/bash-script-to-convert-flv-to-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>acid3 tests firefox chrome konqueror arora on ubuntu x64 karmic</title>
		<link>http://www.stealthcopter.com/blog/2009/09/acid3-tests-firefox-chrome-konqueror-arora-on-ubuntu-x64-karmic/</link>
		<comments>http://www.stealthcopter.com/blog/2009/09/acid3-tests-firefox-chrome-konqueror-arora-on-ubuntu-x64-karmic/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 14:35:18 +0000</pubDate>
		<dc:creator>mat</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[acid3]]></category>
		<category><![CDATA[browser]]></category>

		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=92</guid>
		<description><![CDATA[I preformed some acid3 tests on the browsers I currently had installed. Chrome: It is sexy (only thing holding it back in Linux is the lack of flash support) Score: 100/100 Version: 4.0.203.2 Opera: I used to use opera however not really any more, just installed it for this test. Score: 100/100 Version: 10.00 (build [...]]]></description>
			<content:encoded><![CDATA[<p>I preformed some <a href="http://acid3.acidtests.org/">acid3</a> tests on the browsers I currently had installed.</p>
<p><strong>Chrome</strong>: It is sexy (only thing holding it back in Linux is the lack of flash support)<br />
<strong>Score: 100/100</strong><br />
<strong>Version: 4.0.203.2</strong><br />
<a href="http://www.stealthcopter.com/blog/wp-content/uploads/2009/09/acid3-chrome.png"><br />
<img src="/blog/wp-content/uploads/2009/09/acid3-chrome-thumbnail.png" alt="acid3-test-chrome" /><br />
</a></p>
<p><strong>Opera</strong>: I used to use opera however not really any more, just installed it for this test.<br />
<strong>Score: 100/100</strong><br />
<strong>Version: 10.00 (build 4585)</strong><br />
<a href="http://www.stealthcopter.com/blog/wp-content/uploads/2009/09/acid3-opera.png"><br />
<img src="/blog/wp-content/uploads/2009/09/acid3-opera-thumbnail.png" alt="acid3-test-opera" /><br />
</a></p>
<p><strong>Arora</strong>: I don&#8217;t tend to use Arora, however I&#8217;ve heard alot of good things about it. It is a light-weight browser based on web-kit (as are chrome, safari and konqueror) and excels at its speed, highly recommended for notebooks which don&#8217;t need the bloat of firefox.<br />
<strong>Score: 100/100 Linktest failed.</strong><br />
<strong>Version:0.8.0</strong><br />
<a href="http://www.stealthcopter.com/blog/wp-content/uploads/2009/09/acid3-arora.png"><br />
<img src="/blog/wp-content/uploads/2009/09/acid3-arora-thumbnail.png" alt="acid3-test-arora" /><br />
</a></p>
<p><strong>Firefox</strong>: It seems to handle flash better (without crashing) and has lots of useful plugins.<br />
<strong>Score: 93/100</strong><br />
<strong>Version: 3.5.2</strong><br />
<a title="acid3-ff" href="#" onclick="window.open('/blog/wp-content/plugins/simple-popup-images/popup.php?z=http://www.stealthcopter.com/blog/wp-content/uploads/2009/09/acid3-ff.png&#038;width=1169&#038;height=852&#038;title=acid3-ff','imagepopup','width=1169,height=852,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,screenx=150,screeny=150');return false" onmouseover="window.status='image popup: acid3-ff';return true" onmouseout="window.status='';return true"><img src="http://www.stealthcopter.com/blog/wp-content/uploads/2009/09/acid3-ff-thumbnail.png" width="550" height="401" alt="acid3-ff" title="acid3-ff" /></a></p>
<p><strong>Konqueror</strong>:<br />
<strong>Score: 89/100 Linktest failed.</strong><br />
<strong>Version: 4.3.1</strong><br />
<a title="acid3-konq" href="#" onclick="window.open('/blog/wp-content/plugins/simple-popup-images/popup.php?z=http://www.stealthcopter.com/blog/wp-content/uploads/2009/09/acid3-konq.png&#038;width=1168&#038;height=869&#038;title=acid3-konq','imagepopup','width=1168,height=869,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,screenx=150,screeny=150');return false" onmouseover="window.status='image popup: acid3-konq';return true" onmouseout="window.status='';return true"><img src="http://www.stealthcopter.com/blog/wp-content/uploads/2009/09/acid3-konq-thumbnail.png" width="550" height="409" alt="acid3-konq" title="acid3-konq" /></a></p>
<p>Google&#8217;s chrome comes first (with chrome having smoother and faster animation) followed by Opera and closely followed by Arora only failing on the link test, then firefox and trailing is konqueror. But I still love konqueror as its so convenient have filemanager and web-browser in one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stealthcopter.com/blog/2009/09/acid3-tests-firefox-chrome-konqueror-arora-on-ubuntu-x64-karmic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
