~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to DOCS/xml/en/video.xml

  • Committer: William Grant
  • Date: 2007-02-03 03:16:07 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: william.grant@ubuntu.org.au-20070203031607-08gc2ompbz6spt9i
Update to 1.0rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="iso-8859-1"?>
2
 
<!-- $Revision: 18650 $ -->
 
2
<!-- $Revision: 20054 $ -->
3
3
<chapter id="video">
4
4
<title>Video output devices</title>
5
5
 
212
212
<title>nVidia cards</title>
213
213
 
214
214
<para>
215
 
nVidia isn't always a very good choice under Linux (according to nVidia, this
216
 
is <link linkend="nvidia-opinions">not true</link>)... XFree86's
 
215
nVidia isn't always a very good choice under Linux ... XFree86's
217
216
open-source driver supports most of these cards, but for some cases, you'll
218
217
have to use the binary closed-source nVidia driver, available at
219
218
<ulink url="http://www.nvidia.com/object/linux.html">nVidia's web site</ulink>.
633
632
present) black bar.
634
633
</para>
635
634
 
636
 
<variablelist>
637
 
<title>There are several command line switches for SDL:</title>
638
 
<varlistentry>
639
 
  <term><option>-vo sdl:driver=<replaceable>name</replaceable></option></term>
640
 
  <listitem><simpara>
641
 
    specifies SDL video driver to use (i.e. <literal>aalib</literal>,
642
 
    <literal>dga</literal>, <literal>x11</literal>)
643
 
  </simpara></listitem>
644
 
</varlistentry>
645
 
<varlistentry>
646
 
  <term><option>-ao sdl:<replaceable>name</replaceable></option></term>
647
 
  <listitem><simpara>
648
 
    specifies SDL audio driver to use (i.e. <literal>dsp</literal>,
649
 
    <literal>esd</literal>, <literal>artsc</literal>)
650
 
  </simpara></listitem>
651
 
</varlistentry>
652
 
<varlistentry>
653
 
  <term><option>-noxv</option></term>
654
 
  <listitem><simpara>
655
 
    disables XVideo hardware acceleration
656
 
  </simpara></listitem>
657
 
</varlistentry>
658
 
<varlistentry>
659
 
  <term><option>-forcexv</option></term>
660
 
  <listitem><simpara>
661
 
    tries to force XVideo acceleration
662
 
  </simpara></listitem>
663
 
</varlistentry>
664
 
</variablelist>
665
 
 
666
 
<table>
667
 
<title>SDL only keys</title>
668
 
<tgroup cols="2">
669
 
<thead>
670
 
<row><entry>Key</entry><entry>Action</entry></row>
671
 
</thead>
672
 
<tbody>
673
 
<row><entry><keycap>c</keycap></entry><entry>
674
 
    cycles available fullscreen modes
675
 
    </entry></row>
676
 
<row><entry><keycap>n</keycap></entry><entry>
677
 
    changes back to normal mode
678
 
    </entry></row>
679
 
</tbody>
680
 
</tgroup>
681
 
</table>
682
 
 
683
 
<itemizedlist>
684
 
<title>Known bugs:</title>
685
 
<listitem><simpara>
686
 
  Keys pressed under sdl:driver=aalib console driver repeat forever. (use
687
 
  <option>-vo aa</option>!) It's bug in SDL, I can't change it (tested with
688
 
  SDL 1.2.1).
689
 
  </simpara></listitem>
690
 
<listitem><simpara>
691
 
  DO NOT USE SDL with GUI! It won't work as it should.
692
 
  </simpara></listitem>
693
 
</itemizedlist>
694
635
</sect2>
695
636
 
696
637
 
872
813
 
873
814
<para>
874
815
This section is about the Matrox G200/G400/G450/G550 BES (Back-End Scaler)
875
 
support, the mga_vid kernel driver. It's actively developed by A'rpi, and
876
 
it has hardware VSYNC support with triple buffering. It works on both
 
816
support, the <systemitem>mga_vid</systemitem> kernel driver.
 
817
It has hardware VSYNC support with triple buffering. It works on both
877
818
framebuffer console and under X.
878
819
</para>
879
820
 
1503
1444
</para>
1504
1445
 
1505
1446
<para>
1506
 
VIDIX is new technology and it's extremely possible that on your
1507
 
system it won't work. In this case only solution for you
1508
 
it's port it (mainly libdha). But there is hope that it will work on those
1509
 
systems where X11 does.
1510
 
</para>
1511
 
 
1512
 
<para>
1513
1447
Since VIDIX requires direct hardware access you can either run it as root
1514
1448
or set the SUID bit on the <application>MPlayer</application> binary
1515
1449
(<emphasis role="bold">Warning: This is a security risk!</emphasis>).
1597
1531
 
1598
1532
<sect3 id="vidix-nvidia">
1599
1533
<title>nVidia cards</title>
1600
 
<para>
1601
 
There's a relatively new nVidia driver out there, it's known to work on Riva
1602
 
128, TNT and GeForce2 chipsets, also others have been reported working.
1603
 
</para>
1604
 
 
1605
 
<itemizedlist spacing="compact">
1606
 
<title>LIMITATIONS</title>
1607
 
<listitem><para>
1608
 
  It's recommended to use the binary nVidia drivers for X before using this
1609
 
  VIDIX driver, because some of the registers which need to be initialized
1610
 
  haven't been discovered yet, so it will probably fail with the Open Source
1611
 
  XFree86 <filename>nv.o</filename> driver.
1612
 
  </para></listitem>
1613
 
<listitem><para>
1614
 
  Currently only codecs capable of UYVY colorspace output
1615
 
  can work in conjunction with this driver. Unfortunately, this excludes
1616
 
  every single decoder from the
1617
 
  <systemitem class="library">libavcodec</systemitem> family. This leaves
1618
 
  us with the following usable popular codecs:
1619
 
  <systemitem>cvid, divxds, xvid, divx4, wmv7, wmv8</systemitem> and some
1620
 
  others. Please note that this is only
1621
 
  a temporal inconvenience. The usage syntax is as follows:
1622
 
  <screen>mplayer -vf format=uyvy -vc divxds <replaceable>divx3file.avi</replaceable> </screen>
1623
 
  </para></listitem>
1624
 
</itemizedlist>
1625
1534
 
1626
1535
<para>
1627
1536
  An unique feature of the nvidia_vid driver is its ability to display video on
1628
1537
  <emphasis role="bold">plain, pure, text-only console</emphasis> - with no
1629
1538
  framebuffer or X magic whatsoever. For this purpose, we'll have to use the
1630
1539
  <option>cvidix</option> video output, as the following example shows:
1631
 
  <screen>mplayer -vf format=uyvy -vc divxds -vo cvidix <replaceable>example.avi</replaceable> </screen>
 
1540
  <screen>mplayer -vo cvidix <replaceable>example.avi</replaceable></screen>
1632
1541
</para>
1633
1542
 
1634
 
<para>
1635
 
Reports awaited!
1636
 
</para>
1637
1543
</sect3>
1638
1544
 
1639
1545
<sect3 id="vidix-sis">
1870
1776
  Other possible uses are: televideo pid, second audio track, etc.
1871
1777
</para>
1872
1778
 
 
1779
<para>
 
1780
  If <application>MPlayer</application> complains frequently about
 
1781
  <screen>Too many video/audio packets in the buffer</screen> or
 
1782
  if you notice a growing desynchronization between audio and
 
1783
  video try to use the libavformat MPEG-TS demuxer by adding
 
1784
  <option>-demuxer lavf -lavfdopts probesize=128</option>
 
1785
  to your command line.
 
1786
</para>
1873
1787
 
1874
1788
<para>
1875
1789
  To show the first of the channels present in your list, run
1898
1812
 
1899
1813
<para>
1900
1814
  To change channels press the <keycap>h</keycap> (next) and
1901
 
  <keycap>k</keycap> (previous) keys, or use the OSD menu (requires
1902
 
  a working <link linkend="subosd">OSD subsystem</link>).
 
1815
  <keycap>k</keycap> (previous) keys, or use the
 
1816
  <link linkend="osdmenu">OSD menu</link>.
1903
1817
</para>
1904
1818
 
1905
1819
<para>
1940
1854
<para>
1941
1855
If you have questions or want to hear feature announcements and take part in
1942
1856
discussions on this subject, join our
1943
 
<ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</ulink>
 
1857
<ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</ulink>
1944
1858
mailing list. Please remember that the list language is English.
1945
1859
</para>
1946
1860
</formalpara>
2452
2366
</sect2>
2453
2367
 
2454
2368
 
2455
 
<sect2 id="tvout-voodoo">
2456
 
<title>Voodoo 3</title>
2457
 
<para>
2458
 
Check <ulink url="http://www.iki.fi/too/tvout-voodoo3-3000-xfree">this URL</ulink>.
2459
 
</para>
2460
 
</sect2>
2461
 
 
2462
2369
<sect2 id="tvout-nvidia">
2463
2370
<title>nVidia</title>
2464
2371
<para>