<?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>Solid State Raam &#187; OS X</title>
	<atom:link href="http://solidstateraam.com/category/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://solidstateraam.com</link>
	<description>Explorations (and exploitations) of the digital world by one of its many netizens.</description>
	<lastBuildDate>Sat, 17 Dec 2011 20:18:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Mac OS X: Replicating md5sum Output Format</title>
		<link>http://solidstateraam.com/mac-os-x-replicating-md5sum-output-format/</link>
		<comments>http://solidstateraam.com/mac-os-x-replicating-md5sum-output-format/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 05:00:16 +0000</pubDate>
		<dc:creator>Raam</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://solidstateraam.com/?p=492</guid>
		<description><![CDATA[The md5sum program is used to calculate and verify 128-bit MD5 hashes. This program is installed by default in most Unix, Linux, and Unix-like operating systems including BSD. Mac OS X is a BSD variant and it also includes the md5sum program. However, the program is called md5 instead of md5sum and outputs an md5 checksum in a different format than the standard md5sum program.]]></description>
			<content:encoded><![CDATA[<p>The md5sum program is used to calculate and verify 128-bit MD5 hashes. This program is installed by default in most Unix, Linux, and Unix-like operating systems including BSD. Mac OS X is a BSD variant and it also includes the md5sum program. However, the program is called md5 instead of md5sum and outputs an MD5 checksum in a different format than the standard md5sum program.</p>
<p>Here&#8217;s what the standard md5sum output looks like:</p>
<pre class="brush: bash; title: ; notranslate">
$ md5sum test.txt
d0ea20794ab78114230ba1ab167a22c2 test.txt
</pre>
<p>Now here&#8217;s what the output of md5 on Mac OS X looks like:</p>
<pre class="brush: bash; title: ; notranslate">
$ md5 test.txt
MD5 (test.txt) = d0ea20794ab78114230ba1ab167a22c2
</pre>
<p>While this normally wouldn&#8217;t be a big deal, it can cause major issues if you&#8217;re trying to run scripts that were written for a Unix-like environment which expect the default md5sum format.</p>
<p>Thankfully, md5 has a switch that reverses the output:</p>
<pre class="brush: bash; title: ; notranslate">
$ md5 -r test.txt
d0ea20794ab78114230ba1ab167a22c2 test.txt
</pre>
<p>If you&#8217;d like to permanently change md5&#8242;s behavior to mimic that of md5sum, you have two options: </p>
<p>The first is to simply add the following alias to <code>~/.profile</code>:</p>
<pre class="brush: bash; title: ; notranslate">
alias md5sum='md5 -r'
</pre>
<p>Now when you type &#8216;<code>md5sum test.txt</code>&#8216;, the command will be replaced with &#8216;<code>md5 -r test.txt</code>&#8216;. However, this may not work with your scripts.</p>
<p>The second solution, and my preferred method, is to create a small script called <code>md5sum</code> that contains the following:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
/sbin/md5 -r &quot;$@&quot;
</pre>
<p>I then make this script executable (<code>chmod +x md5sum</code>) and put it in <code>/sbin/</code>. Now, whenever a script calls md5sum, the small bash script above is used and it produces output identical to that of md5sum on other Unix systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://solidstateraam.com/mac-os-x-replicating-md5sum-output-format/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Mac OS X: Fixing &#8216;Always Open With&#8217;</title>
		<link>http://solidstateraam.com/mac-os-x-fixing-always-open-with/</link>
		<comments>http://solidstateraam.com/mac-os-x-fixing-always-open-with/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 14:21:11 +0000</pubDate>
		<dc:creator>Raam</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://solidstateraam.com/?p=432</guid>
		<description><![CDATA[After installing the <a href="http://macromates.com/" target="_new">TextMate</a> editor I wanted all shell scripts (files ending with the <code>.sh</code> extension) to open in TextMate. Unfortunately, selecting <strong>Open With -> Other...</strong> from the context menu, choosing an application, and then clicking the <strong>Always Open With</strong> checkbox doesn't change the default application for <em>all</em> files with that extension, but rather only changes that specific file.]]></description>
			<content:encoded><![CDATA[<p>After installing the <a href="http://macromates.com/" target="_new">TextMate</a> editor I wanted all shell scripts (files ending with the <code>.sh</code> extension) to open in TextMate. Unfortunately, selecting <strong>Open With -> Other&#8230;</strong> from the context menu, choosing an application, and then clicking the <strong>Always Open With</strong> checkbox doesn&#8217;t change the default application for <em>all</em> files with that extension, but rather only changes that specific file.</p>
<p>If you want to change the default application used to open all files with a specific extension, the steps are slightly different:</p>
<p>Select the file and choose <strong>File -> Get Info</strong> (or <strong>Cmd+i</strong>) and expand the Open With section:</p>
<p><img src="http://solidstateraam.com/wp-content/uploads/2009/12/2009-12-12-always-open-with.png" alt="Get Info" /></p>
<p>From here, select the application you want to use for opening those file types and then click <strong>Change All</strong>. This will update the OS X Launch Services Database, which is consulted when opening files. Now all files with that extension will be opened with the application you selected.</p>
]]></content:encoded>
			<wfw:commentRss>http://solidstateraam.com/mac-os-x-fixing-always-open-with/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Preparing a Mac for Resale with OS X Leopard</title>
		<link>http://solidstateraam.com/preparing-a-mac-for-resale-with-os-x-leopard/</link>
		<comments>http://solidstateraam.com/preparing-a-mac-for-resale-with-os-x-leopard/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 19:55:52 +0000</pubDate>
		<dc:creator>Raam</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[OS X Leopard]]></category>

		<guid isPermaLink="false">http://solidstateraam.com/?p=404</guid>
		<description><![CDATA[When reselling a Mac, it's nice to give the new owner an experience similar to buying a new Mac. This means reinstalling a clean copy of OS X and, if you're super nice, installing the latest software updates and additional software. Finally, the Setup Assistant needs to be reset so that it runs when the new owner turns on the computer.]]></description>
			<content:encoded><![CDATA[<p>When reselling a Mac, it&#8217;s nice to give the new owner an experience similar to buying a new Mac. This means reinstalling a clean copy of OS X and, if you&#8217;re super nice, installing the latest software updates and additional software. Finally, the Setup Assistant needs to be reset so that it runs when the new owner turns on the computer.</p>
<p><em>Note: The steps below were used to prepare a MacBook Pro running OS X Leopard for resale. Although the steps are similar for other versions of OS X, I have only tested them with Leopard. (<strong>Update:</strong> <a href="http://solidstateraam.com/preparing-a-mac-for-resale-with-os-x-leopard/#comment-190">Matt mentioned</a> in the comments that he successfully used these steps on OS X 10.6.)</em></p>
<h3>Backup Your Data</h3>
<p>If the Mac you&#8217;re reselling is your own, you should do a full system backup before proceeding. </p>
<p>My favorite method for doing this is to use an external USB hard drive and <a href="http://www.bombich.com/">Carbon Copy Cloner</a> (free). Carbon Copy Cloner can be used to take a snapshot of your entire drive and make it bootable. This means you can actually boot from your backup drive, given you&#8217;re booting from identical hardware. At the very least, you&#8217;ll have an identical copy of everything on the computer. </p>
<p>You can also use Time Machine to backup your data. I don&#8217;t use Time Machine, so I cannot recommend it. </p>
<p>The bottom line is, you want to backup anything important on the Mac you&#8217;re reselling because the next steps will erase everything.</p>
<h3>Reinstall Mac OS X Leopard</h3>
<ol>
<li>Insert Mac OS X Leopard Install Disc</li>
<li>Restart the computer</li>
<li>Hold down the Option key while the computer is restarting. The system will then prompt you to select a startup disk. Choose the Mac OS X Leopard Install Disc.</li>
<li>On the &#8220;Select a Destination&#8221; screen, click &#8220;Options&#8221; and choose &#8220;Erase and Install&#8221;. This will ensure a clean installation of Mac OS X Leopard.</li>
<li>Follow the remaining steps to install Mac OS X; they are all self explanatory.</li>
<li>When the installation finishes, the Mac will reboot and you&#8217;ll be presented with the Setup Assistant.</li>
</ol>
<p>If you&#8217;re not interested in installing the software updates or any additional software, press Command+Q to quit the Setup Assistant and choose Shutdown. The next time you turn on the machine, the Setup Assistant will launch again.</p>
<h3>Install Software Updates &#038; Additional Software</h3>
<p>If you want to be super nice to the new owner of your Mac, you&#8217;ll need to complete the Setup Assistant and create a temporary user. We will use that user to download and install the software updates as well as install any additional applications (Firefox, MS Office, etc.). Once we&#8217;re done updating the system and installing software, we&#8217;ll delete the temporary user and reset the Setup Assistant.</p>
<ol>
<li>Complete the Setup Assistant and create the first user account (we&#8217;ll delete this user and reset the Setup Assistant later, so it doesn&#8217;t matter what you use). Make note of the shortname for the user you create as we&#8217;ll need that in the next section (e.g., user &#8220;Raam Dev&#8221; will probably have a shortname of &#8220;raamdev&#8221;).
</li>
<li>At this point, you should be logged into the newly reinstalled system using the temporary account you created.</li>
<li>Connect to the Internet (using a wired or wireless connection)</li>
<li>Run Software Update (Apple Icon -> Software Update) and install any available updates. This may take awhile!</li>
<li>After the system reboots, run Software Update again. There will most likely be more updates to install. Repeat this process until there are no more updates to install.</li>
<li>Install any additional applications, being sure to install for &#8220;All Users&#8221; if prompted. Also, make sure the new applications are installed in <code>/Applications/</code> and not <code>~/Applications/</code></li>
</ol>
<h3>Clean Up and Reset the Setup Assistant</h3>
<p>Now that we&#8217;ve installed the latest updates and installed any additional software, we need to clean things up. First, we&#8217;ll delete the temporary user we created and then we&#8217;ll reset the Setup Assistant to ensure it launches the next time we boot up.</p>
<p>First, you&#8217;ll need to start the Mac in Single User mode by restarting and holding down Command+S. This mode does not have a graphical user interface (GUI) and is entirely command-based.</p>
<p>Once you&#8217;re in Single User mode, run the following commands and press Enter at the end of each line. (Note: The <code>$</code> represents the command prompt; you don&#8217;t actually type the <code>$</code>.)</p>
<p>By default, the hard drive is mounted as read-only in Single User mode. Before we continue, we need to make the disk writable:</p>
<pre class="brush: bash; title: ; notranslate">
$ mount -uw /
</pre>
<p>Next, we clean up that temporary user we created. Replace <code>USERNAME</code> with the shortname of the user you created in the previous section.</p>
<pre class="brush: bash; title: ; notranslate">
$ rm -R /Library/Preferences/
$ rm -R /Users/USERNAME/
$ /bin/launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist &amp;
$ dscl . -delete /Users/USERNAME
</pre>
<p>And lastly, we need to reset the Setup Assistant so it runs the next time we start the Mac:</p>
<pre class="brush: bash; title: ; notranslate">
$ rm /var/db/.AppleSetupDone
</pre>
<p>Now that everything is cleaned up and the Setup Assistant has been reset, we can shutdown the system and ship or deliver the Mac to its new owner!</p>
<pre class="brush: bash; title: ; notranslate">
$ shutdown -h now
</pre>
<p>If you want to boot the Mac to make sure it looks the way it should when the user gets it (i.e., the intro video and Setup Assistant start), just make sure you press Command+Q  and choose Shutdown. </p>
]]></content:encoded>
			<wfw:commentRss>http://solidstateraam.com/preparing-a-mac-for-resale-with-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Mac OS X: Resizing Oversized Windows to Fit the Screen</title>
		<link>http://solidstateraam.com/mac-os-x-resizing-oversized-windows-to-fit-the-screen/</link>
		<comments>http://solidstateraam.com/mac-os-x-resizing-oversized-windows-to-fit-the-screen/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 16:41:14 +0000</pubDate>
		<dc:creator>Raam</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://solidstateraam.com/?p=359</guid>
		<description><![CDATA[I recently switched from a 15″ MacBook Pro (2007 model) to the latest 13″ MacBook Pro (2009, unibody model). After transferring my iTunes library to the new laptop, I found that the size of the iTunes window exceeded the size of the screen (the 15” MBP had a 1440×900, while the 13” MBP has a slightly smaller 1280×800). This meant I was unable to grab the bottom right corner of the window to resize it.]]></description>
			<content:encoded><![CDATA[<p>I recently switched from a 15&#8243; MacBook Pro (2007 model) to the latest 13&#8243; MacBook Pro (2009, unibody model). After transferring my iTunes library to the new laptop, I found that the size of the iTunes window exceeded the size of the screen (the 15” MBP had a 1440&#215;900, while the 13” MBP has a slightly smaller 1280&#215;800). This meant I was unable to grab the bottom right corner of the window to resize it:</p>
<p><a href="http://solidstateraam.com/wp-content/uploads/2009/11/itunes_too_maximized.png"><img src="http://solidstateraam.com/wp-content/uploads/2009/11/itunes_too_maximized.png" alt="iTunes too large to resize!" width="550"/></a></p>
<p>Unfortunately, the maximize button in iTunes only cycles through Previous Size and the Mini Player mode; at no point does it actually maximize the window to fit the screen!</p>
<p><strong>Note: As Ondrej commented below, you might be able to fix this by simply holding down the Alt/Option key and pressing the zoom/maximize button (the green button).</strong></p>
<p>I tried installing an application called <a href=”http://www.macupdate.com/info.php/id/30591”>RightZoom</a> which changes the behavior of the maximize button in OS X by maximizing the window to fill the screen (as opposed to simply maximizing for “best fit”). However, that did nothing to change the behavior of iTunes.</p>
<p>After searching the web for solutions and finding nothing, I remembered a trick I had used in the past on Windows computers: <strong>Change the display resolution to something smaller, thereby forcing the operating system to resize windows to fit the new resolution.</strong> Then, after the OS resizes the windows, change the resolution back to the original. Of course this only works if the original resolution is not already set for the lowest one (it most likely isn&#8217;t).</p>
<p>To my relief, this trick worked perfectly! When I switched to a smaller resolution, the iTunes window was resized to fit the smaller screen.</p>
<p>For your reference, here are the steps:</p>
<ol>
<li>Launch System Preferences -> Displays</li>
<li>Select a smaller resolution</li>
<li>iTunes (or any other application) will be resized to fit the smaller resolution</li>
<li>Change the resolution back to the default</li>
<li>Oversized window problems solved!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://solidstateraam.com/mac-os-x-resizing-oversized-windows-to-fit-the-screen/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Alert to All Mac OS X Users: Protect Yourself from CVE-2008-5353!</title>
		<link>http://solidstateraam.com/alert-to-all-mac-os-x-users-protect-yourself-from-cve-2008-5353/</link>
		<comments>http://solidstateraam.com/alert-to-all-mac-os-x-users-protect-yourself-from-cve-2008-5353/#comments</comments>
		<pubDate>Thu, 21 May 2009 02:51:41 +0000</pubDate>
		<dc:creator>Raam</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://solidstateraam.com/?p=203</guid>
		<description><![CDATA[Update: TidBITS writes that Apple has released a patched version of Java that fixes this issue. It is available through Software Update. CVE-2008-5353 is a critical Java vulnerability that was discovered back in August 2008 and patched by Sun Microsystems a few months later. However, Apple has failed to release a patched version of Java, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> <a href="http://db.tidbits.com/article/10352">TidBITS writes that Apple has released a patched version of Java</a> that fixes this issue. It is available through Software Update.</p>
<p><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5353">CVE-2008-5353</a> is a critical Java vulnerability that was discovered back in August 2008 and patched by Sun Microsystems a few months later. However, Apple has failed to release a patched version of Java, even in the latest 10.5.7 update! CVE-2008-5353 is described as follows:</p>
<blockquote><p>Unspecified vulnerability in Java Runtime Environment (JRE) for Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; and SDK and JRE 1.4.2_18 and earlier allows untrusted applets and applications to gain privileges via unknown vectors related to &#8220;deserializing calendar objects.&#8221;</p></blockquote>
<p>Since Apple failed fix this vulnerability in the latest update to OS X (10.5.7), <a href="http://landonf.bikemonkey.org/">Landon Fuller</a>, a programmer and former Apple Engineer, released a <a href="http://landonf.bikemonkey.org/code/macosx/CVE-2008-5353.20090519.html">proof-of-concept</a> demonstrating the exploit. <a href="http://landonf.bikemonkey.org/static/moab-tests/CVE-2008-5353/hello.html">The demonstration</a> is done by launching a Java applet in your web browser and using the exploit to run the <code>/usr/bin/say</code> command on your Mac to &#8220;speak&#8221; some words through your speakers. This may not sound very dangerous, but this same exploit could be used to run malicious code on your Mac without your even knowing it!</p>
<h3>So, how can I protect myself?</h3>
<p>For now, all you can do is entirely disable Java in your browsers to ensure no Java applets are allowed to run. The good news is that chances are you probably don&#8217;t depend on Java anyway (remember, Java is <em>not</em> JavaScript). And if you find yourself needing to run something that does require Java (the browser will alert you with a message saying the Java plugin isn&#8217;t installed), you can always re-enable Java in your browser while you&#8217;re using the applet, and then disable it again when you&#8217;re done. Inconvenient, yes, but worth it. This is one nasty vulnerability, and with all the publicity it&#8217;s been getting lately, there&#8217;s bound to be more malicious code in the wild just waiting to hijack your system.</p>
<h3>Disabling Java in Firefox</h3>
<p>In Firefox, choose from the menu, <code>Firefox -> Preferences</code>. Then select the <code>Content</code> tab and un-check the <code>Use Java</code> option:</p>
<p><img src="http://solidstateraam.com/wp-content/uploads/2009/05/firefox_content_preferences.png" alt="Firefox Content Preferences, Use Java option" /></p>
<h3>Disabling Java in Safari</h3>
<p> (applies to both Safari 3 and Safari 4 Beta)</p>
<p>In Safari, choose from the menu, <code>Safari -> Preferences</code>. Then select the <code>Security</code> tab and un-check the <code>Enable Java</code> option:</p>
<p><img src="http://solidstateraam.com/wp-content/uploads/2009/05/safari_4_security_preferences.png" alt="Safari 4 Beta Security Preferences, Enable Java option" /></p>
<p><strong>Update:</strong> <a href="http://db.tidbits.com/article/10352">TidBITS writes that Apple has released a patched version of Java</a> that fixes this issue. It is available through Software Update.</p>
]]></content:encoded>
			<wfw:commentRss>http://solidstateraam.com/alert-to-all-mac-os-x-users-protect-yourself-from-cve-2008-5353/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ripping and Converting DVDs to MPEG-4 on Mac OS X</title>
		<link>http://solidstateraam.com/ripping-and-converting-dvds-to-mpeg-4-on-mac-os-x/</link>
		<comments>http://solidstateraam.com/ripping-and-converting-dvds-to-mpeg-4-on-mac-os-x/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 23:59:33 +0000</pubDate>
		<dc:creator>Raam</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://solidstateraam.com/?p=5</guid>
		<description><![CDATA[I&#8217;ve been converting a lot of my DVDs to MPEG-4 recently. The process is much easier than I always imagined, so I decided to explain the procedures I use here. All of this is done on my Mac, so the directions are somewhat Mac-specific. That said, HandBrake (the main application used in this process) is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been converting a lot of my DVDs to MPEG-4 recently. The process is much easier than I always imagined, so I decided to explain the procedures I use here. All of this is done on my Mac, so the directions are somewhat Mac-specific. That said, <a href="http://handbrake.fr/">HandBrake</a> (the main application used in this process) is open-source and available on Windows and Linux. You should be able to find MacTheRipper-equivalents for Windows and Linux (and if you know of some, please mention them in the comments!). </p>
<p><strong>Download &#038; Install Software</strong></p>
<ol>
<li><a href="http://www.mactheripper.org/">Download MacTheRipper</a> (v2.6.6 is listed on that site but I&#8217;m using v3.0. Search BitTorrent for the newer version if you&#8217;re interested.)</li>
<li><a href="http://handbrake.fr/">Download HandBrake</a> (I&#8217;m using v0.9.3)</li>
<li>Install the above applications</li>
</ol>
<p><strong>Rip the DVD Using MacTheRipper</strong> (what an awesome name!)</p>
<ol>
<li>Insert the DVD</li>
<li>OS X will automatically start playing the DVD. Press CMD+Q to quit the application.</li>
<li>Launch MacTheRipper (and be careful he doesn&#8217;t hurt you)</li>
<p><a href="http://solidstateraam.com/wp-content/uploads/2009/02/mactheripper_outerlimits.png"><img src="http://solidstateraam.com/wp-content/uploads/2009/02/mactheripper_outerlimits.png" alt="MacTheRipper" /></a></p>
<li>Leave the default options and select File -> Save To&#8230;</li>
<li>Create a new directory to temporarily store the raw contents of the DVD and select it</li>
<li>Click Open. MacTheRipper will automatically start ripping the raw contents of the DVD to the directory you selected</li>
<li>When the ripping finishes, quit MacTheRipper</li>
</ol>
<p><strong>Convert the Raw DVD Data to MPEG-4 Using HandBrake</strong></p>
<ol>
<li>Launch HandBrake (don&#8217;t break your hand)</li>
<li>Upon launching, you should be presented with the Open dialog. You want to select the directory to which you ripped the DVD using MacTheRipper. <em>Note: Select the directory that contains the VIDEO_TS directory, but not VIDEO_TS directory itself! The other directories contain important data, such as AUDIO_TS for audio data.</em></li>
<li>Click Open and HandBrake will scan the various titles in the raw data. When finished, you&#8217;ll be left with the main HandBrake screen</li>
<p><a href="http://solidstateraam.com/wp-content/uploads/2009/02/handbrake_main_screen.png"><img src="http://solidstateraam.com/wp-content/uploads/2009/02/handbrake_main_screen.png" alt="HandBrake Main Screen" /></a></p>
<li>The correct title should already be selected and it should be the longest one in the list. If it&#8217;s a 2-hour DVD, you don&#8217;t want to select the title that says 1 minute. There may be lots of short titles mixed in and these may be extras on the DVD or previews. </li>
<li>After you&#8217;ve selected the correct title, choose browse and select a location where you want to save the converted video. After selecting the location, you can change the filename or leave the default. I like to store various bits of information in the video filename, such as the year the video was released, whether it&#8217;s widescreen or full screen, and the codec and audio formats. For example:
<p>Gattaca.1997.WS.DVDRip.XviD.AC3.avi</li>
<li>Now select the format. I usually choose AVI for the best compatibility.</li>
<li>For video codec, choose &#8220;MPEG-4 (XviD)&#8221;</li>
<li>Next to &#8220;Quality:&#8221;, select &#8220;Target size (MB)&#8221; and use the following guidelines. I like to retain as much of the quality as possible, so I follow these rules. Remember, the higher the file size, the better the quality. If you don&#8217;t care so much about quality or don&#8217;t have lots of free space, you can just use 700MB for DVDs. I use 1400MB for DVDs, and smaller sizes for TV/Documentary or episodic movies.
<p>Here are the sizes I use depending on the length of the movie or episode:</p>
<p>175MB (20-30 mins)<br />
350MB (40-55 mins)<br />
1400MB (90 min+), also known as 2CD quality</li>
<li>Click the &#8220;Audio &#038; Subtitles&#8221; tab</li>
<li>Choose the best audio source quality available. Sometimes the DVD will contain 6-Channel 5.1 audio, but it won&#8217;t be selected by default.</li>
<li>If it&#8217;s available, select &#8220;AC3 Passthru&#8221; under &#8220;Audio Codec&#8221;.</li>
<p><a href="http://solidstateraam.com/wp-content/uploads/2009/02/handbrake_audio_settings.png"><img src="http://solidstateraam.com/wp-content/uploads/2009/02/handbrake_audio_settings.png" alt="HandBrake Audio Settings" /></a></p>
<li>With everything configured, click Start. If you&#8217;re converting a DVD that is a collection of shorter movies (like the Outer Limits DVD I&#8217;m ripping in the example), you can simply click &#8220;Add to Queue&#8221;, repeat the above process for each of the titles, and then click Start when everything is queued up. If you plan to do this though, you should definitely convert at least one episode first to make sure it comes out correct.</li>
</ol>
<p>Depending on the speed of your computer, the quality, and the length of the movie you&#8217;re converting, this process could take anywhere from 30 minutes to 3 hours.</p>
<p>When HandBrake finishes, try watching the resulting AVI and make sure it plays correctly (with sound and all). If you&#8217;re not happy, delete it and repeat the process again. Once you&#8217;re happy with the AVI, you can delete the raw data that you ripped earlier with MacTheRipper (it takes up 6-7GB of space!).</p>
]]></content:encoded>
			<wfw:commentRss>http://solidstateraam.com/ripping-and-converting-dvds-to-mpeg-4-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

