LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mplayer and playing DVDs (https://www.linuxquestions.org/questions/linux-newbie-8/mplayer-and-playing-dvds-103958/)

RKY60 10-14-2003 05:50 PM

mplayer and playing DVDs
 
I've got mplayer installed and for the most part it seems to be functioning correctly, except for when i try to play DVDs.

I'll start mplayer, then select Open>Play DVD

But i get this error:

"Couldn't open DVD device: /dev/dvd"

I have no problems playin' .avi's or .mpg's that i've downloaded

I installed like this:

"Imagine a program that would install mplayer and all its dependencies for you automatically. That would be great wouldn't it? Well here it is...apt

Click on the RedHat 9 link(the first one on the page) and download:

apt-0.5.5cnc6-fr1.i386.rpm

and

apt-devel-0.5.5cnc6-fr1.i386.rpm.

Then as root do:

rpm -ivh apt*
apt-get update
apt-get install mplayer

Thx to Crashed_Again for the above install info...Any ideas here?

rakriege 10-14-2003 06:24 PM

make sure the to mount /dev/dvd0??

also you will need an interpreter like divix

RKY60 10-14-2003 07:08 PM

No DVD to mount, These are listed in fstab

/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

rakriege 10-14-2003 07:17 PM

mount both /dev/cdrom /mnt/cdrom
/dev/cdrom1 /mnt/cdrom1
it will one of them, pendind the order attached, you will still need a decoder such as Divix

chii-chan 10-14-2003 07:57 PM

Why don't you try using mplayer from terminal? Open terminal window, type this:

mplayer -dvd-device /dev/cdrom -dvd 1 -vop pp=lb

If you're using mplayer 1.0 pre it should be:

mplayer -dvd-device /dev/cdrom dvd://1 -vop pp=lb

If not successful replace '/dev/cdrom' with '/dev/cdrom1'

That is what I think from your fstab file.

RKY60 10-14-2003 09:27 PM

Thank you :)

This line worked...

mplayer -dvd-device /dev/cdrom dvd://1 -vop pp=lb

Will i need to start it like this all the time? It's no big deal, i'd rather be able to start it up normally. Also, cuz of startin mplayer that way i have no control panel, except for keyboard shortcuts, took some guess to figure those out. No biggie i guess

Thanks again :)

Oh nevermind on guessin the keyboard shortcuts, i noticed them in terminal, my bad? :D

megaspaz 10-14-2003 09:30 PM

if you want to start it without all those flags, create a link to your dvd device. ie.

if your dvd device is /dev/cdrom, use this command as root:

ln -s /dev/cdrom /dev/dvd

by default, mplayer and xine look for /dev/dvd and you do not have to mount your dvd device manually to play a dvd movie.

RKY60 10-14-2003 09:33 PM

Wow thanks, that worked to, ya'll are good :)

Thanks again


All times are GMT -5. The time now is 01:27 PM.