LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2006, 07:49 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 04-02-2006, 12:33 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Did you try any other players? For example, Totem. Maybe your dvd is corrupt.
 
Old 04-02-2006, 01:33 AM   #3
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
did you install libdvdcss?

btw you should not have to mount your dvd to play it.
 
Old 04-02-2006, 01:33 AM   #4
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
did you install libdvdcss?

btw you should not have to mount your dvd to play it.
 
Old 04-02-2006, 01:34 AM   #5
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
sorry about the double post, my browser froze
 
Old 04-02-2006, 08:14 AM   #6
capicu
LQ Newbie
 
Registered: May 2005
Location: uk
Distribution: slackware
Posts: 12

Rep: Reputation: 0
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.
 
Old 04-02-2006, 09:27 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Slackware, Arch, Gentoo
Posts: 6,942

Rep: Reputation: 135Reputation: 135
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.
 
Old 04-02-2006, 11:17 AM   #8
TuxSurfer
Member
 
Registered: May 2004
Location: NC USA
Distribution: Fedora 30 - Xfce Spin
Posts: 272

Rep: Reputation: Disabled
...

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.
 
Old 04-02-2006, 11:19 AM   #9
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
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.
 
Old 04-02-2006, 11:52 AM   #10
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 04-02-2006, 12:34 PM   #11
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Install as root, so everybody could use it.
 
Old 04-02-2006, 01:23 PM   #12
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 04-02-2006, 01:29 PM   #13
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Mine is installed in /usr/lib.
 
Old 04-02-2006, 02:04 PM   #14
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

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

thanks
 
Old 04-02-2006, 02:06 PM   #15
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Slackware, Arch, Gentoo
Posts: 6,942

Rep: Reputation: 135Reputation: 135
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.
 
  


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
Playing DVDs CouchMaster SUSE / openSUSE 12 05-28-2005 06:01 PM
playing DVDs carldub Linux - Newbie 2 03-17-2005 09:57 PM
slackware 10 & playing dvds spamhippy Slackware 12 07-22-2004 01:01 AM
playing new dvds? riddlebox80 Linux - Software 3 04-17-2003 07:32 PM
dvds not playing enzo250gto Linux - Software 1 09-16-2002 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration