Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #1236

Re: DVD drive init decoder fails

From Haines Brown <haines@histomat.net>
Newsgroups comp.os.linux.hardware
Subject Re: DVD drive init decoder fails
References <87pqa0kugu.fsf@engels.HistoricalMaterialism.info> <87k408jezy.fsf@127.0.0.1>
Date 2012-05-20 04:40 -0400
Message-ID <87ehqfkzy3.fsf@engels.HistoricalMaterialism.info> (permalink)

Show all headers | View raw


> Haines Brown <haines@histomat.net> writes:
>
>>   $ mplayer dvdnav:// /dev/dvd5
>> (for some reason I don't have /dev/dvd, but only /dev/dvd5 and dvdrw5)
>
> You can probably fix this editing /etc/udev/rules.d/70-persistent-cd.rules.
> Mine recently went to /dev/dvd1 with some upgrade and I had to fix it there.

I commented all the duplication lines, but apparently have to await the
next reboot for it to take effect.  

>> This produces the error:
>> ...
>> Am I missing some software? 
>
> Do you have libdvdcss installed?

I installed libdvdcss2_1.2.10-1_i386.deb and did # updatedv. But when I
did $ locate libdvdcss2, this was all that I found. Besides some
/usr/share/doc/*,  

  /var/lib/dpkg/info/libdvdcss2.list
  /var/lib/dpkg/info/libdvdcss2.md5sums
  /var/lib/dpkg/info/libdvdcss2.postinst
  /var/lib/dpkg/info/libdvdcss2.postrm
  /var/lib/dpkg/info/libdvdcss2.shlibs

And yet below it seems to be doing what it should.

> And my mplayer also tells me (not related to your problem though):
> Remember to disable MPlayer's cache when playing dvdnav:// streams
> (adding -nocache to your command line)

I did this, using the old /dev/dvd number, and got:

  $ mplayer -nocache dvdnav:// /dev/dvd5
  MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
  Can't open joystick device /dev/input/js0: No such file or directory
  Can't init input joystick
  mplayer: could not connect to socket
  mplayer: No such file or directory
  Failed to open LIRC support. You will not be able to use your remote control.
  Loading protocol-related profile 'protocol.dvdnav'

  Playing dvdnav://.
  libdvdnav: Using dvdnav version MPlayer-custom
  libdvdread: Using libdvdcss version 1.2.10 for DVD access
  libdvdread: Can't stat /dev/dvd
  No such file or directory
  libdvdread: Could not open /dev/dvd
  libdvdnav: vm: failed to open/read the DVD
  Couldn't open DVD device: /dev/dvd (No such file or directory)
  No stream found to handle url dvdnav://

  Playing /dev/dvd5.
  File not found: '/dev/dvd5'
  Failed to open /dev/dvd5.

I assume the first stanza is not important. The second suggests to me
that the libdvdcss is in fact being used. The problem is that libdvdread
wants to read /dev/dvd, when it does not yet in fact exit. 

So I created a dvd --> dvd5 symlink, but that didn't help:

  $ mplayer -nocache dvdnav:// /dev/dvd
  ...
  Loading protocol-related profile 'protocol.dvdnav'

  Playing dvdnav://.
  libdvdnav: Using dvdnav version MPlayer-custom
  libdvdread: Using libdvdcss version 1.2.10 for DVD access
  libdvdread: Can't stat /dev/dvd
  No such file or directory
  libdvdread: Could not open /dev/dvd
  libdvdnav: vm: failed to open/read the DVD
  Couldn't open DVD device: /dev/dvd (No such file or directory)
  No stream found to handle url dvdnav://

  Playing /dev/dvd.
  File not found: '/dev/dvd'
  Failed to open /dev/dvd.

I don't understand why if there's a symlink, dvd --> dvd5 --> sr0, it
does not work.

Haines

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

DVD drive init decoder fails Haines Brown <haines@histomat.net> - 2012-05-19 12:26 -0400
  Re: DVD drive init decoder fails HASM <netnews@invalid.com> - 2012-05-19 09:46 -0700
    Re: DVD drive init decoder fails Haines Brown <haines@histomat.net> - 2012-05-20 04:40 -0400
      Re: DVD drive init decoder fails Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2012-05-20 13:01 +0200

csiph-web