~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to DOCS/HTML/cs/output-trad.html

  • 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
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>8.2. Video v�stupy pro tradi&#269;n� video karty</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Multimedi�ln� p&#345;ehr�va&#269;"><link rel="up" href="video.html" title="Kapitola 8. V�stupn� video za&#345;�zen�/rozhran�"><link rel="prev" href="mtrr.html" title="8.1. Nastaven� MTRR"><link rel="next" href="mpeg_decoders.html" title="8.3. MPEG dekod�ry"><link rel="preface" href="howtoread.html" title="Jak &#269;�st tuto  dokumentaci"><link rel="chapter" href="intro.html" title="Kapitola 1. P&#345;edstaven�"><link rel="chapter" href="install.html" title="Kapitola 2. Instalace"><link rel="chapter" href="usage.html" title="Kapitola 3. Pou&#382;it�"><link rel="chapter" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it� CD/DVD"><link rel="chapter" href="faq.html" title="Kapitola 5. &#268;asto Kladen� Dotazy (FAQ)"><link rel="chapter" href="containers.html" title="Kapitola 6. Nosn� form�ty (Containers)"><link rel="chapter" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="chapter" href="video.html" title="Kapitola 8. V�stupn� video za&#345;�zen�/rozhran�"><link rel="chapter" href="audio.html" title="Kapitola 9. V�stupn� zvukov� za&#345;�zen�"><link rel="chapter" href="tv.html" title="Kapitola 10. TV"><link rel="chapter" href="ports.html" title="Kapitola 11. Porty"><link rel="chapter" href="mencoder.html" title="Kapitola 12. Z�kladn� pou&#382;it� MEncoderu"><link rel="chapter" href="encoding-guide.html" title="Kapitola 13. Enk�dov�n� s MEncoderem"><link rel="appendix" href="mailinglists.html" title="P&#345;�loha A. E-mailov� konference"><link rel="appendix" href="bugreports.html" title="P&#345;�loha B. Jak hl�sit chyby"><link rel="appendix" href="bugs.html" title="P&#345;�loha C. Zn�m� chyby"><link rel="appendix" href="skin.html" title="P&#345;�loha D. Form�t skin&#367; MPlayeru"><link rel="appendix" href="users-vs-dev.html" title="P&#345;�loha E. N�&#345;ky v�voj�&#345;&#367;"><link rel="subsection" href="output-trad.html#xv" title="8.2.1. Xv"><link rel="subsection" href="output-trad.html#dga" title="8.2.2. DGA"><link rel="subsection" href="output-trad.html#sdl" title="8.2.3. SDL"><link rel="subsection" href="output-trad.html#svgalib" title="8.2.4. SVGAlib"><link rel="subsection" href="output-trad.html#fbdev" title="8.2.5. V�stup na Framebuffer (FBdev)"><link rel="subsection" href="output-trad.html#mga_vid" title="8.2.6. Matrox framebuffer (mga_vid)"><link rel="subsection" href="output-trad.html#tdfxfb" title="8.2.7. Podpora 3Dfx YUV"><link rel="subsection" href="output-trad.html#opengl" title="8.2.8. Rozhran� OpenGL"><link rel="subsection" href="output-trad.html#aalib" title="8.2.9. AAlib - zobrazov�n� v textov�m re&#382;imu"><link rel="subsection" href="output-trad.html#caca" title="8.2.10. libcaca - Barevn� ASCII Art knihovna"><link rel="subsection" href="output-trad.html#vesa" title="8.2.11. VESA - v�stup do VESA BIOSu"><link rel="subsection" href="output-trad.html#x11" title="8.2.12. X11"><link rel="subsection" href="output-trad.html#vidix" title="8.2.13. VIDIX"><link rel="subsection" href="output-trad.html#directfb" title="8.2.14. DirectFB"><link rel="subsection" href="output-trad.html#dfbmga" title="8.2.15. DirectFB/Matrox (dfbmga)"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">8.2. Video v�stupy pro tradi&#269;n� video karty</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="mtrr.html">P&#345;edch�zej�c�</a>�</td><th width="60%" align="center">Kapitola 8. V�stupn� video za&#345;�zen�/rozhran�</th><td width="20%" align="right">�<a accesskey="n" href="mpeg_decoders.html">Dal&#353;�</a></td></tr></table><hr></div><div class="sect1" lang="cs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="output-trad"></a>8.2. Video v�stupy pro tradi&#269;n� video karty</h2></div></div></div><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="xv"></a>8.2.1. Xv</h3></div></div></div><p>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>8.2. Video v�stupy pro tradi&#269;n� video karty</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Multimedi�ln� p&#345;ehr�va&#269;"><link rel="up" href="video.html" title="Kapitola 8. V�stupn� video za&#345;�zen�/rozhran�"><link rel="prev" href="mtrr.html" title="8.1. Nastaven� MTRR"><link rel="next" href="mpeg_decoders.html" title="8.3. MPEG dekod�ry"><link rel="preface" href="howtoread.html" title="Jak &#269;�st tuto  dokumentaci"><link rel="chapter" href="intro.html" title="Kapitola 1. P&#345;edstaven�"><link rel="chapter" href="install.html" title="Kapitola 2. Instalace"><link rel="chapter" href="usage.html" title="Kapitola 3. Pou&#382;it�"><link rel="chapter" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it� CD/DVD"><link rel="chapter" href="faq.html" title="Kapitola 5. &#268;asto Kladen� Dotazy (FAQ)"><link rel="chapter" href="containers.html" title="Kapitola 6. Nosn� form�ty (Containers)"><link rel="chapter" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="chapter" href="video.html" title="Kapitola 8. V�stupn� video za&#345;�zen�/rozhran�"><link rel="chapter" href="audio.html" title="Kapitola 9. V�stupn� zvukov� za&#345;�zen�"><link rel="chapter" href="tv.html" title="Kapitola 10. TV"><link rel="chapter" href="radio.html" title="Kapitola 11. R�dio"><link rel="chapter" href="ports.html" title="Kapitola 12. Porty"><link rel="chapter" href="mencoder.html" title="Kapitola 13. Z�kladn� pou&#382;it� MEncoderu"><link rel="chapter" href="encoding-guide.html" title="Kapitola 14. Enk�dov�n� s MEncoderem"><link rel="appendix" href="bugreports.html" title="P&#345;�loha A. Jak hl�sit chyby"><link rel="appendix" href="bugs.html" title="P&#345;�loha B. Zn�m� chyby"><link rel="appendix" href="skin.html" title="P&#345;�loha C. Form�t skin&#367; MPlayeru"><link rel="subsection" href="output-trad.html#xv" title="8.2.1. Xv"><link rel="subsection" href="output-trad.html#dga" title="8.2.2. DGA"><link rel="subsection" href="output-trad.html#sdl" title="8.2.3. SDL"><link rel="subsection" href="output-trad.html#svgalib" title="8.2.4. SVGAlib"><link rel="subsection" href="output-trad.html#fbdev" title="8.2.5. V�stup na Framebuffer (FBdev)"><link rel="subsection" href="output-trad.html#mga_vid" title="8.2.6. Matrox framebuffer (mga_vid)"><link rel="subsection" href="output-trad.html#tdfxfb" title="8.2.7. Podpora 3Dfx YUV"><link rel="subsection" href="output-trad.html#opengl" title="8.2.8. Rozhran� OpenGL"><link rel="subsection" href="output-trad.html#aalib" title="8.2.9. AAlib - zobrazov�n� v textov�m re&#382;imu"><link rel="subsection" href="output-trad.html#caca" title="8.2.10. libcaca - Barevn� ASCII Art knihovna"><link rel="subsection" href="output-trad.html#vesa" title="8.2.11. VESA - v�stup do VESA BIOSu"><link rel="subsection" href="output-trad.html#x11" title="8.2.12. X11"><link rel="subsection" href="output-trad.html#vidix" title="8.2.13. VIDIX"><link rel="subsection" href="output-trad.html#directfb" title="8.2.14. DirectFB"><link rel="subsection" href="output-trad.html#dfbmga" title="8.2.15. DirectFB/Matrox (dfbmga)"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">8.2. Video v�stupy pro tradi&#269;n� video karty</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="mtrr.html">P&#345;edch�zej�c�</a>�</td><th width="60%" align="center">Kapitola 8. V�stupn� video za&#345;�zen�/rozhran�</th><td width="20%" align="right">�<a accesskey="n" href="mpeg_decoders.html">Dal&#353;�</a></td></tr></table><hr></div><div class="sect1" lang="cs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="output-trad"></a>8.2. Video v�stupy pro tradi&#269;n� video karty</h2></div></div></div><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="xv"></a>8.2.1. Xv</h3></div></div></div><p>
2
2
Pod XFree86 4.0.2, nebo nov&#283;j&#353;�m, m&#367;&#382;ete pou&#382;�t hardwarov� YUV rutiny karty
3
3
pomoc� roz&#353;�&#345;en� XVideo. P&#345;esn&#283; toto pou&#382;�v� volba
4
4
'<tt class="option">-vo xv</tt>'. Toto rozhran� tak� podporuje nastavov�n�
73
73
S3 Savage3D by m&#283;ly fungovat dob&#345;e, ale pro Savage4 pou&#382;ijte XFree86 verze 4.0.3
74
74
nebo vy&#353;&#353;� (v p&#345;�pad&#283; probl�m&#367; s obrazem, zkuste 16bpp). Stejn&#283; ajko S3 Virge:
75
75
m� sice podporu xv, ale karta samotn� je velmi pomal�, tak&#382;e ji rad&#283;ji prodejte.
 
