Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 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.
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.
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:
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
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...
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:
tar xvjf MPlayer(then press TAB for autocompletion);
After it extracts:
./configure --enable-gui --enable-mencoder &&
(enter root's password)
At the end of ./configure watch to see what it tells you about options that are enabled/disabled.
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:
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
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
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'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
and then it's good to go.
Last edited by The Ennead; 02-18-2003 at 07:34 AM.