<?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>oyvindhauge.com &#187; Technology</title>
	<atom:link href="http://www.oyvindhauge.com/blog/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oyvindhauge.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 21:28:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu &#8211; synchronizing the clock over the Internet using NTP</title>
		<link>http://www.oyvindhauge.com/blog/2012/01/30/ubuntu-synchronizing-the-clock-over-the-internet-using-ntp/</link>
		<comments>http://www.oyvindhauge.com/blog/2012/01/30/ubuntu-synchronizing-the-clock-over-the-internet-using-ntp/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 21:28:35 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NTP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.oyvindhauge.com/blog/?p=1583</guid>
		<description><![CDATA[I have had problems with the clock on one of my Ubuntu computers. The NTP (Network Time Protocol) service is supposed to take care of synchronizing the clock, and the GUI has settings for this. However, and but it did not work (Ubuntu 11.10), as the clock was constantly delayed. The fix was simple, (re)installing [...]]]></description>
			<content:encoded><![CDATA[<p>I have had problems with the clock on one of my Ubuntu computers. The <a title="NTP" href="http://en.wikipedia.org/wiki/Network_Time_Protocol">NTP</a> (Network Time Protocol) service is supposed to take care of synchronizing the clock, and the GUI has <a title="UbuntuTime" href="https://help.ubuntu.com/community/UbuntuTime">settings</a> for this. However, and but it did not work (Ubuntu 11.10), as the clock was constantly delayed.</p>
<p>The fix was simple, (re)installing the ntp package made sure that some of the missing dependencies was installed. I am pretty sure this has happened to me before, so it could be a useful tips to others. If your clock runs late, try the following (one may of course use Synaptic as well):</p>
<p><code>sudo apt-get install ntp</code></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2012/01/30/ubuntu-synchronizing-the-clock-over-the-internet-using-ntp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backing up/ripping a blu-ray disc</title>
		<link>http://www.oyvindhauge.com/blog/2011/08/28/backing-upripping-a-blu-ray-disc/</link>
		<comments>http://www.oyvindhauge.com/blog/2011/08/28/backing-upripping-a-blu-ray-disc/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 06:38:02 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tv and movies]]></category>
		<category><![CDATA[AnyDVD HD]]></category>
		<category><![CDATA[BDinfo]]></category>
		<category><![CDATA[Blu-ray]]></category>
		<category><![CDATA[Eac3to]]></category>
		<category><![CDATA[Movies]]></category>
		<category><![CDATA[Ripping]]></category>
		<category><![CDATA[tsMuxer]]></category>
		<category><![CDATA[XBMC]]></category>

		<guid isPermaLink="false">http://www.oyvindhauge.com/blog/?p=1544</guid>
		<description><![CDATA[A while back I started to back up my DVD collection using Linux (dvdbackup and Handbrake). For Blu-ray disks I have unfortunately not found any good solutions for Linux and only open source software. Therefore, this guide will show how you may back up your Blu-rays on the MS Windows platform, using AnyDVD HD, BDInfo, [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I started to <a title="Backing up DVDs under Linux" href="http://www.oyvindhauge.com/blog/2010/09/19/backing-upripping-dvds-in-linux/">back up my DVD collection</a> using Linux (<a title="dvdbackup" href="http://dvdbackup.sourceforge.net/">dvdbackup</a> and <a title="Handbrake" href="http://handbrake.fr/">Handbrake</a>). For Blu-ray disks I have unfortunately not found any good solutions for Linux and only open source software. Therefore, this guide will show how you may back up your Blu-rays on the MS Windows platform, using <a title="AnyDVD HD" href="http://www.slysoft.com/en/anydvdhd.html">AnyDVD HD</a>, <a title="BDInfo" href="http://www.cinemasquid.com/blu-ray/tools/bdinfo">BDInfo</a>, <a title="EAC3to" href="http://forum.doom9.org/showthread.php?t=125966">Eac3to </a>(inkluding <a title="Eac3to and More Gui" href="http://forum.doom9.org/showthread.php?t=135095">Eac3to and More GUI</a>) and <a title="tsMuxer" href="http://www.smlabs.net/en/products/tsmuxer/">tsMuxer</a>.</p>
<h3>1. Backup disk and remove copy protection</h3>
<div id="attachment_1547" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.oyvindhauge.com/blog/wp-content/AnyDVD.png"><img class="size-medium wp-image-1547" title="AnyDVD HD" src="http://www.oyvindhauge.com/blog/wp-content/AnyDVD-300x246.png" alt="AnyDVD HD" width="300" height="246" /></a><p class="wp-caption-text">AnyDVD HD</p></div>
<p>AnyDVD HD does a good job removing the copy protection and backing up the disk to your hard drive. It is a proprietary piece of software, but I found that a lifetime license was worth the investment (about € 100).</p>
<p>Please note that removing copy protection may be illegal in some countries. In Norway (where I live) it is, to my best understanding, <a title="Åndsverksloven" href="http://lovdata.no/all/hl-19610512-002.html">illegal to circumvent <em>effective</em> copy protection measures</a>. As far as I see it, AnyDVD makes the copy protection on Blu-rays very ineffective. However, there are, to my knowledge, no court orders that defines what effective is. Removing the copy protection may therefore be in the gray area. Nevertheless, I strongly believe consumers should be able to back up their <em>own</em> DVDs and Blu-rays, and use software like <a title="XBMC" href="http://www.xbmc.org">XBMC</a> to manage their media collection.</p>
<h3>2. Identifying the movie streams</h3>
<div id="attachment_1550" class="wp-caption aligncenter" style="width: 304px"><a href="http://www.oyvindhauge.com/blog/wp-content/DBInfo.png"><img class="size-medium wp-image-1550" title="DBInfo" src="http://www.oyvindhauge.com/blog/wp-content/DBInfo-294x300.png" alt="DBInfo" width="294" height="300" /></a><p class="wp-caption-text">DBInfo</p></div>
<p>You may want to store the whole blu-ray with all its files and folders. I am however mainly interested in the main feature itself. To identify the stream(s) that contain(s) the movie I use BDInfo. The first and longest playlist normally contain the stream(s) that constitute the movie. The movie in the screenshot above was contained in only one stream (&#8220;00000.m2ts&#8221;). The streams are always located in the folder &#8220;[movie root]\BDMV\STREAM&#8221;.</p>
<p>If only one stream (<a title=".m2ts" href="http://en.wikipedia.org/wiki/.m2ts">.m2ts</a> file) contains the whole movie, you may simply store this file where ever you like, and watch it with XBMC or any other viewer you&#8217;d like. If the movie is constituted of several streams you should use tsMuxer to join/append these streams in the order shown in BDInfo.</p>
<p>Please note that the .m2ts container does not contain subtitles and chapters. If you want this you could for instance use the <a title="mkv/Matroska" href="http://en.wikipedia.org/wiki/Matroska">mkv</a> container. However, since I normally do not care about either, I just back up the .m2ts file.</p>
<h3>3. Adding an AC3 sound track and removing unnecessary tracks (optional)</h3>
<div id="attachment_1553" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.oyvindhauge.com/blog/wp-content/Eac3toAC3.png"><img class="size-medium wp-image-1553" title="Eac3toAC3" src="http://www.oyvindhauge.com/blog/wp-content/Eac3toAC3-300x178.png" alt="Eac3toAC3" width="300" height="178" /></a><p class="wp-caption-text">Eac3toAC3</p></div>
<p>Some players are not able to decode DTS sound tracks. As a consequence of this I normally add an <a title="AC3/Dolby Digital" href="http://en.wikipedia.org/wiki/Dolby_Digital">AC3</a> (Dolby Digital) track to my .m2ts containers. This is done by first encoding the DTS to AC3 using Eac3to.</p>
<div id="attachment_1554" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.oyvindhauge.com/blog/wp-content/tsMuxer.png"><img class="size-medium wp-image-1554" title="tsMuxer" src="http://www.oyvindhauge.com/blog/wp-content/tsMuxer-300x221.png" alt="tsMuxer" width="300" height="221" /></a><p class="wp-caption-text">tsMuxer</p></div>
<p>Next, create a new .m2ts file by adding (muxing) the newly created .ac3 file to the .m2ts file from the blu-ray. This is done using tsMuxer.</p>
<p>While muxing the two files I normally remove tracks that I do not need. This may be languages, presentation graphics, or video tracks with lower resolution. To remove them, simply uncheck the tracks that you do not want.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2011/08/28/backing-upripping-a-blu-ray-disc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BankID and Java plug-in in Firefox on Ubuntu Part 5</title>
		<link>http://www.oyvindhauge.com/blog/2011/05/29/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-5/</link>
		<comments>http://www.oyvindhauge.com/blog/2011/05/29/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-5/#comments</comments>
		<pubDate>Sun, 29 May 2011 20:46:43 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[BankID]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.oyvindhauge.com/blog/?p=1499</guid>
		<description><![CDATA[I have previously written about getting BankID to work on a Linux/Ubuntu computer. Even though BankID worked on a fresh install of Ubuntu 11.04 with OpenJDK, it seems to work best with Sun&#8217;s Java implementation. This post will guide you through installing Sun&#8217;s JRE and removing OpenJDK. First install Sun&#8217;s java implementation. I installed it [...]]]></description>
			<content:encoded><![CDATA[<p>I have previously written about <a title="BankID and Java plug-in in Firefox on Ubuntu Part 4" href="BankID and Java plug-in in Firefox on Ubuntu Part 4">getting BankID to work on a Linux/Ubuntu computer</a>. Even though BankID worked on a fresh install of Ubuntu 11.04 with OpenJDK, it seems to work best with Sun&#8217;s Java implementation. This post will guide you through installing Sun&#8217;s JRE and removing OpenJDK.</p>
<p>First install Sun&#8217;s java implementation. I installed it from the 10.04 repository (lucid) using the following commands (or Synaptic Package Manager):</p>
<p><code>sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"<br />
sudo apt-get update<br />
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts</code></p>
<p>However, I am pretty sure using the 11.04 (natty) respository would work as well (Synaptic should already have an entry for partner software):</p>
<p><code>sudo add-apt-repository deb-src http://archive.canonical.com/ubuntu natty partner</code></p>
<p>Then remove all the packages concerning OpenJDK (my computers had six different packages). It is probably easier to find and remove the packages by using Synaptic.</p>
<p>Finally, select the java version to use by typing in the following command (pick the one saying &#8220;sun jre&#8221; and &#8220;auto&#8221;):</p>
<p><code>sudo update-alternatives --config java</code></p>
<p>I have tested the above on two different computers and it is working. If you have problems, leave me a comment and I&#8217;ll see if I can help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2011/05/29/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-5/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Backing up shared, encrypted content with Ubuntu One</title>
		<link>http://www.oyvindhauge.com/blog/2010/11/21/samba-ubuntu-one-encryption/</link>
		<comments>http://www.oyvindhauge.com/blog/2010/11/21/samba-ubuntu-one-encryption/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 10:57:38 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[encfs]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[file sharing]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu One]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1465</guid>
		<description><![CDATA[Providing a shared folder across the home network is a very useful way to store documents. The documents are available to all the computers in the network, and it is far easier to back them up using one of the many online services. Some of these services provide encryption of your data. However, Ubuntu One [...]]]></description>
			<content:encoded><![CDATA[<p>Providing a shared folder across the home network is a very useful way to store documents. The documents are available to all the computers in the network, and it is far easier to back them up using one of the many online services. Some of these services provide encryption of your data. However, <a href="https://one.ubuntu.com/">Ubuntu One</a> does not yet encrypt your data. Even though I do not have any big secrets in my documents, I do not want it to be easy to read them for other people. Therefore, I wanted to encrypt them before uploading them to Ubuntu One.</p>
<p>This post shows how to use a machine with Ubuntu as a central server, how to encrypt your data, and how to back them up using Ubuntu One. The guide assumes that you have a disk (array) containing the data that is mounted outside your home folder in Ubuntu.</p>
<h1>Encryption</h1>
<p>There are several ways to encrypt your data. Ì chose to use a virtual, encrypted file system that encrypts my data on the fly. There are several ways to do this, but I chose <a href="http://www.arg0.net/encfs">encfs</a>. It was recommended around the net, and it seems to be working great. Setting it ups is relatively easy. Just follow <a href="http://forums.overclockers.com.au/showthread.php?t=662969">this great guide</a> by HyRax1 (thanks man). Just take note on how to share the folder with samba (assuming that you already have set up file sharing/samba on your machine. Just google it if in doubt.)</p>
<p>The guid will ask you create two folders. One for the encrypted data, and one for decrypted data. The folder for decrypted data gives you a view that allows you to read and modify your data.</p>
<p><strong>Please make sure to remember your password!</strong></p>
<h1>Linking the folder into your home folder</h1>
<p>Since Ubuntu One <a href="https://wiki.ubuntu.com/UbuntuOne/FAQ/CanISyncAFolderOutsideMyHomeFolder">only supports</a> synchronization of folders within your home folder, you have to bind the folder (the <strong>encrypted</strong> one) into your home folder. Create a folder named &#8220;private_documents&#8221; in your home folder, and in a command prompt type:</p>
<p><code>sudo getdit /etc/fstab</code></p>
<p>Then add a line similar to the one below into your fstab:</p>
<p><code>/path/to/encrypted_data /home/[user name]/private_documents       none    bind        0       0</code></p>
<h1>Synchronize data with Ubuntu One</h1>
<p>Right click your private_documents, select &#8220;Synchronize on Ubuntu One&#8221;. See <a href="https://wiki.ubuntu.com/UbuntuOne/Tutorials/FileSharing">this guide</a> for more info. Now you are all done.</p>
<p>The data may now be downloaded and decrypted on another computer simply by installing encfs and mapping the folder:<br />
<code>encfs /path/to/encrypted_data /path/to/decrypted</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2010/11/21/samba-ubuntu-one-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C Sports: Il buono, il brutto, il cattivo: Part 2</title>
		<link>http://www.oyvindhauge.com/blog/2010/09/22/c-sports-il-buono-il-brutto-il-cattivo-part-2/</link>
		<comments>http://www.oyvindhauge.com/blog/2010/09/22/c-sports-il-buono-il-brutto-il-cattivo-part-2/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 18:44:56 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tv and movies]]></category>
		<category><![CDATA[C Sports]]></category>
		<category><![CDATA[Premiere League]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[TV2]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1462</guid>
		<description><![CDATA[Last year, I complained about the pricing and lack of Linux support from the C Sports service. It was at the time, the only service (legally) providing Premiere League streams through the Internet (at least here in Norway). Now, things have changed. TV2&#8242;s Sumo is now the new provider of Premiere League streams here in [...]]]></description>
			<content:encoded><![CDATA[<p>Last year, I <a href="http://oyvindhauge.com/blog/2009/10/12/c-sports-il-buono-il-brutto-il-cattivo/">complained</a> about the pricing and lack of Linux support from the <a href="http://www.csports.no/">C Sports</a> service. It was at the time, the only service (legally) providing Premiere League streams through the Internet (at least here in Norway). Now, things have changed. TV2&#8242;s Sumo is now the new <a href="http://webtv.tv2.no/webtv/sumo/?treeId=25061">provider of Premiere League streams</a> here in Norway. Since I have subscribed to TV2&#8242;s option through cable TV, I have not yet tested their Internet service.</p>
<div id="attachment_1468" class="wp-caption aligncenter" style="width: 310px"><a href="http://oyvindhauge.com/blog/wp-content/lennon.jpg"><img class="size-medium wp-image-1468" title="Lennon against Aresenal - http://www.telegraph.co.uk" src="http://oyvindhauge.com/blog/wp-content/lennon-300x187.jpg" alt="Lennon against Aresenal - http://www.telegraph.co.uk" width="300" height="187" /></a><p class="wp-caption-text">Lennon against Aresenal - http://www.telegraph.co.uk</p></div>
<p>Nevertheless, C Sports has also changed a bit. <strong>The good</strong>, C Sports now support for Linux through Flash, and they provide streams from the Carling Cup. <strong>The bad</strong>, the prices are still too high. 79 NOK (10 €) for a game in the first round of the Carling Cup, is still too expensive. At least with the service quality they offer. <strong>The ugly</strong>: the image! The picture quality on my stream was very poor. Charging 10€ for it is almost a robbery. Moreover, the stream ended five minutes before the game ended!! I could at least not reconnect at the end of the game.</p>
<p>Nice to see more streaming services available on the Linux platform. However, the image and service quality needs to increase, and the price needs to decrease.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2010/09/22/c-sports-il-buono-il-brutto-il-cattivo-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backing up/Ripping and Transcoding DVDs in Linux</title>
		<link>http://www.oyvindhauge.com/blog/2010/09/19/backing-upripping-dvds-in-linux/</link>
		<comments>http://www.oyvindhauge.com/blog/2010/09/19/backing-upripping-dvds-in-linux/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 08:10:19 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tv and movies]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[dvdbackup]]></category>
		<category><![CDATA[Handbrake]]></category>
		<category><![CDATA[Ripping]]></category>
		<category><![CDATA[transcoding]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1372</guid>
		<description><![CDATA[Ripping and transcoding DVDs in Linux is very easy, but there are many ways of doing it. Personally, I prefer combining the command line tool dvdbackup with Handbrake. The reason I why I do this is to be able to rip a number of DVDs to my hard drive, and then to transcode them over [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Ripping">Ripping</a> and <a href="http://en.wikipedia.org/wiki/Transcoding">transcoding</a> DVDs in Linux is very easy, but there are many ways of doing it. Personally, I prefer combining the command line tool <a href="http://dvdbackup.sourceforge.net/">dvdbackup</a> with <a href="http://handbrake.fr/">Handbrake</a>. The reason I why I do this is to be able to rip a number of DVDs to my hard drive, and then to transcode them over night, or while I am at work. Moreover, both dvdbackup and Handbrake are open source software.</p>
<h1><strong>Step 1.Installation</strong></h1>
<p>First, dvdbackup may be installed through Synaptic, or by typing the following into the command line: <code>sudo apt-get install dvdbackup</code></p>
<p>Second, you most likely have to install a <a href="http://en.wikipedia.org/wiki/Content_Scramble_System">CSS</a> library to remove the copy protection. This may be done by adding the following <a href="http://unofficial.debian-maintainers.org/">unofficial repositories</a> to your list of repositories (System-&gt;Administration-&gt;Synaptic Package Manager, then Settings-&gt;Repositories, and them on the &#8220;Other Software&#8221; pane):</p>
<p><code>deb http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted<br />
deb-src http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted</code></p>
<p>You will most likely get an error message because of a missing key. Ignore this error message, or get the missing key through installing the package <em>dmo-archive-keyring</em>. Then you need to add the package <em>libdvdcss2</em>.</p>
<p>Third, Handbrake does not have an official stable release for Ubuntu at the moment. However, the nightly build has been working very well on my computer. To install this build follow <a href="https://edge.launchpad.net/~stebbins/+archive/handbrake-snapshots">these instructions</a>. In short, add the following two repositories, and install the package <em>handbrake-gtk</em>.<br />
<code>deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu lucid main<br />
deb-src http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu lucid main</code></p>
<h1><strong>Step 2. Ripping with dvdbackup</strong></h1>
<p>I use the  command line tool dvdback up to make a copy of the DVD on the hard  drive. The copy does not have any copy protection. To do this, start the  command line, and go to the folder where you want the image to be  stored. Then, type: <code>dvdbackup -i /dev/dvd -M</code></p>
<div id="attachment_1427" class="wp-caption aligncenter" style="width: 299px"><a href="http://oyvindhauge.com/blog/wp-content/dvdbackup.png"><img class="size-medium wp-image-1427" title="dvdbackup - screenshot" src="http://oyvindhauge.com/blog/wp-content/dvdbackup-289x300.png" alt="dvdbackup - screenshot" width="289" height="300" /></a><p class="wp-caption-text">dvdbackup - screenshot</p></div>
<p>I have experienced some problems with the name of the dvd drive, but /dev/dvd/ usually works. If not, find the right name under /dev or /media. As you might see from the image above, you could receive some error messages. Do not worry about these. They are ignored sectors that are part of the copy protection. Ripping a full DVD usually takes about 15 to 20 minutes on my computer.</p>
<h1><strong>3. Transcoding with Handbrake</strong></h1>
<p>Transcoding the movies and series from the DVD format (usually a  VIDEO_TS folder with several VTS_**_*.VOB files) to a single video file  is very simple. First, set up Handbrake the way you want. Personally, I  do not include subtitles, select the MP4 file format, and use the &#8220;High  quality&#8221; preset. However, you may play around with the settings any way  you like.</p>
<p><strong> </strong></p>
<div id="attachment_1446" class="wp-caption aligncenter" style="width: 310px"><strong><strong><a href="http://oyvindhauge.com/blog/wp-content/handbrake.png"><img class="size-medium wp-image-1446" title="HandBrake - Screenshot" src="http://oyvindhauge.com/blog/wp-content/handbrake-300x195.png" alt="HandBrake - Screenshot" width="300" height="195" /></a></strong></strong><p class="wp-caption-text">HandBrake - Screenshot</p></div>
<p><strong> </strong></p>
<p>Second, Select &#8220;Source&#8221; in Handbrake (see the screenshot above), browse to the source folder of one DVD, and click &#8220;OK&#8221;.</p>
<p>Third, Pick the &#8220;Title&#8221; you want to encode. give it a sensible name, select the folder where you want to store the transcoded file, and click &#8220;Add to Queue&#8221;. The longest title is automatically selected. For DVDs with movies, the longest title is usually the movie itself. For TV series, make sure that you add all the episodes on the disc to the queue.</p>
<p>Fourth, when you have added all the movies you want to transcode, simply click &#8220;Start&#8221; and let your computer do the job. On my machine (AMD Phenom II X4 965 Black with 4 GB RAM), transcoding a movie takes about 45 min to an hour with the hiqh quality settings. On an AMD Athlon X2 4850e with 4 GB RAM, it takes significantly longer.</p>
<h1>The next step</h1>
<p>When Handbrake finishes you will have a collection of transcoded movies and series. In future post, I will show how I manage these using another set of open source software.</p>
<h1><strong>Disclaimer</strong></h1>
<p>Ripping and transcoding (copyrighted) DVDs may be illegal in some countries. In Norway, where I live it is not illegal to break &#8220;weak&#8221; copy protections like <a href="http://en.wikipedia.org/wiki/Content-scrambling_system">CSS</a> (the copy protection used on DVDs). Distribution of copyrighted material is still illegal in Norway and most other countries, so please don&#8217;t do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2010/09/19/backing-upripping-dvds-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BankID and Java plug-in in Firefox on Ubuntu Part 4</title>
		<link>http://www.oyvindhauge.com/blog/2010/06/20/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-4/</link>
		<comments>http://www.oyvindhauge.com/blog/2010/06/20/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-4/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 17:51:21 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[BankID]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1328</guid>
		<description><![CDATA[I have earlier tried to explain how to get around the Java related issues with BankID and Firefox on Ubuntu (1, 2, and 3). However, it seems that every new Ubuntu release introduce a change or two that forces us to fix something. BankID seems to require Sun&#8216;s JRE. However, this JRE is not part [...]]]></description>
			<content:encoded><![CDATA[<p>I have earlier tried to explain how to get around the Java related issues with BankID and Firefox on Ubuntu (<a href="http://oyvindhauge.com/blog/2009/01/08/bankid-and-java-plug-in-in-firefox-on-ubuntu/">1</a>, <a href="http://oyvindhauge.com/blog/2009/05/11/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-2/">2</a>, and <a href="http://oyvindhauge.com/blog/2009/11/02/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-3/">3</a>). However, it seems that every new Ubuntu release introduce a change or two that forces us to fix something. BankID seems to require <strong>Sun</strong>&#8216;s <a href="http://en.wikipedia.org/wiki/JRE#Execution_environment">JRE</a>. However, this JRE is not part of the standard repository (OpenJDK is). Below I&#8217;ll provide a short step-by-step guide to fix the problem in Ubuntu 10.04.</p>
<p>First, add a repository that contains Sun&#8217;s JRE. You may go to the Synaptic Package Manager and select &#8220;Settings-&gt;Repositories-&gt;Other software-&gt;Add&#8221; and paste the following: <em>deb http://archive.canonical.com/ lucid partner</em>, or type the following command into your console window:  <em>sudo add-apt-repository &#8220;deb http://archive.canonical.com/ lucid partner&#8221;.</em></p>
<p>Second, you should now be able to install sun-java6-jre, sun-java6-fonts and sun-java6-plugin through either Synaptic or <em>sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts</em>.</p>
<p>Third, make sure that you remove the openjdk. In Synaptic remove openjdk-6-jre-lib and openjdk-6-jre.</p>
<p>Finally, set the sun-java6-jre to be your active jre by typing the following in your console: <em>sudo update-alternatives &#8211;config java. </em>Then select the right jre (<em>/usr/lib/jvm/java-6-sun/jre/bin/java</em>). It should most likely be &#8220;0&#8243;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2010/06/20/bankid-and-java-plug-in-in-firefox-on-ubuntu-part-4/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Olypics: NRK, Linux, Firefox,  and Silverlight/Moonlight</title>
		<link>http://www.oyvindhauge.com/blog/2010/02/15/the-olypics-nrk-linux-firefox-and-silverlightmoonlight/</link>
		<comments>http://www.oyvindhauge.com/blog/2010/02/15/the-olypics-nrk-linux-firefox-and-silverlightmoonlight/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:05:16 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tv and movies]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Moonlight]]></category>
		<category><![CDATA[NRK]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1317</guid>
		<description><![CDATA[I have previously written about my efforts to see tv (NRK) over the Internet on Linux. While working on my thesis I had to watch a bit of the Olympics (as a distraction). Luckily, NRK streams most of the events over the Internet. Unfortunately, they have decided to use Silverlight version 3 to stream content [...]]]></description>
			<content:encoded><![CDATA[<p>I have previously <a href="http://oyvindhauge.com/blog/2010/01/07/video-color-problems-with-trailers-from-apple-and-content-from-nrk-with-ubuntu-totem-and-movie-player/">written</a> about my efforts to see tv (NRK) over the Internet on Linux. While working on my thesis I had to watch a bit of the Olympics (as a distraction). Luckily, <a href="http://www.nrkol.no/index.html">NRK</a> streams most of the events over the Internet. Unfortunately, they have decided to use <a href="http://silverlight.net/">Silverlight</a> version 3 to stream content from the Olympics.</p>
<p>This does not work right out of the box with Ubuntu. Thanks to Anders S. Lund I found the <a href="http://nrkbeta.no/2009/12/21/nrk-nett-tv-paa-linux/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+nrkbeta+%28NRKbeta%29&amp;utm_content=Twitter">solution</a>, which was to install an alpha version of <a href="http://www.mono-project.com">Moonlight</a>:</p>
<ol>
<li>Remove the Firefox-VLC plugin: &#8220;<em>sudo apt-get remove mozilla-plugin-vlc&#8221;</em></li>
<li>Remove previous versions of Moonlght: In Firefox goto Tools -&gt; Add-ons -&gt; Extensions</li>
<li>Download the most recent version of Moonlight: <a onclick="javascript:pageTracker._trackPageview('/outbound/comment/http://www.go-mono.com/moonlight/prerelease.aspx');" rel="nofollow" href="http://www.go-mono.com/moonlight/prerelease.aspx">http://www.go-mono.com/moonlight/prerelease.aspx</a></li>
<li>In case of sluggish performance, turn of all effects by closing the browser and using the following command: &#8220;<em>MOONLIGHT_OVERRIDES=effects=no firefox</em>&#8220;</li>
</ol>
<p>See the following <a href="http://www.mono-project.com/Moonlight/OlympicsPlayerIssues">link</a> for more information/troubleshooting.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 53px; width: 1px; height: 1px;">
<pre>MOONLIGHT_OVERRIDES=effects=no firefox
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2010/02/15/the-olypics-nrk-linux-firefox-and-silverlightmoonlight/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Blu-ray playback (sort of) comes to Linux</title>
		<link>http://www.oyvindhauge.com/blog/2010/01/28/blu-ray-playback-sort-of-comes-to-linux/</link>
		<comments>http://www.oyvindhauge.com/blog/2010/01/28/blu-ray-playback-sort-of-comes-to-linux/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 15:37:51 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Blu-ray]]></category>
		<category><![CDATA[HTPC]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1308</guid>
		<description><![CDATA[The lack of playback of Blu-ray movies has stopped me from installing a Linux distribution on my HTPC. However, according to a blog post from The Media Viking, this is now possible. It is still a bit cumbersome, but it seems better than the old recipe. I have personally not tested it yet, but I [...]]]></description>
			<content:encoded><![CDATA[<p>The lack of playback of Blu-ray movies has stopped me from installing a Linux distribution on my <a href="http://oyvindhauge.com/blog/2009/02/08/a-htpcgaming-rig-part-3/">HTPC</a>. However, according to a <a href="http://themediaviking.com/software/bluray-linux/">blog post</a> from <a href="http://themediaviking.com">The Media Viking</a>, this is now possible. It is still a bit cumbersome, but it seems better than the <a href="https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD">old recipe</a>. I have personally not tested it yet, but I guess I will try when I have the time.</p>
<p>I hope this is a step towards native support for playback of Blu-ray movies on Linux. Actually, in my eyes I think we are better off without physical distribution of movies. I would love to see native support for Blu-rays, but even better would be digital high-quality services with a large library.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2010/01/28/blu-ray-playback-sort-of-comes-to-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video color problems with trailers from Apple and content from NRK with Ubuntu, Totem, and Movie Player</title>
		<link>http://www.oyvindhauge.com/blog/2010/01/07/video-color-problems-with-trailers-from-apple-and-content-from-nrk-with-ubuntu-totem-and-movie-player/</link>
		<comments>http://www.oyvindhauge.com/blog/2010/01/07/video-color-problems-with-trailers-from-apple-and-content-from-nrk-with-ubuntu-totem-and-movie-player/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 13:03:20 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Movie Player]]></category>
		<category><![CDATA[NRK]]></category>
		<category><![CDATA[totem]]></category>
		<category><![CDATA[trailers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1279</guid>
		<description><![CDATA[I have not used my Linux computer that much to watch trailers from Apple and TV from NRK, but I have sometimes experienced problems with a blue-green tint on video content. Since I have not used it that much, it has not really been a major problem. However, it has been a bit annoying. The [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: left;">I have not used my Linux computer that much to watch trailers from <a href="http://apple.com/trailers">Apple</a> and TV from <a href="http://www.nrk.no/nett-tv/">NRK</a>, but I have sometimes experienced problems with a blue-green tint on video content. Since I have not used it that much, it has not really been a major problem. However, it has been a bit annoying.</div>
<div id="attachment_1280" class="wp-caption aligncenter" style="width: 310px"><a href="http://oyvindhauge.com/blog/wp-content/totem_preferences.png"><img class="size-medium wp-image-1280" title="totem_preferences" src="http://oyvindhauge.com/blog/wp-content/totem_preferences-300x282.png" alt="Mediaplayer/Totem preferences" width="300" height="282" /></a><p class="wp-caption-text">Mediaplayer/Totem preferences</p></div>
<p>The fix was relatively simple. It seems as because of some <a href="http://ubuntuforums.org/archive/index.php/t-800311.html">old bug</a>, the <a href="http://en.wikipedia.org/wiki/Hue">Hue</a> in Movie Player/Totem should have been turned off (either to max or min). Now, it seems someone have fixed this bug and the Hue should rather be set to the middle position as illustrated above. Open Movie Player (Applications -&gt; Sound &amp; Video -&gt; Movie Player). Open the display preferences like in the figure (Edit -&gt; Preferences -&gt; Display) and put the slider in the middle position. This did the trick (at least for me).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2010/01/07/video-color-problems-with-trailers-from-apple-and-content-from-nrk-with-ubuntu-totem-and-movie-player/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

