Find the answer to your Linux question:
Results 1 to 6 of 6
trying to get mplayer working, I just added the symlink and changed permission: ln -s /dev/hdc /dev/dvd chmod g+rw /dev/dvd when I try to play the dvd, I get: $ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    10

    mplayer: Can't open VMG


    trying to get mplayer working, I just added the symlink and changed permission:
    ln -s /dev/hdc /dev/dvd
    chmod g+rw /dev/dvd

    when I try to play the dvd, I get:
    $ mplayer dvd://
    Playing dvd://.
    libdvdread: Couldn't find device name.
    Reading disc structure, please wait...
    libdvdread: Can't open file VIDEO_TS.IFO.
    Can't open VMG info!

    checking the permissions I get this (!?):

    $ ls -l /dev/dvd
    total 0
    lrwxrwxrwx 1 root root 8 2006-06-18 15:47 hdc -> /dev/hdc
    $ ls -l /dev/hdc
    brw-rw---- 1 root cdrom 22, 0 2006-06-18 06:52 /dev/hdc

    Obviously it is not pointing to dev/dvd, how can I change that?

    thanks in advance for any help!

  2. #2
    Just Joined!
    Join Date
    Feb 2006
    Posts
    10
    thank you! I was just about to go in and delete the "dvd" directory in /etc, when to my surprise I could not find it anymore!?
    So I added a new "dvd" directory, and did:
    $ ln -s /dev/dvd /dev/hdc
    and I get:
    ln: `/dev/hdc': File exists

    something is screwed up now..

  3. #3
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    sorry I was wrong, messed up the order in my head, try:

    rm /dev/dvd
    ln -s /dev/hdc /dev/dvd
    chmod 777 /dev/dvd

    mplayer dvd://

    if that doesn't work then you can pass the

    mplayer -dvd-device /dev/hdc dvd://

    command to tell mplayer where to look for dvd device untill you can figure out the linking problem.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  4. #4
    Just Joined!
    Join Date
    Feb 2006
    Posts
    10
    thank you!

    I did that but I still get:
    $ ls -l /dev/dvd
    total 0
    lrwxrwxrwx 1 root root 8 2006-06-19 21:17 hdc -> /dev/hdc

    $ mplayer dvd://
    Playing dvd://.
    libdvdread: Couldn't find device name.
    Reading disc structure, please wait...
    libdvdread: Can't open file VIDEO_TS.IFO.
    Can't open VMG info!

    $mplayer -dvd-device /dev/hdc dvd://
    Playing dvd://.
    after that nothing happens..!? what am I missing?

  5. #5
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    do you have libdvdcss (this allows you to view encrypted dvd's)?
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  6. #6
    Just Joined!
    Join Date
    Feb 2006
    Posts
    10
    yeah, I got all that installed...!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •