LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 02-17-2005, 07:33 AM   #1
Zakirium
LQ Newbie
 
Registered: Jan 2005
Location: US
Distribution: SuSE 9.2 Professional
Posts: 28

Rep: Reputation: 15
Playing DVD's


Is it possible to play DVD movies in linux? WHen I tried doing it today, it said that there wasn't a plugin available due to legal reasons. Are there different restrictions between windows and linux? I am using Xine and Kaffeine, what defaultly came with SuSE 9.2. Is there a plugin that I can get from somewhere or is a different program that I should use?

Thanks.

Zakir
 
Old 02-17-2005, 07:53 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
You may need to compile and install libdvdcss which is for decrypting encrypted dvd's (all commercial dvds).http://freshmeat.net/projects/libdvdcss/, don't forget to do a ldconfig after installing it.
This library is illigal in some countries like USA, and this is why they don't include it in the distros.
For more info read the xine FAQ: http://xinehq.de/index.php/faq#AEN209
 
Old 02-17-2005, 07:56 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Unfortunately, most commercial DVD's are encrypted by something called CSS. To watch these DVD's one has to pay twice: once for the DVD itself and a second time for the decoding software. Since Linux is an open source OS, there are troubles making this code available. Breaking the code is possible, but may be illegal (though I do not think that ever one private codebreaker has been charged on that). If you can live with this spot of bother, you can find instructions on how to install libdvdcss here:

http://packman.links2linux.org/?action=122

You will need to de-install the SuSE version of Xine and use the one from that site (or self-compiled).
 
Old 02-17-2005, 08:40 AM   #4
Marrea
Member
 
Registered: Sep 2003
Location: UK
Distribution: openSUSE 11.4, Ubuntu 10.04, Ubuntu 11.04
Posts: 55

Rep: Reputation: 15
Zakirium

To play encrypted DVDs in xine or Kaffeine in SuSE 9.2, you need to delete the versions of xine and its associated programs which come with the original installation disc and install new versions from what is known as the "Packman" site. You also need libdvdcss.

Using YaST, delete SuSE's versions of the following:

kaffeine
kdemultimedia3-video-xine
totem
xine-lib
xine-ui

Go to http://cambuca.ldhs.cetuc.puc-rio.br/xine/ download and install libdvdcss.

Go to http://packman.links2linux.org/ and enter xine in the search box. You need xine-lib and xine-ui. Select whichever versions are correct for your architecture. For xine-lib you will also need to download the various additionally needed binary packages (you'll find them listed at the bottom of the xine-lib page).

Install the additionally needed binary packages first, then xine-lib and xine-ui.

(You can download kaffeine as well if you want to use that as an alternative. This program too needs additional binary packages.)

DVDs should then play.

Two other things you may possibly need to do:

1. xine expects to find your DVD drive at /dev/dvd so if DVDs still don't play create a soft link, eg
ln -s /dev/hdc /dev/dvd
but replace /dev/hdc with whatever device your DVD drive is on

2. If DVD playback is jerky you probably haven't got DMA turned on for your DVD drive (you can turn it on in YaST - Hardware, IDE DMA Mode, and turn on DMA for the CD drive).

Last edited by Marrea; 02-17-2005 at 09:27 AM.
 
Old 02-17-2005, 08:57 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
i think it's only fair i put in my two cents and recommend MPlayer over Xine. one big plus for getting something ont he screen is that to watch a DVD, you need to install ***NOTHING*** other than the base mplayer code. it includes everything like libdvdcss inside it. much nicer. especially as Xine bites...
 
Old 02-17-2005, 09:12 AM   #6
Zakirium
LQ Newbie
 
Registered: Jan 2005
Location: US
Distribution: SuSE 9.2 Professional
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks.

Thanks for all of the response. I think that I will try to use Mplayer at the moment. It seems like the easiest solution for my needs. Do I need to uninstall xine to use it or can I just install mplayer?

Thanks.

Zakir
 
Old 02-17-2005, 09:34 AM   #7
Marrea
Member
 
Registered: Sep 2003
Location: UK
Distribution: openSUSE 11.4, Ubuntu 10.04, Ubuntu 11.04
Posts: 55

Rep: Reputation: 15
Yes, I tend to agree with acid_kewpie - MPlayer is easier to get working "straight out of the box". And I think it produces slightly better colours on screen than xine.

You can get it from the Packman site. You don't need to uninstall xine first - at least I didn't need to when I installed MPlayer.
 
Old 02-17-2005, 09:46 AM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
Originally posted by acid_kewpie
i think it's only fair i put in my two cents and recommend MPlayer over Xine. one big plus for getting something ont he screen is that to watch a DVD, you need to install ***NOTHING*** other than the base mplayer code. it includes everything like libdvdcss inside it. much nicer. especially as Xine bites...
The only problem is that mplayer does not support DVD menus. You won't have the mainmenu, extra menu, language menu, etc.

