Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > a42e22ddf1d70fb02e9f62289d71cafa > files > 362

mplayer-doc-1.0-1.rc4.0.r31086.3.1mdv2010.2.i586.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>2.5. Installation Codec</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="MPlayer - Le Lecteur Vidéo"><link rel="up" href="install.html" title="Chapitre 2. Installation"><link rel="prev" href="fonts-osd.html" title="2.4. Polices et OSD"><link rel="next" href="rtc.html" title="2.6. RTC"><link rel="preface" href="howtoread.html" title="Comment lire cette documentation"><link rel="chapter" href="intro.html" title="Chapitre 1. Introduction"><link rel="chapter" href="install.html" title="Chapitre 2. Installation"><link rel="chapter" href="usage.html" title="Chapitre 3. Utilisation"><link rel="chapter" href="cd-dvd.html" title="Chapitre 4. Utilisation des CD/DVD"><link rel="chapter" href="tv.html" title="Chapitre 5. TV"><link rel="chapter" href="radio.html" title="Chapitre 6. Radio"><link rel="chapter" href="video.html" title="Chapitre 7. Sorties vidéo"><link rel="chapter" href="ports.html" title="Chapitre 8. Ports"><link rel="chapter" href="mencoder.html" title="Chapitre 9. Utilisation basique de MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapitre 10. L'encodage avec MEncoder"><link rel="chapter" href="faq.html" title="Chapitre 11. Foire Aux Questions"><link rel="appendix" href="bugreports.html" title="Annexe A. Comment rapporter les bogues"><link rel="appendix" href="skin.html" title="Annexe B. Format de skins MPlayer"><link rel="subsection" href="codec-installation.html#xvid" title="2.5.1. Xvid"><link rel="subsection" href="codec-installation.html#x264" title="2.5.2. x264"><link rel="subsection" href="codec-installation.html#aac" title="2.5.3. Codec AAC"><link rel="subsection" href="codec-installation.html#amr" title="2.5.4. codecs AMR"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.5. Installation Codec</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="fonts-osd.html">Précédent</a> </td><th width="60%" align="center">Chapitre 2. Installation</th><td width="20%" align="right"> <a accesskey="n" href="rtc.html">Suivant</a></td></tr></table><hr></div><div class="sect1" title="2.5. Installation Codec"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="codec-installation"></a>2.5. Installation Codec</h2></div></div></div><div class="sect2" title="2.5.1. Xvid"><div class="titlepage"><div><div><h3 class="title"><a name="xvid"></a>2.5.1. Xvid</h3></div></div></div><p>
<a class="ulink" href="http://www.xvid.org" target="_top">Xvid</a> est un logiciel libre
de codec video conforme au MPEG-4 ASP. Notez qu'Xvid n'est pas nécessaire
pour décoder des vidéos encodée par Xvid.
<code class="systemitem">libavcodec</code> est utilisé par défaut
parce qu'il offre une vitesse supérieure.
</p><div class="procedure" title="Installer Xvid"><a name="id3044144"></a><p class="title"><b>Installer <code class="systemitem">Xvid</code></b></p><p>
  Comme la plupart des logiciels open source, il est disponible en deux
parfums :
  <a class="ulink" href="http://www.xvid.org/downloads.html" target="_top">versions officielle</a>
  et la version CVS.
  La version CVS est habituellement suffisament stable pour être utilisée,
  puisqu'elle bénéficie des corrections de bogues existant dans les versions
  officielles.
  Voici qui doit être fait pour faire fonctionner la version CVS de
  <code class="systemitem">Xvid</code>
  avec <span class="application">MEncoder</span> :
</p><ol class="procedure" type="1"><li class="step" title="Étape 1"><p>
  </p><pre class="screen">cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</pre><p>
  </p></li><li class="step" title="Étape 2"><p>
  </p><pre class="screen">cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</pre><p>
