summaryrefslogtreecommitdiffstats
path: root/DOCS/xml
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-17 03:59:00 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-17 03:59:00 +0000
commitc5f282f5b623c1badd142b2c0a183958bd7e3ce9 (patch)
treed848d120f37241f49076e1a403e0ea5605b3099d /DOCS/xml
parent3a3fd62768e3e5959e122839355567193eb41c85 (diff)
downloadmpv-c5f282f5b623c1badd142b2c0a183958bd7e3ce9.tar.bz2
mpv-c5f282f5b623c1badd142b2c0a183958bd7e3ce9.tar.xz
-vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12217 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml')
-rw-r--r--DOCS/xml/en/documentation.xml4
-rw-r--r--DOCS/xml/en/video.xml93
2 files changed, 95 insertions, 2 deletions
diff --git a/DOCS/xml/en/documentation.xml b/DOCS/xml/en/documentation.xml
index ddb12d8f86..5074cc1665 100644
--- a/DOCS/xml/en/documentation.xml
+++ b/DOCS/xml/en/documentation.xml
@@ -63,8 +63,8 @@ many native, XAnim, RealPlayer, and Win32 DLL codecs. You can watch
<emphasis role="bold">DivX</emphasis> movies too (and you don't need the avifile
library at all!). Another big feature of mplayer is the wide range of
supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib,
-fbdev, AAlib, DirectFB, but you can use GGI and SDL (and this way all their
-drivers) and some lowlevel card-specific drivers (for Matrox, 3Dfx and
+fbdev, AAlib, libcaca, DirectFB, but you can use GGI and SDL (and this way all
+their drivers) and some lowlevel card-specific drivers (for Matrox, 3Dfx and
Radeon, Mach64, Permedia3) too! Most of them supports software or hardware
scaling, so you can enjoy movies in fullscreen.
<application>MPlayer</application> supports displaying through some
diff --git a/DOCS/xml/en/video.xml b/DOCS/xml/en/video.xml
index a0783aeb4d..b394624054 100644
--- a/DOCS/xml/en/video.xml
+++ b/DOCS/xml/en/video.xml
@@ -1115,6 +1115,99 @@ tuning issues.
</sect4>
+<sect4 id="caca">
+<title><systemitem class="library">libcaca</systemitem> - Colour AsCii Art library</title>
+
+<para>
+The <ulink url="http://sam.zoy.org/projects/libcaca/"><systemitem class="library">libcaca</systemitem></ulink>
+library is a graphics library that outputs text instead of pixels, so that it
+can work on older video cards or text terminals. It is not unlike the famous
+<systemitem class="library">AAlib</systemitem> library.
+<systemitem class="library">libcaca</systemitem> needs a terminal to work, thus
+it should work on all Unix systems (including Mac OS X) using either the
+<systemitem class="library">slang</systemitem> library or the
+<systemitem class="library">ncurses</systemitem> library, on DOS using the
+<systemitem class="library">conio.h</systemitem> library, and on Windows systems
+using either <systemitem class="library">slang</systemitem> or
+<systemitem class="library">ncurses</systemitem> (through Cygwin emulation) or
+<systemitem class="library">conio.h</systemitem>. If
+<filename>./configure</filename>
+detects <systemitem class="library">libcaca</systemitem>, the caca libvo driver
+will be built.
+</para>
+
+<itemizedlist>
+<title>The differences with <systemitem class="library">AAlib</systemitem> are
+ the following:</title>
+<listitem><simpara>
+ 16 available colours for character output (256 colour pairs)
+ </simpara></listitem>
+<listitem><simpara>
+ color image dithering
+ </simpara></listitem>
+</itemizedlist>
+
+<itemizedlist>
+<title>But <systemitem class="library">libcaca</systemitem> also has the
+ following limitations:</title>
+<listitem><simpara>
+ no support for brightness, contrast, gamma
+ </simpara></listitem>
+</itemizedlist>
+
+<para>
+You can use some keys in the caca window to change rendering options:
+</para>
+
+<informaltable>
+<tgroup cols="2">
+<thead>
+ <row><entry>Key</entry><entry>Action</entry></row>
+</thead>
+<tbody>
+<row><entry><keycap>d</keycap></entry><entry>
+ Toggle <systemitem class="library">libcaca</systemitem> dithering methods.
+ </entry></row>
+<row><entry><keycap>a</keycap></entry><entry>
+ Toggle <systemitem class="library">libcaca</systemitem> antialiasing.
+ </entry></row>
+<row><entry><keycap>b</keycap></entry><entry>
+ Toggle <systemitem class="library">libcaca</systemitem> background.
+ </entry></row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<variablelist>
+<title><systemitem class="library">libcaca</systemitem> will also look for certain environment variables:</title>
+<varlistentry>
+ <term><option>CACA_DRIVER</option></term>
+ <listitem><simpara>
+ Set recommended caca driver. e.g. ncurses, slang, x11.
+ </simpara></listitem>
+</varlistentry>
+<varlistentry>
+ <term><option>CACA_GEOMETRY (X11 only)</option></term>
+ <listitem><simpara>
+ Specifies the number of rows and columns. e.g. 128x50.
+ </simpara></listitem>
+</varlistentry>
+<varlistentry>
+ <term><option>CACA_FONT (X11 only)</option></term>
+ <listitem><simpara>
+ Specifies the font to use. e.g. fixed, nexus.
+ </simpara></listitem>
+</varlistentry>
+</variablelist>
+
+<para>
+Use the <option>-framedrop</option> option if your computer is not fast
+enough to render all frames.
+</para>
+
+</sect4>
+
+
<sect4 id="vesa">
<title>VESA - output to VESA BIOS</title>