<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4417.0">
<TITLE>MPlayer perfoms on RedHat 7.X ....</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">That's the proceeding :</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">1) Download :</FONT>
<BR><FONT SIZE=2 FACE="Arial"><A HREF="http://www.mplayerhq.hu/homepage/dload.html">http://www.mplayerhq.hu/homepage/dload.html</A></FONT>
<BR><FONT SIZE=2 FACE="Arial">--> MPlayer-current.tar.bz2</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">2) Unzip :</FONT>
<BR><FONT SIZE=2 FACE="Arial">bzip2 -d MPlayer-current.tar.bz2 </FONT>
<BR><FONT SIZE=2 FACE="Arial">tar xfv MPlayer-current.tar</FONT>
<BR><FONT SIZE=2 FACE="Arial">--> we get the following directory : MPlayer-20010828/</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">3 )Don't use directly the ./configure !!!</FONT>
<BR><FONT SIZE=2 FACE="Arial">You have before to follow the suitable stages :</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">4) To go on the following ftp site in order to get back the CODEX forDIVIX (DLL format)</FONT>
<BR><FONT SIZE=2 FACE="Arial">ftp thot.banki.hu -> w32codec.zip</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">5) Create /usr/lib/win32, and to put in the DLL(s).</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">6) To read the DVD, you have to compile the Mplayer with the following libs libdvdread et licss.</FONT>
<BR><FONT SIZE=2 FACE="Arial">They are available on <A HREF="http://www.dtek.chalmers.se/groups/dvd/downloads.html">http://www.dtek.chalmers.se/groups/dvd/downloads.html</A></FONT>
<BR><FONT SIZE=2 FACE="Arial">libcss-0.1.0.tar.gz</FONT>
<BR><FONT SIZE=2 FACE="Arial">libdvdread-0.8.0.tar.gz</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Then you have to untar them in the MPlayer-20010828/ directory, thus compile them :</FONT>
<BR><FONT SIZE=2 FACE="Arial">tar zxvf libcss-0.1.0.tar.gz</FONT>
<BR><FONT SIZE=2 FACE="Arial">./configure && make && make install</FONT>
<BR><FONT SIZE=2 FACE="Arial">tar zxvf libdvdread-0.8.0.tar.gz</FONT>
<BR><FONT SIZE=2 FACE="Arial">./configure && make && make install</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">7)Installe MPLAYER :</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial">With RedHat 7.X you have to modify the configure script (MPlayer-20010828/configure) :</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">a)</FONT>
<BR><FONT SIZE=2 FACE="Arial">echo "$cc_version"</FONT>
<BR><FONT SIZE=2 FACE="Arial">if [ ! -z "$cc_verc_fail" ] ; then</FONT>
<BR><FONT SIZE=2 FACE="Arial">echo "Please downgrade(upgrade) gcc compiler to gcc-2.95.2+ or gcc-3.0+ version"</FONT>
<BR><FONT SIZE=2 FACE="Arial"># Put the next ligne in comment</FONT>
<BR><FONT SIZE=2 FACE="Arial">#exit</FONT>
<BR><FONT SIZE=2 FACE="Arial">fi</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">b)</FONT>
<BR><FONT SIZE=2 FACE="Arial">case $cc_version in</FONT>
<BR><FONT SIZE=2 FACE="Arial"> '') cc_version="v. ?.??, bad"; cc_verc_fail=yes;;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 2.95.[2-9]|2.95.[2-9].[0-9]|2.96.[0-9]|3.[0-9]|3.[0-9].[0-9])</FONT>
<BR><FONT SIZE=2 FACE="Arial"> cc_version="$cc_version, ok";;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> *) cc_version="$cc_version, bad"; cc_verc_fail=yes;;</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">--> add |2.96.[0-9] !!</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">then ./configure && make && make install</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">8) Moreover it's necessary to copy the file MPlayer-20010828/etc/codecs.conf in $HOME/.mplayer/</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">9) Then try it : mplayer --help ;-)</FONT>
<BR><FONT SIZE=2 FACE="Arial">Ex : </FONT>
<BR><FONT SIZE=2 FACE="Arial">mplayer -vo x11 /usr/lib/sgml/stylesheets/nwalsh-modular/test/tennis.mpeg </FONT>
<BR><FONT SIZE=2 FACE="Arial">mplayer -vo x11 -fs /mnt/cdrom/cybert~1.avi</FONT>
<BR><FONT SIZE=2 FACE="Arial">mplayer -dvd 2 -vo x11 /mnt/cdrom/</FONT>
<BR><FONT SIZE=2 FACE="Arial">mplayer -dvd 3 -vo x11 -fs /mnt/cdrom/</FONT>
<BR><FONT SIZE=2 FACE="Arial">mplayer -dvd 2 -chapter 1 -dvdangle 1 -vo x11 -fs /mnt/cdrom/</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Bye</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Armand Passelac.</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>