LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   playing DVDs with Slackware? (http://www.linuxquestions.org/questions/slackware-14/playing-dvds-with-slackware-430793/)

JockVSJock 04-01-2006 07:49 PM

playing DVDs with Slackware?
 
How do I play a dvd with Slackware?

I have a DVD player on my laptop, and I mount the DVD and then I use XINE to play it, it will play about 30 seconds of the opening and then quit.

I googled around, and I used the following to look and see what is up

Code:

dmesg | grep dvd
But it doesn't return any results...Any ideas what I can do to fix this?

thanks

Alien_Hominid 04-02-2006 12:33 AM

Did you try any other players? For example, Totem. Maybe your dvd is corrupt.

chrisortiz 04-02-2006 01:33 AM

did you install libdvdcss?

btw you should not have to mount your dvd to play it.

chrisortiz 04-02-2006 01:33 AM

did you install libdvdcss?

btw you should not have to mount your dvd to play it.

chrisortiz 04-02-2006 01:34 AM

sorry about the double post, my browser froze

capicu 04-02-2006 08:14 AM

How I do it (not sure if I'm forgetting something):
- A search for libdvd on linuxpackages.
- Download libdvdcss,libdvdnav and libdvdread from this.
- A search for a52dec, download that.
- Insert DVD
- Run xine
- Choose DVD in xine's menu

There is lots of stuff that can be wrong if this doesn't work. Permissions on /dev/hdc is one, and something to do with hdparm which you'll have to google. There is a long guide to this for various distros out there somewhere too.

Bruce Hill 04-02-2006 09:27 AM

Try "dmesg | grep -i dvd" or "dmesg | grep -i atapi" as grep is case sensitive, but the -i switch (--ignore-case) tells it to ignore case distinctions in both the PATTERN and the input files.

And for xine, there's some good information here. But first, in a terminal as normal user, run "xine-check" and follow the instructions. You can open another terminal and probably almost (if not) cut and paste.

If you need libdvdcss (a simple library designed for accessing DVDs like a block device without having to bother about the decryption) get it from Alien's repository. Save it wherever you like, then as root in a terminal issue "installpkg libdvdcss-1.2.9-i486-1.tgz" and you won't have the encryption worry.

And to play DVDs with Xine, don't mount the DVD. Just launch Xine and click on the DVD Navigator button in the Controls.

TuxSurfer 04-02-2006 11:17 AM

...
 
Quote:

Originally Posted by JockVSJock
... it will play about 30 seconds of the opening and then quit.

If you can play part of the video before it quits then I don't think it is an issue with codecs or libdvdcss. Try starting Xine from a shell, play the dvd and when it quits look at the shell and see if xine returned any errors, then post those errors here.

Toods 04-02-2006 11:19 AM

Quote:

Originally Posted by Chinaman
And to play DVDs with Xine, don't mount the DVD. Just launch Xine and click on the DVD Navigator button in the Controls.

I just went through all this today to get Xine to play DVDs.

After installing libdvdcss, all I did was to make sure that the FSTAB entries were correct for the DVD drive. In my case, I decided to create an additional symlink:
Code:

ln -s /dev/hdc /dev/dvd
Also, to get it to play when logged in as my 'Username', I added my 'Username' to the 'disk' group by editing the /etc/group file.

JockVSJock 04-02-2006 11:52 AM

Quote:

Originally Posted by chrisortiz
did you install libdvdcss?

btw you should not have to mount your dvd to play it.

No I don't have libdvdcss...


Question:

Do I need to install that under /lib or /usr/local/lib?

I only login as a normal user, never root.

thanks

Alien_Hominid 04-02-2006 12:34 PM

Install as root, so everybody could use it.

JockVSJock 04-02-2006 01:23 PM

Quote:

Originally Posted by Alien_Hominid
Install as root, so everybody could use it.

Yes, your right...Install as root...

But where do I want to install the package

-/usr/local?

-OR-

/lib?

thanks

Alien_Hominid 04-02-2006 01:29 PM

Mine is installed in /usr/lib.

JockVSJock 04-02-2006 02:04 PM

I went ahead an installed libdvdcss under /lib and now I can play DVDs fine with XINE.

thanks

Bruce Hill 04-02-2006 02:06 PM

Quote:

Originally Posted by JockVSJock
No I don't have libdvdcss...


Question:

Do I need to install that under /lib or /usr/local/lib?

I only login as a normal user, never root.

thanks

If you install the Slackpackage from the link I provided, you will have:
Quote:

bruce@silas:/mnt/nfs/paul/backup2/ISO$ locate libdvdcss
/var/log/packages/libdvdcss-1.2.9-i486-1
/var/log/scripts/libdvdcss-1.2.9-i486-1
/usr/doc/libdvdcss-1.2.9
/usr/doc/libdvdcss-1.2.9/NEWS
/usr/doc/libdvdcss-1.2.9/html
/usr/doc/libdvdcss-1.2.9/html/globals_defs.html
/usr/doc/libdvdcss-1.2.9/html/dir_000000.html
/usr/doc/libdvdcss-1.2.9/html/dir_000001.html
/usr/doc/libdvdcss-1.2.9/html/doxygen.css
/usr/doc/libdvdcss-1.2.9/html/doxygen.png
/usr/doc/libdvdcss-1.2.9/html/index.html
/usr/doc/libdvdcss-1.2.9/html/globals.html
/usr/doc/libdvdcss-1.2.9/html/files.html
/usr/doc/libdvdcss-1.2.9/html/globals_type.html
/usr/doc/libdvdcss-1.2.9/html/dvdcss_8h-source.html
/usr/doc/libdvdcss-1.2.9/html/dvdcss_8h.html
/usr/doc/libdvdcss-1.2.9/html/globals_vars.html
/usr/doc/libdvdcss-1.2.9/html/dirs.html
/usr/doc/libdvdcss-1.2.9/html/globals_func.html
/usr/doc/libdvdcss-1.2.9/README
/usr/doc/libdvdcss-1.2.9/AUTHORS
/usr/doc/libdvdcss-1.2.9/INSTALL
/usr/doc/libdvdcss-1.2.9/ChangeLog
/usr/doc/libdvdcss-1.2.9/COPYING
/usr/lib/libdvdcss.so.2
/usr/lib/libdvdcss.a
/usr/lib/libdvdcss.so.2.0.8
/usr/lib/libdvdcss.la
/usr/lib/libdvdcss.so
You ALWAYS and can ONLY install Slackpacks as root.


All times are GMT -5. The time now is 04:57 AM.