76
</p><p>
 
77
Pro karty S3 Virge nyn� existuje nativn� framebuffer ovlada&#269; podobn� 
 
78
tdfxfb. Nastavte si framebuffer (&#269;ili p&#345;idejte
 
79
"<tt class="option">vga=792 video=vesa:mtrr</tt>" do kernelu) a pou&#382;ijte
 
80
<tt class="option">-vo s3fb</tt> (<tt class="option">-vf yuy2</tt> a <tt class="option">-dr</tt>
 
81
rovn&#283;&#382; pom&#367;&#382;ou).
76
82
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Pozn�mka</h3><p>
77
83
Zat�m nen� jasn�, kter�m model&#367;m Savage chyb� podpora YV12 a konvertuj�
78
84
ovlada&#269;em (pomal�). Pokud podez&#345;�v�te kartu, opat&#345;ete si nov&#283;j&#353;� ovlada&#269;, nebo
79
85
slu&#353;n&#283; po&#382;�dejte v konferenci MPlayer-users o ovlada&#269; s MMX/3DNow!.
80
86
</p></div></div><div class="sect3" lang="cs"><div class="titlepage"><div><div><h4 class="title"><a name="nvidia"></a>8.2.1.3. Karty nVidia</h4></div></div></div><p>
81
 
nVidia nen� v&#382;dy pod Linuxem nejlep&#353;� volbou (podle nVidie to
82
 
<a href="nvidia-opinions.html" title="E.3. nVidia">nen� pravda</a>)... Open-source ovlada&#269;
 