</p></li><li class="step" title="Étape 3"><p>
  </p><pre class="screen">cd xvidcore/build/generic</pre><p>
  </p></li><li class="step" title="Étape 4"><p>
  </p><pre class="screen">./bootstrap.sh</pre><p>
  </p></li><li class="step" title="Étape 5"><p>
  </p><pre class="screen">./configure</pre><p>
  Vous pouvez avoir à ajouter des options (examinez la sortie de
  <span class="command"><strong>./configure --help</strong></span>).
  </p></li><li class="step" title="Étape 6"><p>
  </p><pre class="screen">make &amp;&amp; make install</pre><p>
  </p></li><li class="step" title="Étape 7"><p>
  Si vous avez spécifié <tt class="option">--enable-divxcompat</tt>,
  copiez <tt class="filename">../../src/divx4.h</tt> dans
  <tt class="filename">/usr/local/include/</tt>.
  </p></li><li class="step" title="Étape 8"><p>
  Recompilez <span class="application">MPlayer</span>.
  </p></li></ol></div></div><div class="sect2" title="2.5.2. x264"><div class="titlepage"><div><div><h3 class="title"><a name="x264"></a>2.5.2. x264</h3></div></div></div><p>
<a class="ulink" href="http://developers.videolan.org/x264.html" target="_top"><code class="systemitem">x264</code></a>
is a library for creating H.264 video.
<span class="application">MPlayer</span> sources are updated whenever
an <code class="systemitem">x264</code> API change
occurs, so it is always suggested to use
<span class="application">MPlayer</span> from Subversion.
</p><p>
If you have a GIT client installed, the latest x264
sources can be gotten with this command:
</p><pre class="screen">git clone git://git.videolan.org/x264.git</pre><p>

Then build and install in the standard way:
</p><pre class="screen">./configure &amp;&amp; make &amp;&amp; make install</pre><p>

Now rerun <tt class="filename">./configure</tt> for
<span class="application">MPlayer</span> to pick up
<code class="systemitem">x264</code> support.
</p></div><div class="sect2" title="2.5.3. Codec AAC"><div class="titlepage"><div><div><h3 class="title"><a name="aac"></a>2.5.3. Codec AAC</h3></div></div></div><p>
Un décodeur open source appelé FAAD est disponible sur
<a class="ulink" href="http://www.audiocoding.com/downloads.html" target="_top">http://www.audiocoding.com/downloads.html</a>.
<span class="application">MPlayer</span> inclus une copie, vous n'avez donc pas
à l'obtenir séparemment.
Si vous voulez utiliser une librairie externe, passez
<tt class="option">--enable-faad-external</tt> à <tt class="filename">./configure</tt>.
Vous n'avez pas besoin de tout faad2 pour décoder les fichiers AAC, libfaad suffit.
Construisez comme ceci :
</p><pre class="screen">
cd faad2/
sh bootstrap
./configure
cd libfaad
make
make install
</pre><p>
Les binaires ne sont pas disponibles sur audiocoding.com, mais vous pouvez
obtenir les paquets Debian sur la
<a class="ulink" href="http://www.debian-multimedia.org/" target="_top">page web de Christian Marillat</a>,
les RPMs Mandrake/Mandriva sur le <a class="ulink" href="http://plf.zarb.org" target="_top">P.L.F</a> et les RPMS
Fedora sur <a class="ulink" href="http://rpm.livna.org/" target="_top">Livna</a>.
</p></div><div class="sect2" title="2.5.4. codecs AMR"><div class="titlepage"><div><div><h3 class="title"><a name="amr"></a>2.5.4. codecs AMR</h3></div></div></div><p>
Le codec de voix Adaptive Multi-Rate est utilisé dans les téléphones mobiles de
troisième génération (3G).
L'implémentation de référence est disponible depuis
<a class="ulink" href="http://www.3gpp.org" target="_top">Projet d'Association sur la 3ème Génération</a>
(gratuit pour un usage privé).
</p><p>
  Pour activer le support, téléchargez et installez les bibliothèques pour
  <a class="ulink" href="http://www.penguin.cz/~utx/amr" target="_top">AMR-NB et AMR-WB</a> en
  suivant les instructions de cette page.  Ensuite, recompilez
  <span class="application">MPlayer</span>.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="fonts-osd.html">Précédent</a> </td><td width="20%" align="center"><a accesskey="u" href="install.html">Niveau supérieur</a></td><td width="40%" align="right"> <a accesskey="n" href="rtc.html">Suivant</a></td></tr><tr><td width="40%" align="left" valign="top">2.4. Polices et OSD </td><td width="20%" align="center"><a accesskey="h" href="index.html">Sommaire</a></td><td width="40%" align="right" valign="top"> 2.6. RTC</td></tr></table></div></body></html>