Let's play DVD on Linux |
---|
I assume
there is a lot of people who has DVD-ROM recently. You can watch
DVD easily on Windows, now let's do on Linux too. We use xine
here. Check the link destination with # ls -l /dev/cdrom If you get /dev/cdrom -> /dev/hdc, then change mode of link destination hdc. If you get /dev/scd0 then change its mode respectably. # chmod 666 /dev/hdc If your dvd drive is atapi drive which is indicated hd*, then add a line hdparm -d1 /dev/hd* to /etc/rc.d/rc.local for <Redhat7.3 or options ide-cd dma-1 to /etc/modules.conf for Redhat8.0. If your dvd drive is scsi then you don't need this setting. Then set symbolic link to dvd device. # ln -s /dev/hdc /dev/dvd Then setup raw device. #
chmod 666 /dev/raw/raw1 Now let's download the source files. Get xine-lib and xine-ui from http://xinehq.de/ and libdvdcss, libdvdread from http://www.dtek.chalmers.se/groups/dvd/downloads.shtml. Then extract these files. $
tar xvzf xine-lib-1-rc4a.tar.gz Set the environment variable $ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH At first install the library. $
cd xine-lib-1-rc4a $
cd ../xine-ui-0.99.1 Then install the plugin. $
cd ../libdvdcss-1.2.6 Now finished install. Input xine at prompt. When the UI windows comes up enter your DVD disk to drive and click the DVD button. You can see playing movie.
|
Modified
date: