Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-01-2006, 07:49 PM
|
#1
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Rep: 
|
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
But it doesn't return any results...Any ideas what I can do to fix this?
thanks
|
|
|
04-02-2006, 12:33 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Did you try any other players? For example, Totem. Maybe your dvd is corrupt.
|
|
|
04-02-2006, 01:33 AM
|
#3
|
Member
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429
Rep:
|
did you install libdvdcss?
btw you should not have to mount your dvd to play it.
|
|
|
04-02-2006, 01:33 AM
|
#4
|
Member
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429
Rep:
|
did you install libdvdcss?
btw you should not have to mount your dvd to play it.
|
|
|
04-02-2006, 01:34 AM
|
#5
|
Member
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429
Rep:
|
sorry about the double post, my browser froze
|
|
|
04-02-2006, 08:14 AM
|
#6
|
LQ Newbie
Registered: May 2005
Location: uk
Distribution: slackware
Posts: 12
Rep:
|
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.
|
|
|
04-02-2006, 09:27 AM
|
#7
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Slackware, Arch, Gentoo
Posts: 6,942
Rep: 
|
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.
|
|
|
04-02-2006, 11:17 AM
|
#8
|
Member
Registered: May 2004
Location: NC USA
Distribution: Fedora 30 - Xfce Spin
Posts: 272
Rep: 
|
...
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.
|
|
|
04-02-2006, 11:19 AM
|
#9
|
Member
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249
Rep:
|
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.
|
|
|
04-02-2006, 11:52 AM
|
#10
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
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
|
|
|
04-02-2006, 12:34 PM
|
#11
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Install as root, so everybody could use it.
|
|
|
04-02-2006, 01:23 PM
|
#12
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
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
|
|
|
04-02-2006, 01:29 PM
|
#13
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Mine is installed in /usr/lib.
|
|
|
04-02-2006, 02:04 PM
|
#14
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
I went ahead an installed libdvdcss under /lib and now I can play DVDs fine with XINE.
thanks
|
|
|
04-02-2006, 02:06 PM
|
#15
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Slackware, Arch, Gentoo
Posts: 6,942
Rep: 
|
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:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|