From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp018.mail.yahoo.com ([216.136.174.115]) by speech.braille.uwo.ca with smtp (Exim 3.34 #1 (Debian)) id 16ikps-0006N8-00 for ; Wed, 06 Mar 2002 18:28:40 -0500 Received: from igueths (AUTH login) at h0020780ec921.ne.mediaone.net (HELO OEMCOMPUTER) (igueths@24.62.33.0) by smtp.mail.vip.sc5.yahoo.com with SMTP; 6 Mar 2002 23:09:23 -0000 Message-ID: <008d01c1c562$de388f00$01213e18@OEMCOMPUTER> From: "Igor Gueths" To: References: Subject: Re: Playing DVDs in linux console. (mplayer installation) Date: Wed, 6 Mar 2002 18:01:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Hi. I read most of this in the mplayer docs available on the site. One = question though. By the way, nice guide! Anyway, can sighted people see = the video from the console? Or do you have to have x running before you = can do that? I'm just asking because once I get my system up, I want to = be able to watch divx with friends and stuff. I used to do this on the = winblows box.=20 ----- Original Message -----=20 From: Johan Bergstr=F6m To: Sent: Wednesday, March 06, 2002 1:51 PM Subject: Playing DVDs in linux console. (mplayer installation) > Alright, first off you need a working compiler and the make program = and > all the standard development libraries. I'm not going into detail how = to > get that, I'm going to assume you have it all working and concentrate = on > getting the movies rolling. Oh, and you also need X developement > libraries. If you run debian, you can just run, >=20 > apt-get install xlib6g xlib6g-dev >=20 > If you have apt setup, which you should have if you run debian. :-) >=20 > Otherwise, you'll have to search through your CD's or something for X > libraries and the X developement enviroment. Its only needed for the > compilation, you wont need to run X to run mplayer to watch movies. >=20 > You need to download quite a few files, here are some URL's stright to = the > files you need, you can use wget or lynx or whatever you wish to > save them. >=20 > = http://www.dtek.chalmers.se/groups/dvd/dist/libdvdcss-0.0.3.ogle3.tar.gz > http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.2.tar.gz > http://www2.mplayerhq.hu/MPlayer/releases/w32codec-0.60.tar.bz2 > http://www2.mplayerhq.hu/MPlayer/cvs/MPlayer-current.tar.bz2 >=20 > Now, start by uncompressing the libdvdcss and libdvdread files and = install > them in the standard way, something like this, >=20 > tar xzf libdvdcss-0.0.3.ogle3.tar.gz > cd libdvdcss-0.0.3.ogle3 > ./configure > make > make install > cd .. > tar xzf libdvdread-0.9.2.tar.gz > cd libdvdread-0.9.2 > ./configure > make > make install >=20 > Both those make install commands has to be run as root, since they = install > in /usr/local/lib. >=20 > Next, uncompress w23codecs-0.60.tar.bz2, >=20 > tar xIf w32codec-0.60.tar.bz2 >=20 > Then create the directory /usr/lib/win32 and move the files under > w32codec-0.60 into that dir. >=20 > Now make sure you have a link in the /dev directory called dvd that = points > to your dvd player device. Usually its the /dev/hdc or /dev/hdd device > thats the dvd player. Create if if it doesnt exist, >=20 > ln -s /dev/hdc /dev/dvd >=20 > Now its time for mplayer, uncompress it in the usual manor, and do the > standard commands. >=20 > tar xIf MPlayer-current.tar.bz2 > cd MPlayer-20020303 > ./configure >=20 > Here, in the output of the configure script, make sure you see these > lines, or something similar to it, >=20 > Checking for DVD support (libdvdread - new style) ... yes > Checking for Win32 DLL support ... yes (using /usr/lib/win32) >=20 > And either one of these, >=20 > Checking for OSS Audio ... yes >=20 > Checking for ALSA audio ... yes (using alsa 0.9.x) >=20 > Preferably OSS Audio since Alsa audio is still very bad and distorted = and > under developement in mplayer. >=20 > If everything looks good, run make and make install as usual. >=20 > Now we're almost done, just a few tricks more. First move the files > MPlayer-20020303/etc/codecs.conf and MPlayer-20020303/etc/input.conf = into > a directory called .mplayer (obs, the dot) which should reside in your > homedir. >=20 > The input.conf is a file where you can bind keys to features in = mplayer > such as fastforward, volume controls and similar. The standard keys = are > rightarrow equals fastforward 10 seconds, uparrow fastforward 1 minute = and > pageup fastforward 10 minutes. Volume controls are 0 and 9 or, numpad = / > and *. (Which I think speakup has already bound for other stuff.) P is = for > pause/play and Q is for quit. Check input.conf for more. >=20 > Create a file called config in the .mplayer dir and write this in it, >=20 > vc=3Dnull > ao=3Doss >=20 > alternativly >=20 > ao=3Dalsa9 >=20 > If you only have alsa sound. vc is short for VideoCodec, and since we > dont want to use that we just use the null device. ao is the Audio = Output > driver. >=20 > Now you are ready. >=20 > To play standard mpg/avi/divx or whatever, just run mplayer = /path/to/file > and to play DVDs put disc into the player and run the command, >=20 > mplayer -dvd 1 >=20 > Thats all. Hope you all get it working. >=20 > Bye, >=20 > Johan >=20 >=20 > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com