OpenDVD.org - DVD for every OS
Main Factsheet In the News Resources
About Help Us! Feedback News


This site is dedicated to raising awareness in regards to DVD playing on personal computers and the CSS protection scheme.


Linux DVD HOWTO

Here's a really quick howto on Linux DVD playback.

Grab the following if you haven't already done so:

1. Kernel Patch (adds DVD IOCTL implementation)
  • For Kernel 2.2.13 , 2.2.14 , 2.3.33 or other
    2. Linux DVD Tarball
    3. Nasm 0.98 src - RPM libc5 - RPM libc6 (needed for compiling nist)
  • Debian users can use: "apt-get install nasm"

    Here's how to proceed:

    1. Patch the kernel:
  • cd /usr/src
  • patch -p0 < nov7-2.2.diff
    - [ replace nov7-2.2.diff with the path & filename of your patch ]
  • Compile your kernel. Check the Linux Kernel HOWTO for more info.

    2. Unpack Linux DVD Tarball
  • cd /home/css
    - [ replace /home/css with the dir where you put the src tarball ]
  • mkdir dvd; cd dvd
  • tar -zxvf ../dvd-munitions.tar.gz

    3. Compile the CSS utilities
  • cd /home/css/dvd/css-auth
    - [ replace /home/css with the correct path ]
  • make
  • _read_ README for further info

    4. Compile Nasm (or install binaries)
  • tar -zxvf nasm-0.98.tar.gz
  • cd nasm-0.98
  • ./configure
  • make; make install

    5. Compile Nist (mpeg2player)
  • cd /home/css/dvd/nist
    - [ replace /home/css with correct path ]
  • ./autogen.sh
  • make; make install

    If nist for some reason segfaults on you, try using the (old) precompiled version.
    Attention K6 Users: Change -march=i686 to -march=k6 in configure.in, and add "#define HAVE_3Dnow" in src/video/recon.c

    6. Playing a DVD
  • cd /to/the/correct/dir/css-auth
  • tstdvd /path/to/dvd/device
  • mount the dvd somewhere
  • tstdvd /path/to/dvd/device /mount/path/video_ts/vts_01_1.vob
  • cat /dvd/video_ts/vts_01_[1-9].vob|css-cat -v1P -|mpeg2player -vob -f -

    $Id: linuxdvd.html,v 1.10 2000/01/09 21:27:50 dvdcvs Exp $