LinuxQuestions.org
Help answer threads with 0 replies.
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 02-17-2003, 09:53 PM   #1
SlvrDakotaRT
LQ Newbie
 
Registered: Feb 2003
Location: Oklahoma
Distribution: GenToo 1.4
Posts: 15

Rep: Reputation: 0
Exclamation Cant get Mplayer to play DVD's


ok, heres the error:


Reading config file /usr/share/mplayer/mplayer.conf Reading config file /root/.mplayer/config Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory Reading /usr/share/mplayer/codecs.conf: 49 audio & 125 video codecs init_freetype Failed to open /dev/rtc: No such file or directory (mplayer should be setuid root or /dev/rtc should be readable by the user.) Using usleep() timing Can't open input config file /root/.mplayer/input.conf : No such file or directory Input config file /usr/share/mplayer/input.conf parsed : 50 binds Playing /dev/cdrom/ File not found: '/dev/cdrom/' MPlayer was compiled WITHOUT libdvdread support!


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Well... what do i do??? please help me....

Thanks guys,
Skyler
 
Old 02-17-2003, 10:22 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Well first of all, why are you logged in as root ? You shouldn't really be logged in as root to do normal tasks, its a security risk.

Second, it appears you don't have libdvdread installed. Install that and also make sure you have a link to your dvd player to the actual device like /dev/hdc or whatever. It usually sometimes a good idea to just create a link from the actual device to maybe something like /dev/dvd.
 
Old 02-18-2003, 02:02 AM   #3
SlvrDakotaRT
LQ Newbie
 
Registered: Feb 2003
Location: Oklahoma
Distribution: GenToo 1.4
Posts: 15

Original Poster
Rep: Reputation: 0
ok... some more questions...

How do I create a link... Im a newb... so I need some more information... like what to do step by step... lol. I just want to have MPlayer playing DVD before tomarrow night... BTW, thanks alot for helping me out.


Skyler
 
Old 02-18-2003, 02:06 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Cool, what's going on tomorrow?

To create a symlink, first figure out which device is your actual DVD device. You can either look through dmesg to find this, or:
Primary Master = /dev/hda
Primary Slave = /dev/hdb
Secondary Master = /dev/hdc
Secondary Slave = /dev/hdd

Or you can try ejecting each device one by one. This assumes you haven't used scsi emulation on your DVD drive. You can find that out with:
cdrecord -scanbus

After you figure out the actual device then symlink it with:
ln -sf /dev/hdx /dev/dvd

replacing /dev/hdx with the actual device from the various ways above.

Then to play a DVD use the following command:
mplayer -vo xv -dvd 1

Where 1 is most likely going to be the movie, however it may be 2 or 3 if 1 doesn't work

Cool
 
Old 02-18-2003, 02:14 AM   #5
SlvrDakotaRT
LQ Newbie
 
Registered: Feb 2003
Location: Oklahoma
Distribution: GenToo 1.4
Posts: 15

Original Poster
Rep: Reputation: 0
MPlayer was compiled WITHOUT libdvdread support!

How do I emerge (Im using GenToo) with the libdvdread in it? Like I said Im a newb. But I really want to thank you guys for helping me out. BTW The reason I need it by tomarrow night is because I have a date... and when we get back to the house I want to watch a dvd with her...

Thanks again

Skyler
 
Old 02-18-2003, 02:20 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
And you are gonna bust out linux, you are sure to score then!

Well, I'm no "gentoo-er" so I can only tell you the normal way. Download mplayer from www.mplayerhq.hu and compile it. As long as you don't "disclude" support for libdvdread it should compile in. Wait til the end of the configure to see what happens.

