(M)  s i s t e m a   o p e r a c i o n a l   m a g n u x   l i n u x ~/ · documentação · suporte · sobre

  Next Previous Contents

4. Installation

4.1 Kernel

If you have a development kernel (2.3.x), you should already have DVD ioctl support, so you just need to make sure you have MTRR support enabled in the kernel configuration, and then compile and install it as you normally would.

If you want to patch your exisiting kernel, start by going to

 
        http://www.kernel.dk/
and downloading the correct patch for your kernel.

If don't know how to install or patch your kernel, you should go read the Kernel HOWTO at:

        
        http://howto.tucows.com/LDP/HOWTO/Kernel-HOWTO.html

4.2 LiViD Utilities

To install the LiViD utilities, you need to make sure you have /usr/local/lib somewhere in /etc/ld.so.conf.

The following commands should compile and install the LiViD utilities on your system. If you have problems, please see the "Problems" section.

 
      ac3dec:
    
        # cd ~/livid/ac3dec
        # ./autogen.sh
        # make
        # make install          
   
      mpeg2dec:
    
        # cd ~/livid/mpeg2dec
        # ./autogen.sh
        # make
        # make install
        
      oms:
      
        # cd ~/livid/oms
        # ./autogen.sh
        # ./configure
        # make
        # make install

Now the necessary LiViD utilities should be installed. oms needs some special fifo pipes to be created for the DVD data to travel over. These can be made with the following commands (if they don't already exist):

 
        # mkfifo /tmp/video
        # mkfifo /tmp/audio

One last thing to do. 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

It is generally a good idea not to make a symlink to a symlink, because it adds unnecessary I/O. Replace /dev/cdrom with the correct device that your dvd drive is on.


Next Previous Contents