LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2003, 05:50 PM   #1
RKY60
LQ Newbie
 
Registered: Oct 2003
Location: Pottsville, PA.
Distribution: Red Hat 9
Posts: 15

Rep: Reputation: 0
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?
 
Old 10-14-2003, 06:24 PM   #2
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
make sure the to mount /dev/dvd0??

also you will need an interpreter like divix
 
Old 10-14-2003, 07:08 PM   #3
RKY60
LQ Newbie
 
Registered: Oct 2003
Location: Pottsville, PA.
Distribution: Red Hat 9
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 10-14-2003, 07:17 PM   #4
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
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
 
Old 10-14-2003, 07:57 PM   #5
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
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.
 
Old 10-14-2003, 09:27 PM   #6
RKY60
LQ Newbie
 
Registered: Oct 2003
Location: Pottsville, PA.
Distribution: Red Hat 9
Posts: 15

Original Poster
Rep: Reputation: 0
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?

Last edited by RKY60; 10-14-2003 at 09:31 PM.
 
Old 10-14-2003, 09:30 PM   #7
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
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.
 
Old 10-14-2003, 09:33 PM   #8
RKY60
LQ Newbie
 
Registered: Oct 2003
Location: Pottsville, PA.
Distribution: Red Hat 9
Posts: 15

Original Poster
Rep: Reputation: 0
Wow thanks, that worked to, ya'll are good

Thanks again
 
  


Reply



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
playing dvds in mplayer or gxine laggy GUIPenguin Linux - Software 5 11-20-2005 02:43 AM
Playing DVDs Lord C Linux - Software 3 03-24-2004 08:25 PM
problems playing dvds in mplayer marta Linux - Software 5 09-10-2003 12:01 PM
playing dvds alorri Linux - Software 9 12-03-2002 03:07 AM
Playing DVDs RDW Linux - General 3 04-08-2002 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 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
Open Source Consulting | Domain Registration