DVD

Summary

  • The DVD player on cyberspace works fine with Ogle and MPlayer
  • Ogle may be able to play DVDs remotely, from gubbio
  • To play a DVD iso from a hard drive, xine -pfhq dvd:/full-path/file.iso
  • Viewing a DVD iso from a hard disk
    • mplayer file.iso (sequential only -- no menus or chapters)
    • xine dvd:/full-path/file.iso (full menus and chapters)
  • Copy a DVD -- dd if=/dev/hdc of=~/name_of_movie.iso (not tested)
    • or use vobcopy or dvdbackup with mkisofs --dvd-video
  • See also DVD-R
  • packet writing mailing list -- get it when it's ready

Software

Related files

General background

DVD Players

Ogle

9 September 2002 update

I got four RPMs (made for Red Hat but said to work on SuSE 7.3) from Ogle: libdvdcss, libdvdread, ogle, and ogle_gui. They all installed flawlessly. This updates my version from 0.8.2 to 0.8.5. The main new feature is improved sound -- Ogle now supports OSS. To configure Ogle, I copied the new /usr/share/ogle/oglerc to ~/.oglerc -- it contains several new audio, video, and keystroke changes. Everything is working well.

25 May 2002 installation

Ogle is an actively develping project. They released libdvdread-0.9.3 on 25 May 2002, with support of OS X. Ported to use libdvdcss2 (1.2.0 and later). They specifically say it "reads from mounted, unmounted DVDs and hard drive."

You can get a SuSE 7.3 RPM at http://www.dtek.chalmers.se/groups/dvd/suse.shtml

I got the SRC.RPM for libdvdread. It turns out this means a source rpm package rather than a binary package -- or not? Will it need compiling?

It also turns out that when you unpack an src.rpm with rpm -U *rpm, it looks for the /usr/src/packages/SOURCES directory. So I issued rpm -U *rpm from cyberspace and it put the files there. On gubbio the directory doesn't exist.

Finally, it turns out this src.rpm is just a tarball packaged in an rpm! I move it back to giant.

Incidentally, to open tarballs, you don't need konqueror; just write ark and the arkiver opens; it's like winzip. You can even do this while ssh'd to cyberspace, and save the files on giant! (Actually, this seemed to make all of KDE seize, so I had to exit from X!)

Ogle and DMA

In some cases, your DVD player may need to be forced to use DMA. Here is what one user writes:

I have done:

# hdparm -X66 -d1 -u1 /dev/hdc ( hdc is my DVD )

my Timing buffered disk has increased from 2 to 4.48 MB/sec -- enough for a smooth runing of ogle

To activate it automaticaly I did (under debian)

* created a script /etc/init.d/ultradma ultradma:

#! /bin/sh
hdparm -X66 -d1 -u1 /dev/hdc
exit 0

then

# update-rc.d ultradma defaults 19

Ogle FAQ:

How do I read a DVD? Just start ogle and select the directory where the DVD resides. If it isn't mounted select the device node corresponding to the DVD drive. You can also use the "open disc" command, this defaults to opening /dev/dvd

Now, this suggests Ogle might be able to handle a remote DVD. I'm assuming the DVD has to be mounted for MPlayer to see it? Gubbio surely can't see it if it's not mounted?

In preparation for installing Ogle, I installed libdvdread-0.9.3, downloaded from Ogle's SuSE 7.3 page at http://www.dtek.chalmers.se/groups/dvd/suse.shtml. It will automatically look for libdvdcss, which I recently compiled and installed. Beautiful compilation and installation on gubbio.

Next, I try just a raw install of the program on cyberspace by typing make install -- it just goes ahead and compiles, and installs in /usr/lib. It didn't object to the a.out problem! Not sure if this really worked though.

I then got the SuSE 7.3 rpm of Ogle 0.8.2 from http://packman.links2linux.de/index.php4?action=141

I got these failed dependencies:

libxml2 >= 2.4.5 is needed by ogle-0.8.2-1
libdvdread is needed by ogle-0.8.2-1
libdvdcss is needed by ogle-0.8.2-1

I have /usr/lib/libxml2.so.2.4.3 and got the required version as an rpm from the same download place. It installed beautifully.

Of course libdvdread I just installed; why isn't ogle finding it? I created symlinks from /usr/lib/libdvdread to /usr/local/lib and assume this takes care of it.

