Click to See Complete Forum and Search --> : How can I get XINE to play DVD's?


b_usa
10-02-2002, 08:53 PM
This is one nut to crack for me.. I have Mandrake 9.0 installed, but have been unable to get any DVD's playin'? I have XINE and I know it is capable, but have heard others say it requires tweaking... Can someone steer me in the right direction here? Thanks

I might add that I can't get XINE to recognize a DVD, so it could be a problem with not having my DVD drive configured correctly...

sarah31
10-02-2002, 09:39 PM
you need to have libdvdread and libdvdcss installed then in the configuration window you will see reference to the path to the dvd device edit that to point to the correct device and then hit enter.

tis is all the tweaking i have ever had to do.

Xine is simple and work well.

b_usa
10-03-2002, 12:25 AM
Ok this is getting really frustrating. After almost three weeks of linux I have been unable to accomplish the simplest tasks. I have learned basic bash skills, I know my way around the file system, but some of this software seems useless to me. I've done everything I've read and been advised to do with no success. I have the plugins, I cant find /dev/dvd, so I made a /dvd file in /mnt and put a symbolic link to the dvd rom... Im at wits end here, it's not worth this much work to me. Im still going to learn linux bacause I see a lot of opportunity to learn about my computer, but Im givimg up on the idea of linux ever replacing windows for me...

sarah31
10-03-2002, 03:08 AM
okay some of this is redundant but here:

1. install libdvdread
2. install libdvdcss
3.start xine click on the little wrech looking thingy and then click on input and in the section that says "device used for dvd drive" put in your dvd device( in my case /dev/cdroms/cdrom0) and hit enter.
4. exit xine then relaunch it from a terminal and try playing a dvd by clicking on the d4d button. the terminal will tell you what happens and if nothing it does it should tell you why.

berb
10-03-2002, 03:17 AM
I too had the bigest problem to get dvds to play under xine, so I just installed Ogle (http://www.dtek.chalmers.se/groups/dvd/) and it worked out of the box, of course I did all the RTFMing I could and had a little problem with decss, but that's a different story for another board...

danrees
10-03-2002, 04:25 AM
FWIW, Ogle is working great for me on MDK 9.0.

Haven't tried Xine with it yet though.

b_usa
10-03-2002, 11:25 AM
Thanks, I will try OGLE. I cannot get XINE to work, and have heard that others have had this problem too.:)

b_usa
10-03-2002, 04:26 PM
Im really starting to think that Linux is a joke for home users who don't have a lot of time to constantly configure this or that, or read pages after pages to accomplish a simple thing. I have installed OGLE, all of it's dependencies, as per the instructions on the site, and all it will do is start the GUI. When I run it from the terminal I get a few lines of debug information. When I try to run a DVD it just shuts down. Im just ready to say goodbye to linux as a destop solution, and just think of ot as a hobby to mess with in my very limited spare time...

[bryan@localhost bryan]$ ogle
Build: Linux 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686 unknown Mon Aug 5 21:58:55 CEST 2002 mmx Xv oss
Runtime: Linux 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 unknown
Note[ogle_ctrl]: ogle 0.8.5
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_gui with pid 3251
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_nav with pid 3252
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps with pid 3253
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with pid 3254
Debug[ogle_vout]: CLK_TCK: 100

Here is the debug info I get, maybe it makes sense to you?

When I try and run a DVD without a GUI I get this:
[bryan@localhost bryan]$ ogle -p
Build: Linux 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686 unknown Mon Aug 5 21 :58:55 CEST 2002 mmx Xv oss
Runtime: Linux 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 unknown
/usr/lib/ogle/ogle_ctrl: invalid option -- p
Usage: ogle_ctrl [-h] [-u cli|gui] [<path>]
[bryan@localhost bryan]$ man ogle
[bryan@localhost bryan]$ ogle -u cli /dev/hdd
Build: Linux 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686 unknown Mon Aug 5 21:58:55 CEST 2002 mmx Xv oss
Runtime: Linux 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 unknown
Note[ogle_ctrl]: ogle 0.8.5
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_cli with pid 3317
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_nav with pid 3318
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps with pid 3319
Debug[ogle_vout]: CLK_TCK: 100
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with pid 3320
Debug[ogle_nav]: Opening DVD at "/dev/hdd"
libdvdread: Can't open libdvdcss: libdvdcss.so.1: cannot open shared object file: No such file or directory.
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open /dev/hdd for reading.
vm: faild to open/read the DVD
Debug[ogle_ctrl]: child: 3318 exited with 1
Debug[ogle_ctrl]: pid: 3318 exited with status: 1
Debug[ogle_ctrl]: child: 3317 killed
Debug[ogle_ctrl]: pid: 3317 terminated on signal: 2
Debug[ogle_ctrl]: child: 3320 killed
Debug[ogle_ctrl]: pid: 3320 terminated on signal: 2
Debug[ogle_ctrl]: child: 3319 killed
Debug[ogle_ctrl]: pid: 3319 terminated on signal: 2
Debug[ogle_ctrl]: removing shmid: 11108365
Note[ogle_ctrl]: exiting
[bryan@localhost bryan]$

Hayl
10-03-2002, 04:36 PM
make sure you have done this:

ln -s /dev/cdrom0 /dev/dvd


looking at the errors, this one stands out: libdvdread: Can't open libdvdcss: libdvdcss.so.1: cannot open shared object file: No such file or directory.

you need libdvdcss installed in order to read encrypted dvds (99.9% of dvds are encrypted). if you can't find a mandrake 9 specific one, then you could try here: http://www.videolan.org/libdvdcss/download.html

a note on xine. it does not keep the proper aspect ratio when resizing the window. they like to blame this on certain video cards however, ogle works properly when resizing the window. i noticed today that mplayer has a similar problem but it is not as bad as in xine.

b_usa
10-03-2002, 05:00 PM
Thanks you for your response. Ive allready put a link in /dev/dvd. This might be noteworthy, there was no /dev/dvd to begin with, I had to create it to put the link in... Is that normal?Im wondering if my DVD drive is not configured correctly at a base level and that could be part of the problem. I did install libdvdcss as well, but perhaps it isn't configured correctly? Im not on my linux machine at the moment, but when I get back home Ill rpm -q libdvdcss and see what I get:)

Hayl
10-03-2002, 05:26 PM
i'm 99% sure it's not your dvd drive.

it just can't find libdvdcss for some reason.

Hayl
10-03-2002, 05:30 PM
i found this. which kind of supports what i was saying.

On Sun, Jan 20, 2002 at 03:08:14PM +0100, Reiner Rosin wrote:
> Hi,
>
> > I have installed libdvdcss-ogle-0.0.3-ogle3 in
> /usr/local/src/DVD/libdvdcss,
> > but if I start a DVD I get the error:
> > libdvdread: Can't open libdvdcss: libdvdcss.so.0: cannot open shared
> object file: No such file or directory.
> > libdvdread: Encrypted DVD support unavailable.
>
> 1) 'make install' in 'libdvdcss'
> 2) 'ldconfig'
>
> ans it should work ...

Yes, great! Thank you!