LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-14-2003, 07:13 AM   #1
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
problems playing DVDs in xine


When I hit the dvd button i get the following:

libdvdnav: Using dvdnav version 1-beta12 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.7 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdnav: vm: faild to open/read the DVD

I've installed dvdnav, dvdread, and dvdcss alright...
But I'm unclear (at best) on the whole symbolic link thing... I tried to make one, but could someone maybe explain to me what it actually does?

Thanks!
 
Old 07-14-2003, 07:16 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure! Assuming your DVD is /dev/hdc you'd symlink like so:
ln -sf /dev/hdc /dev/dvd
This must be done as root. Be careful when doing this, you don't wanna overwrite any existing REAL device. To find out what device your DVD is (assuming it opens with an 'eject /dev/cdrom') you can:
ls -l /dev/cdrom
And see where it's pointing to (as /dev/cdrom is also simply a symlink to the actual device). Then use that in place of hdc in my above example.

Cool
 
Old 07-14-2003, 07:19 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Re: problems playing DVDs in xine

Quote:
Originally posted by nakedjohn
but could someone maybe explain to me what it actually does?
There's heated discussions on exactly how symlinks work and what reads what, and when removing something what happens... but here's a generalized explaination:

A symlink is a shortcut to the actual file (all things in linux are files. Devices, directories, these are all files..). That's it. It tells whatever is looking at the symlink where the actual file is. It's easy to generically point to /dev/cdrom and write an application to do so, then it's up to the distro (or user) to correctly setup /dev/cdrom to the correct device. It's an excellent idea and works very well for such things as DVD playing where the system figures out which device is the DVD and all the application has to worry about is pointing to the /dev/dvd and playing it.



Cool
 
Old 07-14-2003, 07:24 AM   #4
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
okay, i thik i got it now... trying to eject /dev/dvd.... please standby...
YEAH!!!!!!!!!!! MASTERC IS GOD!!!!!!
all i think i missed is the "f" from -sf...
ahhh, its been a good linux day for me...
irst i succesfully mount my second harddrive (had trouble with getting the filesystem... then i mount my cdrom, then burn my first cdrom... now i'm watching my gladiator dvd!!!
one more thing... i used to have gxine installed, buti didn't like it and switched over to xine-ui... when i do run command "xine" it opens up gxine, but when i type xone in the console it opens up xine-ui... i tried typing xine-ui in the run command, but it doesn't do anything... any suggestions?
 
Old 07-14-2003, 07:30 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sorry, not from me anyway. I use mplayer. But you might look at your menu entries, or possibly what you have associated in your Control Center (File Assocations) with movie files, that might (probably not) have something to do with it.

Glad I could help

Cool
 
  


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
xine not playing DVDs deusieeee Linux - Software 0 10-02-2005 09:35 AM
playing dvds in xine djgerbavore Slackware 2 04-04-2005 09:20 PM
xine playing very slowly, and other misc problems. JackSmith Linux - Software 2 02-22-2005 08:23 AM
Xine Crashes When Playing DVDs The_fuzzy_cow Mandriva 7 10-18-2004 01:35 PM
problems playing dvds in mplayer marta Linux - Software 5 09-10-2003 12:01 PM


All times are GMT -5. The time now is 11:55 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