Incidentally, libdvdread.a was placed in /usr/lib -- why couldn't libcore.a from xvid also go there? Is it a duplicate filename?

I set up the same symlinks for libdvdcss and tried the Ogle rpm again. Ogle still didn't find the libraries -- makes me think that what I needed to do is not create the symlinks but update the library database!

So what I need to run is ldconfig? I try that. No, I still get failed dependencies. I uncheck the "Check dependencies" and let it install.

Finally, I get the Ogle GUI as rpm, which installed fine.

When I first run Ogle, I get this: "libdvdread: Using libdvdcss version 1.2.0 for DVD access." So clearly there is no dependency problem.

Xine

The xine player can be downloaded here: http://xine.sourceforge.net/xine_frame.php?page=download.html

I got a version of Xine with Xine DVD Nav released 31 May 02 at http://sourceforge.net/project/showfiles.php?group_id=31346

Xine after installing the debian ssc script:

libdvdread: Using libdvdcss version 1.2.0 for DVD access
DVD disk reports itself with Region mask 0x00fe0000. Maybe region 1.

I can't change the region with regionset and suspect there is some other problem. For a guide, see http://www.digital-digest.com/dvd/downloads/firmware.html. "Prior to Jan. 2000 many DVD drives were code-free." So it's conceivable that my old DVD player is code free -- in fact likely. But that likely also means no code can be set on it.

Detailed instructions for making xine play DVDs (external).


VideoLAN

They don't have a SuSE RPM, but some good info: Since there are many RPM-based distributions, you may get a better package by rebuilding it yourself. Download the SRPM and run for instance rpm --rebuild vlc-0.4.0-1.src.rpm. The RPMs can then be found in /usr/src/RPM/RPMS/.

I got the vlc-0.4.1-1.src.rpm and put it on cyberspace:/home/steen and gubbio:/home/steen. However, I got lots of failed dependencies:

gubbio:/home/steen # rpm --rebuild v*.rpm
Installing vlc-0.4.1-1mdk.src.rpm
error: failed build dependencies:
libncurses5-devel is needed by vlc-0.4.1-1mdk
libgtk+1.2-devel is needed by vlc-0.4.1-1mdk
db1-devel is needed by vlc-0.4.1-1mdk
libarts-devel is needed by vlc-0.4.1-1mdk
libggi-devel is needed by vlc-0.4.1-1mdk
aalib-devel is needed by vlc-0.4.1-1mdk
liba52dec-devel is needed by vlc-0.4.1-1mdk
libmad-devel is needed by vlc-0.4.1-1mdk
liblirc-devel is needed by vlc-0.4.1-1mdk
libffmpeg-devel is needed by vlc-0.4.1-1mdk

I gave up for the moment -- this is not exactly critical.

DVD over LAN

