comparison DOCS/xml/en/video.xml @ 12349:1deefcd5428d

spelling
author diego
date Thu, 29 Apr 2004 13:54:36 +0000
parents da00c08d8279
children cfd1b419dbcd
comparison
equal deleted inserted replaced
12348:9782f90f4f44 12349:1deefcd5428d
193 193
194 <note> 194 <note>
195 <para> 195 <para>
196 It's currently unclear which Savage models lack YV12 support, and convert by 196 It's currently unclear which Savage models lack YV12 support, and convert by
197 driver (slow). If you suspect your card, get a newer driver, or ask politely 197 driver (slow). If you suspect your card, get a newer driver, or ask politely
198 on the mplayer-users mailing list for an MMX/3DNow enabled driver. 198 on the mplayer-users mailing list for an MMX/3DNow! enabled driver.
199 </para> 199 </para>
200 </note> 200 </note>
201 </sect5> 201 </sect5>
202 202
203 203
1091 <note> 1091 <note>
1092 <para> 1092 <para>
1093 The rendering is very CPU intensive, especially when using AA-on-X 1093 The rendering is very CPU intensive, especially when using AA-on-X
1094 (using aalib on X), and it's least CPU intensive on standard, 1094 (using aalib on X), and it's least CPU intensive on standard,
1095 non-framebuffer console. Use SVGATextMode to set up a big textmode, 1095 non-framebuffer console. Use SVGATextMode to set up a big textmode,
1096 then enjoy! (secondary head Hercules cards rock :)) (but imho you 1096 then enjoy! (secondary head Hercules cards rock :)) (but IMHO you
1097 can use <option>-vf 1bpp</option> option to get graphics on hgafb:) 1097 can use <option>-vf 1bpp</option> option to get graphics on hgafb:)
1098 </para> 1098 </para>
1099 </note> 1099 </note>
1100 1100
1101 <para> 1101 <para>
1114 </para> 1114 </para>
1115 </sect4> 1115 </sect4>
1116 1116
1117 1117
1118 <sect4 id="caca"> 1118 <sect4 id="caca">
1119 <title><systemitem class="library">libcaca</systemitem> - Colour AsCii Art library</title> 1119 <title><systemitem class="library">libcaca</systemitem> - Color ASCII Art library</title>
1120 1120
1121 <para> 1121 <para>
1122 The <ulink url="http://sam.zoy.org/projects/libcaca/"><systemitem class="library">libcaca</systemitem></ulink> 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 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 1124 can work on older video cards or text terminals. It is not unlike the famous
1138 1138
1139 <itemizedlist> 1139 <itemizedlist>
1140 <title>The differences with <systemitem class="library">AAlib</systemitem> are 1140 <title>The differences with <systemitem class="library">AAlib</systemitem> are
1141 the following:</title> 1141 the following:</title>
1142 <listitem><simpara> 1142 <listitem><simpara>
1143 16 available colours for character output (256 colour pairs) 1143 16 available colors for character output (256 color pairs)
1144 </simpara></listitem> 1144 </simpara></listitem>
1145 <listitem><simpara> 1145 <listitem><simpara>
1146 color image dithering 1146 color image dithering
1147 </simpara></listitem> 1147 </simpara></listitem>
1148 </itemizedlist> 1148 </itemizedlist>
1271 (Recommended for ATI cards.) 1271 (Recommended for ATI cards.)
1272 </simpara></listitem> 1272 </simpara></listitem>
1273 <listitem><simpara> 1273 <listitem><simpara>
1274 If you have VESA VBE 3.0+, and you had specified 1274 If you have VESA VBE 3.0+, and you had specified
1275 <option>monitor-hfreq, monitor-vfreq, monitor-dotclock</option> somewhere 1275 <option>monitor-hfreq, monitor-vfreq, monitor-dotclock</option> somewhere
1276 (config file, or commandline) you will get the highest possible refresh rate. 1276 (config file, or command line) you will get the highest possible refresh rate.
1277 (Using General Timing Formula). To enable this feature you have to specify 1277 (Using General Timing Formula). To enable this feature you have to specify
1278 <emphasis role="bold">all</emphasis> your monitor options. 1278 <emphasis role="bold">all</emphasis> your monitor options.
1279 </simpara></listitem> 1279 </simpara></listitem>
1280 </itemizedlist> 1280 </itemizedlist>
1281 1281
1353 <para> 1353 <para>
1354 Avoid if possible. Outputs to X11 (uses shared memory extension), with no 1354 Avoid if possible. Outputs to X11 (uses shared memory extension), with no
1355 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but 1355 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but
1356 still slow) software scaling, use the options <option>-fs -zoom</option>. 1356 still slow) software scaling, use the options <option>-fs -zoom</option>.
1357 Most cards have hardware scaling support, use the <option>-vo xv</option> 1357 Most cards have hardware scaling support, use the <option>-vo xv</option>
1358 output for them, or <option>-vo xmga</option> for Matroxes. 1358 output for them, or <option>-vo xmga</option> for Matrox cards.
1359 </para> 1359 </para>
1360 1360
1361 <para> 1361 <para>
1362 The problem is that most cards' driver doesn't support hardware 1362 The problem is that most cards' driver doesn't support hardware
1363 acceleration on the second head/TV. In those cases, you see green/blue 1363 acceleration on the second head/TV. In those cases, you see green/blue
1409 </para> 1409 </para>
1410 </formalpara> 1410 </formalpara>
1411 <para> 1411 <para>
1412 This interface was designed as an attempt to fit existing video 1412 This interface was designed as an attempt to fit existing video
1413 acceleration interfaces (known as mga_vid, rage128_vid, radeon_vid, 1413 acceleration interfaces (known as mga_vid, rage128_vid, radeon_vid,
1414 pm3_vid) into a fixed scheme. It provides highlevel interface to chips 1414 pm3_vid) into a fixed scheme. It provides a high level interface to chips
1415 which are known as BES (BackEnd scalers) or OV (Video Overlays). It doesn't 1415 which are known as BES (BackEnd scalers) or OV (Video Overlays). It doesn't
1416 provide lowlevel interface to things which are known as graphics servers. 1416 provide low level interface to things which are known as graphics servers.
1417 (I don't want to compete with X11 team in graphics mode switching). I.e. 1417 (I don't want to compete with X11 team in graphics mode switching). I.e.
1418 main goal of this interface is to maximize the speed of video playback. 1418 main goal of this interface is to maximize the speed of video playback.
1419 </para> 1419 </para>
1420 1420
1421 <itemizedlist spacing="compact"> 1421 <itemizedlist spacing="compact">
1521 Compile the module in the <filename class="directory">svgalib_helper</filename> 1521 Compile the module in the <filename class="directory">svgalib_helper</filename>
1522 directory (it can be found inside the <filename class="directory">svgalib-1.9.17/kernel/</filename> 1522 directory (it can be found inside the <filename class="directory">svgalib-1.9.17/kernel/</filename>
1523 directory if you've downloaded the source from the svgalib site) and insmod it. 1523 directory if you've downloaded the source from the svgalib site) and insmod it.
1524 </para></step> 1524 </para></step>
1525 <step><para> 1525 <step><para>
1526 To create the neccessary devices in the <filename class="directory">/dev</filename> 1526 To create the necessary devices in the <filename class="directory">/dev</filename>
1527 directory, do a <screen>make device</screen> in the <filename class="directory">svgalib_helper</filename> 1527 directory, do a <screen>make device</screen> in the <filename class="directory">svgalib_helper</filename>
1528 dir, as root. 1528 dir, as root.
1529 </para></step> 1529 </para></step>
1530 <step><para> 1530 <step><para>
1531 Move the <filename class="directory">svgalib_helper</filename> directory to 1531 Move the <filename class="directory">svgalib_helper</filename> directory to
1869 mplayer dvb://R1 1869 mplayer dvb://R1
1870 </screen> 1870 </screen>
1871 1871
1872 <para> 1872 <para>
1873 If you have more than one card you also need to specify the number of the card 1873 If you have more than one card you also need to specify the number of the card
1874 where the channel is visibile (e.g. 2) with the syntax: 1874 where the channel is visible (e.g. 2) with the syntax:
1875 </para> 1875 </para>
1876 1876
1877 <screen> 1877 <screen>
1878 mplayer dvb://2@R1 1878 mplayer dvb://2@R1
1879 </screen> 1879 </screen>
2014 to reencode it to MPEG it will fill the buffer very fast. 2014 to reencode it to MPEG it will fill the buffer very fast.
2015 With prebuffering video playback is <emphasis role="bold">much</emphasis> 2015 With prebuffering video playback is <emphasis role="bold">much</emphasis>
2016 less sensitive to other programs hogging the CPU, it will not drop frames unless 2016 less sensitive to other programs hogging the CPU, it will not drop frames unless
2017 applications hog the CPU for a long time. 2017 applications hog the CPU for a long time.
2018 When running without prebuffering the em8300 is much more sensitive to CPU load, 2018 When running without prebuffering the em8300 is much more sensitive to CPU load,
2019 so it is highly suggested that you turn on <application>MPlayer's</application> 2019 so it is highly suggested that you turn on <application>MPlayer</application>'s
2020 <option>-framedrop</option> option to avoid further loss of sync. 2020 <option>-framedrop</option> option to avoid further loss of sync.
2021 <option>sync</option> will turn on the new sync-engine. This is currently an 2021 <option>sync</option> will turn on the new sync-engine. This is currently an
2022 experimental feature. With the sync feature turned on the em8300's internal clock 2022 experimental feature. With the sync feature turned on the em8300's internal clock
2023 will be monitored at all times, if it starts to deviate from 2023 will be monitored at all times, if it starts to deviate from
2024 <application>MPlayer's</application> clock it will be reset causing the em8300 to 2024 <application>MPlayer's</application> clock it will be reset causing the em8300 to
2091 <varlistentry> 2091 <varlistentry>
2092 <term><option>-ac hwac3</option></term> 2092 <term><option>-ac hwac3</option></term>
2093 <listitem><para> 2093 <listitem><para>
2094 The em8300 supports playing back AC3 audio (surround sound) through the 2094 The em8300 supports playing back AC3 audio (surround sound) through the
2095 digital audio output of the card. See the <option>-ao oss</option> option above, 2095 digital audio output of the card. See the <option>-ao oss</option> option above,
2096 it must be used to specify the DXR3's output instead of a soundcard. 2096 it must be used to specify the DXR3's output instead of a sound card.
2097 </para></listitem> 2097 </para></listitem>
2098 </varlistentry> 2098 </varlistentry>
2099 </variablelist> 2099 </variablelist>
2100 </sect4> 2100 </sect4>
2101 2101
2141 this driver but can be done using the video filters. For example, suppose 2141 this driver but can be done using the video filters. For example, suppose
2142 that you have a movie with a resolution of 512x272 and you want to view it 2142 that you have a movie with a resolution of 512x272 and you want to view it
2143 fullscreen on your DC10+. There are three main possibilities, you may scale 2143 fullscreen on your DC10+. There are three main possibilities, you may scale
2144 the movie to a width of 768, 384 or 192. For performance and quality reasons, 2144 the movie to a width of 768, 384 or 192. For performance and quality reasons,
2145 I would choose to scale the movie to 384x204 using the fast bilinear software 2145 I would choose to scale the movie to 384x204 using the fast bilinear software
2146 scaler. The commandline is 2146 scaler. The command line is
2147 <screen> 2147 <screen>
2148 mplayer -vo zr -sws 0 -vf scale=384:204 <replaceable>movie.avi</replaceable> 2148 mplayer -vo zr -sws 0 -vf scale=384:204 <replaceable>movie.avi</replaceable>
2149 </screen> 2149 </screen>
2150 </para> 2150 </para>
2151 2151
2227 2227
2228 <variablelist> 2228 <variablelist>
2229 <varlistentry> 2229 <varlistentry>
2230 <term>XFree86</term> 2230 <term>XFree86</term>
2231 <listitem><para> 2231 <listitem><para>
2232 Using the driver and the HAL module, available from <ulink 2232 Using the driver and the HAL module, available from the <ulink
2233 url="http://www.matrox.com">Matrox's site</ulink>. This will give you X 2233 url="http://www.matrox.com">Matrox site</ulink>. This will give you X
2234 on the TV. 2234 on the TV.
2235 </para><para> 2235 </para><para>
2236 <emphasis role="bold">This method doesn't give you accelerated playback</emphasis> 2236 <emphasis role="bold">This method doesn't give you accelerated playback</emphasis>
2237 as under Windows! The second head has only YUV framebuffer, the <emphasis>BES</emphasis> 2237 as under Windows! The second head has only YUV framebuffer, the <emphasis>BES</emphasis>
2238 (Back End Scaler, the YUV scaler on G200/G400/G450/G550 cards) doesn't 2238 (Back End Scaler, the YUV scaler on G200/G400/G450/G550 cards) doesn't
2373 displaying the first CRTC's output onto both of the heads at once, as currently 2373 displaying the first CRTC's output onto both of the heads at once, as currently
2374 recommended for G400, see the section above. 2374 recommended for G400, see the section above.
2375 </para> 2375 </para>
2376 2376
2377 <para> 2377 <para>
2378 The necessary kernel patch and the detailed howto is downloadable from 2378 The necessary kernel patch and the detailed HOWTO is downloadable from
2379 <ulink url="http://www.bglug.ca/matrox_tvout/"/> 2379 <ulink url="http://www.bglug.ca/matrox_tvout/"/>
2380 </para> 2380 </para>
2381 </sect4> 2381 </sect4>
2382 2382
2383 2383
2394 2394
2395 <itemizedlist> 2395 <itemizedlist>
2396 <title>ATI CARDS TV-OUT STATUS ON LINUX</title> 2396 <title>ATI CARDS TV-OUT STATUS ON LINUX</title>
2397 <listitem><simpara> 2397 <listitem><simpara>
2398 <emphasis role="bold">ATI Mach64</emphasis>: 2398 <emphasis role="bold">ATI Mach64</emphasis>:
2399 supported by <ulink url="http://gatos.sf.net">gatos</ulink>. 2399 supported by <ulink url="http://gatos.sf.net">GATOS</ulink>.
2400 </simpara></listitem> 2400 </simpara></listitem>
2401 <listitem><simpara> 2401 <listitem><simpara>
2402 <emphasis role="bold">ASIC Radeon VIVO</emphasis>: 2402 <emphasis role="bold">ASIC Radeon VIVO</emphasis>:
2403 supported by <ulink url="http://gatos.sf.net">gatos</ulink>. 2403 supported by <ulink url="http://gatos.sf.net">GATOS</ulink>.
2404 </simpara></listitem> 2404 </simpara></listitem>
2405 <listitem><simpara> 2405 <listitem><simpara>
2406 <emphasis role="bold">Radeon</emphasis> and <emphasis role="bold">Rage128</emphasis>: 2406 <emphasis role="bold">Radeon</emphasis> and <emphasis role="bold">Rage128</emphasis>:
2407 supported by <application>MPlayer</application>! 2407 supported by <application>MPlayer</application>!
2408 Check <link linkend="vesa">VESA driver</link> and 2408 Check <link linkend="vesa">VESA driver</link> and