LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2003, 11:32 AM   #1
mason75
LQ Newbie
 
Registered: Jul 2003
Location: Cologne, Germany
Distribution: slack 9
Posts: 11

Rep: Reputation: 0
mplayer 0.90, can't play dvd


hi folks,

i've downloaded and compiled mplayer 0.90. starting and playing avi, mpg etc. still woks, but playing a dvd doesn't.
i get the following error:

[mason@gondor: mason]$ gmplayer
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /localhome/mason/.mplayer/config
[cfg] read config file: /localhome/mason/.mplayer/gui.conf
Reading config file /localhome/mason/.mplayer/gui.conf
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
Reading /localhome/mason/.mplayer/codecs.conf: can't open '/localhome/mason/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /localhome/mason/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: No such device (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /localhome/mason/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/localhome/mason/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'

Playing /dev/dvd
libdvdread: Could not open device with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd

can anybody help me please?

tia
 
Old 07-17-2003, 11:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't have /dev/dvd i'd assume

ln -s /dev/whatyourdvdactuallyis /dev/dvd
 
Old 07-17-2003, 11:46 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It cannot open your dvd device, which likely means you have to make the symlink, easiest way I can think of without recieving information about your drives would be (assuming you only have a DVD drive):
ln -sf /dev/cdrom /dev/dvd

However it's improper to symlink to a symlink. So instead what you should do is find out where /dev/cdrom is pointing, do that by typing:
ls -l /dev/cdrom
And it will show you where /dev/cdrom is pointing to. At that point you can then symlink to the correct device with (as root):
ln -sf /dev/hdx /dev/dvd
Where /dev/hdx is the device you find from the above (ls -l) command.

If none of this makes any sense to you, feel free to post up what you get from typing:
ls -l /dev/cdrom
And also tell us a bit about your drive setup (Is your DVD your only drive, where is it at, the Primary or Secondary channel, Slave/Master and so on).

Also, to play a DVD the command is:
mplayer -dvd 1
gmplayer just brings up the gui

Cool
 
Old 07-17-2003, 12:05 PM   #4
mason75
LQ Newbie
 
Registered: Jul 2003
Location: Cologne, Germany
Distribution: slack 9
Posts: 11

Original Poster
Rep: Reputation: 0
the link exists and works correct:

lrwxrwxrwx 1 root root 8 Jul 17 17:12 /dev/dvd -> /dev/hdb

that's the point i don't understand.

--------------------------------
Matthias
 
Old 07-17-2003, 12:14 PM   #5
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
see the bottom of this page on my guide for more details and screenshots on what needs to be done:

http://members.rogers.com/ctmlinux/helpfultips.html
 
Old 07-17-2003, 12:47 PM   #6
mason75
LQ Newbie
 
Registered: Jul 2003
Location: Cologne, Germany
Distribution: slack 9
Posts: 11

Original Poster
Rep: Reputation: 0
hi folks,
problem solved.

here's the solution:
it seems that in slackware 9 all disk entries in /dev have the following rights:

brw-rw---- 1 root disk 3, 0 Jun 9 2002 hdb

you still have to chmod 666 and voila it works!

the next time i'll think a little bit more before error typing.
thanks for your help.

--------------------
Matthias
 
  


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
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
how to play DVD in mplayer linmix Linux - Software 4 10-02-2005 03:05 AM
DVD"S won't play in mplayer acidblue Fedora 2 01-20-2005 05:05 PM
Mplayer does not play dvd properly! tolis Linux - Software 3 12-15-2003 07:48 AM
Mplayer wont play sound on dvd gazza Linux - Software 5 10-27-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:08 AM.

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