LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DVD and MPlayer (https://www.linuxquestions.org/questions/linux-newbie-8/dvd-and-mplayer-68993/)

JC404 06-30-2003 05:01 AM

DVD and MPlayer
 
Everytime I play a dvd on MPlayer, I get a message that /dev/dvd was not found. I can play dvd video files off the dvd but of course I wouldn't get subtitles and the like. How can I mount a dvd on dev so that it would be recognized by MPlayer?

acid_kewpie 06-30-2003 05:09 AM

you don't mount dvd's. you just haven't got a /dev/dvd symlink from /dev/hdc or wherever the drive is connected:

ln -s /dev/hdc /dev/dvd

MasterC 06-30-2003 05:10 AM

Simply create a symlink to your device..

Assuming your /dev/cdrom (which is a symlink) is pointing to /dev/hdc then:
ln -sf /dev/hdc /dev/dvd

To see where /dev/cdrom is pointing:
ls -l /dev/cdrom

"But Chad, why wouldn't I just symlink to /dev/cdrom?"

Well you could, but it's suggested not to. Symlinks to symlinks is an unwritten no no. However, if you'd like to, it will work.

:)

Cool

JC404 06-30-2003 05:19 AM

Here's what I got:

[root@localhost root]# ls -1 /dev/cdrom
/dev/cdrom
[root@localhost root]# ln -sf /dev/cdrom /dev/dvd

No output was generated so I'm guessing, like with mounting hdds that it worked. When I clicked on "Open Disc" under MPlayer, it shows "Couldn't open DVD device: /dev/dvd"

I also tried this:

[root@localhost root]# ln -sf /dev/hdc /dev/dvd
[root@localhost root]#

Also got a "Couldn't open DVD device: /dev/dvd"

What am I doing wrong?

JC404 06-30-2003 05:22 AM

It worked! Thanks a lot!

MasterC 06-30-2003 05:30 AM

ls -l is not a one, it's an L ;)

phoenetically:
el es dash el

:)

Cool

jazzaficionado 08-04-2003 10:13 AM

I am using Debian via an installed version of Knoppix onto my hard drive. I have the same problem as JC404. I get a message that /dev/dvd is not found when I try and use mplayer to watch DVDs but I can open and view individual .vob files.

Since I am able to use mplayer to look at invidual .vob files by navigating into /dev/cdrom, I followed MasterC's advice and used ls -l /dev/cdrom to see where it was pointing with the idea of creating a symlink from /dev/dvd to that same location.

When I ran ls -l /dev/cdrom as suggested by MasterC, I got the following reply.

/dev/cdrom -> /dev/scd0

I then tried this:

ln -sf /dev/scd0 /dev/dvd, but I get the same error message that /dev/dvd is not found.

I also tried ln -sf /dev/hdc /dev/dvd, but again I get the same error.

I then used the above command given by MasterC, but changed it to: ls -l /dev/dvd and I got this: /dev/dvd -> /KNOPPIX/dev/dvd

It looks like /dev/dvd is pointing to the location that would be appropriate when running Knoppix from the CD, but now that it is on the hard drive things need to be updated. This should be simple enough, but I'm not exactly sure how to do this. Any ideas?

Thanks.


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