LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-01-2017, 08:29 PM   #31
TheNutCase
Member
 
Registered: May 2016
Posts: 240

Original Poster
Rep: Reputation: Disabled

Sorry, but they don't - and I STILL can't play DVDs with xine.
 
Old 02-01-2017, 08:43 PM   #32
GazL
Senior Member
 
Registered: May 2008
Posts: 4,754
Blog Entries: 14

Rep: Reputation: Disabled
Quote:
Originally Posted by kingbeowulf View Post
Ok, I tried to replicate the OP issue, and, lo' same problem. After much pain and anguish, I discovered what is goofy about XINE in my Slackware64 14.2. I have 2 drives: blu-ray and dvd. I normally use mplayer/ffplay/gnome-mplayer to play back video, and since I bought a DVD player with 1080p upscaling years ago, I rarely watch commercial DVDs on my computer. Mplayer would play the DVD OOTB, but XINE gui and CLI would not. Same errors. Some digging on the config located weird dvd defaults in the UI and MEDIA tabs when "expert" mode is selected. I have, when a DVD is inserted:
Code:
 dvd -> sr0
 dvd0 -> sr0
 dvd1 -> sr1
Open the XINE config, or edit ~/.xine/config for these entries:
Code:
# directory a media in dvd device will be mounted
# string, default: /dvd
gui.osdmenu.dvd_mountpoint:/mnt/dvd

# device used for DVD playback
# string, default: /dev/dvd
media.dvd.device:/dev/dvd

# raw device set up for DVD access
# string, default: /dev/rdvd
media.dvd.raw_device:/dev/dvd
Hitting the DVD button on the XINE gui should now fire up the DVD. The issue, and I never touched XINE for 10+ yrs, was the wrong defaults for those lines. Usually, I do a full, clean install every stable release, but this time I rolled 14.1-->current-->14.2. No idea if that scrambled anything. The culprits I suspect was the original "media.dvd.raw_device:/dev/rdvd" and "gui.osdmenu.dvd_mountpoint:/dvd"

restart XINE and "Bob's yer uncle." Hope this helps.
Thanks for that. It didn't work for me by just changing those options in the existing config file, so I did a rm -r ~/.xine and then set it up again and that sorted it out here. Somewhere down the line I ended up with a dodgy config file somehow. Working now.

BTW, that gui.mountpoint one doesn't matter. I left it commented out and it still works.

Last edited by GazL; 02-01-2017 at 08:46 PM.
 
Old 02-01-2017, 09:10 PM   #33
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 854
Blog Entries: 9

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
@TheNutCase
Well, if mplayer plays the DVD and XINE doesn't, delete ~/.xine, reinstall the xine package, and try again - its obviously a xine issue. If mplayer can't play the DVD, then you have either a bum DVD player, or missing software. For XINE to play a dvd, you definitely need "media.dvd.raw_device:" to point to the correct dev node.

Anyway, something is seriously wrong with XINE when trying to specify the device from the command line.

@GazL, http://www.wavsource.com/snds_2017-0...excellent3.wav

Last edited by kingbeowulf; 02-01-2017 at 09:14 PM.
 
Old 02-01-2017, 10:14 PM   #34
TheNutCase
Member
 
Registered: May 2016
Posts: 240

Original Poster
Rep: Reputation: Disabled
I FINALLY got xine working with DVDs again!!! I'm not sure why it wouldn't work before (one possible reason could be that at some point during one of the testing sessions, I MAY have taken the DVD out of the drive and forgot to put it back in).
 
Old 02-02-2017, 07:32 AM   #35
GazL
Senior Member
 
Registered: May 2008
Posts: 4,754
Blog Entries: 14

Rep: Reputation: Disabled
Out of interest, I had a quick scan through the source code (and... Ewwww). The code handling the mrl parsing for DVDs was within a nice,
Code:
/* FIXME */
#if 0
...
#endif
...so forget anything more specific than a xine dvd:/ on the command-line as it's a waste of time. It's just broken. I think I'll just add it to my package blacklist and have done with it.
 
2 members found this post helpful.
Old 02-04-2017, 01:56 PM   #36
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 854
Blog Entries: 9

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Quote:
Originally Posted by GazL View Post
Out of interest, I had a quick scan through the source code (and... Ewwww). The code handling the mrl parsing for DVDs was within a nice,
Code:
/* FIXME */
#if 0
...
#endif
...so forget anything more specific than a xine dvd:/ on the command-line as it's a waste of time. It's just broken. I think I'll just add it to my package blacklist and have done with it.
I didn't scan the code, but came to the same conclusion after some fiddling. I guess it's time to chuck xine and just keep xine-lib for those older programs that may still use it as a back end.
 
Old 02-05-2017, 05:57 AM   #37
GazL
Senior Member
 
Registered: May 2008
Posts: 4,754
Blog Entries: 14

Rep: Reputation: Disabled
Nah, there's no point dropping xine-ui if the library is still included. All or nothing IMO.
 
  


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
Problem getting Xine to play DVDs... Erik765 Linux - Software 2 03-03-2008 11:51 PM
how do i get xine (kaffeine) to play dvds? ojasom SUSE / openSUSE 9 10-27-2004 10:32 PM
Xine wont play DVDs madmax04 Fedora 4 10-02-2004 08:35 PM
Does Xine play DVDs? chasn Linux - Software 10 04-21-2004 01:18 PM
CAN'T PLAY ENCRYPTED DVDs ON XINE krissly1 Linux - Software 3 11-22-2003 10:44 PM

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

All times are GMT -5. The time now is 09:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration