<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Xine on Michael’s Domain</title><link>https://jeltsch.org/en/tags/xine/</link><description>Recent content in Xine 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/xine/index.xml" rel="self" type="application/rss+xml"/><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><item><title>Watching, ripping and converting DVDs (xine, mplayer, mencoder, dvd, iso image)</title><link>https://jeltsch.org/en/watching_ripping_and_converting_dvds_xine_mplayer_mencoder_dvd_iso_image/</link><pubDate>Sun, 12 Nov 2006 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/watching_ripping_and_converting_dvds_xine_mplayer_mencoder_dvd_iso_image/</guid><description>&lt;p&gt;Both xine and MPlayer can play DVDs directly, but xine has a DVD navigation. In Mplayer you need to specify which movie (VOB file) you want to play:&lt;code&gt;xine dvd:// mplayer dvd://3&lt;/code&gt; If you just want to temporarily store the DVD on your hard disk it might be sufficient to create a DVD image:&lt;code&gt;dd if=/dev/dvd of=rosenstrasse.iso&lt;/code&gt; The image can be mounted as follows:&lt;code&gt;sudo mount -o loop rosenstrasse.iso /media/temp/&lt;/code&gt; Xine can play a DVD from an iso image directly (without mouting the image):&lt;code&gt;xine dvd://media/isos/movie.iso&lt;/code&gt; Note that you need to specify always the complete path even if the movie is in the current directory! Mplayer can play the individual VOB files from the image (however without subtitle support). I couldn&amp;rsquo;t make Mplayer to accept the iso image as dvd.For conversion to e.g. DivX/XviD the easiest is to use Mplayer/mencoder. First I extracted audio:&lt;code&gt;mencoder dvd://1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts abr:br=128&lt;/code&gt; Then the 1. pass encoding:&lt;code&gt;mencoder dvd://1 -nosound -oac copy -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=1:vqmin=1:vqmax=31 -vop scale -zoom -xy 640 -vf pp lb&lt;/code&gt; Then the 2. pass encoding:&lt;code&gt;mencoder dvd://1 -oac copy -o file.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=2:vqmin=1:vqmax=31 -vop scale -zoom -xy 640 -vf pp lb&lt;/code&gt;It is more difficult to extract the subtitles. You can either extract them as images (easier but bigger filesize) or then convert these images into textfiles (requires an OCR step).Extract subtitle images (from mounted iso image in this case):&lt;code&gt;cat /media/temp/VIDEO_TS/VTS_01_?.VOB | tcextract -x ps1 -t vob -a 0x20 &amp;gt; movie.ps1&lt;/code&gt; Convert subtitle images:&lt;code&gt;subtitle2vobsub -i /media/temp/VIDEO_TS/VTS_01_0.IFO -p movie.ps1 -o movie_name&lt;/code&gt; Copy metadata:&lt;code&gt;cp /media/temp/VIDEO_TS/VTS_01_0.IFO movie_name.ifo&lt;/code&gt; Play from VOB file directly:&lt;code&gt;mplayer /media/temp/VIDEO_TS/VTS_01_1.VOB -vobsub movie_name -vobsubid 0&lt;/code&gt; Play from avi file:&lt;code&gt;mplayer movie.avi -vobsub movie_name -vobsubid 0&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>