Summary

    SSH
  • Use ssh to mount a DVD on cyberspace (mount /media/dvd)
  • gmplayer -dvd 7 -framedrop (works fine, but no sound)

    NFS (doesn't work on encrypted DVDs)
  • Start Ogle and open dvd (default device defined in ~/.oglerc)
  • gmplayer -dvd 7 -dvd-device /cyberspace/media/dvd

Ogle will play a DVD on a remote location in NFS fine unless it's encrypted; then it crashes. The problem is that libdvdread doesn't see the drive. In brief, the question is whether a program can see an unmounted DVD on a remote computer.

DVD::RIP

Downloading and installation: info /usr/share/doc/video-dvdrip/README.gz

See instructions at /usr/share/doc/transcode/html/dvd.html

Here's the transcode command line for ripping:

tccat -t dvd -T 1,-1 -i /dev/dvd | tcextract -x ac3 -t vob | tcdecode -x ac3 | tcscan -f 23.976024 -x pcm

The encoding:

       transcode -i /dev/dvd/ -x dvd -T 1,-1 -V
                 -B 1,0 -Y 76,8 -s 4.47
                 -t 83920,alien -y divx4 -w 1618

       transcode -i /dev/dvd/ -x dvd -T 1,-1 -g 720x480 -M 2 -V
                 -X 2,0 -Y 80,8 -s 4.47
                 -t 83920,alien -y divx4 -w 1618 -f 23.976024

This is how you set the set-uid bit:  chmod u+s /usr/sbin/fping

Software

Installation history

9 September 2002

To install the new DVD, which replaced the previous CD driver, I did this:

1. /etc/fstab -- change the existing /media/dvd to dvd-r
-- change the existing /media/cdrom to dvd

2. /media -- change the existing /media/dvd to dvd-r
-- change the existing /media/cdrom to dvd

3. /dev -- change the existing /dev/dvd to dvd-r
-- change the existing /dev/cdrom to dvd

This worked. Hell if you don't know it, heaven if you do.

5 June 2002

On 5 June I began the attempt to play a DVD on cyberspace from gubbio. Here's what I did:

ln -sf /dev/dvd /home/steen/mnt/dvd

That didn't work. It could be that you should do this:

cp -a /dev/dvd /home/steen/mnt/dvd

This may be copying a node -- and I may have to fix the /dev/dvd by recreating it with mknode. Or I create /home/steen/mnt/dvd as a node?

Here is the Linux DVD Howto: http://www.digital-digest.com/dvd/downloads/linux/

It says, OMS needs /dev/dvd to be a symlink to where your DVD drive resides, such as /dev/hdb1 or /dev/scd0. If it is at /dev/cdrom, you would create the link by typing:

# ln -s /dev/cdrom /dev/dvd

Now, the "place where the DVD resides" still likely needs to be a node and not just a directory? The HowTo says,

Using raw I/O is recommended, but not necessary. If they do not exist, create two devices as follows:

# mknod /dev/rawctl c 162 0
# mknod /dev/raw1 c 162 1

Now, I don't think I'd want the read redirected to raw in this manner, but I may need to create a node in a similar fashion. Try Ogle first; see installation history above.

When I just double click on the DVD link (~/mnt/dvd), the thing plays! That is to say, I get the Federal warning -- and then it collapses, with this message:

Ogle can't read any data. Make sure that the CSS authentication works correctly. See also the FAQ at http://www.dtek.chalmers.se/~dvd/faq.shtml Three common problems are: no write permission on you DVD drives device node. you are trying to play a DVD from a region other than the one of the DVD drive. or you have never set the region on the drive.

For setting the region; a program called regionset will do this. Search for dvd_disc or dvdkit on freshmeat.net Beware that you can only sset the region 5 times!

So I try first to add write permission on the DVD drive's device, cyberspace:/dev/dvd. Now, on Cyberspace, this is just a symlink:

dvd -> /dev/hdc

The node itself has these peculiar permissions, including write:

brw------- 1 steen users 22, 0 Sep 23 2001 hdc

Since I'm on another machine, I may need this to be brwbrwbrw -- don't know how to get that. I could try man chmod -- they say to do info chmod, which gives more information. I couldn't figure out what *Note file permissions:: refers to and went to the web.

Here are detailed and useful instructions on making a boot disk, with some mknode commands:

mknod fd0 b 2 0; chmod 660 fd0 ; chown root:disk fd0

That produces these permissions:

brw-rw----

So if I try chmod 666 that might do it? Indeed it did; I now have

brw-rw-rw- 1 steen users 22, 0 Sep 23 2001 hdc

I try again with Ogle. It reads the FBI warning and exits, complaining it can't read data. When I unmount the drive, it sees nothing:

libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO.

So I'm guessing this is a matter of setting the region. I got the dvdkit tarball from http://freshmeat.net/projects/dvdkit/ and installed it.

It could be that you could export /dev/hdc directly to gubbio, rather than going through /media/dvd.

In the DVD_disk file, I read this:

::::::::::::::
README.dvd_file
::::::::::::::
This module, dvd_file, can be used to access DVD Video discs mounted onto the filesystem, e.g. an udf mounted DVD-ROM. This access does not place restrictions on the physical order of files or blocks on the medium, as direct DVD Video access does. As a direct result of this, CSS is not working. Only unencrypted DVD Video discs can be played.

The Makefile is more a dummy Makefile, it just compiles the object file. The use of this module is to include it in a project of your own, e.g. a DVD Video Navigator.

This suggests that if I want to access the DVD through a mount point, I may have trouble with the encryption. I'll first install Ogle on cyberspace and see if it plays there, through X-windows.

Here's my attempt to set the region code:

cyberspace:~ # regionset /dev/hdc
ERROR: Could not retreive region code settings of the drive!
Would you like to change the region setting of your drive? [y/n]:y
Enter the new region number for your drive [1..8]:1
New mask: 0xFFFFFFFE, correct? [y/n]:y
ERROR: Region code could not be set!

It was mounted; I'll try when unmounted -- no luck. Then I tried to play it directly from cyberspace, on the local terminal in the other room, and it works! So the decryption is not the problem.

It is a problem to play it through x-windows, but I think this is because we have two different xv drivers: cyberspace has one kind (NVidia), mut has another (3dfx). So it crashes.

Now, vnc should handle it -- but no sound. Anyway, it works -- you just can't play it on cyberspace through x-windows, and you can't get the sound through vnc. What about accessing it through a mount point? On cyberspace, it worked to play it right off /dev/hdc and I'll try exporting that. But no:

mount: cyberspace:/dev/hdc failed, reason given by server: Not a directory

So we'll stick to the earlier method. First you mount the DVD on cyberspace:

mount /dev/hdc /media/dvd
mount: block device /dev/hdc is write-protected, mounting read-only

Then you mount it on gubbio:

steen@gubbio:~/mnt> mount dvd

When you play it with Ogle, highlight the /dvd directory and click OK. It opens the DVD and begins to play it, but doesn't get past the FBI, as before. It seems likely this is a problem of bypassing the encryption over a distributed network. VideoLAN may be able to overcome this difficulty!

Correspondence with Håkan Hjort, the Ogle developer

Date: Wed, 12 Jun 2002 00:28:59 -0700
From: Peter Plantagenet <plantagenet@music.com>
To: steen@ssc.ucla.edu
Subject: DVD on a LAN

Hi Håkan,

>At a quick glance I see that you used libdvdcss 1.2.0, try installing the latest (1.2.1).

I installed libdvdcss 1.2.1 and append the results; the behavior is unchanged. Ogle opens the remote disk, descrambles the initial sequence, plays the music, reads the first-level menu, allows me to make a choice to reach the second-level menu. If from there I go into "Chapter selection" I can see the small animated windows -- everything is still working fine. But when I choose one of the chapters to play, the decryption fails -- the screen turns into grains -- and then Ogle exits.

During the working part, dvdcss produces stuff like this:

libdvdcss debug: 1 of 6 attempts successful, 669 of 1499 blocks scrambled
libdvdcss debug: vts key initialized
libdvdcss debug: the key is c1 87 78 f7 ef

When I chose a chapter to play, I get this:

JumpVTS_PTT 6:6
play_PG: state.pgN (6)
play_Cell: state.cellN (9)
Debug[ogle_nav]: sending subpicture palette
Debug[ogle_nav]: sending subp demuxstream 31
libdvdcss debug: still working...
libdvdcss debug: still working...
libdvdcss debug: still working...
libdvdcss debug: still working...
libdvdcss debug: 1 of 2 attempts successful, 5646 of 18173 blocks scrambled
libdvdcss debug: vts key initialized
libdvdcss debug: the key is c1 87 78 f7 ef

Promising, right? It's found the same key and is ready to go. But then we get,

demux: changed to scr_nr: 13
*vmg: unrecognized event type (24)
libdvdcss error: no key but found encrypted block

And from then on we've lost it:

demux: Found a scrambled PES packet! (1)
*rt: 1023866313.312974000, last_rt: 1023866312.519454360
bt: 0.096000000, tmptime: 1023866312.615454360
scr: 0.051155044
Note[ogle_a52]: resetting offset
Debug[ogle_a52]: a52_block() error
Debug[ogle_a52]: A/52 error while decoding, restarting
demux: Found a scrambled PES packet! (1)
demux: *** Lost Sync
demux: *** at offset: 1808984 bytes

The whole thing appended below.

Cheers,
Peter

MPlayer DVD over LAN

I started to play the remote DVD with this command:

gmplayer -dvd 1 -dvd-device /cyberspace/media/dvd

This of course from gubbio with cyberspace connected through NFS. Basically it works -- I don't know if I'm getting any sound, and I'm getting the unencrypted illegible picture, but this looks very promising. The error message is,

Encrypted VOB file (not compiled withlibcss support)! Read file DOCS/cd-dvd.html

Now, file:/usr/cvs/mplayer/DOCS/cd-dvd.html reads,

MPlayer uses libdvdread and libdvdcss for DVD decryption and playing. These two libraries are contained in the libmpdvdkit/ subdirectory in the MPlayer tree, you don't have to install them separately. We opt for this solution because we had to fix a libdvdread bug, and apply a patch which adds cracked CSS keys caching support for libdvdcss (results in large speed increase before playing). These cracked keys are stored in $HOME/.mplayer/DVDKeys directory.

Support for dvdnav is being added (not usable now).

Well, I created /.mplayer/DVDKeys. I already have the /usr/lib/libdvdcss.so.2.0.1 installed, but clearly mplayer is using its own version. I could try the -csslib switch.

When I try this command line, however:

gmplayer -dvd 1 -dvd-device /mnt/CyberNFS/media/dvd -csslib /usr/lib/libdvdcss.so.2.0.1

I get "MPlayer was compiled WITHOUT libcss support!" Which isn't really bad news. I then tried a recompile from cvs, using these switches:

./configure --enable-gui --enable-3dfx --enable-largefiles --cc=/opt/experimental/bin/cc

Checking for /opt/experimental/bin/cc version ... 3.0.1, ok
Checking for CPU vendor ... GenuineIntel (6:11:1)
Checking for CPU type ... Intel(R) Celeron(TM) CPU 1200MHz
Checking for GCC & CPU optimization abilities ... i686
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for mtrr support ... yes

Checking for DVD support (libmpdvdkit) ... yes
Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ... DivX5linux (with
libdivxdecore.so)

Config files successfully generated by ./configure !

Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/share/mplayer

Optimizing for: i686 mmx mmx2 sse mtrr

Enabled optional drivers:

Input: network tv-v4l tv mpdvdkit vcd
Codecs: divx5linux xanim directshow win32 libvorbis
Audio output: alsa5 arts oss sdl mpegpes(file)
Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev svga opengl dga xv x11 3dfx

Disabled optional drivers:

Input: tv-bsdbt848 dvdnav dvdread dvdcss
Codecs: divx4linux libavcodec libmad
Audio output: sgi sun dxr2 nas
Video output: zr dxr3 dxr2 aa ggi xmga mga directfb tdfxfb

So mpdvdkit is enabled, and decryptions should work. I do make, and verify that the decss is compiled:

make -C libmpdvdkit
make[1]: Entering directory `/usr/cvs/mplayer/libmpdvdkit'

css.o ioctl.o libdvdcss.o
css.o css.c
ar rc libmpdvdkit.a dvd_reader.o dvd_udf.o ifo_read.o ifo_print.o nav_read.o
nav_print.o
libdvdcss.o libdvdcss.c

Soon after the compilation failed, however. I tried again with the old gcc 2.95.3.

./configure --enable-gui --enable-3dfx --enable-largefiles

I did make, which went fine this time, and then su root make install. When I tested libcss-0.0.1-2.i386.rpm I got "package libcss-0.1.0-1 (which is newer than libcss-0.0.1-2) is already installed." So how come I don't see it? I was looking for csslib! I stick with the version I have and try this:

./configure --enable-gui --enable-3dfx --enable-largefiles --with-csslibdir=/usr/lib

I finally get:

Checking for DVD support (libcss - old style) ... yes

I get an extra element in the summary:

Input: network tv-v4l tv dvdcss mpdvdkit vcd

So I may have needed to do this, even though the instructions appear to say I don't? Now I'm getting "Encrypted stream but authentication was not requested by you!!" So I try this switch:

gmplayer -dvd 1 -dvd-device /mnt/CyberNFS/media/dvd -dvdauth /mnt/CyberNFS/media/dvd

Playing DVD title 1
libdvdread: Device inaccessible, CSS authentication not available.
libdvdread: Using normal filesystem access.
Reading disc structure, please wait...
There are 10 titles on this DVD.
There are 7 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
DVD: opening libcss.so as libcss.so ...
DVD: dlopen OK!
DVD: DVD is encrypted, issuing authentication ...

But then we stall. I substituted css 0.0.1 for the 0.1.0 that was installed and recompiled. At the end, I got this:

Following task requires root privs. If it fails don't panic
however it means you can't use fibmap_mplayer.
Without this (or without running mplayer as root) you won't be
able to play encrypted DVDs.
install -o 0 -g 0 -m 4755 -s fibmap_mplayer /usr/local/bin/fibmap_mplayer

No improvement, however -- it still freezes at the point of authentication.

I signed up for the mplayer-users mailing list at
http://mplayerhq.hu/mailman/listinfo/mplayer-users

User plantagenet@music.com and pw password.

Now, the point is that these problems are caused purely by the network -- you've likely been focusing on the wrong place. Here's what happens on an ssh connection, running the remote mplayer:

MPlayer 0.90pre5-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

vo: X11 running at 1024x768 with depth 16 and 16 bpp ("cyberspace:11.0" => remote display)
Reading /home/steen/.mplayer/codecs.conf: 34 audio & 94 video codecs
Font /home/steen/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error: Permission denied
Using usleep() timing
Can't open input config file /home/steen/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/steen/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[ws] Remote display, disabling XMITSHM

Playing DVD title 1
libdvdcss debug: GetASF authenticated
libdvdcss debug: already authenticated
Reading disc structure, please wait...
There are 10 titles on this DVD.
There are 7 chapters in this DVD title.
There are 1 angles in this DVD title.
dvdcss: opening /home/steen/.mplayer/DVDKeys/2001070612211500/0000014e51 to look
for key
DVD successfully opened!
Detected MPEG-PS file format!
VIDEO: MPEG2 720x480 (aspect 2) 29.97 fps 12250.0 kbps (1531.2 kbyte/s)
Detected audio codec: [a52] afm:14 (AC3-liba52)
Opening audio decoder: [liba52] AC3-liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 56000->192000 (448.0 kbit)
====================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
Shared memory not supported
Reverting to normal Xv
Detected video codec: [mpeg12] vfm:1 (MPEG 1 or 2)
===================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
cmd: 5004V: 0.2 A-V: 0.338 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%

Playing /dev/dvd
[ws] Error in display.
[ws] Error code: 10 ( BadAccess (attempt to access private resource denied) )
[ws] Request code: 145
[ws] Minor code: 1
[ws] Modules: demux_open

So this is perhaps an NFS problem, not an mplayer problem at all? Or X11 or GTK? BadAccess (attempt to access private resource denied). It may be that this is -- of all things -- a colormap problem! (http://d3dnff.gat.com/faq/question.asp?id=106)

SSH method

Now, here's the kicker: this works!

gmplayer -dvd 1 -vo xv -ao oss -framedrop

The framedrops are noticeable, but the picture is not scrambled. However, there's no sound. Without the -framedrop it crashes, complaining of BadAccess -- which has nothing to do with it. Error messages really are terrible in Linux!

So the SSH method works, just use -framedrop. Now, the NFS method? Not really that crucial, unless you can get sound that way.

NFS method. Here's how I tried to make it work.

1. /etc/fstab

cyberspace:/media/dvd /dev/dvd (which has to be a directory)

Now the player finds the DVD with no instructions, but it still has the same encryption problems.

Linux RTC init error: Permission denied

So we're exactly where we were:

libdvdread: Attempting to use device cyberspace:/media/dvd mounted on /dev/dvd for CSS authentication
libdvdcss error: failed opening device
libdvdread: Can't open cyberspace:/media/dvd for reading.
libdvdread: Device inaccessible, CSS authentication not available.

It then tries libcss and freezes. Anyway, I guess it's fun that SSH works!

Playback by copying the whole DVD

Well, I've tried to make a backup of a dvd by doing

dd if=/dev/sr0 of=dvd.raw

(of course after autenticating it) and this copied the whole dvd content to disk. Playing it with

mplayer -dvd 1 -dvd-device dvd.raw

worked perfectly. Maybe you can make the device node of the dvd drive on platon accessible to the other computer and then try to use it the way similar to what I did when backing the dvd up (no, not dump the discs contents but use -dvd-device) Anyways, you could actualy try to dump a part of it to see wheter this works.

If not that is probably the problem. Please let me know wheter this was the problem and how you solved it if you made it.

Clemens Wächter
mplayer mailing list
http://mplayerhq.hu/pipermail/mplayer-users/2002-June/016616.html

 

 

 

top
Debate
Evolution
CogSci

Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles


CogWeb