<?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>Some Brisbane Guy &#187; Mac OSX</title>
	<atom:link href="http://kentwell.net/glenn/category/mac-osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://kentwell.net/glenn</link>
	<description>Or, 101 Ways to Improve Your Life. And that's ironclad!</description>
	<lastBuildDate>Thu, 15 Oct 2009 13:08:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Play MP3s from the command line on Mac OS X</title>
		<link>http://kentwell.net/glenn/2009/04/play-mp3s-from-the-command-line-on-mac-os-x/</link>
		<comments>http://kentwell.net/glenn/2009/04/play-mp3s-from-the-command-line-on-mac-os-x/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 13:11:48 +0000</pubDate>
		<dc:creator>the same clown</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://kentwell.net/glenn/?p=325</guid>
		<description><![CDATA[For maybe a year on and off I&#8217;ve been using a command-line music player from Hieper software called Play. 

It&#8217;s not always what you want, like if you want to browse your music and pick one song at a time to play, or if you want to build a custom playlist. But if you want [...]]]></description>
			<content:encoded><![CDATA[<p>For maybe a year on and off I&#8217;ve been using a command-line music player from Hieper software called <a href="http://www.hieper.nl/html/play.html">Play</a>. </p>
<p><img src="http://www.hieper.nl/images/play-icon.png" alt="play icon" /></p>
<p>It&#8217;s not always what you want, like if you want to browse your music and pick one song at a time to play, or if you want to build a custom playlist. But if you want to play all songs in a directory, or a bunch of songs with some word (e.g. band or album name) in the file name, it&#8217;s great because you can be playing the song in about 5 seconds, without starting up iTunes and doing a search within the GUI.</p>
<p>Here&#8217;s how I&#8217;m using it at the moment, to play all the songs I have by <a href="http://www.myspace.com/foals">Foals</a>:<br />
<code><br />
cd ~/Music<br />
find . -type f |grep -i foals|play -vr<br />
</code></p>
<p>First I change directory to my music directory, then use <code>find</code> with <code>grep</code> to find all files that have the word &#8216;foals&#8217; in their filename; and then just pipe that list to <code>play -vr</code>.  Pretty quick, pretty simple. </p>
<p>The command line options <code>-vr</code> are &#8220;v&#8221; to display the name of the song currently playing, and &#8220;r&#8221; to play the list in a random order.</p>
<p><strong>Update!</strong></p>
<p>I became bored with typing all that <code>find</code> and <code>grep</code> guff, so I thought I would take a few minutes and <strong>quickly</strong> write a shell script that does it for me, all I wanted to have to do is type <code>play search1 search2</code> and it would go. </p>
<p>A couple of <strong>hours</strong> of feature creep later, it now lists and counts the songs before playing them, and you can put an <code>-r</code> argument before or after the search keywords for a randomly ordered playlist.  Here&#8217;s the script source:</p>
<p><script src='http://pastie.org/465700.js'></script></p>
<p>So now, with the script in my path and a symlink named <code>path</code>, if I want to hear, say, <a href="http://www.youtube.com/watch?v=VkSq2Zn2XoY">Day &#8216;N&#8217; Nite by Kid Cudi</a>, I can just type:<br />
<code>play cudi.*nite</code><br />
It&#8217;s still pretty nerdy cause you have to do regex-style search expressions.  If I want to hear every song with &#8220;bass&#8221; in the title in random order, I do:<br />
<code>play bass -r</code></p>
<p>Here&#8217;s an example of it in use playing some <a href="http://myspace.com/britishindia">British India</a>:<br />
<img src="http://kentwell.net/picsimgs/misc/play.png" alt="playing MP3s" /></p>
]]></content:encoded>
			<wfw:commentRss>http://kentwell.net/glenn/2009/04/play-mp3s-from-the-command-line-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anna Weatherup Sunday Sesh, or, How to Rotate a Video Clip Using Mac OSX (plus waterskiing)</title>
		<link>http://kentwell.net/glenn/2007/10/anna-weatherup-sunday-sesh-or-how-to-rotate-a-video-clip-using-mac-osx-plus-waterskiing/</link>
		<comments>http://kentwell.net/glenn/2007/10/anna-weatherup-sunday-sesh-or-how-to-rotate-a-video-clip-using-mac-osx-plus-waterskiing/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 13:19:02 +0000</pubDate>
		<dc:creator>the same clown</dc:creator>
				<category><![CDATA[Hardcore Extreme Sports]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Video Editing]]></category>

		<guid isPermaLink="false">http://kentwell.net/glenn/284</guid>
		<description><![CDATA[Today Christian, Groovy (a Holden fan), Milli, scruffy little fella Matt, Patsy and Shannon came to see Anna Weatherup&#8217;s Sunday Sesh at The Beach House in Brisbane (cnr Albert and Elizabeth St, above Starbucks and McDonalds) &#8212; every week at 4pm btw!
 
Was a great way to spend a Sunday arvo with a few drinks [...]]]></description>
			<content:encoded><![CDATA[<p>Today <a href="http://christianbowman.com/">Christian</a>, Groovy (a <a href="http://">Holden</a> fan), Milli, <a href="http://www.mattvarley.com/">scruffy little fella</a> Matt, Patsy and Shannon came to see <a href="http://www.annaweatherup.com/">Anna Weatherup&#8217;s</a> Sunday Sesh at The Beach House in Brisbane (cnr Albert and Elizabeth St, above Starbucks and McDonalds) &#8212; every week at 4pm btw!</p>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/sadybMhBv9E"></param> <embed src="http://www.youtube.com/v/sadybMhBv9E" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
<p>Was a great way to spend a Sunday arvo with a few drinks (not alcoholic for me because I&#8217;m off it for 30 days!) and having a chat, Anna&#8217;s really talented and entertaining.</p>
<p>How does this relate to rotating a video clip on Mac OSX?  I&#8217;m glad you asked.</p>
<p>Well, I had my cheap and cheerful digital camera with me and I took a video of the last 30 seconds of <a href="http://www.youtube.com/v/sadybMhBv9E">Anna cracking out Leonard Cohen&#8217;s &#8220;Hallelujah&#8221;</a>.  As you can see I have uploaded the video to Youtube for your viewing pleasure, but my plan came unstuck when I realised that I had recorded the video with my camera on end (you might call this &#8220;portrait&#8221; mode), and this meant that the video would be sideways on Youtube when it was uploaded.  Not good.</p>
<p>I opened up iMovie HD with the plan of just rotating the video there, exporting it and uploading the clip to Youtube, job done.  But no. iMovie HD as it comes with OSX 10.4 doesn&#8217;t rotate video &#8212; it only has <b>every other effect</b> known to man, but nothing that you actually need, like being able to rotate a clip.</p>
<p>My usual googling around didn&#8217;t turn up too much useful stuff at first as I found things like Apple&#8217;s Final Cut Pro and QuickTime Pro &#8212; well they cost money and I&#8217;m a tightarse so I don&#8217;t really want to be dropping cash on software just to rotate a single thirty-second video by 90 degrees.  So I persevered and then I found a couple of interesting links, the first of which was an iMovie plugin called <a href="http://www.macupdate.com/info.php/id/14159">Simple Rotate</a>. I downloaded Simple Rotate and I&#8217;m sure it&#8217;s good but I didn&#8217;t use it because I then found <a href="http://www.squared5.com/svideo/mpeg-streamclip-mac.html">MPEG Streamclip</a>, an awesome but not very intuitive thing that can export to a zillion formats and even rotates, crops, resizes and a bunch more stuffs.  So I imported my QuickTime MOV (that&#8217;s what Kodak cameras save videos as) into MPEG Streamclip, then exported as an MPEG4 with AAC audio.  I messed around with the cropping settings, set &#8220;rotate&#8221; to 90 degrees, clicked the &#8220;Make MP4&#8243; button and voila!  The video file was even smaller than the original so it was quicker to upload to Youtube.</p>
<p>Unfortunately the video I created was a little bit too narrow (because it was created from portrait mode, remember?) so Youtube stretches the clip horizontally, which sucks.  </p>
<p><img src="http://www.geocities.com/brisbanewaterski/images/gallery/IMGP0163.jpg" alt="waterskiing!" /></p>
<p>But I don&#8217;t want to end this post on a bad note, so in other news, today I went waterskiing!  It was with the <a href="http://www.geocities.com/brisbanewaterski/">Brisbane Waterski club</a> where the club members will gladly take you out on the river at Jindalee and help you learn to ski, giving you tips on what you&#8217;re doing wrong and, in my case, drive the boat around in circles to come and pick you up after you stack it, again and again.  It&#8217;s great fun &#8212; next week I&#8217;ll be standing up for sure.  Fingers crossed.</p>
]]></content:encoded>
			<wfw:commentRss>http://kentwell.net/glenn/2007/10/anna-weatherup-sunday-sesh-or-how-to-rotate-a-video-clip-using-mac-osx-plus-waterskiing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
