<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Libdvdcss2 on Michael’s Domain</title><link>https://jeltsch.org/en/tags/libdvdcss2/</link><description>Recent content in Libdvdcss2 on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/libdvdcss2/index.xml" rel="self" type="application/rss+xml"/><item><title>Handbrake and protected DVDs</title><link>https://jeltsch.org/en/handbrake_and_protected_dvds/</link><pubDate>Thu, 02 Mar 2017 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/handbrake_and_protected_dvds/</guid><description>&lt;p&gt;Ripping DVDs is a thing of the past, but occasionally I still need to do it. However, it happens so rarely that evertime I have either a new computer or a new Linux distribution and I need to install the necessary software. This time I am on Ubuntu 16.04. I usually use 
 &lt;a href="https://handbrake.fr/" target="_blank" rel="noopener noreferrer nofollow"&gt;Handbrake&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 and it is very comfortable, but handbrake sometimes fails to do the job. This time, I had to resort to 
 &lt;a href="http://www.makemkv.com/" target="_blank" rel="noopener noreferrer nofollow"&gt;MakeMKV&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. However MakeMKV only rips the video to an MKV container but it does not compress it. If you need the space reduction you should still push the file through a compressor. Here&amp;rsquo;s the whole chain of commands:I only have an Apple USB-Superdrive. Apple doesn&amp;rsquo;t want me to use it with any other computer but Macs. Therefore, in order to make it work under Linux, you needs to sens it a &amp;ldquo;Magic cookie&amp;rdquo; (see here: ):&lt;code&gt;sg_raw /dev/sr0 EA 00 00 00 00 00 01&lt;/code&gt;If you have Handbrake installed from the default Ubuntu repository, you need to remove it (it&amp;rsquo;s crippled and you want to be able to use it also with encrypted DVDs):(&lt;code&gt;sudo apt remove handbrake &amp;amp;&amp;amp; sudo apt autoremove&lt;/code&gt;)Install this version:&lt;code&gt;sudo add-apt-repository ppa:stebbins/handbrake-releasessudo apt updatesudo apt install handbrake-gtk handbrake-cli&lt;/code&gt;Install software to read encrypted DVDs:&lt;code&gt;sudo apt-get install libdvd-pkg&lt;/code&gt;However, you have to execute some manual commands after the install is ready, but the installer instructs you during installation.Select as source the TS_Audio folder on the DVD. If the scan never finishes or you do not see any tracks after the scan finishes, you might need something like MakeMKV. I didn&amp;rsquo;t find any PPA or deb file, so I compiled it from source, which succeeded without any problems following the isntructions from here: 
 &lt;a href="http://www.makemkv.com/forum2/viewtopic.php?f=3&amp;amp;t=224" target="_blank" rel="noopener noreferrer nofollow"&gt;http://www.makemkv.com/forum2/viewtopic.php?f=3&amp;t=224&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. Here the short version:&lt;code&gt;wget http://www.makemkv.com/download/makemkv-bin-1.10.4.tar.gzwget http://www.makemkv.com/download/makemkv-oss-1.10.4.tar.gztar -xvzf makemkv-bin-1.10.4.tar.gztar -xvzf makemkv-oss-1.10.4.tar.gz cd makemkv-oss-1.10.4/./configuremakesudo make installcd ../makemkv-bin-1.10.4/makesudo make install&lt;/code&gt;The executable is /usr/bin/makemkv&lt;/p&gt;</description></item><item><title>Suse Linux 9.2 and encrypted DVD playback (xine, libdvdcss2, libxine, hdparm, DMA)</title><link>https://jeltsch.org/en/suse_linux_9_2_and_encrypted_dvd_playback_xine_libdvdcss2_libxine_hdparm_dma/</link><pubDate>Sun, 12 Nov 2006 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/suse_linux_9_2_and_encrypted_dvd_playback_xine_libdvdcss2_libxine_hdparm_dma/</guid><description>&lt;p&gt;Although several linux video players (e.g. xine) do support playback of encrypted DVDs, Suse has crippled the libraries needed to do so. Thus none of the players/frontends included in Suse Linux 9.2 can play encrypted DVDs. What are encrypted DVDs? Essentially all commerical movies are released exclusively as encrypted DVDs. It is a pain in the ass, but actually can be cured. To play encrypted DVDs you need libdvdcss2. This is the famous hack, that was in the news and that obviously was not liked by the media industry. In some countries this software is illegal; in some others only the binaries are but the sourcecode is not. You can download a 
 &lt;a href="http://www.iiv.de/schwinde/buerger/tremmel/downloads/script_rpm4/install_libdvdcss2" target="_blank" rel="noopener noreferrer nofollow"&gt;script&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 that creates automatically an rpm for suse &amp;gt;= 9. Additionally you should replace or update the Suse Linux xinelib with the uncrippled version from 
 &lt;a href="http://packman.links2linux.de/?action=124" target="_blank" rel="noopener noreferrer nofollow"&gt;Packman&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. Xine still opens a window that claims that it cannot play encrypted DVDs with a link to some site where you are supposed to read why not. This link is dead. Shame on you, Suse (or Novell); if you cripple your distro, please make sure that at least your explanatory links do work! Some DVD hardware is apparently additionally limited based on the country codes. The world has been split into eight regions and according to the will of the media industry the customer should only be allowed to watch DVDs released specifically for his region. There is a linux tool around with with you can switch your area code, but I don&amp;rsquo;t remember its name or URL as this was not necessary for my hardware.&lt;/p&gt;</description></item></channel></rss>