[MPlayer-users] playing dvd from nfs mounted dvd

Miles Nordin carton at Ivy.NET
Sat Jun 6 00:14:20 CEST 2009


>>>>> "hl" == Heine Laursen <zannvip at gmail.com> writes:

    hl> Is it possebll to play a dvd disk from a dvd drive mounted
    hl> over nfs?

no.  If you rip (decrypt) the DVD and put it on an NFS fileshare, you
can play it, but the physical disk itself you cannot export over NFS.

It's probably possible to get it to work sorta, but it causes a
problem that means in my experience only about 2/3 of the DVD's you
rent will be decryptable by libdvdcss this way.  The full story is
that there are three different modes that libdvdcss can use to find
the title keys it needs to do the decrypting, selected by the
environment variable

 DVDCSS_METHOD={key,disc,title}

It will silently step through progressively less likely-to-work modes
as the earlier modes fail, in the order above.  The key and disc
methods involve using ioctl's to read out-of-band data from the DVD
key area (the area that's force-zeroed on DVD-R's).  This area isn't
exposed inside the filesystem and thus won't make it over NFS, so an
NFS-mounted DVD will only be decrypted with DVDCSS_METHOD=title which
for me only works on 2/3 of disks.

If you decrypt the disc with dvdbackup and NFS epxort the decrypted
version, if you NFS-export a DVD-R, or if you mplayer the encrypted
disc on a direct-attached DVD-ROM and then copy the ~/.dvdcss
directory to the machine that's NFS-mounting the DVD, either method
should get aroudn this problem and play all disks instead of 2/3 of
disks.


BTW if you have an rpc2 drive which is brand new and never used in
Windows, you need to set the region.  If you have a Lite-ON drive, you
should switch it to rpc1 mode for Linux.  If you don't do one or the
other, you will fall back to DVDCSS_METHOD=title.  This tool can do
both:

 http://web.ivy.net/~carton/oneNightOfWork/rpcmgr14.c

If you have an rpc2 drive (non-Panasonic) in its non-native region,
that is also DVDCSS_METHOD=title and will only work on some discs.
You need rpc1 even for Linux, even though you will notice some
non-native discs do play without rpc1.

IMHO the warning about DVDCSS_METHOD=title is way too quiet and the
other garbage mplayer spews out way too loud.  It took me a year to
finally do the right googling to uncover this mess.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 304 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20090605/c6dad00c/attachment-0001.pgp>


More information about the MPlayer-users mailing list