Quote:
Thanks for all of the response. I think that I will try to use Mplayer at the moment. It seems like the easiest solution for my needs. Do I need to uninstall xine to use it or can I just install mplayer?
Of course NOT. You don't need to uninstall a program(xine) to have another program installed. The problem is that mplayer is not so easy to install . U need to download and install the codecs first, you need to download fonts, skin, enable gui on configuration,unless you use the rpm version, which i do not recommend because if you install it from source, it will be compiled optimized for your system. The truth is that mplayer is the most efficient media player I've seen and can play everything if you download the all-codecs package,(mp3,ogg,wav,wmv,wma,mov) but if you ask me it's easier to install xine than mplayer. Also before you install xine make sure lame and divx is installed.
Finally I've got some movies that play well in Xine and don't play in mplayer, and some that play well in mplayer and don't play in XINE. So Keep them both.

Also make sure that your DVD's DMA is enabled and install the 3D accelation driver of your video card (if available), especially if you have an old PC, because otherwise you'll need a lot of CPU.
 
Old 05-09-2005, 09:40 AM   #9
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Rep: Reputation: 15
Interesting about the "delete the original xine" bit...
I just downloaded and installed (in order, if that has anything to do with it):
libxine1-1.0.1cvs-050503.k6.rpm,
libdvdcss-1.2.8-2.network.i386.rpm, and
xine-ui-0.99.3cvs-050503.i586.rpm
I just let YaST do it's stuff.

My 'test' DVD, which previous caused Xine to throw up a "can't play, because it's encrypted" type message, now plays it just fine. Though so far it's the only DVD I've tested...

This is on SuSE 9.2.
 
Old 05-12-2005, 06:38 PM   #10
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
Originally posted by aes canis
Interesting about the "delete the original xine" bit...
I just downloaded and installed (in order, if that has anything to do with it):
libxine1-1.0.1cvs-050503.k6.rpm,
libdvdcss-1.2.8-2.network.i386.rpm, and
xine-ui-0.99.3cvs-050503.i586.rpm
I just let YaST do it's stuff.

My 'test' DVD, which previous caused Xine to throw up a "can't play, because it's encrypted" type message, now plays it just fine. Though so far it's the only DVD I've tested...

This is on SuSE 9.2.
I was informed that for legal reasons, xine's DVD playback ability is deprecated in SuSE. ( I did not know that when I first posted. I don't like SuSE, so I don't use SuSE).
SO, as far as I know, removing SuSE's xine and installing the original xine is the best thing to do.
 
Old 05-13-2005, 10:56 PM   #11
BROse
Member
 
Registered: Nov 2003
Location: Here & Now
Distribution: SuSE 10.2
Posts: 96

Rep: Reputation: 15
Search google/linux for ogle..there you'll find all the things you need to watch your dvd's.
 
Old 05-14-2005, 01:24 AM   #12
PerfectReign
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Rep: Reputation: 33
I saw this posted in alt.os.linux.suse a while back. Nice looking instructions. I installed MPlayer to get a DVD to play. So far I've watched one DVD (Land of the Lost) but at least I know it can be done.

http://www.saunalahti.fi/~pirisisi/tips/Linux/dvdplay/

The nice thing with MPlayer, it can double as an .avi viewer, quicktime viewer, wmv viewer, and so on...
 
Old 05-18-2005, 12:39 PM   #13
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Rep: Reputation: 15
Quote:
Originally posted by perfect_circle
I was informed that for legal reasons, xine's DVD playback ability is deprecated in SuSE. ( I did not know that when I first posted. I don't like SuSE, so I don't use SuSE).
SO, as far as I know, removing SuSE's xine and installing the original xine is the best thing to do.
Well, as I said before, I didn't delete anything, just installed the xinelib from xinehq, along with the UI and also libdvdcss from freshmeat and it worked 1st time.
Having said that, SuSE 9.2 was a bit sluggish on this old box, so I deleted that instead...
I have just installed Slackware 10.1 with fluxbox & some things are a bit quicker. Most others area damned sight quicker
I just stuck my 'test' DVD in and waited for xine to give me the 'can't play' message, when it played!
Groovey stuff.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Playing DVD's jlacroix Ubuntu 17 10-20-2005 07:09 PM
playing dvd's oldie Linux - Software 2 06-24-2005 04:30 PM
Playing DVD'S tired Suse/Novell 6 05-06-2005 05:33 PM
Playing DVD's in Mandrake 10.1 Linux24 Linux - Software 4 11-04-2004 09:28 AM
Playing DVD's Nigel Linux - Software 2 01-05-2004 11:55 AM


All times are GMT -5. The time now is 10:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration