annotate DOCS/xml/en/video.xml @ 33028:038ff73f9894

Enable both frame and slice threading.
author reimar
date Sat, 26 Mar 2011 13:00:11 +0000
parents dd5ba6bfe79d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20535
c0687e92d463 convert DOCS/xml/en and help_mp-en.h to UTF-8
kraymer
parents: 20048
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10869
diff changeset
2 <!-- $Revision$ -->
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
3 <chapter id="video">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>Video output devices</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
6 <sect1 id="xv">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <title>Xv</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines
11359
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
11 using the XVideo extension. This is what the option
20863
8488e29241a5 [small fixes]
torinthiel
parents: 20862
diff changeset
12 <option>-vo xv</option> uses. Also, this driver supports adjusting
8488e29241a5 [small fixes]
torinthiel
parents: 20862
diff changeset
13 brightness/contrast/hue/etc. (unless you use the old, slow DirectShow DivX
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 codec, which supports it everywhere), see the man page.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 In order to make this work, be sure to check the following:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 You have to use XFree86 4.0.2 or newer (former versions don't have XVideo)
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
23 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 Your card actually supports hardware acceleration (modern cards do)
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
26 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 X loads the XVideo extension, it's something like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 <programlisting>(II) Loading extension XVideo</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 in <filename>/var/log/XFree86.0.log</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 This loads only the XFree86's extension. In a good install, this is
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
33 always loaded, and doesn't mean that the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
34 <emphasis role="bold">card's</emphasis> XVideo support is loaded!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 </para></note>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
36 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 Your card has Xv support under Linux. To check, try
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 <command>xvinfo</command>, it is the part of the XFree86 distribution. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 should display a long text, similar to this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 X-Video Extension version 2.2
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 screen #0
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 Adaptor #0: "Savage Streams Engine"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 number of ports: 1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 port base: 43
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 operations supported: PutImage
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 supported visuals:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 depth 16, visualID 0x22
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 depth 16, visualID 0x23
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 number of attributes: 5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 (...)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 Number of image formats: 7
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 id: 0x32595559 (YUY2)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 guid: 59555932-0000-0010-8000-00aa00389b71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 bits per pixel: 16
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 number of planes: 1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 type: YUV (packed)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 id: 0x32315659 (YV12)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 guid: 59563132-0000-0010-8000-00aa00389b71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 bits per pixel: 12
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 number of planes: 3
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 type: YUV (planar)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 (...etc...)<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 It must support YUY2 packed, and YV12 planar pixel formats to be usable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 with <application>MPlayer</application>.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
68 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 And finally, check if <application>MPlayer</application> was compiled
11738
b0ddcc627b79 missing dot
paszczi
parents: 11731
diff changeset
71 with 'xv' support. Do a <command>mplayer -vo help | grep xv </command>.
11520
dd17c00dff68 Commands should be in <command> tags, better wording.
diego
parents: 11504
diff changeset
72 If 'xv' support was built a line similar to this should appear:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
73 <screen> xv X11/Xv</screen>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
74 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
77 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
81 <sect1 id="dga">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 <title>DGA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 <title>PREAMBLE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 This document tries to explain in some words what DGA is in general and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 what the DGA video output driver for <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 can do (and what it can't).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 <title>WHAT IS DGA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96 <acronym>DGA</acronym> is short for <emphasis>Direct Graphics
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 Access</emphasis> and is a means for a program to bypass the X server and
14318
67120a11e66b whitespace fixes
gabrov
parents: 14113
diff changeset
98 directly modifying the framebuffer memory. Technically spoken this happens
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 by mapping the framebuffer memory into the memory range of your process.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 This is allowed by the kernel only if you have superuser privileges. You
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 can get these either by logging in as <systemitem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 class="username">root</systemitem> or by setting the SUID bit on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 <application>MPlayer</application> executable (<emphasis role="bold">not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 recommended</emphasis>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 introduced with XFree 4.0.1.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 DGA1 provides only direct framebuffer access as described above. For
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 switching the resolution of the video signal you have to rely on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 XVidMode extension.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 DGA2 incorporates the features of XVidMode extension and also allows
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 switching the depth of the display. So you may, although basically
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 running a 32 bit depth X server, switch to a depth of 15 bits and vice
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 versa.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 However DGA has some drawbacks. It seems it is somewhat dependent on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 graphics chip you use and on the implementation of the X server's video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 driver that controls this chip. So it does not work on every system...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 <title>INSTALLING DGA SUPPORT FOR MPLAYER</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 First make sure X loads the DGA extension, see in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 <filename>/var/log/XFree86.0.log</filename>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 <programlisting>(II) Loading extension XFree86-DGA</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
140 See, XFree86 4.0.x or greater is
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
141 <emphasis role="bold">highly recommended</emphasis>!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 <application>MPlayer</application>'s DGA driver is autodetected by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 <filename>./configure</filename>, or you can force it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 with <option>--enable-dga</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 If the driver couldn't switch to a smaller resolution, experiment with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 options <option>-vm</option> (only with X 3.3.x), <option>-fs</option>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 <option>-bpp</option>, <option>-zoom</option> to find a video mode that
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 the movie fits in. There is no converter right now :(
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 Become <systemitem class="username">root</systemitem>. DGA needs root
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 access to be able to write directly video memory. If you want to run it as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 user, then install <application>MPlayer</application> SUID root:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 <screen>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
161 chown root <replaceable>/usr/local/bin/mplayer</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
162 chmod 750 <replaceable>/usr/local/bin/mplayer</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
163 chmod +s <replaceable>/usr/local/bin/mplayer</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 Now it works as a simple user, too.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 <caution>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 <title>Security risk</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
172 This is a <emphasis role="bold">big</emphasis> security risk!
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
173 <emphasis role="bold">Never</emphasis> do this on a server or on a computer
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
174 that can be accessed by other people because they can gain root privileges
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
175 through SUID root <application>MPlayer</application>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 </caution>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 Now use <option>-vo dga</option> option, and there you go! (hope so:) You
17496
10e5a3268f60 10l: wrong syntax
gpoirier
parents: 17495
diff changeset
181 should also try if the <option>-vo sdl:driver=dga</option> option works for you!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 It's much faster!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 <formalpara id="dga-modelines">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 <title>RESOLUTION SWITCHING</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 The DGA driver allows for switching the resolution of the output signal.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 This avoids the need for doing (slow) software scaling and at the same time
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 provides a fullscreen image. Ideally it would switch to the exact
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 resolution (except for honoring aspect ratio) of the video data, but the X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 server only allows switching to resolutions predefined in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195 <filename>/etc/X11/XF86Config</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 (<filename>/etc/X11/XF86Config-4</filename> for XFree 4.X.X respectively).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 Those are defined by so-called modelines and depend on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 the capabilities of your video hardware. The X server scans this config
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 file on startup and disables the modelines not suitable for your hardware.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 You can find out which modes survive with the X11 log file. It can be found
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 at: <filename>/var/log/XFree86.0.log</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 These entries are known to work fine with a Riva128 chip, using the nv.o X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 server driver module.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 <para><programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 Section "Modes"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 Identifier "Modes[0]"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 Modeline "800x600" 40 800 840 968 1056 600 601 605 628
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 Modeline "712x600" 35.0 712 740 850 900 400 410 412 425
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 Modeline "352x288" 25.10 352 368 416 432 288 296 290 310
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219 Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 EndSection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 </programlisting></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 <title>DGA &amp; MPLAYER</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 DGA is used in two places with <application>MPlayer</application>: The SDL
17496
10e5a3268f60 10l: wrong syntax
gpoirier
parents: 17495
diff changeset
228 driver can be made to make use of it (<option>-vo sdl:driver=dga</option>) and
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 within the DGA driver (<option>-vo dga</option>). The above said is true
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 for both; in the following sections I'll explain how the DGA driver for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 <application>MPlayer</application> works.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 <title>FEATURES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 The DGA driver is invoked by specifying <option>-vo dga</option> at the
14318
67120a11e66b whitespace fixes
gabrov
parents: 14113
diff changeset
241 command line. The default behavior is to switch to a resolution matching
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 the original resolution of the video as close as possible. It deliberately
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 ignores the <option>-vm</option> and <option>-fs</option> options
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 (enabling of video mode switching and fullscreen) - it always tries to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245 cover as much area of your screen as possible by switching the video mode,
13908
befd295c58d3 small clarification and syntactic fix (approved by Diego)
rathann
parents: 13490
diff changeset
246 thus refraining from using additional cycles of your CPU to scale the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 image. If you don't like the mode it chooses you may force it to choose
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 the mode matching closest the resolution you specify by <option>-x</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 and <option>-y</option>. By providing the <option>-v</option> option, the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250 DGA driver will print, among a lot of other things, a list of all
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 resolutions supported by your current <filename>XF86Config</filename> file.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 Having DGA2 you may also force it to use a certain depth by using the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253 <option>-bpp</option> option. Valid depths are 15, 16, 24 and 32. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 depends on your hardware whether these depths are natively supported or if
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 a (possibly slow) conversion has to be done.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 If you should be lucky enough to have enough offscreen memory left to
13082
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
260 put a whole image there, the DGA driver will use double buffering, which
13087
d50e09ea840b wording fix suggested by the Wanderer
diego
parents: 13082
diff changeset
261 results in much smoother movie playback. It will tell you whether
13082
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
262 double buffering is enabled or not.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 <para>
13082
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
266 Double buffering means that the next frame of your video is being drawn in
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 some offscreen memory while the current frame is being displayed. When the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268 next frame is ready, the graphics chip is just told the location in memory
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 of the new frame and simply fetches the data to be displayed from there.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 In the meantime the other buffer in memory will be filled again with new
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 video data.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 <para>
13082
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
275 Double buffering may be switched on by using the option
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 <option>-double</option> and may be disabled with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277 <option>-nodouble</option>. Current default option is to disable
13082
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
278 double buffering. When using the DGA driver, onscreen display (OSD) only
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
279 works with double buffering enabled. However, enabling double buffering may
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 result in a big speed penalty (on my K6-II+ 525 it used an additional 20%
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 of CPU time!) depending on the implementation of DGA for your hardware.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 <title>SPEED ISSUES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 Generally spoken, DGA framebuffer access should be at least as fast as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290 using the X11 driver with the additional benefit of getting a fullscreen
14318
67120a11e66b whitespace fixes
gabrov
parents: 14113
diff changeset
291 image. The percentage speed values printed by
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 <application>MPlayer</application> have to be interpreted with some care,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 as for example, with the X11 driver they do not include the time used by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 the X server needed for the actual drawing. Hook a terminal to a serial
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295 line of your box and start <command>top</command> to see what is really
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 going on in your box.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 Generally spoken, the speedup done by using DGA against 'normal' use of X11
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302 highly depends on your graphics card and how well the X server module for it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 is optimized.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 If you have a slow system, better use 15 or 16 bit depth since they require
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 only half the memory bandwidth of a 32 bit display.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 <para>
20863
8488e29241a5 [small fixes]
torinthiel
parents: 20862
diff changeset
312 Using a depth of 24 bit is a good idea even if your card natively just supports
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 32 bit depth since it transfers 25% less data compared to the 32/32 mode.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
314 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 <para>
13087
d50e09ea840b wording fix suggested by the Wanderer
diego
parents: 13082
diff changeset
317 I've seen some AVI files be played back on a Pentium MMX 266. AMD K6-2
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318 CPUs might work at 400 MHZ and above.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
323 <title>KNOWN BUGS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 Well, according to some developers of XFree, DGA is quite a beast. They
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 tell you better not to use it. Its implementation is not always flawless
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328 with every chipset driver for XFree out there.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332 <itemizedlist>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
333 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334 With XFree 4.0.3 and <filename>nv.o</filename> there is a bug resulting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 in strange colors.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
336 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
337 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 ATI driver requires to switch mode back more than once after finishing
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339 using of DGA.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
340 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
341 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 Some drivers simply fail to switch back to normal resolution (use
21720
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
343 <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Keypad +</keycap></keycombo>
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
344 and
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
345 <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Keypad -</keycap></keycombo>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
346 to switch back manually).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
347 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
348 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 Some drivers simply display strange colors.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
350 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
351 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
352 Some drivers lie about the amount of memory they map into the process's
13082
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
353 address space, thus vo_dga won't use double buffering (SIS?).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
354 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
355 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356 Some drivers seem to fail to report even a single valid mode. In this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 case the DGA driver will crash telling you about a nonsense mode of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
358 100000x100000 or something like that.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
359 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
360 <listitem><para>
13082
1c86edd4e51a spelling
diego
parents: 12852
diff changeset
361 OSD only works with double buffering enabled (else it flickers).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
362 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
365 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
369 <sect1 id="svgalib">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
370 <title>SVGAlib</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373 <title>INSTALLATION</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
374 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375 You'll have to install svgalib and its development package in order for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 <application>MPlayer</application> build its SVGAlib driver (autodetected,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 but can be forced), and don't forget to edit
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378 <filename>/etc/vga/libvga.config</filename> to suit your card and monitor.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
382 <note><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 Be sure not to use the <option>-fs</option> switch, since it toggles the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384 usage of the software scaler, and it's slow. If you really need it, use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 <option>-sws 4</option> option which will produce bad quality, but is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 somewhat faster.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
387 </para></note>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
389 <formalpara>
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
390 <title>EGA (4BPP) SUPPORT</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
391 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
392 SVGAlib incorporates EGAlib, and <application>MPlayer</application> has the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 possibility to display any movie in 16 colors, thus usable in the following
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
394 sets:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398 <itemizedlist>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
399 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400 EGA card with EGA monitor: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
401 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
402 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
403 EGA card with CGA monitor: 320x200x4bpp, 640x200x4bpp
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
404 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
405 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
406
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
408 The bpp (bits per pixel) value must be set to 4 by hand:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 <option>-bpp 4</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413 The movie probably must be scaled down to fit in EGA mode:
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
414 <screen>-vf scale=640:350</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 or
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
416 <screen>-vf scale=320:200</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
417 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
418
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 For that we need fast but bad quality scaling routine:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
421 <screen>-sws 4</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
422 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
424 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
425 Maybe automatic aspect correction has to be shut off:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426 <screen>-noaspect</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
427 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
428
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
429 <note><para>
9683
nicolas
parents: 9677
diff changeset
430 According to my experience the best image quality on
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
431 EGA screens can be achieved by decreasing the brightness a bit:
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
432 <option>-vf eq=-20:0</option>. I also needed to lower the audio
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
433 samplerate on my box, because the sound was broken on 44kHz:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434 <option>-srate 22050</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
435 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
436
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
437 <para>
11214
c292ff78614f Filters should be in <option> tags.
wight
parents: 11136
diff changeset
438 You can turn on OSD and subtitles only with the <option>expand</option>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
439 filter, see the man page for exact parameters.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
441 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
442
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
443 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
444
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
445 <sect1 id="fbdev">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 <title>Framebuffer output (FBdev)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
447
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
448 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
449 Whether to build the FBdev target is autodetected during
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
450 <filename>./configure</filename>. Read the framebuffer documentation in
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 the kernel sources (<filename>Documentation/fb/*</filename>) for more
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452 information.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
453 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
454
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
455 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
456 If your card doesn't support VBE 2.0 standard (older ISA/PCI cards, such as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
457 S3 Trio64), only VBE 1.2 (or older?): Well, VESAfb is still available, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
458 you'll have to load SciTech Display Doctor (formerly UniVBE) before booting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
459 Linux. Use a DOS boot disk or whatever. And don't forget to register your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
460 UniVBE ;))
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
461 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
462
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
463 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
464 The FBdev output takes some additional parameters above the others:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
465 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
466
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
467 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
468 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 <term><option>-fb</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
470 <listitem><para>
18649
a367e32c2173 small fixes in en/video.xml
kraymer
parents: 18547
diff changeset
471 specify the framebuffer device to use (default: <filename>/dev/fb0</filename>)
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
472 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
473 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
474 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
475 <term><option>-fbmode</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
476 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
477 mode name to use (according to <filename>/etc/fb.modes</filename>)
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
478 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
479 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
480 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
481 <term><option>-fbmodeconfig</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
482 <listitem><para>
18649
a367e32c2173 small fixes in en/video.xml
kraymer
parents: 18547
diff changeset
483 config file of modes (default: <filename>/etc/fb.modes</filename>)
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
484 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
485 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
486 <varlistentry>
11287
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
487 <term><option>-monitor-hfreq</option></term>
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
488 <term><option>-monitor-vfreq</option></term>
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
489 <term><option>-monitor-dotclock</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
490 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
491 <emphasis role="bold">important</emphasis> values, see
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
492 <filename>example.conf</filename>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
493 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
494 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
495 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
496
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
497 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
498 If you want to change to a specific mode, then use
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
499 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
500 mplayer -vm -fbmode <replaceable>name_of_mode</replaceable> <replaceable>filename</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
501 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
502 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
503
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
504 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
505 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
506 <option>-vm</option> alone will choose the most suitable mode from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
507 <filename>/etc/fb.modes</filename>. Can be used together with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
508 <option>-x</option> and <option>-y</option> options too. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
509 <option>-flip</option> option is supported only if the movie's pixel
10132
nicolas
parents: 10111
diff changeset
510 format matches the video mode's pixel format. Pay attention to the bpp
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
511 value, fbdev driver tries to use the current, or if you specify the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
512 <option>-bpp</option> option, then that.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
513 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
514 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
515 <option>-zoom</option> option isn't supported
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
516 (use <option>-vf scale</option>). You can't use 8bpp (or less) modes.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
517 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
518 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
519 You possibly want to turn the cursor off:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
520 <screen>echo -e '\033[?25l'</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
521 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
522 <screen>setterm -cursor off</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
523 and the screen saver:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
524 <screen>setterm -blank 0</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
525 To turn the cursor back on:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
526 <screen>echo -e '\033[?25h'</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
527 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
528 <screen>setterm -cursor on</screen>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
529 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
530 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
531
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
532 <note><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
533 FBdev video mode changing <emphasis>does not work</emphasis> with the VESA
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
534 framebuffer, and don't ask for it, since it's not an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
535 <application>MPlayer</application> limitation.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
536 </para></note>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
537 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
538
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
539 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
540
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
541 <sect1 id="mga_vid">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
542 <title>Matrox framebuffer (mga_vid)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
543
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
544 <para>
22661
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
545 <systemitem>mga_vid</systemitem> is a combination of a video output driver and
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 26953
diff changeset
546 a Linux kernel module that utilizes the Matrox G200/G400/G450/G550 video
22661
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
547 scaler/overlay unit to perform YUV->RGB colorspace conversion and arbitrary
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
548 video scaling.
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
549 <systemitem>mga_vid</systemitem> has hardware VSYNC support with triple
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
550 buffering. It works on both a framebuffer console and under X, but only
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
551 with Linux 2.4.x.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
552 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
553
22677
668f15f32e2c Add a link to Attila's mga_vid port to Linux 2.6.x.
diego
parents: 22668
diff changeset
554 <para>
668f15f32e2c Add a link to Attila's mga_vid port to Linux 2.6.x.
diego
parents: 22668
diff changeset
555 For a Linux 2.6.x version of this driver check out
27012
98d21a20348c Add information about the mga_vid Subversion repository.
diego
parents: 27011
diff changeset
556 <ulink url="http://attila.kinali.ch/mga/"/> or have a look at the external
98d21a20348c Add information about the mga_vid Subversion repository.
diego
parents: 27011
diff changeset
557 Subversion repository of mga_vid which can be checked out via
98d21a20348c Add information about the mga_vid Subversion repository.
diego
parents: 27011
diff changeset
558
98d21a20348c Add information about the mga_vid Subversion repository.
diego
parents: 27011
diff changeset
559 <screen>
98d21a20348c Add information about the mga_vid Subversion repository.
diego
parents: 27011
diff changeset
560 svn checkout svn://svn.mplayerhq.hu/mga_vid
98d21a20348c Add information about the mga_vid Subversion repository.
diego
parents: 27011
diff changeset
561 </screen>
22677
668f15f32e2c Add a link to Attila's mga_vid port to Linux 2.6.x.
diego
parents: 22668
diff changeset
562 </para>
668f15f32e2c Add a link to Attila's mga_vid port to Linux 2.6.x.
diego
parents: 22668
diff changeset
563
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
564 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
565 <title>Installation:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
566 <step><para>
26882
8eacd1538e64 Merge drivers/Makefile into top-level Makefile.
diego
parents: 26041
diff changeset
567 To use it, you first have to compile <filename>drivers/mga_vid.o</filename>:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
568 <screen>
26882
8eacd1538e64 Merge drivers/Makefile into top-level Makefile.
diego
parents: 26041
diff changeset
569 make drivers<!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
570 --></screen>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
571 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
572 <step><para>
22686
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
573 Then run (as <systemitem class="username">root</systemitem>)
26882
8eacd1538e64 Merge drivers/Makefile into top-level Makefile.
diego
parents: 26041
diff changeset
574 <screen>make install-drivers</screen>
22686
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
575 which should install the module and create the device node for you.
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
576 Load the driver with
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
577 <screen>insmod mga_vid.o</screen>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
578 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
579 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
580 You should verify the memory size detection using the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
581 <command>dmesg</command> command. If it's bad, use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
582 <option>mga_ram_size</option> option
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
583 (<command>rmmod mga_vid</command> first),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
584 specify card's memory size in MB:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
585 <screen>insmod mga_vid.o mga_ram_size=16</screen>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
586 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
587 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
588 To make it load/unload automatically when needed, first insert the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
589 following line at the end of <filename>/etc/modules.conf</filename>:
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12814
diff changeset
590
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
591 <programlisting>alias char-major-178 mga_vid</programlisting>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
592 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
593 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
594 Now you have to (re)compile <application>MPlayer</application>,
22661
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
595 <command>./configure</command> will detect
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
596 <filename>/dev/mga_vid</filename> and build the 'mga' driver. Using it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
597 from <application>MPlayer</application> goes by <option>-vo mga</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
598 if you have matroxfb console, or <option>-vo xmga</option> under XFree86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
599 3.x.x or 4.x.x.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
600 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
601 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
602
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
603 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
604 The mga_vid driver cooperates with Xv.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
605 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
606
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
607 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
608 The <filename>/dev/mga_vid</filename> device file can be read for some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
609 info, for example by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
610 <screen>cat /dev/mga_vid</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
611 and can be written for brightness change:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
612 <screen>echo "brightness=120" &gt; /dev/mga_vid</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
613 </para>
22661
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
614
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
615 <para>
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
616 There is a test application called <command>mga_vid_test</command> in the same
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
617 directory. It should draw 256x256 images on the screen if all is working well.
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
618 </para>
9babdd441b76 Some more details for the mga_vid section taken from drivers/README.
diego
parents: 22384
diff changeset
619
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
620 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
621
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
622 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
623
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
624 <sect1 id="tdfxfb" xreflabel="3Dfx YUV support (tdfxfb)">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
625 <title>3Dfx YUV support</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
626
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
627 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
628 This driver uses the kernel's tdfx framebuffer driver to play movies with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
629 YUV acceleration. You'll need a kernel with tdfxfb support, and recompile
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
630 with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
631 <screen>./configure --enable-tdfxfb</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
632 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
633 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
634
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
635 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
636
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
637 <sect1 id="tdfx_vid">
21878
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
638 <title>tdfx_vid</title>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
639
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
640 <para>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
641 This is a combination of a Linux kernel module and a video output
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
642 driver, similar to <link linkend="mga_vid">mga_vid</link>.
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
643 You'll need a 2.4.x kernel with the <systemitem>agpgart</systemitem>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
644 driver since <systemitem>tdfx_vid</systemitem> uses AGP.
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
645 Pass <option>--enable-tdfxfb</option> to <command>configure</command>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
646 to build the video output driver and build the kernel module with
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
647 the following instructions.
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
648 </para>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
649
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
650 <procedure>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
651 <title>Installing the tdfx_vid.o kernel module:</title>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
652 <step><para>
26882
8eacd1538e64 Merge drivers/Makefile into top-level Makefile.
diego
parents: 26041
diff changeset
653 Compile <filename>drivers/tdfx_vid.o</filename>:
21878
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
654 <screen>
26882
8eacd1538e64 Merge drivers/Makefile into top-level Makefile.
diego
parents: 26041
diff changeset
655 make drivers</screen>
21878
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
656 </para></step>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
657 <step><para>
22686
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
658 Then run (as <systemitem class="username">root</systemitem>)
26882
8eacd1538e64 Merge drivers/Makefile into top-level Makefile.
diego
parents: 26041
diff changeset
659 <screen>make install-drivers</screen>
22686
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
660 which should install the module and create the device node for you.
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
661 Load the driver with
21878
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
662 <screen>insmod tdfx_vid.o</screen>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
663 </para></step>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
664 <step><para>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
665 To make it load/unload automatically when needed, first insert the
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
666 following line at the end of <filename>/etc/modules.conf</filename>:
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
667
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
668 <programlisting>alias char-major-178 tdfx_vid</programlisting>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
669 </para></step>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
670 </procedure>
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
671
22686
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
672 <para>
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
673 There is a test application called <command>tdfx_vid_test</command> in the same
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
674 directory. It should print out some useful information if all is working well.
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
675 </para>
2677b18556f9 'make install' now takes care of most manual installation steps for *_vid.o.
diego
parents: 22677
diff changeset
676
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
677 </sect1>
21878
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
678
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
679 <!-- ********** -->
8b26ddc016bb Document vo_tdfx_vid.
diego
parents: 21725
diff changeset
680
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
681 <sect1 id="opengl">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
682 <title>OpenGL output</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
683
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
684 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
685 <application>MPlayer</application> supports displaying movies using OpenGL,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
686 but if your platform/driver supports xv as should be the case on a PC with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
687 Linux, use xv instead, OpenGL performance is considerably worse. If you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
688 have an X11 implementation without xv support, OpenGL is a viable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
689 alternative.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
690 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
691
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
692 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
693 Unfortunately not all drivers support this feature. The Utah-GLX drivers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
694 (for XFree86 3.3.6) support it for all cards.
13977
7895a1b73828 URL updates
diego
parents: 13961
diff changeset
695 See <ulink url="http://utah-glx.sf.net"/> for details about how to
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
696 install it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
697 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
698
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
699 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
700 XFree86(DRI) 4.0.3 or later supports OpenGL with Matrox and Radeon cards,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
701 4.2.0 or later supports Rage128.
13977
7895a1b73828 URL updates
diego
parents: 13961
diff changeset
702 See <ulink url="http://dri.sf.net"/> for download and installation
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
703 instructions.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
704 </para>
10526
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
705
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
706 <para>
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
707 A hint from one of our users: the GL video output can be used to get
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
708 vsynced TV output. You'll have to set an environment variable (at
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
709 least on nVidia):
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
710 </para>
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
711
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
712 <para>
20857
f973dc7132a8 Misc issues noticed by Torinthiel.
diego
parents: 20723
diff changeset
713 <command>export __GL_SYNC_TO_VBLANK=1</command>
10526
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
714 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
715 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
716
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
717 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
718
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
719 <sect1 id="aalib">
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
720 <title>AAlib &ndash; text mode displaying</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
721
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
722 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
723 AAlib is a library for displaying graphics in text mode, using powerful
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
724 ASCII renderer. There are <emphasis>lots</emphasis> of programs already
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
725 supporting it, like Doom, Quake, etc. <application>MPlayer</application>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
726 contains a very usable driver for it. If <filename>./configure</filename>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
727 detects aalib installed, the aalib libvo driver will be built.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
728 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
729
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
730 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
731 You can use some keys in the AA Window to change rendering options:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
732 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
733
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
734 <informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
735 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
736 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
737 <row><entry>Key</entry><entry>Action</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
738 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
739 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
740 <row><entry><keycap>1</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
741 decrease contrast
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
742 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
743 <row><entry><keycap>2</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
744 increase contrast
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
745 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
746 <row><entry><keycap>3</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
747 decrease brightness
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
748 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
749 <row><entry><keycap>4</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
750 increase brightness
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
751 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
752 <row><entry><keycap>5</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
753 switch fast rendering on/off
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
754 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
755 <row><entry><keycap>6</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
756 set dithering mode (none, error distribution, Floyd Steinberg)
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
757 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
758 <row><entry><keycap>7</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
759 invert image
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
760 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
761 <row><entry><keycap>8</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
762 toggles between aa and <application>MPlayer</application> control
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
763 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
764 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
765 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
766 </informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
767
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
768 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
769 <title>The following command line options can be used:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
770 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
771 <term><option>-aaosdcolor=<replaceable>V</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
772 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
773 change OSD color
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
774 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
775 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
776 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
777 <term><option>-aasubcolor=<replaceable>V</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
778 <listitem><para>
18649
a367e32c2173 small fixes in en/video.xml
kraymer
parents: 18547
diff changeset
779 Change subtitle color
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
780 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
781 where <replaceable>V</replaceable> can be:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
782 <literal>0</literal> (normal),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
783 <literal>1</literal> (dark),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
784 <literal>2</literal> (bold),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
785 <literal>3</literal> (bold font),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
786 <literal>4</literal> (reverse),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
787 <literal>5</literal> (special).
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
788 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
789 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
790 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
791
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
792 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
793 <title>AAlib itself provides a large sum of options. Here are some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
794 important:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
795 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
796 <term><option>-aadriver</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
797 <listitem><para>
18649
a367e32c2173 small fixes in en/video.xml
kraymer
parents: 18547
diff changeset
798 Set recommended aa driver (X11, curses, Linux).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
799 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
800 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
801 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
802 <term><option>-aaextended</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
803 <listitem><para>
18649
a367e32c2173 small fixes in en/video.xml
kraymer
parents: 18547
diff changeset
804 Use all 256 characters.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
805 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
806 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
807 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
808 <term><option>-aaeight</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
809 <listitem><para>
18649
a367e32c2173 small fixes in en/video.xml
kraymer
parents: 18547
diff changeset
810 Use eight bit ASCII.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
811 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
812 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
813 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
814 <term><option>-aahelp</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
815 <listitem><para>
18649
a367e32c2173 small fixes in en/video.xml
kraymer
parents: 18547
diff changeset
816 Prints out all aalib options.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
817 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
818 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
819 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
820
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
821 <note><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
822 The rendering is very CPU intensive, especially when using AA-on-X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
823 (using aalib on X), and it's least CPU intensive on standard,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
824 non-framebuffer console. Use SVGATextMode to set up a big textmode,
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
825 then enjoy! (secondary head Hercules cards rock :)) (but IMHO you
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
826 can use <option>-vf 1bpp</option> option to get graphics on hgafb:)
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
827 </para></note>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
828
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
829 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
830 Use the <option>-framedrop</option> option if your computer isn't fast
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
831 enough to render all frames!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
832 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
833
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
834 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
835 Playing on terminal you'll get better speed and quality using the Linux
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
836 driver, not curses (<option>-aadriver linux</option>). But therefore you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
837 need write access on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
838 <filename>/dev/vcsa<replaceable>&lt;terminal&gt;</replaceable></filename>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
839 That isn't autodetected by aalib, but vo_aa tries to find the best mode.
13977
7895a1b73828 URL updates
diego
parents: 13961
diff changeset
840 See <ulink url="http://aa-project.sf.net/tune"/> for further
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
841 tuning issues.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
842 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
843 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
844
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
845 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
846
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
847 <sect1 id="caca">
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
848 <title>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
849 <systemitem class="library">libcaca</systemitem> &ndash; Color ASCII Art library
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
850 </title>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
851
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
852 <para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
853 The <ulink url="http://sam.zoy.org/projects/libcaca/"><systemitem class="library">libcaca</systemitem></ulink>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
854 library is a graphics library that outputs text instead of pixels, so that it
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
855 can work on older video cards or text terminals. It is not unlike the famous
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
856 <systemitem class="library">AAlib</systemitem> library.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
857 <systemitem class="library">libcaca</systemitem> needs a terminal to work, thus
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
858 it should work on all Unix systems (including Mac OS X) using either the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
859 <systemitem class="library">slang</systemitem> library or the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
860 <systemitem class="library">ncurses</systemitem> library, on DOS using the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
861 <systemitem class="library">conio.h</systemitem> library, and on Windows systems
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
862 using either <systemitem class="library">slang</systemitem> or
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
863 <systemitem class="library">ncurses</systemitem> (through Cygwin emulation) or
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
864 <systemitem class="library">conio.h</systemitem>. If
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
865 <filename>./configure</filename>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
866 detects <systemitem class="library">libcaca</systemitem>, the caca libvo driver
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
867 will be built.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
868 </para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
869
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
870 <itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
871 <title>The differences with <systemitem class="library">AAlib</systemitem> are
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
872 the following:</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
873 <listitem><para>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
874 16 available colors for character output (256 color pairs)
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
875 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
876 <listitem><para>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
877 color image dithering
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
878 </para></listitem>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
879 </itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
880
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
881 <itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
882 <title>But <systemitem class="library">libcaca</systemitem> also has the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
883 following limitations:</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
884 <listitem><para>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
885 no support for brightness, contrast, gamma
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
886 </para></listitem>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
887 </itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
888
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
889 <para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
890 You can use some keys in the caca window to change rendering options:
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
891 </para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
892
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
893 <informaltable>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
894 <tgroup cols="2">
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
895 <thead>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
896 <row><entry>Key</entry><entry>Action</entry></row>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
897 </thead>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
898 <tbody>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
899 <row><entry><keycap>d</keycap></entry><entry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
900 Toggle <systemitem class="library">libcaca</systemitem> dithering methods.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
901 </entry></row>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
902 <row><entry><keycap>a</keycap></entry><entry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
903 Toggle <systemitem class="library">libcaca</systemitem> antialiasing.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
904 </entry></row>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
905 <row><entry><keycap>b</keycap></entry><entry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
906 Toggle <systemitem class="library">libcaca</systemitem> background.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
907 </entry></row>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
908 </tbody>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
909 </tgroup>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
910 </informaltable>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
911
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
912 <variablelist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
913 <title><systemitem class="library">libcaca</systemitem> will also look for
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
914 certain environment variables:</title>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
915 <varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
916 <term><option>CACA_DRIVER</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
917 <listitem><para>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
918 Set recommended caca driver. e.g. ncurses, slang, x11.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
919 </para></listitem>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
920 </varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
921 <varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
922 <term><option>CACA_GEOMETRY (X11 only)</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
923 <listitem><para>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
924 Specifies the number of rows and columns. e.g. 128x50.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
925 </para></listitem>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
926 </varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
927 <varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
928 <term><option>CACA_FONT (X11 only)</option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
929 <listitem><para>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
930 Specifies the font to use. e.g. fixed, nexus.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
931 </para></listitem>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
932 </varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
933 </variablelist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
934
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
935 <para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
936 Use the <option>-framedrop</option> option if your computer is not fast
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
937 enough to render all frames.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
938 </para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
939
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
940 </sect1>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
941
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
942 <!-- ********** -->
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
943
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
944 <sect1 id="vesa">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
945 <title>VESA - output to VESA BIOS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
946
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
947 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
948 This driver was designed and introduced as a <emphasis role="bold">generic
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
949 driver</emphasis> for any video card which has VESA VBE 2.0 compatible
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
950 BIOS. Another advantage of this driver is that it tries to force TV output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
951 on.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
952 <citetitle>VESA BIOS EXTENSION (VBE) Version 3.0 Date: September 16,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
953 1998</citetitle> (Page 70) says:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
954 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
955
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
956 <blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
957 <formalpara><title>Dual-Controller Designs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
958 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
959 VBE 3.0 supports the dual-controller design by assuming that since both
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
960 controllers are typically provided by the same OEM, under control of a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
961 single BIOS ROM on the same graphics card, it is possible to hide the fact
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
962 that two controllers are indeed present from the application. This has the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
963 limitation of preventing simultaneous use of the independent controllers,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
964 but allows applications released before VBE 3.0 to operate normally. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
965 VBE Function 00h (Return Controller Information) returns the combined
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
966 information of both controllers, including the combined list of available
14318
67120a11e66b whitespace fixes
gabrov
parents: 14113
diff changeset
967 modes. When the application selects a mode, the appropriate controller is
67120a11e66b whitespace fixes
gabrov
parents: 14113
diff changeset
968 activated. Each of the remaining VBE functions then operates on the active
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
969 controller.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
970 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
971 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
972 </blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
973
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
974 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
975 So you have chances to get working TV-out by using this driver.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
976 (I guess that TV-out frequently is standalone head or standalone output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
977 at least.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
978 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
979
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
980 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
981 <title>ADVANTAGES</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
982 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
983 You have chances to watch movies <emphasis role="bold">if Linux even doesn't
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
984 know</emphasis> your video hardware.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
985 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
986 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
987 You don't need to have installed any graphics' related things on your
13222
diego
parents: 13195
diff changeset
988 Linux (like X11 (AKA XFree86), fbdev and so on). This driver can be run
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
989 from <emphasis role="bold">text-mode</emphasis>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
990 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
991 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
992 You have chances to get <emphasis role="bold">working TV-out</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
993 (It's known at least for ATI's cards).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
994 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
995 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
996 This driver calls <function>int 10h</function> handler thus it's not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
997 an emulator - it calls <emphasis role="bold">real</emphasis> things of
10971
12315a6590a1 Clumsy wording improved byRuben Garcia <ruben@ugr.es> and
diego
parents: 10965
diff changeset
998 <emphasis>real</emphasis> BIOS in <emphasis>real-mode</emphasis>
12315a6590a1 Clumsy wording improved byRuben Garcia <ruben@ugr.es> and
diego
parents: 10965
diff changeset
999 (actually in vm86 mode).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1000 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1001 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1002 You can use VIDIX with it, thus getting accelerated video display
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1003 <emphasis role="bold">and</emphasis> TV output at the same time!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1004 (Recommended for ATI cards.)
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1005 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1006 <listitem><para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1007 If you have VESA VBE 3.0+, and you had specified
11287
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
1008 <option>monitor-hfreq, monitor-vfreq, monitor-dotclock</option> somewhere
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1009 (config file, or command line) you will get the highest possible refresh rate.
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1010 (Using General Timing Formula). To enable this feature you have to specify
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1011 <emphasis role="bold">all</emphasis> your monitor options.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1012 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1013 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1014
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1015 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1016 <title>DISADVANTAGES</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1017 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1018 It works only on <emphasis role="bold">x86 systems</emphasis>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1019 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1020 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1021 It can be used only by <systemitem class="username">root</systemitem>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1022 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1023 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1024 Currently it's available only for <emphasis role="bold">Linux</emphasis>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1025 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1026 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1027
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1028 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1029 <title>COMMAND LINE OPTIONS AVAILABLE FOR VESA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1030 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1031 <term><option>-vo vesa:<replaceable>opts</replaceable></option></term>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1032 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1033 currently recognized: <literal>dga</literal> to force dga mode and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1034 <literal>nodga</literal> to disable dga mode. In dga mode you can enable
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1035 double buffering via the <option>-double</option> option. Note: you may omit
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1036 these parameters to enable <emphasis role="bold">autodetection</emphasis> of
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1037 dga mode.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1038 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1039 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1040 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1041
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1042 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1043 <title>KNOWN PROBLEMS AND WORKAROUNDS</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1044 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1045 If you have installed <emphasis role="bold">NLS</emphasis> font on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1046 Linux box and run VESA driver from text-mode then after terminating
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1047 <application>MPlayer</application> you will have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1048 <emphasis role="bold">ROM font</emphasis> loaded instead of national.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1049 You can load national font again by using <command>setsysfont</command>
15894
688fa06538ef Mandrake --> Mandriva name change
diego
parents: 15753
diff changeset
1050 utility from the Mandrake/Mandriva distribution for example.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1051 (<emphasis role="bold">Hint</emphasis>: The same utility is used for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1052 localization of fbdev).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1053 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1054 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1055 Some <emphasis role="bold">Linux graphics drivers</emphasis> don't update
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1056 active <emphasis role="bold">BIOS mode</emphasis> in DOS memory.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1057 So if you have such problem - always use VESA driver only from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1058 <emphasis role="bold">text-mode</emphasis>. Otherwise text-mode (#03) will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1059 be activated anyway and you will need restart your computer.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1060 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1061 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1062 Often after terminating VESA driver you get
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1063 <emphasis role="bold">black</emphasis> screen. To return your screen to
21720
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
1064 original state - simply switch to other console (by pressing
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
1065 <keycombo><keycap>Alt</keycap><keycap>F&lt;x&gt;</keycap></keycombo>)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1066 then switch to your previous console by the same way.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1067 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1068 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1069 To get <emphasis role="bold">working TV-out</emphasis> you need have plugged
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1070 TV-connector in before booting your PC since video BIOS initializes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1071 itself only once during POST procedure.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1072 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1073 </itemizedlist>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1074 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1075
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1076 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1077
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1078 <sect1 id="x11">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1079 <title>X11</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1080
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1081 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1082 Avoid if possible. Outputs to X11 (uses shared memory extension), with no
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1083 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1084 still slow) software scaling, use the options <option>-fs -zoom</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1085 Most cards have hardware scaling support, use the <option>-vo xv</option>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1086 output for them, or <option>-vo xmga</option> for Matrox cards.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1087 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1088
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1089 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1090 The problem is that most cards' driver doesn't support hardware
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1091 acceleration on the second head/TV. In those cases, you see green/blue
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1092 colored window instead of the movie. This is where this driver comes in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1093 handy, but you need powerful CPU to use software scaling. Don't use the SDL
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1094 driver's software output+scaler, it has worse image quality!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1095 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1096
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1097 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1098 Software scaling is very slow, you better try changing video modes instead.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1099 It's very simple. See the <link linkend="dga-modelines">DGA section's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1100 modelines</link>, and insert them into your <filename>XF86Config</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1101
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1102 <itemizedlist spacing="compact">
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1103 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1104 If you have XFree86 4.x.x: use the <option>-vm</option> option. It will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1105 change to a resolution your movie fits in. If it doesn't:
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1106 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1107 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1108 With XFree86 3.x.x: you have to cycle through available resolutions
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1109 with the
21720
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
1110 <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Keypad +</keycap></keycombo>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1111 and
21720
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
1112 <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Keypad -</keycap></keycombo>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1113 keys.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1114 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1115 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1116 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1117
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1118 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1119 If you can't find the modes you inserted, browse XFree86's output. Some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1120 drivers can't use low pixelclocks that are needed for low resolution
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1121 video modes.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1122 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1123 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1124
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1125 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1126
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1127 <sect1 id="vidix">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1128 <title>VIDIX</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1129
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1130 <formalpara><title>PREAMBLE</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1131 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1132 <acronym>VIDIX</acronym> is the abbreviation for
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1133 <emphasis role="bold">VID</emphasis>eo
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1134 <emphasis role="bold">I</emphasis>nterface
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1135 for *ni<emphasis role="bold">X</emphasis>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1136 VIDIX was designed and introduced as an interface for fast user-space drivers
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1137 providing such video performance as mga_vid does for Matrox cards. It's also
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1138 very portable.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1139 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1140 </formalpara>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1141
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1142 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1143 This interface was designed as an attempt to fit existing video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1144 acceleration interfaces (known as mga_vid, rage128_vid, radeon_vid,
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1145 pm3_vid) into a fixed scheme. It provides a high level interface to chips
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1146 which are known as BES (BackEnd scalers) or OV (Video Overlays). It doesn't
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1147 provide low level interface to things which are known as graphics servers.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1148 (I don't want to compete with X11 team in graphics mode switching). I.e.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1149 main goal of this interface is to maximize the speed of video playback.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1150 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1151
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1152 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1153 <title>USAGE</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1154 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1155 You can use standalone video output driver: <option>-vo xvidix</option>.
14318
67120a11e66b whitespace fixes
gabrov
parents: 14113
diff changeset
1156 This driver was developed as X11's front end to VIDIX technology. It
11497
038b7a21fdc4 some spaces, xv -> Xv, missing "that"
wight
parents: 11483
diff changeset
1157 requires X server and can work only under X server. Note that, as it directly
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1158 accesses the hardware and circumvents the X driver, pixmaps cached in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1159 graphics card's memory may be corrupted. You can prevent this by limiting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1160 the amount of video memory used by X with the XF86Config option "VideoRam"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1161 in the device section. You should set this to the amount of memory installed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1162 on your card minus 4MB. If you have less than 8MB of video ram, you can use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1163 the option "XaaNoPixmapCache" in the screen section instead.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1164 </para></listitem>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1165 <listitem>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1166 <para>
11136
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
1167 There is a console VIDIX driver: <option>-vo cvidix</option>.
11067
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1168 This requires a working and initialized framebuffer for most cards (or else
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1169 you'll just mess up the screen), and you'll have a similar effect as with
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1170 <option>-vo mga</option> or <option>-vo fbdev</option>. nVidia cards however
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1171 are able to output truly graphical video on a real text console. See the
11483
462b97f8746f move section out of <link> tags
wight
parents: 11362
diff changeset
1172 <link linkend="vidix-nvidia">nvidia_vid</link> section for more information.
20556
ee53e4d326f7 Typo fix: missing "get".
corey
parents: 20555
diff changeset
1173 To get rid of text on the borders and the blinking cursor, try something like
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1174 </para>
20555
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1175
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1176 <screen>setterm -cursor off > /dev/tty9</screen>
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1177
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1178 <para>
20555
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1179 (assuming <systemitem>tty9</systemitem> is unused so far) and then
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1180 switch to <systemitem>tty9</systemitem>.
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1181 On the other hand, <option>-colorkey 0</option> should give you a video
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1182 running in the "background", though this depends on the colorkey
98e477485b29 cvidix tricks, based on a patch by Reimar
diego
parents: 20535
diff changeset
1183 functionality to work right.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1184 </para>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1185 </listitem>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1186 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1187 You can use VIDIX subdevice which was applied to several video output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1188 drivers, such as: <option>-vo vesa:vidix</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1189 (<emphasis role="bold">Linux only</emphasis>) and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1190 <option>-vo fbdev:vidix</option>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1191 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1192 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1193
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1194 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1195 Indeed it doesn't matter which video output driver is used with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1196 <emphasis role="bold">VIDIX</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1197 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1198
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1199 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1200 <title>REQUIREMENTS</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1201 <listitem><para>
11067
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1202 Video card should be in graphics mode (except nVidia cards with the
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1203 <option>-vo cvidix</option> output driver).
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1204 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1205 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1206 <application>MPlayer</application>'s video output driver should know
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1207 active video mode and be able to tell to VIDIX subdevice some video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1208 characteristics of server.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
1209 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1210 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1211
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1212 <formalpara><title>USAGE METHODS</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1213 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1214 When VIDIX is used as <emphasis role="bold">subdevice</emphasis> (<option>-vo
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1215 vesa:vidix</option>) then video mode configuration is performed by video
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1216 output device (<emphasis role="bold">vo_server</emphasis> in short). Therefore you can
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1217 pass into command line of <application>MPlayer</application> the same keys
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1218 as for vo_server. In addition it understands <option>-double</option> key
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1219 as globally visible parameter. (I recommend using this key with VIDIX at
11136
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
1220 least for ATI's card). As for <option>-vo xvidix</option>, currently it
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1221 recognizes the following options: <option>-fs -zoom -x -y -double</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1222 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1223 </formalpara>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1224
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1225 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1226 Also you can specify VIDIX's driver directly as third subargument in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1227 command line:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1228 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1229 mplayer -vo xvidix:mga_vid.so -fs -zoom -double <replaceable>file.avi</replaceable>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1230 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1231 or
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1232 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1233 mplayer -vo vesa:vidix:radeon_vid.so -fs -zoom -double -bpp 32 <replaceable>file.avi</replaceable>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1234 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1235 But it's dangerous, and you shouldn't do that. In this case given driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1236 will be forced and result is unpredictable (it may
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1237 <emphasis role="bold">freeze</emphasis> your computer). You should do that
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1238 ONLY if you are absolutely sure it will work, and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1239 <application>MPlayer</application> doesn't do it automatically. Please tell
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1240 about it to the developers. The right way is to use VIDIX without arguments
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1241 to enable driver autodetection.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1242 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1243
27010
ef48c2f8d4c5 Make a section out of the svgalib_helper paragraph.
diego
parents: 26993
diff changeset
1244
ef48c2f8d4c5 Make a section out of the svgalib_helper paragraph.
diego
parents: 26993
diff changeset
1245 <sect2 id="svgalib_helper">
ef48c2f8d4c5 Make a section out of the svgalib_helper paragraph.
diego
parents: 26993
diff changeset
1246 <title>svgalib_helper</title>
ef48c2f8d4c5 Make a section out of the svgalib_helper paragraph.
diego
parents: 26993
diff changeset
1247
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1248 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1249 Since VIDIX requires direct hardware access you can either run it as root
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1250 or set the SUID bit on the <application>MPlayer</application> binary
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1251 (<emphasis role="bold">Warning: This is a security risk!</emphasis>).
27736
b67912ddcfb2 Update VIDIX vs. svgalib documentation.
diego
parents: 27012
diff changeset
1252 Alternatively, you can use a special kernel module, like this:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1253 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1254
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1255 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1256 <step><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1257 Download the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1258 <ulink url="http://www.arava.co.il/matan/svgalib/">development version</ulink>
27736
b67912ddcfb2 Update VIDIX vs. svgalib documentation.
diego
parents: 27012
diff changeset
1259 of svgalib (1.9.x).
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1260 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1261 <step><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1262 Compile the module in the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1263 <filename class="directory">svgalib_helper</filename> directory (it can be
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1264 found inside the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1265 <filename class="directory">svgalib-1.9.17/kernel/</filename> directory if
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1266 you've downloaded the source from the svgalib site) and insmod it.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1267 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1268 <step><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1269 To create the necessary devices in the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1270 <filename class="directory">/dev</filename> directory, do a
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1271 <screen>make device</screen> in the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1272 <filename class="directory">svgalib_helper</filename> dir, as root.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1273 </para></step>
11022
6da8652f129b /dev/svga* creation instructions
gabucino
parents: 10975
diff changeset
1274 <step><para>
26993
c1dfb011c41d Restore support for compiling with svgalib_helper.
diego
parents: 26958
diff changeset
1275 Then run <filename>configure</filename> again and pass the parameter
c1dfb011c41d Restore support for compiling with svgalib_helper.
diego
parents: 26958
diff changeset
1276 <option>--enable-svgalib_helper</option> as well as
32582
dd5ba6bfe79d change --with-extraincdir to --extra-cflags
compn
parents: 32199
diff changeset
1277 <option>--extra-cflags=<replaceable>/path/to/svgalib_helper/sources/</replaceable>kernel/svgalib_helper</option>,
27736
b67912ddcfb2 Update VIDIX vs. svgalib documentation.
diego
parents: 27012
diff changeset
1278 where <replaceable>/path/to/svgalib_helper/sources/</replaceable> has to be
26993
c1dfb011c41d Restore support for compiling with svgalib_helper.
diego
parents: 26958
diff changeset
1279 adjusted to wherever you extracted svgalib_helper sources.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1280 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1281 <step><para>
23253
aeef449e5923 libdha is no more.
diego
parents: 22836
diff changeset
1282 Recompile.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1283 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1284 </procedure>
27010
ef48c2f8d4c5 Make a section out of the svgalib_helper paragraph.
diego
parents: 26993
diff changeset
1285 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1286
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1287
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1288 <sect2 id="vidix-ati">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1289 <title>ATI cards</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1290
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1291 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1292 Currently most ATI cards are supported natively, from Mach64 to the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1293 newest Radeons.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1294 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1295
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1296 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1297 There are two compiled binaries: <filename>radeon_vid</filename> for Radeon and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1298 <filename>rage128_vid</filename> for Rage 128 cards. You may force one or let
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1299 the VIDIX system autoprobe all available drivers.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1300 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1301 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1302
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1303
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1304 <sect2 id="vidix-mga">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1305 <title>Matrox cards</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1306
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1307 <para>
11497
038b7a21fdc4 some spaces, xv -> Xv, missing "that"
wight
parents: 11483
diff changeset
1308 Matrox G200, G400, G450 and G550 have been reported to work.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1309 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1310
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1311 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1312 The driver supports video equalizers and should be nearly as fast as the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1313 <link linkend="mga_vid">Matrox framebuffer</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1314 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1315 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1316
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1317
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1318 <sect2 id="vidix-trident">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1319 <title>Trident cards</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1320
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1321 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1322 There is a driver available for the Trident Cyberblade/i1 chipset, which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1323 can be found on VIA Epia motherboards.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1324 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1325
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1326 <para>
11079
d4df1e5e5e49 the author's homepage points to us as the latest driver's source, so we
gabucino
parents: 11067
diff changeset
1327 The driver was written and is maintained by
20857
f973dc7132a8 Misc issues noticed by Torinthiel.
diego
parents: 20723
diff changeset
1328 <ulink url="http://www.blackfiveservices.co.uk/EPIAVidix.shtml">Alastair M. Robinson</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1329 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1330 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1331
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1332
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1333 <sect2 id="vidix-3dlabs">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1334 <title>3DLabs cards</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1335
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1336 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1337 Although there is a driver for the 3DLabs GLINT R3 and Permedia3 chips, no one
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1338 has tested it, so reports are welcome.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1339 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1340 </sect2>
11040
diego
parents: 11022
diff changeset
1341
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1342
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1343 <sect2 id="vidix-nvidia">
11040
diego
parents: 11022
diff changeset
1344 <title>nVidia cards</title>
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1345
11040
diego
parents: 11022
diff changeset
1346 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1347 An unique feature of the nvidia_vid driver is its ability to display video on
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1348 <emphasis role="bold">plain, pure, text-only console</emphasis> - with no
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1349 framebuffer or X magic whatsoever. For this purpose, we'll have to use the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1350 <option>cvidix</option> video output, as the following example shows:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1351 <screen>mplayer -vo cvidix <replaceable>example.avi</replaceable></screen>
11040
diego
parents: 11022
diff changeset
1352 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1353 </sect2>
11040
diego
parents: 11022
diff changeset
1354
diego
parents: 11022
diff changeset
1355
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1356 <sect2 id="vidix-sis">
11040
diego
parents: 11022
diff changeset
1357 <title>SiS cards</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1358
11040
diego
parents: 11022
diff changeset
1359 <para>
diego
parents: 11022
diff changeset
1360 This is very experimental code, just like nvidia_vid.
diego
parents: 11022
diff changeset
1361 </para>
diego
parents: 11022
diff changeset
1362
diego
parents: 11022
diff changeset
1363 <para>
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12814
diff changeset
1364 It's been tested on SiS 650/651/740 (the most common chipsets used in the
11040
diego
parents: 11022
diff changeset
1365 SiS versions of the "Shuttle XPC" barebones boxes out there)
diego
parents: 11022
diff changeset
1366 </para>
diego
parents: 11022
diff changeset
1367
diego
parents: 11022
diff changeset
1368 <para>
diego
parents: 11022
diff changeset
1369 Reports awaited!
diego
parents: 11022
diff changeset
1370 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1371 </sect2>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1372 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1373
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1374 <!-- ********** -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1375
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1376 <sect1 id="directfb">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1377 <title>DirectFB</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1378
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1379 <blockquote><para>
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
1380 "DirectFB is a graphics library which was designed with embedded systems
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1381 in mind. It offers maximum hardware accelerated performance at a minimum
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
1382 of resource usage and overhead." - quoted from
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1383 <ulink url="http://www.directfb.org"/>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1384 </para></blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1385
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1386 <para>I'll exclude DirectFB features from this section.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1387
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1388 <para>
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
1389 Though <application>MPlayer</application> is not supported as a "video
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
1390 provider" in DirectFB, this output driver will enable video playback
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1391 through DirectFB. It will - of course - be accelerated, on my Matrox G400
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1392 DirectFB's speed was the same as XVideo.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1393 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1394
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1395 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1396 Always try to use the newest version of DirectFB. You can use DirectFB options
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1397 on the command line, using the <option>-dfbopts</option> option. Layer
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1398 selection can be done by the subdevice method, e.g.:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1399 <option>-vo directfb:2</option> (layer -1 is default: autodetect)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1400 </para>
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1401 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1402
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1403 <!-- ********** -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1404
22836
e547888c4413 Remove empty section.
diego
parents: 22782
diff changeset
1405 <sect1 id="dfbmga">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1406 <title>DirectFB/Matrox (dfbmga)</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1407
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1408 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1409 Please read the <link linkend="directfb">main DirectFB</link> section for
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1410 general information.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1411 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1412
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1413 <para>
11824
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1414 This video output driver will enable CRTC2 (on the second head) on Matrox
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1415 G400/G450/G550 cards, displaying video
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1416 <emphasis role="bold">independent</emphasis> of the first head.
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1417 </para>
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1418
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1419 <para>
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12814
diff changeset
1420 Ville Syrjala's has a
11824
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1421 <ulink url="http://www.sci.fi/~syrjala/directfb/Matrox_TV-out_README.txt">README</ulink>
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12814
diff changeset
1422 and a
14649
bef33b354427 link fix
diego
parents: 14441
diff changeset
1423 <ulink url="http://www.sci.fi/~syrjala/directfb/matrox-tv-out-howto">HOWTO</ulink>
11824
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1424 on his homepage that explain how to make DirectFB TV output run on Matrox cards.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1425 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1426
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1427 <note><para>
11824
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1428 the first DirectFB version with which we could get this working was
13490
e8e83796928c Porting of CRTC2 to mga_vid is stalled.
diego
parents: 13222
diff changeset
1429 0.9.17 (it's buggy, needs that <systemitem>surfacemanager</systemitem>
e8e83796928c Porting of CRTC2 to mga_vid is stalled.
diego
parents: 13222
diff changeset
1430 patch from the URL above). Porting the CRTC2 code to
e8e83796928c Porting of CRTC2 to mga_vid is stalled.
diego
parents: 13222
diff changeset
1431 <link linkend="mga_vid">mga_vid</link> has been planned for years,
e8e83796928c Porting of CRTC2 to mga_vid is stalled.
diego
parents: 13222
diff changeset
1432 <ulink url="../../tech/patches.txt">patches</ulink> are welcome.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1433 </para></note>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1434 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1435
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1436
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1437 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1438
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1439
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1440 <sect1 id="mpeg_decoders">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1441 <title>MPEG decoders</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1442
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1443 <sect2 id="dvb">
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1444 <title>DVB output and input</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1445
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1446 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1447 <application>MPlayer</application> supports cards with the Siemens DVB chipset
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1448 from vendors like Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1449 drivers are available from the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1450 <ulink url="http://www.linuxtv.org">Linux TV site</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1451 If you want to do software transcoding you should have at least a 1GHz CPU.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1452 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1453
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1454 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1455 Configure should detect your DVB card. If it did not, force detection with
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1456 <screen>./configure --enable-dvb</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1457 Then compile and install as usual.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1458
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1459 <formalpara><title>USAGE</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1460 <para>
22183
36165d7a44b3 some clarification about dvb-out playback
nicodvb
parents: 21879
diff changeset
1461 Hardware decoding of streams containing MPEG-1/2 video and/or MPEG audio can be done with this
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1462 command:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1463 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1464 mplayer -ao mpegpes -vo mpegpes <replaceable>file.mpg|vob</replaceable>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1465 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1466 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1467 </formalpara>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1468
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1469 <para>
22183
36165d7a44b3 some clarification about dvb-out playback
nicodvb
parents: 21879
diff changeset
1470 Decoding of any other type of video stream requires transcoding to MPEG-1, thus it's slow
36165d7a44b3 some clarification about dvb-out playback
nicodvb
parents: 21879
diff changeset
1471 and may not be worth the trouble, especially if your computer is slow.
36165d7a44b3 some clarification about dvb-out playback
nicodvb
parents: 21879
diff changeset
1472 It can be achieved using a command like this:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1473 <screen>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1474 mplayer -ao mpegpes -vo mpegpes <replaceable>yourfile.ext</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1475 mplayer -ao mpegpes -vo mpegpes -vf expand <replaceable>yourfile.ext</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1476 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1477
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1478 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1479 Note that DVB cards only support heights 288 and 576 for PAL or 240 and 480 for
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1480 NTSC. You <emphasis role="bold">must</emphasis> rescale for other heights by
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1481 adding <option>scale=width:height</option> with the width and height you want
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1482 to the <option>-vf</option> option. DVB cards accept various widths, like 720,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1483 704, 640, 512, 480, 352 etc. and do hardware scaling in horizontal direction,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1484 so you do not need to scale horizontally in most cases.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1485 For a 512x384 (aspect 4:3) MPEG-4 (DivX) try:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1486 <screen>mplayer -ao mpegpes -vo mpegpes -vf scale=512:576</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1487 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1488
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1489 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1490 If you have a widescreen movie and you do not want to scale it to full height,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1491 you can use the <option>expand=w:h</option> filter to add black bands. To view a
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1492 640x384 MPEG-4 (DivX), try:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1493 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1494 mplayer -ao mpegpes -vo mpegpes -vf expand=640:576 <replaceable>file.avi</replaceable>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1495 </screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1496 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1497
13961
2946cbf097b5 DivX is MPEG4, so let's call it MPEG4 to avoid confusion.
diego
parents: 13912
diff changeset
1498 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
1499 If your CPU is too slow for a full size 720x576 MPEG-4 (DivX), try downscaling:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1500 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1501 mplayer -ao mpegpes -vo mpegpes -vf scale=352:576 <replaceable>file.avi</replaceable>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1502 </screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1503 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1504
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1505 <para>If speed does not improve, try vertical downscaling, too:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1506 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1507 mplayer -ao mpegpes -vo mpegpes -vf scale=352:288 <replaceable>file.avi</replaceable>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1508 </screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1509 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1510
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1511 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1512 For OSD and subtitles use the OSD feature of the expand filter. So, instead of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1513 <option>expand=w:h</option> or <option>expand=w:h:x:y</option>, use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1514 <option>expand=w:h:x:y:1</option> (the 5th parameter <option>:1</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1515 at the end will enable OSD rendering). You may want to move the image up a bit
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1516 to get a bigger black zone for subtitles. You may also want to move subtitles
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1517 up, if they are outside your TV screen, use the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1518 <option>-subpos &lt;0-100&gt;</option>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1519 option to adjust this (<option>-subpos 80</option> is a good choice).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1520 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1521
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1522 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1523 In order to play non-25fps movies on a PAL TV or with a slow CPU, add the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1524 <option>-framedrop</option> option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1525 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1526
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1527 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
1528 To keep the aspect ratio of MPEG-4 (DivX) files and get the optimal scaling
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1529 parameters (hardware horizontal scaling and software vertical scaling
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1530 while keeping the right aspect ratio), use the new dvbscale filter:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1531 <screen>
10682
diego
parents: 10526
diff changeset
1532 for a 4:3 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
diego
parents: 10526
diff changeset
1533 for a 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1534 </screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1535 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1536
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1537 <formalpara><title>Digital TV (DVB input module)</title>
11888
c0bb03056667 build fix
diego
parents: 11884
diff changeset
1538 <para>You can use your DVB card for watching Digital TV.</para>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1539 </formalpara>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1540
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1541 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1542 You should have the programs <command>scan</command> and
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1543 <command>szap/tzap/czap/azap</command> installed; they are all included in
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1544 the drivers package.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1545 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1546
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1547 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1548 Verify that your drivers are working properly with a program such as
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1549 <ulink url="http://sf.net/projects/dvbtools/"><command>dvbstream</command></ulink>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1550 (that is the base of the DVB input module).
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1551 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1552
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1553 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1554 Now you should compile a <filename>~/.mplayer/channels.conf</filename>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1555 file, with the syntax accepted by <command>szap/tzap/czap/azap</command>, or
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1556 have <command>scan</command> compile it for you.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1557 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1558
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1559 <para>
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 26953
diff changeset
1560 If you have more than one card type (e.g. Satellite, Terrestrial, Cable and ATSC)
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1561 you can save your channels files as
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1562 <filename>~/.mplayer/channels.conf.sat</filename>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1563 <filename>~/.mplayer/channels.conf.ter</filename>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1564 <filename>~/.mplayer/channels.conf.cbl</filename>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1565 and <filename>~/.mplayer/channels.conf.atsc</filename>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1566 respectively, so as to implicitly hint <application>MPlayer</application>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1567 to use these files rather than <filename>~/.mplayer/channels.conf</filename>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1568 and you only need to specify which card to use.
12188
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1569 </para>
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1570
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1571 <para>
24690
119acb03c645 Fix typo.
cehoyos
parents: 24689
diff changeset
1572 Make sure that you have <emphasis>only</emphasis> Free to Air
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1573 channels in your <filename>channels.conf</filename> file, or
24689
85f578745278 Documentation follows implementation: Encrytped DVB channels are never
cehoyos
parents: 24160
diff changeset
1574 <application>MPlayer</application> will wait for an unencrypted transmission.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1575 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1576
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1577 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1578 In your audio and video fields you can use an extended syntax:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1579 <option>...:pid[+pid]:...</option> (for a maximum of 6 pids each);
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1580 in this case <application>MPlayer</application> will include in the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1581 stream all the indicated pids, plus pid 0 (that contains the PAT).
26041
e2bacda9d3c6 warn to always include PMT and PCR pids in channels.conf (dvb)
nicodvb
parents: 26040
diff changeset
1582 You should always include in each row the PMT and PCR pids for the
e2bacda9d3c6 warn to always include PMT and PCR pids in channels.conf (dvb)
nicodvb
parents: 26040
diff changeset
1583 corresponding channel (if you know them).
22384
989613a9a15b Explain how to select all DVB channels on a frequency.
reimar
parents: 22183
diff changeset
1584 You can also specify 8192, this will select all pids on this frequency
989613a9a15b Explain how to select all DVB channels on a frequency.
reimar
parents: 22183
diff changeset
1585 and you can then switch between the programs with TAB.
989613a9a15b Explain how to select all DVB channels on a frequency.
reimar
parents: 22183
diff changeset
1586 This might need more bandwidth, though cheap cards always transfer all
989613a9a15b Explain how to select all DVB channels on a frequency.
reimar
parents: 22183
diff changeset
1587 channels at least to the kernel so it does not make much of a difference
989613a9a15b Explain how to select all DVB channels on a frequency.
reimar
parents: 22183
diff changeset
1588 for these.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1589 Other possible uses are: televideo pid, second audio track, etc.
19601
fa11b3239deb mention -demuxer lavf in the dvb input section
nicodvb
parents: 19076
diff changeset
1590 </para>
12814
3a5f326e523c pid syntax documented by Nico Sabbi
diego
parents: 12757
diff changeset
1591
3a5f326e523c pid syntax documented by Nico Sabbi
diego
parents: 12757
diff changeset
1592 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1593 If <application>MPlayer</application> complains frequently about
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1594 <screen>Too many video/audio packets in the buffer</screen> or
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1595 if you notice a growing desynchronization between audio and
26041
e2bacda9d3c6 warn to always include PMT and PCR pids in channels.conf (dvb)
nicodvb
parents: 26040
diff changeset
1596 video verify the presence of the PCR pid in your stream
e2bacda9d3c6 warn to always include PMT and PCR pids in channels.conf (dvb)
nicodvb
parents: 26040
diff changeset
1597 (needed to comply with the buffering model of the transmitter)
e2bacda9d3c6 warn to always include PMT and PCR pids in channels.conf (dvb)
nicodvb
parents: 26040
diff changeset
1598 and/or try to use the libavformat MPEG-TS demuxer by adding
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1599 <option>-demuxer lavf -lavfdopts probesize=128</option>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1600 to your command line.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1601 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1602
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1603 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1604 To show the first of the channels present in your list, run
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1605 <screen>mplayer dvb://</screen>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1606 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1607
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1608 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1609 If you want to watch a specific channel, such as R1, run
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1610 <screen>mplayer dvb://<replaceable>R1</replaceable></screen>
12310
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1611 </para>
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1612
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1613 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1614 If you have more than one card you also need to specify the number of the card
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1615 where the channel is visible (e.g. 2) with the syntax:
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1616 <screen>mplayer dvb://<replaceable>2@R1</replaceable></screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1617 </para>
12310
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1618
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1619 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1620 To change channels press the <keycap>h</keycap> (next) and
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1621 <keycap>k</keycap> (previous) keys, or use the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1622 <link linkend="osdmenu">OSD menu</link>.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1623 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1624
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1625 <para>
24989
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1626 To temporarily disable the audio or the video stream copy the
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1627 following to <filename>~/.mplayer/input.conf</filename>:
24983
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1628 <screen>
24989
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1629 % set_property switch_video -2
24988
2ea950b50771 & => &amp;
nicodvb
parents: 24984
diff changeset
1630 &amp; step_property switch_video
24989
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1631 ? set_property switch_audio -2
24983
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1632 ^ step_property switch_audio
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1633 </screen>
24989
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1634 (Overriding the action keys as preferred.) When pressing the key
24983
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1635 corresponding to switch_x -2 the associated stream will be closed;
24989
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1636 when pressing the key corresponding to step_x the stream will be reopened.
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1637 Notice that this switching mechanism will not work as expected when there
24983
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1638 are multiple audio and video streams in the multiplex.
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1639 </para>
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1640
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1641 <para>
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1642 During playback (not during recording), in order to prevent stuttering
24989
4c76fb492567 wording/grammar/spelling/formatting
diego
parents: 24988
diff changeset
1643 and error messages such as 'Your system is too slow' it is advisable to add
24983
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1644 <screen>
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1645 -mc 10 -speed 0.97 -af scaletempo
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1646 </screen>
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1647 to your command line, adjusting the scaletempo parameters as preferred.
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1648 </para>
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1649
da81c5786907 a couple of tricks to improve playback resistance and usability of dvb streams
nicodvb
parents: 24690
diff changeset
1650 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1651 If your <filename>~/.mplayer/menu.conf</filename> contains a
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1652 <literal>&lt;dvbsel&gt;</literal> entry, such as the one in the example
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1653 file <filename>etc/dvb-menu.conf</filename> (that you can use to overwrite
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1654 <filename>~/.mplayer/menu.conf</filename>), the main menu will show a
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1655 sub-menu entry that will permit you to choose one of the channels present
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1656 in your <filename>channels.conf</filename>, possibly preceded by a menu
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1657 with the list of cards available if more than one is usable by
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1658 <application>MPlayer</application>.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1659 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1660
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1661 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1662 If you want to save a program to disk you can use
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1663 <screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1664 mplayer -dumpfile <replaceable>r1.ts</replaceable> -dumpstream dvb://<replaceable>R1</replaceable>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1665 </screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1666 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1667
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1668 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1669 If you want to record it in a different format (re-encoding it) instead
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1670 you can run a command such as
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1671 <screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1672 mencoder -o <replaceable>r1.avi</replaceable> -ovc xvid -xvidencopts bitrate=800 \
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1673 -oac mp3lame -lameopts cbr:br=128 -pp=ci dvb://<replaceable>R1</replaceable>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1674 </screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1675 </para>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1676
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1677 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1678 Read the man page for a list of options that you can pass to the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1679 DVB input module.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1680 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1681
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1682 <formalpara><title>FUTURE</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1683 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1684 If you have questions or want to hear feature announcements and take part in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1685 discussions on this subject, join our
19709
2c8c28415e89 fix some more mailman links
kraymer
parents: 19603
diff changeset
1686 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1687 mailing list. Please remember that the list language is English.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1688 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1689 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1690
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1691 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1692 In the future you may expect the ability to display OSD and subtitles using
26040
125752091a74 removed nonsense in the dvbin section
nicodvb
parents: 25744
diff changeset
1693 the native OSD feature of DVB cards.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1694 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1695 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1696
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1697 <!-- ********** -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1698
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1699 <sect2 id="dxr2">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1700 <title>DXR2</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1701
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1702 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1703 <application>MPlayer</application> supports hardware accelerated playback
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1704 with the Creative DXR2 card.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1705 </para>
28966
b0c49f500418 remove trailing whitespaces
Gabrov
parents: 27736
diff changeset
1706
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1707 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1708 First of all you will need properly installed DXR2 drivers. You can find
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1709 the drivers and installation instructions at the
13977
7895a1b73828 URL updates
diego
parents: 13961
diff changeset
1710 <ulink url="http://dxr2.sf.net/">DXR2 Resource Center</ulink> site.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1711 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1712
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1713 <variablelist><title>USAGE</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1714 <varlistentry>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1715 <term><option>-vo dxr2</option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1716 <listitem><para>Enable TV output.</para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1717 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1718 <varlistentry>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1719 <term><option>-vo dxr2:x11</option> or <option>-vo dxr2:xv</option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1720 <listitem><para>Enable Overlay output in X11.</para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1721 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1722 <varlistentry>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1723 <term><option>-dxr2 &lt;option1:option2:...&gt;</option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1724 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1725 This option is used to control the DXR2 driver.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1726 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1727 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1728 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1729
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1730 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1731 The overlay chipset used on the DXR2 is of pretty bad quality but the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1732 default settings should work for everybody. The OSD may be usable with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1733 overlay (not on TV) by drawing it in the colorkey. With the default colorkey
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1734 settings you may get variable results, usually you will see the colorkey
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1735 around the characters or some other funny effect. But if you properly adjust
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1736 the colorkey settings you should be able to get acceptable results.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1737 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1738
11731
diego
parents: 11713
diff changeset
1739 <para>Please see the man page for available options.</para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1740 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1741
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1742 <!-- ********** -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1743
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1744 <sect2 id="dxr3">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1745 <title>DXR3/Hollywood+</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1746
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1747 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1748 <application>MPlayer</application> supports hardware accelerated playback
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1749 with the Creative DXR3 and Sigma Designs Hollywood Plus cards. These cards
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1750 both use the em8300 MPEG decoder chip from Sigma Designs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1751 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1752
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1753 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1754 First of all you will need properly installed DXR3/H+ drivers, version 0.12.0
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1755 or later. You can find the drivers and installation instructions at the
13977
7895a1b73828 URL updates
diego
parents: 13961
diff changeset
1756 <ulink url="http://dxr3.sf.net/">DXR3 &amp; Hollywood Plus for Linux</ulink>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1757 site. <filename>configure</filename> should detect your card automatically,
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1758 compilation should go without problems.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1759 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1760
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1761 <!-- FIXME: find a more clear presentation -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1762 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1763 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1764 <varlistentry>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1765 <term><option>-vo dxr3:prebuf:sync:norm=x:<replaceable>device</replaceable></option></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1766 <listitem><para>
25744
7b9e015bca91 typo fix
diego
parents: 24989
diff changeset
1767 <option>overlay</option> activates the overlay instead of TV-out. It requires
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1768 that you have a properly configured overlay setup to work right. The easiest
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1769 way to configure the overlay is to first run autocal. Then run mplayer with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1770 dxr3 output and without overlay turned on, run dxr3view. In dxr3view you can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1771 tweak the overlay settings and see the effects in realtime, perhaps this feature
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1772 will be supported by the <application>MPlayer</application> GUI in the future.
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1773 When overlay is properly set up you will no longer need to use dxr3view.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1774 <option>prebuf</option> turns on prebuffering. Prebuffering is a feature of the
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1775 em8300 chip that enables it to hold more than one frame of video at a time.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1776 This means that when you are running with prebuffering
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1777 <application>MPlayer</application> will try to keep the video buffer filled
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1778 with data at all times.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1779 If you are on a slow machine <application>MPlayer</application> will probably
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1780 use close to, or precisely 100% of CPU.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1781 This is especially common if you play pure MPEG streams
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1782 (like DVDs, SVCDs a.s.o.) since <application>MPlayer</application> will not have
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1783 to reencode it to MPEG it will fill the buffer very fast.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1784 With prebuffering video playback is <emphasis role="bold">much</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1785 less sensitive to other programs hogging the CPU, it will not drop frames unless
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1786 applications hog the CPU for a long time.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1787 When running without prebuffering the em8300 is much more sensitive to CPU load,
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1788 so it is highly suggested that you turn on <application>MPlayer</application>'s
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1789 <option>-framedrop</option> option to avoid further loss of sync.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1790 <option>sync</option> will turn on the new sync-engine. This is currently an
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1791 experimental feature. With the sync feature turned on the em8300's internal
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1792 clock will be monitored at all times, if it starts to deviate from
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1793 <application>MPlayer</application>'s clock it will be reset causing the em8300
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1794 to drop any frames that are lagging behind.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1795 <option>norm=x</option> will set the TV norm of the DXR3 card without the need
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1796 for external tools like em8300setup. Valid norms are 5 = NTSC, 4 = PAL-60,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1797 3 = PAL. Special norms are 2 (auto-adjust using PAL/PAL-60) and 1 (auto-adjust
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1798 using PAL/NTSC) because they decide which norm to use by looking at the frame
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1799 rate of the movie. norm = 0 (default) does not change the current norm.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1800 <option><replaceable>device</replaceable></option> = device number to use if
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1801 you have more than one em8300 card. Any of these options may be left out.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1802 <option>:prebuf:sync</option> seems to work great when playing MPEG-4 (DivX)
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1803 movies. People have reported problems using the prebuf option when playing
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1804 MPEG-1/2 files.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1805 You might want to try running without any options first, if you have sync
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1806 problems, or DVD subtitle problems, give <option>:sync</option> a try.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1807 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1808 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1809
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1810 <varlistentry>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1811 <term><option>-ao oss:/dev/em8300_ma-<replaceable>X</replaceable></option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1812 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1813 For audio output, where <replaceable>X</replaceable> is the device number
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1814 (0 if one card).
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1815 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1816 </varlistentry>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1817
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1818 <varlistentry>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1819 <term><option>-af resample=<replaceable>xxxxx</replaceable></option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1820 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1821 The em8300 cannot play back samplerates lower than 44100Hz. If the sample
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1822 rate is below 44100Hz select either 44100Hz or 48000Hz depending on which
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1823 one matches closest. I.e. if the movie uses 22050Hz use 44100Hz as
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1824 44100 / 2 = 22050, if it is 24000Hz use 48000Hz as 48000 / 2 = 24000
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1825 and so on.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1826 This does not work with digital audio output (<option>-ac hwac3</option>).
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1827 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1828 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1829
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1830 <varlistentry>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1831 <term><option>-vf lavc</option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1832 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1833 To watch non-MPEG content on the em8300 (i.e. MPEG-4 (DivX) or RealVideo)
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1834 you have to specify an MPEG-1 video filter such as
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1835 <systemitem class="library">libavcodec</systemitem> (lavc).
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1836 See the man page for further info about <option>-vf lavc</option>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1837 Currently there is no way of setting the fps of the em8300 which means that
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1838 it is fixed to 30000/1001 fps.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1839 Because of this it is highly recommended that you use
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1840 <option>-vf lavc=<replaceable>quality</replaceable>:25</option>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1841 especially if you are using prebuffering. Then why 25 and not 30000/1001?
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1842 Well, the thing is that when you use 30000/1001 the picture becomes a bit
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1843 jumpy.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1844 The reason for this is unknown to us.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1845 If you set it to somewhere between 25 and 27 the picture becomes stable.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1846 For now all we can do is accept this for a fact.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1847 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1848 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1849
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1850 <varlistentry>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1851 <term><option>-vf expand=-1:-1:-1:-1:1</option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1852 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1853 Although the DXR3 driver can put some OSD onto the MPEG-1/2/4 video, it has
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1854 much lower quality than <application>MPlayer</application>'s traditional OSD,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1855 and has several refresh problems as well. The command line above will firstly
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1856 convert the input video to MPEG-4 (this is mandatory, sorry), then apply an
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1857 expand filter which won't expand anything (-1: default), but apply the normal
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1858 OSD onto the picture (that's what the "1" at the end does).
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1859 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1860 </varlistentry>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1861
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1862 <varlistentry>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1863 <term><option>-ac hwac3</option></term>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1864 <listitem><para>
24036
698aa9b7a44c AC3 --> AC-3
diego
parents: 23574
diff changeset
1865 The em8300 supports playing back AC-3 audio (surround sound) through the
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1866 digital audio output of the card. See the <option>-ao oss</option> option
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1867 above, it must be used to specify the DXR3's output instead of a sound card.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1868 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1869 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1870 </variablelist>
13912
c66b1514ce5b Remove pointless devices section, make video and audio top level sections.
diego
parents: 13908
diff changeset
1871 </sect2>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1872 </sect1>
13912
c66b1514ce5b Remove pointless devices section, make video and audio top level sections.
diego
parents: 13908
diff changeset
1873
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1874
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1875 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1876
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1877
31752
1038d2eacd63 Drop one level of pointless subsectioning.
diego
parents: 31751
diff changeset
1878 <sect1 id="zr">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1879 <title>Zr</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1880
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1881 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1882 This is a display-driver (<option>-vo zr</option>) for a number of MJPEG
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1883 capture/playback cards (tested for DC10+ and Buz, and it should work for the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1884 LML33, the DC10). The driver works by encoding the frame to JPEG and then
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
1885 sending it to the card. For the JPEG encoding
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
1886 <systemitem class="library">libavcodec</systemitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1887 is used, and required. With the special <emphasis>cinerama</emphasis> mode,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1888 you can watch movies in true wide screen provided that you have two beamers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1889 and two MJPEG cards. Depending on resolution and quality settings, this driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1890 may require a lot of CPU power, remember to specify <option>-framedrop</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1891 if your machine is too slow. Note: My AMD K6-2 350MHz is (with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1892 <option>-framedrop</option>) quite adequate for watching VCD sized material and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1893 downscaled movies.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1894 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1895
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1896 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1897 This driver talks to the kernel driver available at
13977
7895a1b73828 URL updates
diego
parents: 13961
diff changeset
1898 <ulink url="http://mjpeg.sf.net"/>, so
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1899 you must get it working first. The presence of an MJPEG card is autodetected by
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1900 the <filename>configure</filename> script, if autodetection fails, force
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1901 detection with
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1902 <screen>./configure --enable-zr</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1903 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1904
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1905 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1906 The output can be controlled by several options, a long description of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1907 options can be found in the man page, a short list of options can be viewed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1908 by running
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1909 <screen>mplayer -zrhelp</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1910 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1911
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1912 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1913 Things like scaling and the OSD (on screen display) are not handled by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1914 this driver but can be done using the video filters. For example, suppose
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1915 that you have a movie with a resolution of 512x272 and you want to view it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1916 fullscreen on your DC10+. There are three main possibilities, you may scale
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1917 the movie to a width of 768, 384 or 192. For performance and quality reasons,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1918 I would choose to scale the movie to 384x204 using the fast bilinear software
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1919 scaler. The command line is
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1920 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1921 mplayer -vo zr -sws 0 -vf scale=384:204 <replaceable>movie.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1922 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1923 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1924
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1925 <para>
11214
c292ff78614f Filters should be in <option> tags.
wight
parents: 11136
diff changeset
1926 Cropping can be done by the <option>crop</option> filter and by this
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1927 driver itself. Suppose that a movie is too wide for display on your Buz and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1928 that you want to use <option>-zrcrop</option> to make the movie less wide,
9784
286ac03ce5c5 Typos, noticed by Roberto Togni <r_togni@libero.it>.
diego
parents: 9683
diff changeset
1929 then you would issue the following command
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1930 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1931 mplayer -vo zr -zrcrop 720x320+80+0 <replaceable>benhur.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1932 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1933 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1934
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1935 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1936 if you want to use the <option>crop</option> filter, you would do
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1937 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1938 mplayer -vo zr -vf crop=720:320:80:0 <replaceable>benhur.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1939 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1940 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1941
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1942 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1943 Extra occurrences of <option>-zrcrop</option> invoke
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1944 <emphasis>cinerama</emphasis> mode, i.e. you can distribute the movie over
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 26953
diff changeset
1945 several TVs or beamers to create a larger screen.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1946 Suppose you have two beamers. The left one is connected to your
11359
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
1947 Buz at <filename>/dev/video1</filename> and the right one is connected to
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
1948 your DC10+ at <filename>/dev/video0</filename>. The movie has a resolution
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1949 of 704x288. Suppose also that you want the right beamer in black and white and
10975
96cd8d4e98d4 Typos and some confusion noticed by Lukasz frogu Proszek <l_j_p@wp.pl>.
diego
parents: 10971
diff changeset
1950 that the left beamer should have JPEG frames at quality 10, then you would
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1951 issue the following command
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1952 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1953 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1954 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 \
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 30776
diff changeset
1955 <replaceable>movie.avi</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1956 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1957 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1958
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1959 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1960 You see that the options appearing before the second <option>-zrcrop</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1961 only apply to the DC10+ and that the options after the second
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1962 <option>-zrcrop</option> apply to the Buz. The maximum number of MJPEG cards
9784
286ac03ce5c5 Typos, noticed by Roberto Togni <r_togni@libero.it>.
diego
parents: 9683
diff changeset
1963 participating in <emphasis>cinerama</emphasis> is four, so you can build a
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1964 2x2 vidiwall.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1965 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1966
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1967 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1968 Finally an important remark: Do not start or stop XawTV on the playback device
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1969 during playback, it will crash your computer. It is, however, fine to
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1970 <emphasis role="bold">FIRST</emphasis> start XawTV,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1971 <emphasis role="bold">THEN</emphasis> start <application>MPlayer</application>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
1972 wait for <application>MPlayer</application>
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1973 to finish and <emphasis role="bold">THEN</emphasis> stop XawTV.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1974 </para>
31752
1038d2eacd63 Drop one level of pointless subsectioning.
diego
parents: 31751
diff changeset
1975 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1976
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1977 <!-- ********** -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1978
31752
1038d2eacd63 Drop one level of pointless subsectioning.
diego
parents: 31751
diff changeset
1979 <sect1 id="blinkenlights">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1980 <title>Blinkenlights</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1981
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1982 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1983 This driver is capable of playback using the Blinkenlights UDP protocol. If you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1984 don't know what <ulink url="http://www.blinkenlights.de/">Blinkenlights</ulink>
12401
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1985 or its successor
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1986 <ulink url="http://www.blinkenlights.de/arcade/">Arcade</ulink>
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1987 are, find it out. Although this is most probably the least used video output
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1988 driver, without a doubt it is the coolest <application>MPlayer</application>
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1989 has to offer. Just watch some of the
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1990 <ulink url="http://www.blinkenlights.de/video.en.html">Blinkenlights documentation videos</ulink>.
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1991 On the Arcade video you can see the Blinkenlights output driver in
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
1992 action at 00:07:50.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1993 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
1994 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1995
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1996
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1997 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1998
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
1999
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2000 <sect1 id="tvout">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2001 <title>TV-out support</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2002
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2003 <sect2 id="tvout-mga-g400">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2004 <title>Matrox G400 cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2005
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2006 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2007 Under Linux you have two methods to get G400 TV out working:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2008 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2009
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2010 <important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2011 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2012 for Matrox G450/G550 TV-out instructions, please see the next section!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2013 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2014 </important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2015
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2016 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2017 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2018 <term>XFree86</term>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2019 <listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2020 <para>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2021 Using the driver and the HAL module, available from the <ulink
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2022 url="http://www.matrox.com">Matrox site</ulink>. This will give you X
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2023 on the TV.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2024 </para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2025 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2026 <emphasis role="bold">This method doesn't give you accelerated playback</emphasis>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2027 as under Windows! The second head has only YUV framebuffer, the
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2028 <emphasis>BES</emphasis> (Back End Scaler, the YUV scaler on
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2029 G200/G400/G450/G550 cards) doesn't work on it! The windows driver somehow
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2030 workarounds this, probably by using the 3D engine to zoom, and the YUV
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2031 framebuffer to display the zoomed image. If you really want to use X, use
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2032 the <option>-vo x11 -fs -zoom</option> options, but it will be
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2033 <emphasis role="bold">SLOW</emphasis>, and has
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2034 <emphasis role="bold">Macrovision</emphasis> copy protection enabled
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2035 (you can "workaround" Macrovision using this
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 26953
diff changeset
2036 <ulink url="http://avifile.sf.net/mgamacro.pl">Perl script</ulink>).
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2037 </para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2038 </listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2039 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2040 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2041 <term>Framebuffer</term>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2042 <listitem>
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2043 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2044 Using the <emphasis role="bold">matroxfb modules</emphasis> in the 2.4
25744
7b9e015bca91 typo fix
diego
parents: 24989
diff changeset
2045 kernels. 2.2 kernels don't have the TV-out feature in them, thus unusable
26951
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2046 for this. You have to enable ALL matroxfb-specific features during
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2047 compilation (except MultiHead), and compile them into
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2048 <emphasis role="bold">modules</emphasis>!
26951
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2049 You'll also need to enable I2C and put the tools
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2050 <application>matroxset</application>, <application>fbset</application>
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2051 and <application>con2fb</application> in your path.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2052 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2053
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2054 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2055 <step><para>
26951
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2056 Then load the <systemitem>matroxfb_Ti3026, matroxfb_maven, i2c-matroxfb,
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2057 matroxfb_crtc2</systemitem> modules into your kernel. Your text-mode
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2058 console will enter into framebuffer mode (no way back!).
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2059 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2060 <step><para>
26951
3d468a9bb80b Fix some typos and update the Matrox TV output section. The relevant
diego
parents: 26882
diff changeset
2061 Next, set up your monitor and TV to your liking using the above tools.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2062 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2063 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2064 Yoh. Next task is to make the cursor on tty1 (or whatever) to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2065 disappear, and turn off screen blanking. Execute the following
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2066 commands:
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12814
diff changeset
2067
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2068 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2069 echo -e '\033[?25l'
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2070 setterm -blank 0<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2071 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2072 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2073 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2074 setterm -cursor off
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2075 setterm -blank 0<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2076 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2077
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2078 You possibly want to put the above into a script, and also clear the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2079 screen. To turn the cursor back:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2080 <screen>echo -e '\033[?25h'</screen> or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2081 <screen>setterm -cursor on</screen>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2082 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2083 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2084 Yeah kewl. Start movie playing with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2085 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2086 mplayer -vo mga -fs -screenw 640 -screenh 512 <replaceable>filename</replaceable><!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2087 --></screen>
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12814
diff changeset
2088
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2089 (If you use X, now change to matroxfb with for example
21720
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
2090 <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>F1</keycap></keycombo>.)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2091 Change <literal>640</literal> and <literal>512</literal> if you set
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2092 the resolution to other...
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2093 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2094 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2095 <emphasis role="bold">Enjoy the ultra-fast ultra-featured Matrox TV
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2096 output (better than Xv)!</emphasis>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2097 </para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2098 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2099 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2100 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2101 </variablelist>
26952
00a4e88391ff Move Matrox TV-out cable instructions into their own section.
diego
parents: 26951
diff changeset
2102 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2103
26952
00a4e88391ff Move Matrox TV-out cable instructions into their own section.
diego
parents: 26951
diff changeset
2104 <!-- ********** -->
00a4e88391ff Move Matrox TV-out cable instructions into their own section.
diego
parents: 26951
diff changeset
2105
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2106 <sect2 id="tv-out_matrox_g450">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2107 <title>Matrox G450/G550 cards</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2108
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2109 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2110 TV output support for these cards has only been recently introduced, and is
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2111 not yet in the mainstream kernel.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2112 Currently the <emphasis role="bold">mga_vid</emphasis> module can't be used
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2113 AFAIK, because the G450/G550 driver works only in one configuration: the first
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2114 CRTC chip (with much more features) on the first display (on monitor),
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2115 and the second CRTC (no <emphasis role="bold">BES</emphasis> - for
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2116 explanation on BES, please see the G400 section above) on TV. So you can only
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2117 use <application>MPlayer</application>'s <emphasis>fbdev</emphasis> output
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2118 driver at the present.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2119 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2120
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2121 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2122 The first CRTC can't be routed to the second head currently. The author of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2123 kernel matroxfb driver - Petr Vandrovec - will maybe make support for this, by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2124 displaying the first CRTC's output onto both of the heads at once, as currently
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2125 recommended for G400, see the section above.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2126 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2127
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2128 <para>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2129 The necessary kernel patch and the detailed HOWTO is downloadable from
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9784
diff changeset
2130 <ulink url="http://www.bglug.ca/matrox_tvout/"/>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2131 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2132 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2133
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2134 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2135
26953
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2136 <sect2 id="tv-out_matrox_cable">
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2137 <title>Building a Matrox TV-out cable</title>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2138 <para>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2139 No one takes any responsibility, nor guarantee for any damage caused
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2140 by this documentation.
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2141 </para>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2142
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2143 <formalpara><title>Cable for G400</title>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2144 <para>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2145 The CRTC2 connector's fourth pin is the composite video signal. The
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2146 ground are the sixth, seventh and eighth pins. (info contributed
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2147 from Balázs Rácz)
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2148 </para>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2149 </formalpara>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2150
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2151 <formalpara><title>Cable for G450</title>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2152 <para>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2153 The CRTC2 connector's first pin is the composite video signal. The
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2154 ground are the fifth, sixth, seventh, and fifteenth (5, 6, 7, 15)
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2155 pins. (info contributed from Balázs Kerekes)
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2156 </para>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2157 </formalpara>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2158 </sect2>
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2159
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2160 <!-- ********** -->
eb80f13e93c1 Move Matrox TV-out cable section to the end of the Matrox chapter.
diego
parents: 26952
diff changeset
2161
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2162 <sect2 id="tvout-ati">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2163 <title>ATI cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2164
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2165 <formalpara><title>PREAMBLE</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2166 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2167 Currently ATI doesn't want to support any of its TV-out chips under Linux,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2168 because of their licensed Macrovision technology.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2169 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2170 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2171
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2172 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2173 <title>ATI CARDS TV-OUT STATUS ON LINUX</title>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2174 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2175 <emphasis role="bold">ATI Mach64</emphasis>:
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2176 supported by <ulink url="http://gatos.sf.net">GATOS</ulink>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2177 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2178 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2179 <emphasis role="bold">ASIC Radeon VIVO</emphasis>:
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2180 supported by <ulink url="http://gatos.sf.net">GATOS</ulink>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2181 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2182 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2183 <emphasis role="bold">Radeon</emphasis> and <emphasis role="bold">Rage128</emphasis>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2184 supported by <application>MPlayer</application>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2185 Check <link linkend="vesa">VESA driver</link> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2186 <link linkend="vidix">VIDIX</link> sections.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2187 </para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2188 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2189 <emphasis role="bold">Rage Mobility P/M, Radeon, Rage 128, Mobility M3/M4</emphasis>:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2190 supported by
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2191 <ulink url="http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/">atitvout</ulink>.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2192 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2193 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2194
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2195 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2196 On other cards, just use the <link linkend="vesa">VESA</link> driver,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2197 without VIDIX. Powerful CPU is needed, though.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2198 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2199
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2200 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2201 Only thing you need to do - <emphasis role="bold">Have the TV connector
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2202 plugged in before booting your PC</emphasis> since video BIOS initializes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2203 itself only once during POST procedure.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2204 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2205 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2206
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2207 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2208
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2209 <sect2 id="tvout-nvidia">
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2210 <title>nVidia</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2211
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2212 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2213 First, you MUST download the closed-source drivers from
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2214 <ulink url="http://nvidia.com"/>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2215 I will not describe the installation and configuration process because it does
b210a229fbcb General reformatting round:
torinthiel
parents: 20863
diff changeset
2216 not cover the scope of this documentation.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2217 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2218
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2219 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2220 After XFree86, XVideo, and 3D acceleration is properly working, edit your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2221 card's Device section in the <filename>XF86Config</filename> file, according
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2222 to the following example (adapt for your card/TV):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2223
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2224 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2225 Section "Device"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2226 Identifier "GeForce"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2227 VendorName "ASUS"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2228 BoardName "nVidia GeForce2/MX 400"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2229 Driver "nvidia"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2230 #Option "NvAGP" "1"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2231 Option "NoLogo"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2232 Option "CursorShadow" "on"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2233
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2234 Option "TwinView"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2235 Option "TwinViewOrientation" "Clone"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2236 Option "MetaModes" "1024x768,640x480"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2237 Option "ConnectedMonitor" "CRT, TV"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2238 Option "TVStandard" "PAL-B"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2239 Option "TVOutFormat" "Composite"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2240 EndSection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2241 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2242 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2243
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2244 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2245 Of course the important thing is the TwinView part.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2246 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2247 </sect2>
11264
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2248
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2249 <!-- ********** -->
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2250
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2251 <sect2 id="tvout-neomagic">
13189
diego
parents: 13087
diff changeset
2252 <title>NeoMagic</title>
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2253
11264
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2254 <para>
13189
diego
parents: 13087
diff changeset
2255 The NeoMagic chip is found in a variety of laptops, some of them are equipped
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2256 with a simple analog TV encoder, some have a more advanced one.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2257 <itemizedlist>
17559
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2258 <listitem><para>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2259 <emphasis role="bold">Analog encoder chip</emphasis>:
17559
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2260 It has been reported that reliable TV out can be obtained by using
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2261 <option>-vo fbdev</option> or <option>-vo fbdev2</option>.
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2262 You need to have vesafb compiled in your kernel and pass
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2263 the following parameters on the kernel command line:
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2264 <option>append="video=vesafb:ywrap,mtrr" vga=791</option>.
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2265 You should start <application>X</application>, then switch to console mode
21720
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
2266 with e.g.
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
2267 <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>F1</keycap></keycombo>.
17559
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2268 If you fail to start <application>X</application> before running
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2269 <application>MPlayer</application> from the console, the video
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2270 becomes slow and choppy (explanations are welcome).
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2271 Login to your console, then initiate the following command:
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2272
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2273 <screen>clear; mplayer -vo fbdev -zoom -cache 8192 dvd://</screen>
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2274
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2275 Now you should see the movie running in console mode filling up about
21720
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
2276 half your laptop's LCD screen. To switch to TV hit
a751ed5e3aeb Add <keycombo> markup for key combinations
torinthiel
parents: 21596
diff changeset
2277 <keycombo><keycap>Fn</keycap><keycap>F5</keycap></keycombo> three times.
17559
4ae8c0169017 expanded and improved NeoMagic TV-out section
diego
parents: 17496
diff changeset
2278 Tested on a Tecra 8000, 2.6.15 kernel with vesafb, ALSA v1.0.10.
20862
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2279 </para></listitem>
c542d92ea51b [cosmetics]
torinthiel
parents: 20857
diff changeset
2280 <listitem>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2281 <para>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2282 <emphasis role="bold">Chrontel 70xx encoder chip</emphasis>:
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2283 Found in IBM Thinkpad 390E and possibly other Thinkpads or notebooks.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2284 </para><para>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2285 You must use <option>-vo vesa:neotv_pal</option> for PAL or
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2286 <option>-vo vesa:neotv_ntsc</option> for NTSC.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2287 It will provide TV output function in the following 16 bpp and 8 bpp modes:
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2288 </para>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2289 <itemizedlist>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2290 <listitem><para>NTSC 320x240, 640x480 and maybe 800x600 too.</para></listitem>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2291 <listitem><para>PAL 320x240, 400x300, 640x480, 800x600.</para></listitem>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2292 </itemizedlist>
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2293 <para>Mode 512x384 is not supported in BIOS. You must scale the image
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2294 to a different resolution to activate TV out. If you can see an image on the
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2295 screen in 640x480 or in 800x600 but not in 320x240 or other smaller
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2296 resolution you need to replace two tables in <filename>vbelib.c</filename>.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2297 See the vbeSetTV function for details. Please contact the author in this case.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2298 </para>
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2299 <para>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2300 Known issues: VESA-only, no other controls such as brightness, contrast,
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2301 blacklevel, flickfilter are implemented.
21725
e4cd9d683286 Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents: 21720
diff changeset
2302 </para>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2303 </listitem>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2304 </itemizedlist>
11264
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2305 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2306 </sect2>
13912
c66b1514ce5b Remove pointless devices section, make video and audio top level sections.
diego
parents: 13908
diff changeset
2307 </sect1>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2308
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 15894
diff changeset
2309 </chapter>