Mercurial > mplayer.hg
comparison DOCS/xml/en/video.xml @ 12216:d4e2bdc246a3
-vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
author | diego |
---|---|
date | Sat, 17 Apr 2004 03:59:00 +0000 |
parents | 2750891e58e9 |
children | da00c08d8279 |
comparison
equal
deleted
inserted
replaced
12215:52d8cdd6b6c1 | 12216:d4e2bdc246a3 |
---|---|
1113 tuning issues. | 1113 tuning issues. |
1114 </para> | 1114 </para> |
1115 </sect4> | 1115 </sect4> |
1116 | 1116 |
1117 | 1117 |
1118 <sect4 id="caca"> | |
1119 <title><systemitem class="library">libcaca</systemitem> - Colour AsCii Art library</title> | |
1120 | |
1121 <para> | |
1122 The <ulink url="http://sam.zoy.org/projects/libcaca/"><systemitem class="library">libcaca</systemitem></ulink> | |
1123 library is a graphics library that outputs text instead of pixels, so that it | |
1124 can work on older video cards or text terminals. It is not unlike the famous | |
1125 <systemitem class="library">AAlib</systemitem> library. | |
1126 <systemitem class="library">libcaca</systemitem> needs a terminal to work, thus | |
1127 it should work on all Unix systems (including Mac OS X) using either the | |
1128 <systemitem class="library">slang</systemitem> library or the | |
1129 <systemitem class="library">ncurses</systemitem> library, on DOS using the | |
1130 <systemitem class="library">conio.h</systemitem> library, and on Windows systems | |
1131 using either <systemitem class="library">slang</systemitem> or | |
1132 <systemitem class="library">ncurses</systemitem> (through Cygwin emulation) or | |
1133 <systemitem class="library">conio.h</systemitem>. If | |
1134 <filename>./configure</filename> | |
1135 detects <systemitem class="library">libcaca</systemitem>, the caca libvo driver | |
1136 will be built. | |
1137 </para> | |
1138 | |
1139 <itemizedlist> | |
1140 <title>The differences with <systemitem class="library">AAlib</systemitem> are | |
1141 the following:</title> | |
1142 <listitem><simpara> | |
1143 16 available colours for character output (256 colour pairs) | |
1144 </simpara></listitem> | |
1145 <listitem><simpara> | |
1146 color image dithering | |
1147 </simpara></listitem> | |
1148 </itemizedlist> | |
1149 | |
1150 <itemizedlist> | |
1151 <title>But <systemitem class="library">libcaca</systemitem> also has the | |
1152 following limitations:</title> | |
1153 <listitem><simpara> | |
1154 no support for brightness, contrast, gamma | |
1155 </simpara></listitem> | |
1156 </itemizedlist> | |
1157 | |
1158 <para> | |
1159 You can use some keys in the caca window to change rendering options: | |
1160 </para> | |
1161 | |
1162 <informaltable> | |
1163 <tgroup cols="2"> | |
1164 <thead> | |
1165 <row><entry>Key</entry><entry>Action</entry></row> | |
1166 </thead> | |
1167 <tbody> | |
1168 <row><entry><keycap>d</keycap></entry><entry> | |
1169 Toggle <systemitem class="library">libcaca</systemitem> dithering methods. | |
1170 </entry></row> | |
1171 <row><entry><keycap>a</keycap></entry><entry> | |
1172 Toggle <systemitem class="library">libcaca</systemitem> antialiasing. | |
1173 </entry></row> | |
1174 <row><entry><keycap>b</keycap></entry><entry> | |
1175 Toggle <systemitem class="library">libcaca</systemitem> background. | |
1176 </entry></row> | |
1177 </tbody> | |
1178 </tgroup> | |
1179 </informaltable> | |
1180 | |
1181 <variablelist> | |
1182 <title><systemitem class="library">libcaca</systemitem> will also look for certain environment variables:</title> | |
1183 <varlistentry> | |
1184 <term><option>CACA_DRIVER</option></term> | |
1185 <listitem><simpara> | |
1186 Set recommended caca driver. e.g. ncurses, slang, x11. | |
1187 </simpara></listitem> | |
1188 </varlistentry> | |
1189 <varlistentry> | |
1190 <term><option>CACA_GEOMETRY (X11 only)</option></term> | |
1191 <listitem><simpara> | |
1192 Specifies the number of rows and columns. e.g. 128x50. | |
1193 </simpara></listitem> | |
1194 </varlistentry> | |
1195 <varlistentry> | |
1196 <term><option>CACA_FONT (X11 only)</option></term> | |
1197 <listitem><simpara> | |
1198 Specifies the font to use. e.g. fixed, nexus. | |
1199 </simpara></listitem> | |
1200 </varlistentry> | |
1201 </variablelist> | |
1202 | |
1203 <para> | |
1204 Use the <option>-framedrop</option> option if your computer is not fast | |
1205 enough to render all frames. | |
1206 </para> | |
1207 | |
1208 </sect4> | |
1209 | |
1210 | |
1118 <sect4 id="vesa"> | 1211 <sect4 id="vesa"> |
1119 <title>VESA - output to VESA BIOS</title> | 1212 <title>VESA - output to VESA BIOS</title> |
1120 | 1213 |
1121 <para> | 1214 <para> |
1122 This driver was designed and introduced as a <emphasis role="bold">generic | 1215 This driver was designed and introduced as a <emphasis role="bold">generic |