87
nVidia nen� v&#382;dy pod Linuxem nejlep&#353;� volbou... Open-source ovlada&#269;
83
88
v XFree86 podporuje v&#283;t&#353;inu t&#283;chto karet, ale v n&#283;kter�ch p&#345;�padech mus�te
84
89
pou&#382;�t bin�rn� closed-source ovlada&#269; od nVidie, kter� je k dispozici na
85
90
<a href="http://www.nvidia.com/object/linux.html" target="_top">serveru nVidia</a>.
353
358
    vyp�n� hardwarovou akceleraci XVideo
354
359
  </dd><dt><span class="term"><tt class="option">-forcexv</tt></span></dt><dd>
355
360
    zkus� vynutit XVideo akceleraci
356
 
  </dd></dl></div><div class="table"><a name="id2565212"></a><p class="title"><b>Tabulka 8.1. Kl�vesy pouze pro SDL</b></p><table summary="Kl�vesy pouze pro SDL" border="1"><colgroup><col><col></colgroup><thead><tr><th>Kl�vesa</th><th>Akce</th></tr></thead><tbody><tr><td><span class="keycap"><b>c</b></span></td><td>
 
361
  </dd></dl></div><div class="table"><a name="id2563079"></a><p class="title"><b>Tabulka 8.1. Kl�vesy pouze pro SDL</b></p><table summary="Kl�vesy pouze pro SDL" border="1"><colgroup><col><col></colgroup><thead><tr><th>Kl�vesa</th><th>Akce</th></tr></thead><tbody><tr><td><span class="keycap"><b>c</b></span></td><td>
357
362
    cykluje dostupn� celoobrazovkov� re&#382;imy
358
363
    </td></tr><tr><td><span class="keycap"><b>n</b></span></td><td>
359
364
    zm&#283;n� re&#382;im zp&#283;t na norm�ln�
418
423
</p><p>
419
424
V�stup FBdev p&#345;ij�m� n&#283;kolik dodate&#269;n�ch voleb:
420
425
</p><div class="variablelist"><dl><dt><span class="term"><tt class="option">-fb</tt></span></dt><dd>
421
 
    nastav� za&#345;�zen� framebufferu k pou&#382;it� (<tt class="filename">/dev/fb0</tt>)
 
426
    nastav� za&#345;�zen� framebufferu k pou&#382;it� (v�choz�: <tt class="filename">/dev/fb0</tt>)
422
427
    </dd><dt><span class="term"><tt class="option">-fbmode</tt></span></dt><dd>
423
428
    n�zev re&#382;imu k pou&#382;it� (podle <tt class="filename">/etc/fb.modes</tt>)
424
429
    </dd><dt><span class="term"><tt class="option">-fbmodeconfig</tt></span></dt><dd>
425
 
    config soubor re&#382;im&#367; (v�choz� <tt class="filename">/etc/fb.modes</tt>)
 
430
    config soubor re&#382;im&#367; (v�choz�: <tt class="filename">/etc/fb.modes</tt>)
426
431
    </dd><dt><span class="term"><tt class="option">-monitor-hfreq</tt>, </span><span class="term"><tt class="option">-monitor-vfreq</tt>, </span><span class="term"><tt class="option">-monitor-dotclock</tt>, </span></dt><dd>
427
432
    <span class="bold"><strong>d&#367;le&#382;it�</strong></span> hodnoty, viz
428
433
    <tt class="filename">example.conf</tt>
459
464
<span class="application">MPlayer</span>u.
460
465
</p></div></div><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="mga_vid"></a>8.2.6. Matrox framebuffer (mga_vid)</h3></div></div></div><p>
461
466
Tato sekce je o podpo&#345;e Matrox G200/G400/G450/G550 BES (Back-End Scaler)
462
 
jadern�ho modulu mga_vid. Aktivn&#283; je vyv�jena A'rpim a m� hardwarovou
463
 
podporu VSYNC s trojitou vyrovn�vac� pam&#283;t�. Pracuje jak v konzoli, tak pod X.
 
467
jadern�ho modulu <code class="systemitem">mga_vid</code>.
 
468
M� hardwarovou podporu VSYNC s trojitou vyrovn�vac� pam&#283;t�.
 
469
Pracuje jak v konzoli, tak pod X.
464
470
</p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Varov�n�</h3><p>
465
471
Toto je pouze pro Linux! Na ne-Linuxech (testov�no na FreeBSD) m&#367;&#382;ete m�sto n&#283;j
466
472
pou&#382;�t <a href="output-trad.html#vidix" title="8.2.13. VIDIX">VIDIX</a>.
467
 
</p></div><div class="procedure"><a name="id2565779"></a><p class="title"><b>Instalace:</b></p><ol type="1"><li><p>
 
473
</p></div><div class="procedure"><a name="id2563651"></a><p class="title"><b>Instalace:</b></p><ol type="1"><li><p>
468
474
  Pokud jej chcete pou&#382;�t, nejd&#345;�ve mus�te sestavit
469
475
  <tt class="filename">mga_vid.o</tt>:
470
476
  </p><pre class="screen">
571
577
    <code class="literal">5</code> (speci�ln�).
572
578
    </p></dd></dl></div><div class="variablelist"><p class="title"><b>AAlib samotn� poskytuje velk� mno&#382;stv� voleb. Zde je n&#283;kolik
573
579
d&#367;le&#382;it�ch:</b></p><dl><dt><span class="term"><tt class="option">-aadriver</tt></span></dt><dd>
574
 
    nastav� doporu&#269;en� aa ovlada&#269; (X11, curses, Linux)
 
580
    Nastav� doporu&#269;en� aa ovlada&#269; (X11, curses, Linux).
575
581
    </dd><dt><span class="term"><tt class="option">-aaextended</tt></span></dt><dd>
576
 
    pou&#382;it� v&#353;ech 256 znak&#367;
 
582
    Pou&#382;it� v&#353;ech 256 znak&#367;.
577
583
    </dd><dt><span class="term"><tt class="option">-aaeight</tt></span></dt><dd>
578
 
    pou&#382;it� osmibitov�ho ASCII
 
584
    Pou&#382;it� osmibitov�ho ASCII.
579
585
    </dd><dt><span class="term"><tt class="option">-aahelp</tt></span></dt><dd>
580
 
    vyp�&#353;e v&#353;echny aalib volby
 
586
    Vyp�&#353;e v&#353;echny aalib volby.
581
587
    </dd></dl></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Pozn�mka</h3><p>
582
588
Renderov�n� je velmi n�ro&#269;n� na CPU, zvl�&#353;&#357; p&#345;i pou&#382;it� AA-na-X
583
589
(aalib na X) a nejm�n&#283; n�ro&#269;n� je na standardn� neframebuferovan�
819
825
v�voj�&#345;&#367;m. Spr�vn� zp&#367;sob je pou&#382;it� VIDIX bez argument&#367;, aby prob&#283;hla
820
826
autodetekce.
821
827
</p><p>
822
 
VIDIX je nov� technologie a je extr�mn&#283; mo&#382;n�, &#382;e na va&#353;em syst�mu nebude
823
 
pracovat. V tom p&#345;�pad&#283; je jedin�m &#345;e&#353;en�m ji portovat (hlavn&#283; libdha).
824
 
Ale je &#353;ance, &#382;e bude pracovat na syst�mech, kde funguje X11.
825
 
</p><p>
826
828
Jeliko&#382; VIDIX vy&#382;aduje p&#345;�m� p&#345;�stup k hardware, m&#367;&#382;ete jej bu&#271; spustit jako
827
829
root, nebo nastavit SETUID bit bin�rce <span class="application">MPlayer</span>u
828
830
(<span class="bold"><strong>Varov�n�: Toto je bezpe&#269;nostn� risk!</strong></span>).
874
876
A&#269;koli existuje ovlada&#269; pro &#269;ipy 3DLabs GLINT R3 a Permedia3, nikdo je
875
877
netestoval, tak&#382;e hl�&#353;en� v�t�me.
876
878
</p></div><div class="sect3" lang="cs"><div class="titlepage"><div><div><h4 class="title"><a name="vidix-nvidia"></a>8.2.13.5. Karty nVidia</h4></div></div></div><p>
877
 
Existuje relativn&#283; nov� ovlada&#269; pro nVidie o kter�m je zn�mo, &#382;e pracuje
878
 
s &#269;ipsety Riva 128, TNT a GeForce2 a n&#283;kter� dal&#353;� byly rovn&#283;&#382; hl�&#353;eny jako
879
 
funk&#269;n�.
880
 
</p><div class="itemizedlist"><p class="title"><b>OMEZEN�</b></p><ul type="disc" compact><li><p>
881
 
  Doporu&#269;ujeme pou&#382;it� bin�rn�ch nVidia ovlada&#269;&#367; pro X p&#345;ednostn&#283; p&#345;ed t�mto
882
 
  VIDIX ovlada&#269;em, proto&#382;e n&#283;kter� registry, kter� je nutn� nastavit nebyly
883
 
  dosud ob&#283;veny, tak&#382;e pravd&#283;podobn&#283; sel&#382;e s Open Source XFree86
884
 
  ovlada&#269;em <tt class="filename">nv.o</tt>.
885
 
  </p></li><li><p>
886
 
  V sou&#269;asnosti mohou s t�mto ovlada&#269;em pracovat pouze kodeky schopn� v�stupu
887
 
  v barevn�m prostoru UYVY. Nane&#353;t&#283;st� to vylu&#269;uje v&#353;echny dekod�ry z rodiny
888
 
  <code class="systemitem">libavcodec</code>. Tak&#382;e z&#367;st�vaj�
889
 
  n�sleduj�c� pou&#382;iteln� popul�rn� kodeky:
890
 
  <code class="systemitem">cvid, divxds, xvid, divx4, wmv7, wmv8</code> a n&#283;kter�
891
 
  dal&#353;�. M&#283;jte v&#353;ak pros�m na pam&#283;ti, &#382;e to je pouze do&#269;asn� obt�&#382;.
892
 
  Syntaxe pro pou&#382;it� je n�sleduj�c�:
893
 
  </p><pre class="screen">
894
 
    mplayer -vf format=uyvy -vc divxds <em class="replaceable"><code>divx3soubor.avi</code></em>
895
 
  </pre><p>
896
 
  </p></li></ul></div><p>
897
879
  Unik�tn� vlastnost� ovlada&#269;e nvidia_vid je jeho schopnost zobrazit video na
898
880
  <span class="bold"><strong>jednoduch�, &#269;ist�, pouze textov� konzoli</strong></span>
899
881
  &#8211; bez framebufferu nebo n&#283;jak� X magie. Pro tento �&#269;el budete muset
900
882
  pou&#382;�t video rozhran� <tt class="option">cvidix</tt>, jak to ukazuje n�sleduj�c�
901
883
  p&#345;�klad:
902
 
  </p><pre class="screen">
903
 
    mplayer -vf format=uyvy -vc divxds -vo cvidix <em class="replaceable"><code>p&#345;�klad.avi</code></em>
904
 
  </pre><p>
905
 
</p><p>
906
 
Hl�&#353;en� o&#269;ek�v�na!
 
884
  </p><pre class="screen">mplayer -vo cvidix <em class="replaceable"><code>p&#345;�klad.avi</code></em></pre><p>
907
885
</p></div><div class="sect3" lang="cs"><div class="titlepage"><div><div><h4 class="title"><a name="vidix-sis"></a>8.2.13.6. Karty SiS</h4></div></div></div><p>
908
886
Toto je velmi experiment�ln� k�d, stejn&#283; jako nvidia_vid.
909
887
</p><p>