To compile mplayer, here's what I suggest doing:
Download the bzipped tarball (bz2). Assuming you download it to /home/programs:
cd /home/programs
tar xvjf MPlayer(then press TAB for autocompletion);
After it extracts:
cd MPlayer(tab)
./configure --enable-gui --enable-mencoder &&
make &&
su -
(enter root's password)
make install

At the end of ./configure watch to see what it tells you about options that are enabled/disabled.

Cool
 
Old 02-18-2003, 02:27 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I'm takin off to bed, so here's some last pointers:

Make sure you are root when you make install;
The DVD Kit that comes with mplayer plays DVD's on it's own, you don't need dvdread installed to player DVD's AFAIK. Everything you need to play DVD's (via the command line) is in the single mplayer package you get from their site. If you want a gui, you will need to install 1 Skin (the default) and 1 set of Fonts.

If you get errors during ./configure post them up so someone can help you out with them. When posting error messages, I suggest using the [code] BB Codes. It makes it look neater and is easier to read.

If the DVD plays choppy, check to make sure DMA is enabled on your DVD drive:
/sbin/hdparm /dev/hdx
Where /dev/hdx is your DVD device.

-vo xv is probably going to give you the best video out option, however you can use something else if you'd like, to find other vo options:
mplayer -vo help

Um, that's about all I can think of for now. Anyway, good luck

Cool
 
Old 02-18-2003, 02:28 AM   #8
SlvrDakotaRT
LQ Newbie
 
Registered: Feb 2003
Location: Oklahoma
Distribution: GenToo 1.4
Posts: 15

Original Poster
Rep: Reputation: 0
ok... i didnt have to do any of that to get MPlayer...

So im really lost... to get all the goodies with GenToo... all I have to do is emerge, for example:

emerge gltron

would download and install GLTron... and:

emerge mplayer

is what I did to get mplayer... so i dont know how to get the libdvdread compiled into it... this really sucks... lol.

I did emerge libdvdread & libdvdnav though... and then I tried:

emerge unmerge mplayer
emerge mplayer

just to recompile it all... but it still doesnt include the libs that are needed to play DVD's.

Thanks alot for helping me MasterC...


Skyler
 
Old 02-18-2003, 03:34 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
i don't think it's going to be possible to play DVD's ever with mplayer if the emerged package is not set to use libdvdread. but then it compeils from source doesn't it? hmm, not sure acutally... it should be possible if you have the dvdread headers installed, but it's likely that they took steps to dissacociate themselves with dvd decryption etc...

sure fire way is to just install mplayer from tar.gz as the official package contains it's own version of libdvdread, so you don't need ANY other packages to be installed to play DVD's. http:?/mplayerhq.hu it's quite possible they hacked mplayer to remove their libdvdread version.
 
Old 02-18-2003, 05:31 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
did you emerge libdvdcss?

you can also go into the /usr/portage/media-video/mplayer
directory and try emerging the different versions there.
It seems like there were a few plugins necessary.
i may be getting it mixed up with xine.

you can also try adding libdvdread and libdvdcss

/etc/make.profile/make.defaults
 
Old 02-18-2003, 07:29 AM   #11
The Ennead
LQ Newbie
 
Registered: Feb 2003
Location: Red Half Of Manchester UK
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
You'll need dvd in your use flags so it knows to compile with dvd support.
I had the same problem with Mplayer not playing dvd and for me I just did a quick
emerge unmerge mplayer
Opened up /etc/make.conf and added "dvd" without the quotes to the USE="blah blahblah blah" line
emerge Mplayer
and then it's good to go.

Last edited by The Ennead; 02-18-2003 at 07:34 AM.
 
Old 02-18-2003, 11:55 PM   #12
SlvrDakotaRT
LQ Newbie
 
Registered: Feb 2003
Location: Oklahoma
Distribution: GenToo 1.4
Posts: 15

Original Poster
Rep: Reputation: 0
thanks alot man....

Im re-emerging it as we speak... hopefully this will do the trick.

Skyler
 
  


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
mplayer - play dvd's stored on harddisk darn dao Linux - Software 10 01-03-2012 05:55 PM
Cant play DVD's kamowa Linux - Software 4 03-20-2005 05:42 AM
what rpm or settingmakes mplayer play all dvd's caleb star Linux - Software 2 07-29-2004 10:13 AM
Mplayer won't play DVD's kaega2 Mandriva 3 06-11-2004 12:29 AM
How to play DVD's? Braveheart1980 Linux - General 6 01-25-2004 08:00 PM


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