DVD Summary
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 Ogle and DMA In some cases, your DVD player may need to be forced to use DMA. Here is what one user writes:
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:
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:
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).
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:
I gave up for the moment -- this is not exactly critical. DVD over LAN Summary
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 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 2. /media -- change the existing /media/dvd to dvd-r 3. /dev -- change the existing /dev/dvd to dvd-r 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:
That didn't work. It could be that you should do this:
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:
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:
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:
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:
The node itself has these peculiar permissions, including write:
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:
That produces these permissions:
So if I try chmod 666 that might do it? Indeed it did; I now have
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:
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:
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:
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:
So we'll stick to the earlier method. First you mount the DVD on cyberspace:
Then you mount it on gubbio:
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 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:
When I chose a chapter to play, I get this:
MPlayer DVD over LAN I started to play the remote DVD with this command:
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,
Now, file:/usr/cvs/mplayer/DOCS/cd-dvd.html reads,
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:
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
So mpdvdkit is enabled, and decryptions should work. I do make, and verify that the decss is compiled:
Soon after the compilation failed, however. I tried again with the old gcc 2.95.3.
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:
I finally get:
I get an extra element in the summary:
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:
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:
No improvement, however -- it still freezes at the point of authentication.
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:
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!
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 It then tries libcss and freezes. Anyway, I guess it's fun that SSH works! Playback by copying the whole DVD
|
|
|
|
|||||
Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles |