<?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>Jason L. Froebe - Tech tips and How Tos for Fellow Techies &#187; dvd rip</title>
	<atom:link href="http://froebe.net/blog/index.php/tag/dvd-rip/feed/" rel="self" type="application/rss+xml" />
	<link>http://froebe.net/blog</link>
	<description>Tips &#38; Tricks for Databases (Sybase, Oracle, MySQL, PostgreSQL, SQLite), Windows, Linux, Solaris, Perl, Java, Bash and so much much more</description>
	<lastBuildDate>Sat, 07 Jan 2012 22:12:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Rip a dvd with HandbrakeCLI on Ubuntu Linux 8.04 (Hardy Heron) for the Sony PS3 (mpeg4 / h.264)</title>
		<link>http://froebe.net/blog/2008/07/14/rip-a-dvd-with-handbrakecli-on-ubuntu-linux-804-hardy-heron-for-the-sony-ps3-mpeg4-h264/</link>
		<comments>http://froebe.net/blog/2008/07/14/rip-a-dvd-with-handbrakecli-on-ubuntu-linux-804-hardy-heron-for-the-sony-ps3-mpeg4-h264/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 02:45:18 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[dvd rip]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[handbrake]]></category>
		<category><![CDATA[handbrakecli]]></category>
		<category><![CDATA[make_ps3_hb.sh]]></category>
		<category><![CDATA[mediatomb]]></category>
		<category><![CDATA[playstation]]></category>
		<category><![CDATA[playstation 3]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[RippedWire]]></category>
		<category><![CDATA[ripping]]></category>
		<category><![CDATA[sony ps3]]></category>
		<category><![CDATA[sourceforge.net]]></category>
		<category><![CDATA[th3rmite]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=571</guid>
		<description><![CDATA[After much trial and error, I chose HandbrakeCLI for ripping a dvd to a h.264 mpeg4 file that I can play on my Sony Playstation 3 console. Please note that HandBrake does quite well on live action video but not so good on animation. % sudo aptitude install build-essential % sudo aptitude install zlib1g-dev jam [...]]]></description>
			<content:encoded><![CDATA[<p>After much trial and error, I chose <a href="http://handbrake.fr/">HandbrakeCLI</a> for ripping a dvd to a h.264 mpeg4 file that I can play on my <a href="http://www.amazon.com/gp/product/B000XGJH1O?ie=UTF8&amp;tag=froebe-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000XGJH1O">Sony Playstation 3 console</a>.  Please note that HandBrake does quite well on live action video but not so good on animation.</p>
<div class="bash dean_ch"><span class="sy0">%</span> <span class="kw2">sudo</span> <span class="kw2">aptitude</span> <span class="kw2">install</span> build-essential<br />
<span class="sy0">%</span> <span class="kw2">sudo</span> <span class="kw2">aptitude</span> <span class="kw2">install</span> zlib1g-dev jam yasm<br />
<span class="sy0">%</span> <span class="kw2">wget</span> http:<span class="sy0">//</span>handbrake.fr<span class="sy0">/</span>rotation.php?<span class="re2">file</span>=HandBrake-0.9.2.tar.gz<br />
<span class="sy0">%</span> <span class="kw2">tar</span> zxvf HandBrake-0.9.2.tar.gz<br />
<span class="sy0">%</span> <span class="kw3">cd</span> HandBrake<br />
<span class="sy0">%</span> .<span class="sy0">/</span>configure<br />
<span class="sy0">%</span> jam<br />
<span class="sy0">%</span> <span class="kw2">cp</span> HandBrakeCLI ..<span class="sy0">/</span>bin &nbsp;<span class="co0"># to copy the binary into the user&#8217;s bin dir</span></div>
<p>We need yasm installed to pick up any cpu extensions that our cpu supports.  For example: MMX MMXEXT SSE SSE2 3DNow!</p>
<p>Now that we have a working HandBrakeCLI binary built for our system (works for 32bit or 64bit depending on which system we built it on).</p>
<p>I wrote a very simple script that will rip the dvd (legal dvd rip btw) into a mp4 file, copy it to the media-server which will be picked up automatically by <a href="http://mediatomb.cc/">mediatomb</a>.</p>
<p>make_ps3_hb.sh:</p>
<div class="bash dean_ch"><span class="co0">#!/bin/bash</span></p>
<p><span class="co0"># make_ps3_hb.sh &lt;video_name .mp4&gt; [genre]</span></p>
<p><span class="kw2">nice</span> <span class="re5">-n</span> <span class="nu0">15</span> ~<span class="sy0">/</span>bin<span class="sy0">/</span>HandBrakeCLI <span class="re5">-i</span> <span class="sy0">/</span>dev<span class="sy0">/</span>dvd <span class="re5">-e</span> x264 <span class="re5">-b</span> <span class="nu0">1200</span> <span class="re5">-B</span> <span class="nu0">160</span> <span class="re5">-R</span> <span class="nu0">48</span> <span class="re5">-E</span> faac <span class="re5">-f</span> mp4 <span class="re5">-P</span>=<span class="nu0">16</span> <span class="re5">-x</span> <span class="re2">level</span>=<span class="nu0">41</span>:<span class="re2">subme</span>=<span class="nu0">5</span>:<span class="re2">me</span>=umh <span class="re5">-T</span> <span class="re5">-2</span> <span class="re5">-d</span> <span class="re5">-7</span> <span class="re5">-8</span> <span class="re5">-O</span> <span class="re5">&#8211;crop</span> <span class="re5">-m</span> <span class="re5">-N</span> eng <span class="re5">-o</span> <span class="st0">&quot;$1&quot;</span></p>
<p><span class="kw1">if</span> <span class="br0">&#91;</span> <span class="re5">-f</span> <span class="st0">&quot;$1&quot;</span> <span class="br0">&#93;</span><br />
<span class="kw1">then</span><br />
&nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span> <span class="re4">$2</span> <span class="br0">&#93;</span><br />
&nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; <span class="kw3">echo</span> copying <span class="re4">$1</span> to media-server <span class="sy0">/</span>home<span class="sy0">/</span>jason<span class="sy0">/</span>Videos<span class="sy0">/</span><span class="re4">$2</span><br />
&nbsp; &nbsp; <span class="kw2">scp</span> <span class="st0">&quot;$1&quot;</span> <span class="st0">&quot;jason@media-server:/home/jason/Videos/$2/$1&quot;</span> <span class="sy0">&amp;&amp;</span> <span class="kw2">rm</span> <span class="re5">-f</span> <span class="st0">&quot;$1&quot;</span><br />
&nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; <span class="kw3">echo</span> copying <span class="re4">$1</span> to media-server <span class="sy0">/</span>home<span class="sy0">/</span>jason<span class="sy0">/</span>Videos<br />
&nbsp; &nbsp; <span class="kw2">scp</span> <span class="st0">&quot;$1&quot;</span> <span class="st0">&quot;jason@media-server:/home/jason/Videos/$1&quot;</span> <span class="sy0">&amp;&amp;</span> <span class="kw2">rm</span> <span class="re5">-f</span> <span class="st0">&quot;$1&quot;</span><br />
&nbsp; <span class="kw1">fi</span><br />
<span class="kw1">fi</span><span class="sy0">&lt;/</span>video_name<span class="sy0">&gt;</span></div>
<p><a href="http://handbrake.fr">Handbrake</a> documentation is available on the <a href="http://trac.handbrake.fr/wiki/HandBrakeGuide">Handbrake wiki website</a>.</p>
<p><strong>UPDATE</strong>: If you&#8217;re looking for a GUI front end for HandBrakeCLI on Linux, check out <a href="http://sourceforge.net/projects/rippedwire/">RippedWire</a> by <a href="http://sourceforge.net/users/th3rmite/">th3rmite</a>.</p>
<p><a href="http://froebe.net/blog/wp-content/uploads/2008/07/rippedwire.jpg"><img class="aligncenter size-medium wp-image-574" title="RippedWire" src="http://froebe.net/blog/wp-content/uploads/2008/07/rippedwire-269x300.jpg" alt="Screenshot: HandBrakeGTK 1.0.1 - Queue Tab" width="269" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/07/14/rip-a-dvd-with-handbrakecli-on-ubuntu-linux-804-hardy-heron-for-the-sony-ps3-mpeg4-h264/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

