LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2009, 03:10 PM   #1
ben6520
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
xine dvd play crashes


Xine looks for the drive named dvd. Look for a symlink in the /dev folder and see which actual drive name is pointed to in properties. Check the drive name assigned to your dvd drive using KDiskFree. If there is no symlink for dvd in the /dev folder then create a symbolic link named dvd. In my case it is sr0.

# ln -s /dev/sr0 /dev/dvd
 
Old 12-17-2009, 01:09 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
Many, if not most, distributions these days put /dev on a ramdrive and use udev to populate it. When your system powers down, the ramdrive and any changes you made to it will be lost. The proper way to handle this is to instead add a udev rule so that it will create the symlink you want automatically.

You could also simply change the device that xine uses in its configuration options instead. It's available in the "media" tab, although you have to change the experience level to advanced or higher before it becomes available.
 
1 members found this post helpful.
Old 12-18-2009, 06:17 PM   #3
ben6520
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you. Didn't know about add a udev rule but did know about xine. If you use several different players like vlc, kmplayer etc. it helps to have them all referencing the same drive. Sometimes cdrom but dvd seems to be straight forward and is the default in xine. Also xine would crash when refrencing the drive directly but played fine when linked through dvd. Don't have a clue what thats about. At the same time Kmplayer worked fine referencing the drive directly. It is sometimes frustrating trying to figure out why things are happening and when I get something to work I feel the need to share it for all the others out there having difficulty. Maybe it will help them too. I will look into the udev rule thing and learn about that.

Last edited by ben6520; 12-18-2009 at 06:24 PM.
 
Old 12-20-2009, 09:11 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
I agree completely. Sharing your tips here is a good and reasonable thing to do. But it also lets those with more experience point out where you may be doing something wrong. There's no shame in having incomplete information.

The ability to create symlinks with udev has certainly helped quite a lot to standardize device naming on Linux. Application writers and users no longer have to jump through hoops to determine which device coincides with which drive (usually). /dev/cdrom and /dev/dvd are easy for everyone to understand.

One thing I still personally find frustrating though is that most of these programs still only allow setting a single drive as default. But I have two DVD drives in my desktop systems, and it would be nice to be able to use either one interchangeably without having to manually change the program settings.
 
Old 12-21-2009, 09:30 AM   #5
ben6520
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Original Poster
Rep: Reputation: 0
I have been experimenting with kde4 in the form of mepis 8.5 beta and find no issues with dvd or cdrom naming. Also significantly better performance. My single core system played dvds well but had marginal performance with video on kde3.5 but with kde4 plays 1080i video smoothly using my 6200 Nvidia.
 
  


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 won't play DVD-Rs al451f Linux - Software 4 03-23-2007 12:19 AM
9.3 DVD XINE problem -- 1 Frame then crashes 1kyle Suse/Novell 1 09-07-2005 10:25 PM
Cannot get DVD to play Xine chestnut Debian 4 06-28-2004 05:43 AM
XINE crashes at DVD menu czechknight93 Linux - Software 8 04-13-2004 10:09 AM
Xine Error will not play DVD luegner Linux - Software 7 08-28-2003 04:30 PM


All times are GMT -5. The time now is 11:34 AM.

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