<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>7.5. SVGAlib</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="video.html" title="Chapitre 7. Sorties vidéo"><link rel="prev" href="sdl.html" title="7.4. SDL"><link rel="next" href="fbdev.html" title="7.6. Sortie Framebuffer (FBdev)"><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"></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">7.5. SVGAlib</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sdl.html">Précédent</a> </td><th width="60%" align="center">Chapitre 7. Sorties vidéo</th><td width="20%" align="right"> <a accesskey="n" href="fbdev.html">Suivant</a></td></tr></table><hr></div><div class="sect1" title="7.5. SVGAlib"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="svgalib"></a>7.5. SVGAlib</h2></div></div></div><p title="INSTALLATION"><b>INSTALLATION. </b> Vous devrez installer svgalib et ses paquets de développement afin que <span class="application">MPlayer</span> construise son pilote SVGAlib (autodetecté, mais peut être forcé), et n'oubliez pas d'éditer <tt class="filename">/etc/vga/libvga.config</tt> pour l'ajuster à votre carte et votre moniteur. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> Assurez-vous de ne pas utiliser l'option <tt class="option">-fs</tt>, car elle active l'utilisation du redimensionneur logiciel, et c'est lent. Si vous en avez réellement besoin, utilisez l'option <tt class="option">-sws 4</tt> qui donnera une qualité mauvaise, mais qui est un peu plus rapide. </p></div><p title="SUPPORT EGA (4BPP)"><b>SUPPORT EGA (4BPP). </b> SVGAlib incorpore EGAlib, et <span class="application">MPlayer</span> a la possibilité d'afficher n'importe quel film en 16 couleurs, donc utilisable avec les configurations suivantes : </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> carte EGA avec moniteur EGA: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp </p></li><li class="listitem"><p> carte EGA avec moniteur CGA: 320x200x4bpp, 640x200x4bpp </p></li></ul></div><p> La valeur des bpp (bits par pixel) doit être fixé à 4 manuellement : <tt class="option">-bpp 4</tt> </p><p> Le film doit probablement être redimensionné pour tenir dans le mode EGA : </p><pre class="screen">-vf scale=640:350</pre><p> ou </p><pre class="screen">-vf scale=320:200</pre><p> </p><p> Pour cela nous avons besoin de la routine de redimensionnement rapide mais de mauvaise qualité : </p><pre class="screen">-sws 4</pre><p> </p><p> Peut-être que la correction d'aspect automatique doit être coupée : </p><pre class="screen">-noaspect</pre><p> </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> D'après mon expérience, la meilleur qualité d'image sur les écrans EGA peut être obtenue en diminuant légèrement la luminosité : <tt class="option">-vf eq=-20:0</tt>. J'ai également besoin de diminuer la fréquence d'échantillonnage sur ma machine, car le son est endommagé en 44kHz : <tt class="option">-srate 22050</tt>. </p></div><p> Vous pouvez activer l'OSD et les sous-titres uniquement avec le filtre <tt class="option">expand</tt>, voir la page de man pour les paramètres exacts. </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sdl.html">Précédent</a> </td><td width="20%" align="center"><a accesskey="u" href="video.html">Niveau supérieur</a></td><td width="40%" align="right"> <a accesskey="n" href="fbdev.html">Suivant</a></td></tr><tr><td width="40%" align="left" valign="top">7.4. SDL </td><td width="20%" align="center"><a accesskey="h" href="index.html">Sommaire</a></td><td width="40%" align="right" valign="top"> 7.6. Sortie Framebuffer (FBdev)</td></tr></table></div></body></html>