annotate DOCS/xml/cs/encoding-guide.xml @ 18271:61469631cc09

Synced with 1.47
author jheryan
date Tue, 25 Apr 2006 13:24:25 +0000
parents b70d17d4c76b
children d851f1841bc8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-2"?>
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
2 <!-- Synced with: 1.47 -->
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3 <chapter id="encoding-guide">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4 <title>Enkódování s <application>MEncoder</application>em</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
5
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
6 <sect1 id="menc-feat-dvd-mpeg4">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
7 <title>Vytvoření MPEG-4 (&quot;DivX&quot;) ripu DVD filmu ve vysoké kvalitě</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
8
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
9 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
10 Velmi častou otázkou je "Jak mohu vytvořit rip v nejvyšší možné kvalitě pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
11 danou velikost?". Další otázkou je "Jak vytvořím DVD rip v nejvyšší možné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
12 kvalitě? Velikost souboru mě nezajímá, chci tu nejvyšší kvalitu."
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
13 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
14
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
15 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
16 Druhá otázka je poněkud špatně položená. Konec konců, pokud je vám lhostejná
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
17 velikost souboru, proč prostě nezkopírujete celý MPEG-2 video proud z DVD?
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
18 Jistěže vaše AVI bude mít kolem 5 GB, ale pokud chcete nejvyšší kvalitu a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
19 na velikosti nezáleží, je to jistě nejlepší volba.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
20 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
21
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
22 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
23 Ve skutečnosti, důvodem převodu DVD do MPEG-4 je právě to, že vám na velikosti
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
24 souboru <emphasis role="bold">záleží</emphasis>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
25 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
26
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
27 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
28 Je těžké nabídnout kuchařku jak vytvořit DVD rip ve velmi vysoké kvalitě. Je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
29 nutné uvážit množství faktorů a měli byste rozumět těmto detailům, jinak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
30 budete asi zklamáni výsledkem. Níže prozkoumáme některé z těchto věcí a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
31 pak se podíváme na příklad. Předpokládáme, že použijete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
32 <systemitem class="library">libavcodec</systemitem> pro enkódování videa,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
33 ačkoli teorie je stejná i pro ostatní kodeky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
34 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
35
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
36 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
37 Pokud je toho na vás moc, asi byste měli použít některý z pěkných frontendů,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
38 které jsou zmíněny v
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17371
diff changeset
39 <ulink url="http://www.mplayerhq.hu/design7/projects.html#mencoder_frontends">sekci MEncoder</ulink>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
40 na naší stránce odvozených projektů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
41 Takto budete schopni dosahovat vysoce kvalitních ripů bez velkého přemýšlení,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
42 protože většina těchto nástrojů je navržena tak, aby dělala vhodná rozhodnutí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
43 za vás.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
44 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
45
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
46 <sect2 id="menc-feat-dvd-mpeg4-preparing-encode">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
47 <title>Příprava na enkódování: Určení zdrojového materiálu a datového toku</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
48 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
49 Předtím než i jen pomyslíte na enkódování filmu, budete muset učinit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
50 několik přípravných kroků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
51 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
52
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
53 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
54 Prvním a nejdůležitějším krokem před enkódováním by mělo být zjištění
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
55 druhu obsahu se kterým máte co do činění.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
56 Pokud vaše zdrojové video pochází z DVD nebo veřejné/kabelové/satelitní
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
57 TV, bude uložen v jednom ze dvou formátů: NTSC v Severní Americe a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
58 Japonsku, PAL v Euvropě, atd.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
59 Je ovšem důležité si uvědomit, že to je pouze formátování pro prezentaci
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
60 v televizi a často <emphasis role="bold">neodpovídá</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
61 originálnímu formátu filmu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
62 Zkušenosti ukazují, že NTSC materiál je mnohem těžší enkódovat,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
63 jelikož musíme identifikovat více věcí ve zdrojovém videu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
64 Abyste dosáhli uspokojivého výsledku, musíte znát původní formát.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
65 Nevezmete-li to správně v potaz, dostanete obraz plný nejrůznějších vad,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
66 včetně ošklivých kombinačních (proklad) artefaktů a zdvojených nebo dokonce
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
67 zahozených snímků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
68 Kromě toho, že budete mít nekvalitní obraz, artefakty rovněž snižují
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
69 efektivitu kódování:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
70 Dosáhnete horší kvalitu na jednotku datového toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
71 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
72
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
73 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-fps">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
74 <title>Zjištění snímkové rychlosti zdroje</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
75 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
76 Zde máte seznam běžných typů zdrojového materiálu, kde na který nejspíš
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
77 narazíte a jejich volby:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
78 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
79 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
80 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
81 <emphasis role="bold">Standardní film</emphasis>: Vytvořený pro promítání
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
82 v kině při 24fps.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
83 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
84 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
85 <emphasis role="bold">PAL video</emphasis>: Zaznamenáno PAL
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
86 video kamerou s rychlostí 50 půlsnímků za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
87 Půlsnímek sestává jen z lichých nebo sudých řádků daného snímku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
88 Televize je navržena pro jejich střídavé zobrazování jako laciná
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
89 forma analogové komprese.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
90 Lidské oko to pravděpodobně vykompenzuje, ale jakmile porozumíte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
91 prokládání, naučíte se jej vidět i v TV a už si ji neužijete.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
92 Dva půlsnímky <emphasis role="bold">netvoří</emphasis> úplný snímek,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
93 protože jsou zaznamenány s časovou odchylkou 1/50 sekundy a proto se
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
94 nekryjí, dokud je zde pohyb.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
95 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
96 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
97 <emphasis role="bold">NTSC Video</emphasis>: Zaznamenáno
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
98 NTSC video kamerou s rychlostí 60000/1001 půlsnímků za sekundu, nebo 60
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
99 půlsnímků za sekundu v době před barevnou televizí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
100 Jinak obdobné PAL.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
101 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
102 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
103 <emphasis role="bold">Animovaný film</emphasis>: Obvykle kreslený při
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
104 24 snímcích za sekundu, ale rovněž bývá v některé variantě prměnné snímkové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
105 rychlosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
106 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
107 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
108 <emphasis role="bold">Počítačová grafika (CG)</emphasis>: Může mít jakoukoli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
109 snímkovou rychlost, ale některé jsou častější než jiné; 24 a 30 snímků za
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
110 sekundu jsou typické pro NTSC a 25 snímků za sekundu zase pro PAL.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
111 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
112 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
113 <emphasis role="bold">Starý film</emphasis>: Různé nižší snímkové rychlosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
114 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
115 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
116 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
117
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
118 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-material">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
119 <title>Určení zdrojového materiálu</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
120 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
121 Filmy sestávající ze snímků jsou nazývány progresivní,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
122 zatímco ty složené z nezávislých půlsnímků buď prokládané, nebo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
123 jen video &ndash; ačkoli druhý termín je zavádějící.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
124 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
125 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
126 Abychom to ještě zkomplikovali, některé filmy mohou být směsí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
127 všeho výše uvedeného.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
128 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
129 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
130 Nejdůležitějším rozdílem mezi všemi těmito formáty je to, že základem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
131 některých jsou snímky a jiných půlsnímky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
132 <emphasis role="bold">Vždy</emphasis>, když je film připravován pro promítání
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
133 v televizi (včetně DVD), je převeden na půlsnímky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
134 Různé metody jak toho lze dosáhnout jsou souhrnně nazývány "pulldown" a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
135 nechvalně známé NTSC "3:2 telecine" je jednou z variant.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
136 Pokud nebyl základ vašeho filmu rovněž půlsnímkový (se stejnou půlsnímkovou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
137 rychlostí), máte film v jiném formátu, než byl původně.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
138 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
139
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
140 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
141 <title>Zde je několik běžných typů pulldown:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
142 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
143 <emphasis role="bold">PAL 2:2 pulldown</emphasis>: Je nejhezčí z nich.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
144 Každý snímek je zobrazován po dobu dvou půlsnímků tak, že se oddělí liché
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
145 a sudé řádky a zobrazují se střídavě.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
146 Pokud měl originál 24 snímků za sekundu, zrychlí se film o 4%.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
147 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
148 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
149 <emphasis role="bold">PAL 2:2:2:2:2:2:2:2:2:2:2:3 pulldown</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
150 Každý 12 snímek je zobrazen po dobu tří půlsnímků, místo dvou.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
151 To odstraní nevýhodu 4% zrychlení, ale znesnadní obrácený proces.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
152 Obvykle je používán pouze u hudební produkce, jelikož zde by 4% zrychlení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
153 znatelně poškodilo hudební zážitek.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
154 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
155 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
156 <emphasis role="bold">NTSC 3:2 telecine</emphasis>: Snímky jsou zobrazovány
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
157 po dobu 2 nebo 3 půlsnímků, čímž je dosaženo 2.5 krát
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
158 vyšší půlsnímkové rychlosti, než je originální snímková rychlost.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
159 Výsledek je dále velmi mírně spomalen ze 60 půlsnímků za sekundu na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
160 60000/1001 půlsnímků za sekundu, aby se dosáhlo NTSC půlsnímkové rychlosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
161 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
162 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
163 <emphasis role="bold">NTSC 2:2 pulldown</emphasis>: Používá se pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
164 promítání 30fps materiálu na NTSC.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
165 Pěkné, stejně jako 2:2 PAL pulldown.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
166 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
167 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
168
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
169 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
170 Existují rovněž metody pro konverzi mezi NTSC a PAL vieem, ale to
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
171 již je nad rámec této příručky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
172 Pokud se setkáte s takovým filmem a budete jej chtít enkódovat,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
173 bude pro vás nejlepší opatřit si jej v originálním formátu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
174 Konverze mezi těmito formáty je vysoce destruktivní a nelze ji
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
175 čistě zvrátit, takže výsledek velmi utrpí, pokud je vytvořen z
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
176 konvertovaného materiálu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
177 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
178 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
179 Když je video ukládáno na DVD, po sobě jdoucí páry půlsnímků jsou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
180 seskupovány do snímků, dokonce i když nejsou určeny pro zobrazení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
181 ve stejném okamžiku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
182 Standard MPEG-2 použitý na DVD a digitální televizi poskytuje možnost
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
183 jak pro enkódování originálních progresivních snímků, tak pro uložení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
184 informací do hlavičky snímku o počtu půlsnímků, po jejichž dobu by měl
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
185 být daný snímek zobrazován.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
186 Pokud je použita tato metoda, film bývá často označen jako
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
187 "soft-telecined", jelikož proces pouze řídí DVD přehrávač pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
188 aplikaci pulldown na film spíše než že mění samotný film.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
189 Tento případ je velmi upřednostňován, jalikož může být snadno
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
190 zvrácen (ve skutečnosti ignorován) enkodérem a proto poskytuje maximální
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
191 kvalitu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
192 Mnoho DVD a televizních produkčních společností však nepoužívá vhodné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
193 enkódovací techniky, ale místo toho produkují filmy s
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
194 "hard telecine", kdy jsou ve skutečnosti půlsnímky duplikovány
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
195 ve výsledném MPEG-2.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
196 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
197 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
198 Postupy pro tyto případy budou uvedeny
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
199 <link linkend="menc-feat-telecine">později v této příručce</link>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
200 Prozatím si řekneme několik návodů pro identifikaci o jaký typ materiálu jde:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
201 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
202
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
203 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
204 <title>NTSC regiony:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
205 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
206 Pokud <application>MPlayer</application> při přehrávání vypíše, že se snímková
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
207 rychlost změnila na 24000/1001 a již se to nezmění, pak se nejspíš jedná
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
208 o progresivní obsah, který byl "soft telecinován".
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
209 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
210 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
211 Pokud <application>MPlayer</application> ukazuje, že se snímková rychlost
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
212 mění tam a zpět mezi 24000/1001 a 30000/1001 a někdy vidíte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
213 "combing", pak je zde několik možností.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
214 Segmenty 24000/1001 fps mají téměř jistě "soft telecinovaný" progresivní
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
215 obsah, ale 30000/1001 fps části mohou mít buď hard-telecined 24000/1001 fps
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
216 obsah, nobo se jedná o 60000/1001 půlsnímků za sekundu NTSC video.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
217 Použijte stejný postup jako v následujících dvou případech pro určení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
218 který z nich to je.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
219 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
220 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
221 Pokud <application>MPlayer</application> neukáže změnu snímkové rychlosti
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
222 a všechny snímky jsou zubaté, je váš film ve formátu NTSC video s 60000/1001
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
223 půlsnímky za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
224 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
225 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
226 Pokud <application>MPlayer</application> neukáže změnu snímkové rychlosti
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
227 a dva snímky z pěti vypadají zubatě, má vaše video "hard telecinovaný"
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
228 24000/1001fps obsah.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
229 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
230 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
231
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
232 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
233 <title>PAL regiony:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
234 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
235 Pokud není nikde vidět žádné zubatění, je váš film 2:2 pulldown.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
236 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
237 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
238 Pokud vidíte jak se objevuje a mizí zubatění každou půlsekundu,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
239 pak je váš film 2:2:2:2:2:2:2:2:2:2:2:3 pulldown.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
240 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
241 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
242 Pokud je zubatění vidět stále, je to PAL video s 50 půlsnímky za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
243 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
244 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
245
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
246 <note><title>Rada:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
247 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
248 <application>MPlayer</application> umí spomalit přehrávání videa
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
249 pomocí volby -speed.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
250 Zkuste použít <option>-speed</option> 0.2 pro velmi pomalé přehrávání a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
251 najděte vzor, pokud jej nevidíte při plné rychlosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
252 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
253 </note>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
254 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
255 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
256
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
257 <sect2 id="menc-feat-dvd-mpeg4-2pass">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
258 <title>Pevný kvantizer vs. více průchodů</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
259
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
260 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
261 Enkódování vašeho videa je možné provést v široké škále kvality.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
262 S moderními video enkodéry a trochou předkodekové komprese
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
263 (zmenšení a odšumování) je možné dosáhnout velmi dobré kvality v 700 MB,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
264 pro 90-110 minut dlouhé širokoúhlé video.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
265 Jinak lze všechna videa, snad kromě těch nejdelších, enkódovat v téměř
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
266 perfektní kvalitě do 1400 MB.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
267 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
268
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
269 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
270 Jsou tři přístupy k enkódování videa: pevný datový tok (CBR), pevný kvantizer
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
271 a víceprůchodový (ABR, neboli průměrovaný datový tok).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
272 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
273
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
274 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
275 Komplexnost snímků ve filmu, a tím i počet bitů potřebných pro jejich
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
276 komprimaci, se může velmi lišit od scény ke scéně.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
277 Moderní enkodéry se umí přizpůsobit těmto potřebám změnou datového toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
278 V jednoduchých režiměch, jako je CBR, však enkodéry neznají nároky na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
279 datový tok budoucích scén a tak nemohou překročit požadovaný střední
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
280 datový tok na dlouhou dobu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
281 Pokročilejší režimy, jako je víceprůchodové enkódování, umí vzít v
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
282 potaz statistiky z předchozích režimů, což odstraní výše zmíněný problém.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
283 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
284
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
285 <note><title>Poznámka:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
286 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
287 Většina kodeků, které podporují ABR enkódování, podporují pouze dvouprůchodové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
288 enkódování, zatímco ostatní jako <systemitem class="library">x264</systemitem>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
289 <systemitem class="library">XviD</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
290 a <systemitem class="library">libavcodec</systemitem> podporují víceprůchodové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
291 enkódování, které s každým průchodem trochu zlepší kvalitu, ačkoli toto
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
292 zlepšení již není viditelné, nebo měřitelné po asi čtvrtém průchodu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
293 V této sekci budeme považovat dvouprůchodové a víceprůchodové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
294 enkódování za shodné.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
295 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
296 </note>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
297
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
298 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
299 V každém z těchto režimů video kodek (jako je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
300 <systemitem class="library">libavcodec</systemitem>)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
301 rozbije videosnímek na makrobloky 16x16 pixelů a potom na každý makroblok
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
302 aplikuje kvantizer. Čím je nižší kvantizer, tím je vyšší kvalita a datový tok.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
303 Metoda, kterou enkodér filmu používá pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
304 určení jaký kvantizer použít pro daný makroblok, se liší a je vysoce
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
305 ovlivnitelná. (Toto je extrémní zjednodušení daného procesu, ale je vhodné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
306 rozumět základnímu principu.)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
307 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
308
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
309 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
310 Pokud nastavíte konstantní datový tok, bude videokodek enkódovat video tak,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
311 že zahodí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
312 detaily podle potřeby a jen tolik, aby se udržel pod zadaným datovým tokem.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
313 Pokud je vám opravdu lhostejná velikost souboru, můžete také použít CBR a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
314 nastavit datový tok na nekonečno. (V praxi to znamená nastavit hodnotu tak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
315 vysoko, aby nijak neomezovala, jako 10000 Kbitů.) Bez reálného omezení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
316 datového toku použije kodek
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
317 nejnižší možný kvantizer pro každý makroblok (ten je nastaven pomocí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
318 <option>vqmin</option> pro <systemitem class="library">libavcodec</systemitem>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
319 kde je výchozí 2). Jakmile nastavíte dostatečně nižší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
320 datový tok, takže je kodek
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
321 přinucen použít vyšší kvantizer, pak téměř jistě snížíte kvalitu svého videa.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
322 Abyste se tomu vyhnuli, měli byste zvážit zmenšení videa podle postupu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
323 popsaného později v této příručce.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
324 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
325
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
326 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
327 Při konstantním kvantizeru kodek
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
328 používá kvantizer nastavený volbou <option>vqscale</option> (pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
329 <systemitem class="library">libavcodec</systemitem>) na každý makroblok.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
330 Pokud chcete maximálně kvalitní rip, opět bez ohledu na datový tok, můžete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
331 použít <option>vqscale=2</option>. To povede ke stejnému datovému toku a PSNR
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
332 (odstup signál &ndash; šum) jako CBR s <option>vbitrate</option>=infinity a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
333 výchozím <option>vqmin</option> rovným 2.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
334 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
335
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
336 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
337 Problém s konstantní kvantizací je ten, že používá zadaný kvantizer ať to daný
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
338 makroblok potřebuje či nikoli. Je totiž možné použít vyšší kvantizer na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
339 makroblok bez obětování viditelné kvality. Proč tedy plýtvat bity s nemístně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
340 nízkým kvantizerem? Váše CPU má tolik cyklů, kolik máte času, ale na harddisku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
341 máte jen určitý počet bitů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
342 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
343
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
344 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
345 Při dvouprůchodovém enkódování se v prvním průchodu projde film jakoby měl být
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
346 CBR, ale vlastnosti každého snímku se zaznamenají do logu. Tato data jsou pak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
347 použita při druhém průchodu pro inteligentní stanovení použitého kvantizeru.
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
348 V rychlých scénách nebo scénách s velkým počtem detailů budou častěji používány
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
349 vyšší kvantizery a v pomalých nebo méně detailních scénách zase nižší kvantizery.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
350 Obvykle je důležitější množství pohybu než detailů.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
351 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
352
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
353 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
354 Pokud použijete <option>vqscale=2</option>, plýtváte bity. Pokud použijete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
355 <option>vqscale=3</option>, pak nedostanete nejkvalitnější možný rip.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
356 Dejme tomu, že ripujete DVD při <option>vqscale=3</option> a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
357 výsledkem je 1800Kbit. Pokud provedete dvouprůchodové enkódování
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
358 s <option>vbitrate=1800</option>, výsledné video bude mít <emphasis
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
359 role="bold">vyšší kvalitu</emphasis> při
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
360 <emphasis role="bold">stejném datovém toku</emphasis>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
361 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
362
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
363 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
364 Jelikož jsme vás nyní přesvědčili, že dvouprůchodový režim je správná volba,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
365 skutečnou otázkou je, jaký datový tok použít? Odpověď je, že není jediná
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
366 odpověď. Ideálně byste měli zvolit takový datový tok, který zajistí nejlepší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
367 rovnováhu mezi kvalitou a velikostí souboru. Ten bude pokaždé jiný
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
368 v závislosti na zdrojovém videu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
369 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
370
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
371 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
372 Pokud na velikosti souboru nezáleží, pak je dobrý startovní můstek pro rip
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
373 s velmi vysokou kvalitou je kolem 2000 Kbitů plus-mínus 200 Kbitů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
374 Pro rychlé akční nebo vysoce detailní zdrojové video, nebo máte-li velmi
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
375 kritické oko, se budete rozhodovat mezi 2400 nebo 2600.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
376 U některých DVD nepoznáte rozdíl při 1400 Kbitech. Je vhodné experimentovat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
377 se scénami při různých datových tocích, abyste pro to dostali cit.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
378 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
379
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
380 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
381 Pokud se snažíte o určitou velikost, budete muset nějak spočítat datový tok.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
382 Ale ještě předtím musíte zjistit, kolik místa byste měli rezervovat pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
383 zvukové(ou) stopy(u), takže byste si
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
384 <link linkend="menc-feat-dvd-mpeg4-audio">je měli ripnout</link> jako první.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
385 Můžete si pak spočítat datový tok pomocí následující rovnice:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
386 <systemitem>datový_tok = (požadovaná_velikost_v_Mbajtech - velikost_zvuku_v_Mbajtech) *
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
387 1024 * 1024 / délka_v_sek * 8 / 1000</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
388 Například abyste nacpali dvouhodinový film na 702MB CD, se 60MB zvukovou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
389 stopou, bude muset být datový tok videa:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
390 <systemitem>(702 - 60) * 1024 * 1024 / (120*60) * 8 / 1000
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
391 = 740kbps (kilobitů za sekundu)</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
392 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
393
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
394 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
395
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
396
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
397 <sect2 id="menc-feat-dvd-mpeg4-constraints">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
398 <title>Omezení pro efektivní enkódování</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
399
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
400 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
401 Ze samé podstaty komprese typu MPEG vyplývají určitá omezení, která byste měli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
402 ctít, pokud chcete maximální kvalitu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
403 MPEG rozdělí video na čtverce 16x16 nazývané makrobloky, které se skládají
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
404 ze čtyř bloků 8x8 jasové (luma) složky a dvou bloků 8x8 barevné (chroma)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
405 složky v polovičním rozlišení (jeden pro osu červená-cyan (modrozelená) a druhý pro osu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
406 modrá-žlutá).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
407 Dokonce i když šířka a výška vašeho videa nejsou násobky 16, použije enkodér
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
408 dostatek 16x16 makrobloků, aby pokryl celou oblast obrazu a zabere místo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
409 navíc, které přijde vniveč.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
410 Takže chcete-li maximalizovat kvalitu při dané velikosti souboru, není dobrý
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
411 nápad používat rozměry které nejsou násobky 16.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
412 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
413
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
414 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
415 Většina DVD má také různě velké černé okraje videa. Ponechání těchto ploch
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
416 může různým způsobem snížit kvalitu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
417 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
418
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
419 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
420 <listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
421 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
422 Komprese typu MPEG je rovněž velmi závislá na plošných frekvenčních
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
423 transformacích, konkrétně Diskrétní Kosinové Transformaci (DCT), která se
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
424 podobá Fourierově transformaci. Tento druh enkódování je efektivní na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
425 reprezentaci opakujících se vzorů a pozvolné přechody, ale má potíže s ostrými
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
426 přechody. Chcete-li je enkódovat, musíte použít mnoho bitů, jinak se objeví
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
427 artefakty známé jako kroužkování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
428 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
429
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
430 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
431 Frekvenční transformace (DCT) je provedena zvlášť pro každý makroblok
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
432 (ve skutečnosti na každý blok), takže problém nastane pouze tehdy, je-li ostrý
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
433 přechod uvnitř bloku. Pokud vaše černé okraje začínají přesně na hranicích
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
434 násobků 16 pixelů, pak to není problém. Černé okraje jsou však na DVD jen
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
435 málokdy pěkně umístěny, takže je v praxi budete muset vždy odstranit, abyste
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
436 se vyhnuli tomuto problému.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
437 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
438 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
439 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
440
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
441 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
442 Navíc k plošně frekvenčním transformacím používá komprese typu MPEG vektory
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
443 pohybu k popisu změn od jednoho snímku ke druhému. Vektory pohybu přirozeně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
444 pracují méně efektivně s novým obsahem přicházejícím zpoza okrajů snímku,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
445 protože ten nebyl přítomen na předchozím snímku. Dokud se obraz rozšiřuje
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
446 směrem k okrajům snímku, nemají s tím vektory pohybu žádný problém, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
447 jsou-li zde černé okraje, může problém nastat:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
448 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
449
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
450 <orderedlist continuation="continues">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
451 <listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
452 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
453 Komprese typu MPEG ukládá pro každý makroblok vektor, identifikující která
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
454 část předchozího obrázku by měla být zkopírována onoho makrobloku jako základ
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
455 pro predikci následujícího snímku. Pouze zbývající odlišnosti musí být
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
456 enkódovány. Pokud makroblok přesahuje okraj obrázku a obsahuje část černého
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
457 okraje, vektory pohybu z ostatních částí obrázku přepíší černý okraj.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
458 To znamená mnoho bitů spotřebovaných buď na znovuzačernění, nebo se (spíš)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
459 vektory pohybu nepoužijí vůbec a všechny změny v tomto makrobloku se budou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
460 kódovat přímo. Jinými slovy se velmi sníží efektivita enkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
461 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
462
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
463 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
464 Tento problém nastává opět jen v případě, že černé okraje nezačínají na lince
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
465 jejíž pozice je násobkem 16.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
466 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
467 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
468
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
469 <listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
470 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
471 Nakonec zde máme makroblok uvnitř obrázku do nějž se posunuje objekt z okraje
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
472 obrázku. Kódování typu MPEG neumí říct "zkopíruj to co je na obrázku, ale ne
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
473 černý okraj." Takže se zkopíruje i černý okraj a spotřebuje se spousta bitů
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
474 na enkódování té části obrázku, která tu měla být.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
475 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
476
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
477 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
478 Pokud se obrázek dostane úplně ven z enkódované oblasti, má MPEG speciální
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
479 optimalizace pro opakované kopírování pixelů na okraj obrázku pokud přijde
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
480 vektor pohybu zvenčí enkódované oblasti. Tato vlastnost bude k ničemu, pokud
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
481 má film černé okraje. Na rozdíl od problémů 1 a 2 zde umístění okrajů na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
482 násobky 16 nepomůže.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
483 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
484 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
485
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
486 <listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
487 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
488 Navzdory tomu, že okraje jsou úplně černé a nikdy se nemění, je zde vždy
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
489 alespoň minimální datový tok spotřebovaný na větší množství makrobloků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
490 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
491 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
492 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
493
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
494 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
495 Ze všech těchto důvodů doporučujeme zcela odstranit černé okraje. Dále, pokud
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
496 je na okraji obrázku oblast se šumem/zkreslením, jejím odstřižením se ještě
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
497 zvýší efektivita enkódování. Videofilní puristé, kteří chtějí zůstat tak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
498 blízko originálu, jak je to jen možné, mohou protestovat proti tomuto ořezání,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
499 ale pokud nehodláte enkódovat s konstantním kvantizerem, kvalita kterou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
500 dostanete díky ořezání znatelně převýší množství ztracených informací na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
501 okrajích.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
502 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
503 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
504
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
505
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
506 <sect2 id="menc-feat-dvd-mpeg4-crop">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
507 <title>Ořezávání a škálování</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
508
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
509 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
510 Připomeňme z předchozí části, že konečná velikost obrázku by měla mít
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
511 jak šířku, tak výšku beze zbytku dělitelnou 16, čehož můžete dosáhnout
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
512 pomocí ořezání, škálování, nebo kombinací obou.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
513 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
514
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
515 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
516 Při ořezávání byste se měli držet několika zásad, abyste předešli poškození
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
517 svého filmu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
518 Normální YUV formát 4:2:0, ukládá barvonosnou (chroma) informaci
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
519 podvzorkovanou, čili hustota vzorkování barvy je poloviční oproti jasové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
520 (černobílé) složce v obou směrech.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
521 Prohlédněte si tento diagram, kde L označuje vzorkovací body jasu a C
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
522 barvy.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
523 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
524
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
525 <informaltable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
526 <?dbhtml table-width="40%" ?>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
527 <?dbfo table-width="40%" ?>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
528 <tgroup cols="8" align="center">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
529 <colspec colnum="1" colname="col1"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
530 <colspec colnum="2" colname="col2"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
531 <colspec colnum="3" colname="col3"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
532 <colspec colnum="4" colname="col4"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
533 <colspec colnum="5" colname="col5"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
534 <colspec colnum="6" colname="col6"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
535 <colspec colnum="7" colname="col7"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
536 <colspec colnum="8" colname="col8"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
537 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
538 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
539 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
540 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
541 <tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
542 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
543 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
544 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
545 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
546 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
547 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
548 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
549 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
550 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
551 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
552 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
553 <entry spanname="spa1-2">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
554 <entry spanname="spa3-4">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
555 <entry spanname="spa5-6">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
556 <entry spanname="spa7-8">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
557 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
558 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
559 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
560 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
561 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
562 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
563 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
564 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
565 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
566 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
567 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
568 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
569 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
570 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
571 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
572 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
573 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
574 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
575 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
576 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
577 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
578 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
579 <entry spanname="spa1-2">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
580 <entry spanname="spa3-4">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
581 <entry spanname="spa5-6">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
582 <entry spanname="spa7-8">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
583 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
584 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
585 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
586 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
587 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
588 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
589 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
590 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
591 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
592 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
593 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
594 </tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
595 </tgroup>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
596 </informaltable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
597
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
598 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
599 Jak vidíte, řádky i sloupce obrázku se přirozeně párují. Při ořezávání tedy
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
600 <emphasis>musí</emphasis> být hodnoty odsazení i rozměrů sudá čísla.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
601 Pokud nejsou, nebude se barvonosná informace zprávně krýt s jasovou.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
602 Teoreticky lze stříhat s lichým odsazením, ale to vyžaduje převzorkování
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
603 barvy, což je potenciálně ztrátový úkon a není podporován filtrem crop.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
604 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
605
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
606 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
607 Dále, prokládané video je vzorkováno takto:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
608 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
609
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
610 <informaltable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
611 <?dbhtml table-width="80%" ?>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
612 <?dbfo table-width="80%" ?>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
613 <tgroup cols="16" align="center">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
614 <colspec colnum="1" colname="col1"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
615 <colspec colnum="2" colname="col2"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
616 <colspec colnum="3" colname="col3"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
617 <colspec colnum="4" colname="col4"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
618 <colspec colnum="5" colname="col5"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
619 <colspec colnum="6" colname="col6"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
620 <colspec colnum="7" colname="col7"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
621 <colspec colnum="8" colname="col8"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
622 <colspec colnum="9" colname="col9"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
623 <colspec colnum="10" colname="col10"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
624 <colspec colnum="11" colname="col11"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
625 <colspec colnum="12" colname="col12"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
626 <colspec colnum="13" colname="col13"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
627 <colspec colnum="14" colname="col14"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
628 <colspec colnum="15" colname="col15"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
629 <colspec colnum="16" colname="col16"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
630 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
631 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
632 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
633 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
634 <spanspec spanname="spa9-10" namest="col9" nameend="col10"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
635 <spanspec spanname="spa11-12" namest="col11" nameend="col12"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
636 <spanspec spanname="spa13-14" namest="col13" nameend="col14"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
637 <spanspec spanname="spa15-16" namest="col15" nameend="col16"/>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
638 <tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
639 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
640 <entry namest="col1" nameend="col8">Horní půlsnímek</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
641 <entry namest="col9" nameend="col16">Spodní půlsnímek</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
642 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
643 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
644 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
645 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
646 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
647 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
648 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
649 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
650 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
651 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
652 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
653 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
654 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
655 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
656 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
657 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
658 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
659 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
660 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
661 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
662 <entry spanname="spa1-2">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
663 <entry spanname="spa3-4">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
664 <entry spanname="spa5-6">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
665 <entry spanname="spa7-8">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
666 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
667 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
668 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
669 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
670 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
671 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
672 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
673 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
674 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
675 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
676 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
677 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
678 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
679 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
680 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
681 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
682 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
683 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
684 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
685 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
686 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
687 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
688 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
689 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
690 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
691 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
692 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
693 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
694 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
695 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
696 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
697 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
698 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
699 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
700 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
701 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
702 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
703 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
704 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
705 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
706 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
707 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
708 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
709 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
710 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
711 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
712 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
713 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
714 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
715 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
716 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
717 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
718 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
719 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
720 <entry spanname="spa9-10">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
721 <entry spanname="spa11-12">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
722 <entry spanname="spa13-14">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
723 <entry spanname="spa15-16">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
724 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
725 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
726 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
727 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
728 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
729 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
730 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
731 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
732 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
733 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
734 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
735 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
736 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
737 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
738 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
739 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
740 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
741 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
742 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
743 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
744 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
745 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
746 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
747 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
748 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
749 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
750 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
751 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
752 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
753 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
754 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
755 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
756 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
757 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
758 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
759 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
760 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
761 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
762 <entry spanname="spa1-2">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
763 <entry spanname="spa3-4">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
764 <entry spanname="spa5-6">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
765 <entry spanname="spa7-8">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
766 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
767 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
768 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
769 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
770 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
771 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
772 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
773 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
774 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
775 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
776 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
777 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
778 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
779 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
780 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
781 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
782 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
783 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
784 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
785 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
786 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
787 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
788 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
789 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
790 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
791 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
792 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
793 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
794 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
795 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
796 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
797 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
798 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
799 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
800 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
801 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
802 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
803 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
804 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
805 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
806 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
807 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
808 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
809 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
810 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
811 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
812 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
813 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
814 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
815 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
816 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
817 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
818 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
819 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
820 <entry spanname="spa9-10">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
821 <entry spanname="spa11-12">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
822 <entry spanname="spa13-14">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
823 <entry spanname="spa15-16">C</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
824 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
825 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
826 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
827 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
828 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
829 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
830 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
831 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
832 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
833 <entry></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
834 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
835 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
836 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
837 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
838 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
839 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
840 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
841 <entry>L</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
842 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
843 </tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
844 </tgroup>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
845 </informaltable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
846
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
847 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
848 Jak vidíte, tak se vzor opakuje každé 4 řádky, takže při ořezu prokládaného
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
849 videa musí být odsazení v ose y a výška beze zbytku delitelné 4.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
850 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
851
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
852 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
853 Nativní DVD rozlišení je 720x480 pro NTSC a 720x576 pro PAL, ale je zde ještě
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
854 příznak poměru stran, který udává, zda se jedná o obrazovku (full-screen)(4:3),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
855 nebo širokoúhlý film (wide-screen)(16:9). Mnoho (jestli ne většina)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
856 širokoúhlých DVD není přesně 16:9, ale bude buď 1.85:1 anebo 2.35:1
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
857 (cinescope). To znamená, že zde budou ve videu černé okraje, které bude nutné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
858 odstřihnout.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
859 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
860
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
861 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
862 <application>MPlayer</application> poskytuje filtr pro detekci potřebného
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
863 ořezu, který stanoví ořezový obdélník (<option>-vf cropdetect</option>).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
864 Spusťte <application>MPlayer</application> s volbou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
865 <option>-vf cropdetect</option> a on vám vypíše nastavení filtru crop pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
866 ořezání okrajů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
867 Měli byste nechat běžet film tak dlouho, dokud není použita celá plocha
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
868 obrázku, abyste dostali správné hodnoty crop.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
869 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
870
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
871 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
872 Pak otestujte získané hodnoty z příkazového řádku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
873 <application>MPlayer</application>u vypisované <option>cropdetect</option>em
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
874 a upravte obdélník podle potřeby.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
875 V tom vám pomůže filtr <option>rectangle</option>, který umožňuje interaktivně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
876 nastavit obdélník pro váš film.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
877 Nezapomeňte zachovat výše uvedená doporučení, abyste nepoškodili barevnou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
878 mapu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
879 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
880
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
881 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
882 Škálování je obvykle nevhodné.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
883 Škálování prokládaného videa je obtížné a pokud chcete zachovat prokládání,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
884 měli byste se mu úplně vyhnout.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
885 Pokud mebudete škálovat, ale budete chtít používat rozměry v násobcích 16,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
886 budete muset oříznout i část obrazu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
887 Neponechávejte ani malé černé okraje, jelikož se velmi špatně kódují!
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
888 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
889
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
890 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
891 Protože MPEG-4 používá makrobloky 16x16, měli byste se ujistit, že oba rozměry
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
892 videa jsou násobkem 16, jinak snížíte kvalitu, zvlášť při nízkých datových
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
893 tocích. Můžete to zajistit zaokrouhlením šířky a výšky ořezového obdélníku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
894 dolů na nejbližší násobek 16.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
895 Jak jsme již řekli, měli byste při ořezávání zvýšit odsazení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
896 (offset) v ose y o polovinu rozdílu mezi starou a novou výškou, takže bude
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
897 výsledné video bráno ze středu snímku. Z důvodu principu vzorkování DVD videa
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
898 se ujistěte, že je odsazení sudé číslo. (Popravdě, přijměte jako pravidlo,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
899 nikdy nepoužívat liché hodnoty pro jakýkoli z parametrů při ořezávání a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
900 škálování videa.) Pokud nechcete zahodit těch několik pixelů navíc, můžete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
901 místo toho raději změnit velikost videa (škálovat). Na to se podíváme
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
902 v příkladu níže.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
903 V praxi můžete nechat filtr <option>cropdetect</option> udělat všechnu práci
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
904 zmíněnou výše, jelikož má volitelný parametr <option>round</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
905 (zaokrouhlení), jehož výchozí hodnota je 16.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
906 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
907
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
908 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
909 Rovněž buďte opatrní na "napůl černé" pixely na okrajích. Vždy je rovněž
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
910 odstřihněte, jinak zde budete plýtvat bity, které můžete použít jinde.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
911 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
912
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
913 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
914 Poté co provedete vše, co jsme si doposud řekli, budete mít video, které asi
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
915 nebude právě 1.85:1 nebo 2.35:1, ale někde poblíž. Můžete spočítat nový poměr
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
916 stran ručně, ale <application>MEncoder</application> nabízí volbu pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
917 <systemitem class="library">libavcodec</systemitem> nazývanou <option>autoaspect</option>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
918 která to za vás udělá. Nezvětšujte video jen proto, abyste dosáhli čtvercových
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
919 pixelů, pokud je vám milé místo na disku. Škálování by mělo být provedeno při
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
920 přehrávání, kdy přehrávač použije poměr stran uložený v AVI pro zajištění
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
921 správného rozlišení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
922 Naneštěstí ne všechny přehrávače uplatňují tuto autoškálovací informaci,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
923 takže můžete přece jen chtít škálovat.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
924 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
925 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
926
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
927
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
928 <sect2 id="menc-feat-dvd-mpeg4-resolution-bitrate">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
929 <title>Volba rozlišení a datového toku</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
930
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
931 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
932 Pokud nebudete enkódovat v režimu konstantního kvantizeru, musíte zvolit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
933 velikost datového toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
934 Koncepce datového toku je velmi jednoduchá.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
935 Je to (průměrný) počet bitů spotřebovaný na jednu sekundu filmu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
936 Normálně se datový tok udává v kilobitech (1000 bitů) za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
937 Velikost vašeho filmu je pak datový tok násobený délkou filmu, plus malá
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
938 režie (viz například sekci
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
939 <link linkend="menc-feat-dvd-mpeg4-muxing-avi-limitations">kontejner AVI</link>).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
940 Ostatní parametry jako je škálování, ořezání atd.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
941 <emphasis role="bold">nezmění</emphasis> velikost souboru, pokud zároveň
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
942 nezměníte datový tok!
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
943 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
944 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
945 Datový tok se <emphasis role="bold">nemění</emphasis> proporcionálně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
946 k rozlišení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
947 Jinými slovy, soubor 320x240 při 200 kbit/sek nebude mít stejnou kvalitu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
948 jako ten samý film při 640x480 a 800 kbitech/sek!
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
949 Jsou pro to dva důvody:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
950 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
951 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
952 <emphasis role="bold">Dojem</emphasis>: MPEG artefakty jsou patrné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
953 tím více, čím jsou více zvětšené!
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
954 Artefakty se objevují ve velikosti bloků (8x8).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
955 Vaše oko neodhalí chyby ve 4800 malých blocích tak snadno jako ve 1200
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
956 velkých (předpokládáme, že oboje budete škálovat na celou obrazovku).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
957 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
958 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
959 <emphasis role="bold">Teoretický</emphasis>: Když zmenšíte obrázek,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
960 ale stále použijete stejnou velikost bloků (8x8) pro frekvenční prostorovou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
961 transformaci, přesunete více dat do oblasti vyšších frekvencí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
962 Zjednodušeně řečeno, každý pixel nyní obsahuje více detailů, než předtím.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
963 Dokonce i když připustíme, že jste zmenšili obraz obsahující 1/4 informací
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
964 o daném prostoru, stále může obsahovat mnoho detailů v daném frekvenčním
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
965 pásmu (předpokládáme, že vysoké frekvence byly v originálním 640x480 snímku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
966 ořezány).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
967 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
968 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
969 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
970 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
971 Dřívější návody doporučovaly volit datový tok a rozlišení rozpočítáním
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
972 bitů na pixely, ale to obvykle není správně díky ze zmíněných důvodů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
973 Mnohem lepším se zdá odhad, že je datový tok úměrný čtverci rozlišení,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
974 takže 320x240 při 400 kbit/sek by mělo být srovnatelné s 640x480
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
975 při 800 kbit/sek.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
976 Tato úměra však nebyla ověřena teoreticky ani empiricky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
977 Navíc, vezmeme-li v úvahu to, že se filmy velmi liší šumem, počtem detailů,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
978 množstvím pohybu atd, je beznadějné vytvořit obecná doporučení pro počet
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
979 bitů na délku diagonály (analogie bitů na pixel, avšak používá plochu obrazu).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
980 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
981 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
982 Tolik k obtížnosti volby datového toku a rozlišení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
983 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
984
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
985
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
986 <sect3 id="menc-feat-dvd-mpeg4-resolution-bitrate-compute">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
987 <title>Výpočet rozlišení</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
988 <para>
17075
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
989 Následující kroky vás provedou výpočty rozlišení výsledného filmu tak,
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
990 abyste příliš nesnížili kvalitu videa s přihlédnutím k několika typům
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
991 informací o zdrojovém videu.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
992 Nejdřív byste si měli spočítat enkódovaný poměr stran:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
993 <systemitem>PSo = (Šo x (PSa / PRdvd )) / Vo</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
994 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
995 <title>kde:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
996 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
997 Šo a Vo jsou šířka a výška ořezaného videa,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
998 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
999 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1000 PSa je zobrazovaný poměr stran, jež je obvykle 4/3 nebo 16/9,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1001 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1002 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1003 PRdvd je poměr pixelů v DVD, který je roven 1.25=(720/576) pro DVD
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1004 v PALu a 1.5=(720/480) pro DVD v NTSC,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1005 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1006 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1007 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1008
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1009 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1010 Pak si můžete spočítat rozlišení X a Y podle určitého faktoru kvality komprese
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1011 (CQ):
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1012 <systemitem>RozY = INT(SQRT( 1000*Datový_tok/25/PSo/CQ )/16) * 16</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1013 a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1014 <systemitem>RozX = INT( RozY * PSo / 16) * 16</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1015 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1016
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1017 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1018 Dobře, ale co je ten CQ?
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1019 CQ odpovídá počtu bitů na pixel a na snímek v zakódování. Jinými slovy, čím
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1020 vyšší je CQ, tím nižší je šance uvidět enkódovací artefakty.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1021 Pokud ovšem máte cílový rozměr vašeho filmu (1 nebo 2 CD například), máte jen
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1022 omezené množství bitů, které můžete spotřebovat; takže je nutné najít vhodný
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1023 kompromis mezi komprimovatelností a kvalitou.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1024 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1025
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1026 <para>
17075
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1027 CQ závisí na datovém toku, efektivitě video kodeku a na rozlišení filmu.
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1028 Abyste zvýšili CQ, obvykle zmenšíte daný film, takže je datový tok spočítán
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1029 ve funkci cílové velikosti a délky filmu, které jsou konstantní.
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1030 S MPEG-4 ASP kodeky jako jsou <systemitem class="library">XviD</systemitem>
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1031 a <systemitem class="library">libavcodec</systemitem>, vede CQ pod 0.18
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1032 obvykle k velmi čtverečkovanému obrázku, protože není dostatek bitů pro
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1033 zakódování informací každého makrobloku. (MPEG4, stejně jako mnoho
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1034 jiných kodeků seskupuje pixely do bloků při komprimaci obrázku; pokud není
17075
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1035 dostatek bitů, jsou viditelné hranice těchto bloků.)
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1036 Proto je rozumné volit CQ v rozmezí 0.20 až 0.22 pro rip na 1 CD a
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1037 0.26 až 0.28 pro rip na 2 CD při standardních enkódovacích volbách.
17075
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1038 Pokročilejší volby podobné těm zmiňovaným zde pro
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1039 <link linkend="menc-feat-mpeg4-lavc-example-settings"><systemitem class="library">libavcodec</systemitem></link>
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1040 a
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1041 <link linkend="menc-feat-xvid-example-settings"><systemitem class="library">XviD</systemitem></link>
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1042 by měly umožnit dosažení stejné kvality při CQ v rozsahu od
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1043 0.18 do 0.20 pro rip na 1 CD a 0.24 až 0.26 pro rip na 2 CD.
17075
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1044 S MPEG-4 ASP kodeky jako je <systemitem class="library">x264</systemitem>,
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1045 můžete použít CQ v rozmezí 0.14 až 0.16 při standardních enkódovacích volbách
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1046 a měli byste být schopni jít až na nízký od 0.10 do 0.12 s pokročilými
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1047 <link linkend="menc-feat-x264-example-settings"><systemitem class="library">x264</systemitem> enkódovacími volbami</link>.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1048 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1049
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1050 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1051 Prosíme berte v potaz, že CQ je jen informační pomůcka závisející na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1052 enkódovaném obsahu. CQ okolo 0.18 může být dostatečně dobrý pro Bergmana,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1053 na rozdíl od filmu jako je Matrix, který obsahuje mnoho rychlých scén.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1054 Na druhou stranu je zbytečné zvyšovat CQ výš než 0.30, jelikož budete plýtvat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1055 bity za minimální zisk kvality.
17075
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1056 Také berte v potaz, jak jsme již řekli, že videa s nízkým rozlišením
884fc5e4cc86 Synced with 1.34
jheryan
parents: 16817
diff changeset
1057 vyžadují vyšší CQ (v porovnání s např. DVD rozlišením), aby vypadala dobře.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1058 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1059
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1060 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1061
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1062 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1063
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1064 <sect2 id="menc-feat-dvd-mpeg4-filtering">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1065 <title>Filtrování</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1066
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1067 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1068 Naučit se používat video filtry <application>MEncoder</application>u je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1069 základem pro produkci dobrých videí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1070 Veškeré úpravy videa jsou prováděny pomocí filtrů -- ořezání, škálování,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1071 úprava barev, odstranění šumu, zaostření, odstranění prokladu, telecinování,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1072 inverzní telecine a deblokování, abychom jmenovali alespoň některé.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1073 Spolu s vyčerpávajícím počtem podporovaných vstupních formátů je nabídka
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1074 dostupných filtrů v <application>MEncoder</application>u jednou z jeho
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1075 hlavních výhod oproti podobným aplikacím.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1076 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1077
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1078 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1079 Filtry jsou nahrávány v řadě za použití volby -vf :
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1080
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1081 <screen>-vf filtr1=volby,filtr2=volby,...</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1082
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1083 Většina filtrů přebírá několik číselných voleb oddělených dvojtečkou, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1084 syntaxe voleb se liší od filtru k filtru, takže si přečtěte manuál
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1085 pro více informací o filtru který chcete použít.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1086 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1087
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1088 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1089 Filtry zpracovávají video v pořadí, v jakém jsou načteny.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1090 Například následující řada:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1091
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1092 <screen>-vf crop=688:464:12:4,scale=640:464</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1093
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1094 nejprve vyřízne z obrázku oblast 688x464 s levým horním rohem v bodě (12,4)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1095 a výsledek pak zmenší na 640x464.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1096 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1097
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1098 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1099 Určité filtry potřebují být nahrány na začátku, nebo co nejblíž začátku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1100 řetězu filtrů, aby mohly využívat informace z video dekodéru, které budou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1101 ztraceny nebo znehodnoceny ostatními filtry.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1102 Nejdůležitější příklady jsou <option>pp</option> (postprocesing, pouze pokud
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1103 provádí deblok nebo dering operace),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1104 <option>spp</option> (další postprocesor pro odstranění MPEG artefaktů),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1105 <option>pullup</option> (inverzní telecine) a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1106 <option>softpulldown</option> (pro konverzi soft telecine na hard
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1107 telecine).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1108 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1109
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1110 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1111 Všeobecně byste měli filtrovat co nejméně je to možné, abyste zůstali co
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1112 nejblíže DVD originálu. Ořezání je často nutné (vysvětleno výše), ale vyhněte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1113 se škálování videa. Ačkoli je zmenšení občas preferováno před použitím
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1114 vyšších kvantizérů. My se musíme vyvarovat obou těchto případů: pamatujte,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1115 že jsme se již na začátku rozhodli obětovat bity za kvalitu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1116 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1117
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1118 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1119 Rovněž neupravujte gamu, kontrast, jas, atd. Co vypadá dobře na vaší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1120 obrazovce, nemusí vypadat dobře na ostatních. Tyto korekce by měly být
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1121 prováděny výhradně při přehrávání.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1122 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1123
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1124 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1125 Jednu věc byste však udělat mohli, a to protáhnout video velmi lehkým
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1126 odšumovacím filtrem, jako je <option>-vf hqdn3d=2:1:2</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1127 Zde je opět důvodem využití bitů k lepšímu účelu: proč jimi plýtvat na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1128 enkódování šumu, když si můžete šum přidat až při přehrávání?
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1129 Zvýšením parametrů pro <option>hqdn3d</option> dále zvýší komprimovatelnost,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1130 ale pokud zvýšíte hodnoty příliš, riskujete zhoršení viditelnosti obrazu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1131 Výše zmíněné hodnoty (<option>2:1:2</option>) jsou dost konzervativní;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1132 měli byste si zaexperimentovat s vyššími hodnotami a zhodnotit výsledky sami.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1133 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1134
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1135 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1136
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1137
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1138 <sect2 id="menc-feat-dvd-mpeg4-interlacing">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1139 <title>Prokládání a Telecine</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1140
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1141 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1142 Téměř veškeré filmy jsou natáčeny při 24 snímcích/s. Jelikož NTSC má
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1143 snímkovou rychlost 30000/1001 snímků/s, je třeba provést úpravu těchto
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1144 24 snímků/s videí, aby měly správnou NTSC snímkovou rychlost. Tato úprava se
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1145 jmenuje 3:2 pulldown a obecně je známa jako telecine (protože je pulldown
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1146 často prováděn během přenosu filmu na video) a, jednoduše řečeno, pracuje tak,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1147 že se film zpomalí na 24000/1001 snímků/s a každý čtvrtý snímek se zopakuje.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1148 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1149
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1150 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1151 Naopak žádné speciální úpravy se neprovádějí videu pro PAL DVD, která běží
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1152 při 25 snímcích/s. (Technicky lze na PAL provést telecine, tzv. 2:2 pulldown,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1153 ale v praxi se nepoužívá.) Film s 24 snímky/s je jednoduše přehráván rychlostí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1154 25 snímků/s. Výsledkem je, že video běží o něco rychleji, ale pokud nejste
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1155 vetřelec, tak si rozdílu ani nevšimnete. Většina filmů má navíc výškově
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1156 korigovaný zvuk, takže při přehrávání 25 snímků/s vše zní jak má i přesto, že
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1157 zvuk (a proto i celé video) má o 4% kratší dobu přehrávání než NTSC DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1158 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1159
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1160 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1161 Jelikož video na PAL DVD nebylo upravováno, nemusíte si dělat starosti s jeho
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1162 snímkovou rychlostí. Zdroj má 25 snímků/s, váš rip také. Pokud ovšem ripujete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1163 NTSC DVD film, musíte provést inverzní telecine.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1164 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1165
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1166 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1167 Filmy točené rychlostí 24 snímků/s jsou na NTSC DVD uloženy buď jako
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1168 30000/1001 po telecine, nebo jako progresivní (neprokládaný) se snímkovou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1169 24000/1001 snímků/s, na kterých by měl provést telecine DVD přehrávač za letu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1170 Není to ale zákon: některé TV série jsou prokládané (např. Buffy Lovec upírů),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1171 zatímco jiné jsou porůznu neprokládané nebo prokládané (např. Anděl, nebo 24
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1172 hodin).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1173 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1174
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1175 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1176 Doporučujeme, abyste si přečetli sekci o tom
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1177 <link linkend="menc-feat-telecine">Jak si poradit s telecine a prokladem na NTSC DVD</link>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1178 a naučili se jak využít různé možnosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1179 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1180
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1181 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1182 Pokud ovšem většinou ripujete pouze filmy, nejspíš se setkáváte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1183 s neprokládaným nebo prokládaným videem 24 snímků/s. V tom případě můžete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1184 použít <option>pullup</option> filtr <option>-vf pullup,softskip</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1185 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1186
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1187 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1188
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1189 <sect2 id="menc-feat-dvd-mpeg4-encoding-interlaced">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1190 <title>Enkódování prokládaného videa</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1191
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1192 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1193 Pokud je film, který chcete enkódovat, prokládaný (NTSC video nebo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1194 PAL video), budete si muset vybrat, zda jej chcete "odproložit" nebo ne.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1195 Zatímco odstranění prokladu učiní váš film použitelným na progresivně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1196 vykreslovaných zobrazovačích jako jsou počítačové monitory a projektory.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1197 Cenou za to je, snížení rychlosti z 50 nebo 60000/1001 půlsnímků za sekundu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1198 na 25 nebo 30000/1001 snímků za sekundu a zhruba polovina informací bude
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1199 z vašeho filmu ztracena ve scénách s významným množstvím pohybu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1200 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1201
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1202 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1203 Proto pokud enkódujete ve vysoké kvalitě pro archivační účely, doporučujeme
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1204 ponechat film prokládaný.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1205 Vždy můžete provést odstranění prokladu při přehrávání pokud zobrazujete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1206 na progresivním zařízení a přehrávače v budoucnosti budou schopny odstraňovat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1207 proklad v plné půlsnímkové rychlosti, čili odvozovat 50 nebo 60000/1001
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1208 úplných snímků za sekundu z prokládaného videa.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1209 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1210
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1211 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1212 Když pracujete s prokládaným videem, musíte zvláště dbát na:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1213 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1214
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1215 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1216 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1217 Výška a svislé odsazení pro ořezání musí být násobkem 4.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1218 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1219 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1220 Jakékoli svislé škálování musí být provedeno v prokládaném režimu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1221 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1222 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1223 Postprocesní a odšumovací filtry nemusí pracovat podle očekávání,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1224 dokud nezařídíte, aby zpracovávaly najednou pouze jeden půlsnímek a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1225 mohou vám poškodit video při nesprávném použití.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1226 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1227 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1228
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1229 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1230 S vědomím těchto souvislostí vám předkládáme první příklad:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1231 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1232 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1233 mencoder <replaceable>capture.avi</replaceable> -mc 0 -oac lavc -ovc lavc -lavcopts \
16817
804bf2acdad2 sync with 1.32
diego
parents: 16702
diff changeset
1234 vcodec=mpeg2video:vbitrate=6000:ilme:ildct:acodec=mp2:abitrate=224
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1235 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1236 <para>
16817
804bf2acdad2 sync with 1.32
diego
parents: 16702
diff changeset
1237 Povšimněte si voleb <option>ilme</option> a <option>ildct</option>.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1238 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1239 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1240
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1241
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1242 <sect2 id="menc-feat-dvd-mpeg4-av-sync">
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1243 <title>Poznámky k Audio/Video synchronizaci</title>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1244 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1245 <application>MEncoder</application>ovy audio/video synchronizační
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1246 algoritmy byly navrženy se záměrem obnovy souborů s vadnou synchronizací.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1247 V některých případech však můžou působit zbytečné zahazování a duplikaci snímků
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1248 a možná mírnou A/V desynchronizaci při použití s bezvadným vstupem
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1249 (přirozeně tyto A/V synchronizační omezení projeví pouze pokud kopírujete
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1250 zvukovou stopu při překódovávání videa, což je velmi doporučováno).
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1251 Můžete však přepnout do základní A/V synchronizace s volbou
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1252 <option>-mc 0</option>, nebo ji přidejte do svého konfiguračního souboru
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1253 <systemitem>~/.mplayer/mencoder</systemitem> config file, aspoň pokud pracujete
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1254 pouze s kvalitními zdroji (DVD, zachytávaná TV, vysoce kvalitní MPEG-4 ripy,
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1255 atd) ale nikoli s vadnými ASF/RM/MOV soubory.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1256 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1257 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1258 Chcete-li si dále pohlídat podivné zahazování snímků a duplikaci, můžete použít
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1259 <option>-mc 0</option> spolu s <option>-noskip</option>.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1260 To zamezí <emphasis>veškeré</emphasis> A/V synchronizaci a snímky se skopírují
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1261 jedna k jedné, takže to nelze použít ve spojení s filtry, které v nestřženém
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1262 okamžiku přidají nebo zahodí snímky, nebo pokud zdrojové video má proměnnou
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1263 snímkovou rychlost!
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1264 V tom případě není použití <option>-noskip</option> obecně doporučováno.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1265 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1266 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1267 O takzvaném "tříprůchodovém" enkódování zvuku podporované
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1268 <application>MEncoder</application>em bylo hlášeno, že způsobuje A/V
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1269 desynchronizaci.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1270 To nastává tehdy, pokud je použito v kombinaci s některými filtry, takže
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1271 <emphasis>není</emphasis> v tuto chvíli doporučováno používat tříprůchodové
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1272 enkódování zvuku.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1273 Tato vlastnost je zachována pouze z důvodu kompatibility a pro expertní
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1274 uživatele, kteří vědí, kdy je bezpečné ji použít a kdy ne.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1275 Pokud jste o tomto režimu nikdy předtím neslyšeli, zapoměňte, že jsme se
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1276 o něm vůbec zmínili!
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1277 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1278 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1279 Existují rovněž hlášení o A/V desynchronizaci při enkódování ze stdin
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1280 <application>MEncoder</application>em.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1281 Nedělejte to! Vždy použijte jako zdroj soubor nebo CD/DVD/atd zařízení.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1282 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1283 </sect2>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1284
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1285 <sect2 id="menc-feat-dvd-mpeg4-codec">
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1286 <title>Výběr video kodeku</title>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1287
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1288 <para>
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1289 Výběr vhodného video kodeku k použití závisí na několika faktorech,
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1290 jako je velikost, kvalita, schopnost přehrávání po síti, použitelnost nebo
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1291 obliba, z nichž některé čistě věcí osobního vkusu, některé závisí na technických
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1292 omezeních.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1293 </para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1294 <itemizedlist>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1295 <listitem><para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1296 <emphasis role="bold">Účinost komprimace</emphasis>:
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1297 Jednoduše můžeme říct, že většina kodeků novější generace je vytvořena
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1298 tak, aby dosahovala vyšší kvality a komrimace než předchozí generace.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1299 Proto se autoři této příručky a mnoho jiných lidí, domnívají že
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1300 neuděláte chybu,
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1301 <footnote id='fn-menc-feat-dvd-mpeg4-codec-cpu'>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1302 <para>Buďte však opartní: Dekódování MPEG-4 AVC videa v DVD
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1303 rozlišení vyžaduje rychlý stroj (např.Pentium 4 nad 1.5Ghz, nebo
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1304 Pentium M nad 1Ghz).
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1305 </para></footnote>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1306 když zvolíte MPEG-4 AVC kodeky, jako
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1307 <systemitem class="library">x264</systemitem> místo MPEG-4 ASP kodeků
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1308 jako jsou <systemitem class="library">libavcodec</systemitem> MPEG-4, nebo
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1309 <systemitem class="library">XviD</systemitem>.
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1310 (Pokročilé vývojáře kodeků by mohl zajímat názor Michaela Niedermayera na
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1311 "<ulink url="http://guru.multimedia.cx/?p=10">proč mě štve MPEG4-ASP</ulink>".)
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1312 Podobně byste měli dosáhnout lepší kvality použitím MPEG-4 ASP místo
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1313 MPEG-2 kodeků.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1314 </para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1315 <para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1316 Novější kodeky, které jsou v rozsáhlém vývoji, mohou obsahovat chyby,
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1317 kterých si dosud nikdo nevšiml a které mohou zničit výsledek.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1318 To je daň za použití nejnovější technologie.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1319 </para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1320 <para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1321 Navíc, v začátku používání nového kodeku se budete muset strávit nějaký
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1322 čas seznámením se s jeho volbami, abyste se dověděli co kde nastavit pro
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1323 dosažení požadované kvality obrazu.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1324 </para></listitem>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1325
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1326 <listitem><para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1327 <emphasis role="bold">Hardwarová kompatibilita</emphasis>:
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1328 Obvykle trvá dlouhou dobu, než začnou stolní video přehrávače podporovat
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1329 nejnovější videokodeky. Výsledkem toho je, že většina z nich podporuje
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1330 pouze kodeky MPEG-1 (jako VCD, XVCD a KVCD), MPEG-2 (jako DVD, SVCD a KVCD)
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1331 a MPEG-4 ASP (jako DivX,
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1332 LMP4 z <systemitem class="library">libavcodec</systemitem>u a
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1333 <systemitem class="library">XviD</systemitem>)
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1334 (Pozor: obvykle nejsou podporovány všechny vlastnosti (features) MPEG-4 ASP).
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1335 Nahlédněte prosím do technických specifikací vašeho přehrávače (pokud jsou),
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1336 nebo si vygooglete více informací.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1337 </para></listitem>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1338
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1339 <listitem><para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1340 <emphasis role="bold">Nejlepší kvalita na enkódovací čas</emphasis>:
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1341 Kodeky, které již jsou zde nějakou dobu (jako
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1342 <systemitem class="library">libavcodec</systemitem> MPEG-4 a
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1343 <systemitem class="library">XviD</systemitem>), jsou obvykle vysoce
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1344 optimalizovány všemi druhy chytrých algoritmů a SIMD assembly kódem.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1345 Proto mají snahu dosahovat nejlepší poměr kvality na enkódovací čas.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1346 Mohou však mít některé velmi pokročilé volby, které, pokud jsou zapnuty,
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1347 velmi spomalí enkódování při mizivém zisku.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1348 </para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1349 <para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1350 Pokud vám jde o rychlost, měli byste se držet výchozího nastavení
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1351 video kodeku (ačkoli byste stejně měli zkusit ostatní volby
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1352 zmíněné v dalších částech této příručky).
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1353 </para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1354 <para>
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1355 Rovněž můžete zvážit použití kodeku, který umí vícevláknové zpracování,
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1356 což je ovšem k něčemu jen uživatelům víceprocesorových strojů.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1357 <systemitem class="library">libavcodec</systemitem> MPEG-4 to umožňuje,
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1358 ale nárůst rychlosti je omezený a dostanete nepatrně méně kvalitní obraz.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1359 Vícevláknový režim <systemitem class="library">XviD</systemitem>, aktivovaný
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1360 volbou <option>threads</option>, můžete využít ke zvýšení rychlosti
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1361 enkódování &mdash; obvykle o 40&ndash;60% &mdash; s velmi malým nebo žádným
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1362 zhoršením obrazu.
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1363 <systemitem class="library">x264</systemitem> rovněž umožňuje vícevláknové
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1364 enkódování, které v současnosti zrychluje enkódování asi o 15&ndash;30%
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1365 (v závislosti na použitých volbách), ale snížuje PSNR o 0.05dB.
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1366 </para></listitem>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1367
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1368 <listitem><para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1369 <emphasis role="bold">Osobní vkus</emphasis>:
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1370 Zde jsme v rovině téměř iracionální: Ze stejného důvodu, pro který někteří
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1371 setrvávali léta u DivX&nbsp;3 i když novější kodeky již dělaly zázraky,
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1372 preferují někteří lidé <systemitem class="library">XviD</systemitem>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1373 nebo <systemitem class="library">libavcodec</systemitem> MPEG-4 před
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1374 <systemitem class="library">x264</systemitem>.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1375 </para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1376 <para>
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1377 Udělejte si vlastní úsudek a neposlouchejte lidi, kteří přísahají na jediný
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1378 kodek.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1379 Udělejte si několik vzorků ze surových zdrojů a porovnejte různé volby
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1380 enkódování a kodeky, abyste nalezli ten, který vám vyhovuje nejlépe.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1381 Nejlepší kodek je ten, který nejlépe
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
1382 ovládáte a který vypadá nejlépe na vaší obrazovce
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1383 <footnote id='fn-menc-feat-dvd-mpeg4-codec-playback'>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1384 <para>Stejný film nemusí vypadat stejně na monitoru někoho jiného, nebo
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1385 když je přehráván jiným dekodérem, takže si prověřujte své výtvory
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1386 přehráváním na různých sestavách.</para></footnote>!
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1387 </para></listitem>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1388 </itemizedlist>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1389 <para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1390 Seznam podporovaných kodeků najdete v sekci
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1391 <link linkend="menc-feat-selecting-codec">výběr kodeků a nosných formátů</link>.
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1392 </para>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1393 </sect2>
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1394
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1395 <sect2 id="menc-feat-dvd-mpeg4-audio">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1396 <title>Zvuk</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1397
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1398 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1399 Zvuk je mnohem jednodušší problém k řešení: pokud prahnete po kvalitě, prostě
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1400 jej nechte jak je.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1401 Dokonce i AC3 5.1 datové proudy mají nanejvýš 448Kbitů/s a stojí za každý bit.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1402 Možná jste v pokušení převést zvuk do Ogg Vorbis při vysoké kvalitě, ale jen
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1403 proto, že dnes nemáte A/V receiver pro hardwarové dekódování AC3 neznamená,
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1404 že jej nebudete mít zítra. Připravte své DVD ripy na budoucnost zachováním
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
1405 AC3 datových proudů.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1406 Datový proud AC3 můžete zachovat buď jeho zkopírováním přímo do video proudu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1407 <link linkend="menc-feat-mpeg4">během enkódování</link>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1408 Také můžete extrahovat AC3 proud, abyste jej pak namixovali do nosičů jako je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1409 NUT nebo Matroska.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1410 <screen>mplayer <replaceable>zdrojový_soubor.vob</replaceable> -aid 129 -dumpaudio -dumpfile <replaceable>zvuk.ac3</replaceable></screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1411 vytáhne do souboru <replaceable>zvuk.ac3</replaceable> zvukovou stopu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1412 číslo 129 ze souboru <replaceable>zdrojový_soubor.vob</replaceable> (NB: DVD
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1413 VOB soubory obvykle používají odlišné číslování audia,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1414 což znamená, že VOB zvuková stopa 120 je druhou zvukovou stopou v souboru).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1415 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1416
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1417 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1418 Někdy ovšem opravdu nemáte jinou možnost než dále zkomprimovat zvuk, aby vám
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1419 zbylo více bitů na video.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1420 Většina lidí volí komprimaci buď pomocí MP3 nebo Vorbis audio kodeků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1421 Zatímco ten druhý je efektivnější z prostorového hlediska, MP3 je lépe
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1422 podporován hardwarovými přehrávači, ačkoli časy se mění.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1423 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1424
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1425 <para>
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1426 <emphasis>Nepoužívejte</emphasis> <option>-nosound</option>, enkódujete-li
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1427 soubor se zvukem, dokonce i v tom případě, že budete enkódovat a muxovat
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1428 zvuk samostatně později.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1429 Ačkoli to může v ideálním případě fungovat, použití <option>-nosound</option>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1430 spíše skryje určité problémy v nastaveních enkódování na příkazovém řádku.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1431 Jinými slovy vám přítomnost zvukové stopy zajistí, pokud neuvidíte
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1432 hlášky typu
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1433 <quote>Příliš mnoho audio paketů ve vyrovnávací paměti</quote>, že budete
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1434 schopni dosáhnout správné synchronizace.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1435 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1436
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1437 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1438 Musíte nechat <application>MEncoder</application> zpracovat zvuk.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1439 Můžete například skopírovat originální zvukovou stopu během enkódování
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1440 pomocí <option>-oac copy</option>, nebo jej převést na "tenký" 4 kHz mono WAV
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1441 PCM pomocí <option>-oac pcm -channels 1 -srate 4000</option>.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1442 Jinak v některých případech vytvoříte video soubor, který nebude synchronní
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1443 se zvukem.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1444 Tyto případy nastávají tehdy, když počet videosnímků ve zdroji neodpovídá
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1445 celkové délce zvukových vzorků, nebo pokud je zvuk přerušovaný či překrývaný
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1446 díky chybějícím či nadbývajícím audio vzorkům.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1447 Správným způsobem jak toto řešit, je vložení ticha nebo odstřižení zvuku na
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1448 těchto místech.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1449 <application>MPlayer</application> to však neumí, takže pokud demuxujete
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1450 AC3 zvuk a enkódujete jej zvláštní aplikací (nebo jej dumpnete do PCM
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1451 <application>MPlayer</application>em), zůstanou zmíněné vady jak jsou a
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1452 jediný způsob jak je opravit je zahodit/namnožit video snímky v těchto
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1453 místech.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1454 Dokud <application>MEncoder</application> sleduje zvuk při enkódování
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1455 videa, může provádět toto zahazování/duplikování (což je obvykle OK,
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1456 jelikož nastává při černé obrazovce/změně scény, ale pokud
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1457 <application>MEncoder</application> nevidí zvuk, zpracuje snímky jak jsou
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1458 a ty pak nepasují na konečnou zvukovou stopu když například spojíte svou
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1459 video a zvukovou stopu do Matroska souboru.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1460 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1461
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1462 <para>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1463 Nejdříve ze všeho budete muset převést DVD zvuk do WAV souboru, který pak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1464 použije zvukový kodek jako vstup.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1465 Například:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1466 <screen>mplayer <replaceable>zdrojový_soubor.vob</replaceable> -ao pcm:file=<replaceable>výsledný_zvuk.wav</replaceable> -vc dummy -aid 1 -vo null</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1467 vylije druhou zvukovou stopu ze souboru
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1468 <replaceable>zdrojový_soubor.vob</replaceable> do souboru
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1469 <replaceable>výsledný_zvuk.wav</replaceable>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1470 Měli byste normalizovat zvuk před enkódováním, protože DVD zvukové stopy jsou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1471 obvykle nahrávány při nízkých hlasitostech.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1472 Můžete například použít nástroj <application>normalize</application>, který je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1473 k dispozici ve většině distribucí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1474 Pokud používáte Windows, stejnou práci udělá nástroj jako
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1475 <application>BeSweet</application>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1476 Komprimovat budete buď ve Vorbisu nebo MP3.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1477 Například:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1478 <screen>oggenc -q1 <replaceable>cílový_zvuk.wav</replaceable></screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1479 provede enkódování <replaceable>cílového_zvuku.wav</replaceable> s kvalitou 1,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1480 která přibližně odpovídá 80Kb/s a je to minimální kvalita na kterou byste měli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1481 enkódovat, pokud vám záleží na kvalitě.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1482 Poznamenejme, že <application>MEncoder</application> v současnosti neumí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1483 muxovat Vorbis zvukové stopy do výstupního souboru, protože podporuje pouze
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1484 AVI a MPEG kontejnery jako výstup. Pro oba platí, že některé přehrávače mohou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1485 mít problémy s udržením audio/video synchronizace, pokud je přítomen VBR zvuk
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1486 jako je Vorbis.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1487 Nemějte obavy, v tomto dokumentu vám ukážeme, jak to lze udělat pomocí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1488 programů třetích stran.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1489 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1490
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1491 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1492
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1493
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1494 <sect2 id="menc-feat-dvd-mpeg4-muxing">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1495 <title>Muxování (multiplexování)</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1496 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1497 Nyní, když máte své video enkódované, budete jej nejspíš chtít muxovat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1498 s jedním nebo více zvukovými stopami do nosného filmového formátu, jako je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1499 AVI, MPEG, Matroska nebo NUT.
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1500 <application>MEncoder</application> je zatím schopen nativně zapracovat
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1501 zvuk a video pouze do nosných formátů MPEG a AVI.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1502 Například:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1503 <screen>mencoder -oac copy -ovc copy -o <replaceable>výstupní_film.avi</replaceable> -audiofile <replaceable>vstupní_audio.mp2</replaceable> <replaceable>vstupní_video.avi</replaceable></screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1504 To by mělo sloučit video soubor <replaceable>vstupní_video.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1505 a zvukový soubor <replaceable>vstupní_audio.mp2</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1506 do AVI souboru <replaceable>výstupní_film.avi</replaceable>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1507 Tento příkaz pracuje s MPEG-1 layer I, II a III (známým jako MP3) zvukem,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1508 WAV a také několika dalšími formáty zvuku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1509 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1510
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1511 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1512 <application>MEncoder</application> obsahuje experimentální podporu pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1513 <systemitem class="library">libavformat</systemitem>, což je knihovna
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1514 z projektu FFmpeg, která podporuje muxování a demuxování celé řady nosných
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1515 formátů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1516 Například:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1517 <screen>mencoder -oac copy -ovc copy -o <replaceable>výstupní_film.asf</replaceable> -audiofile <replaceable>vstupní_audio.mp2</replaceable> <replaceable>vstupní_video.avi</replaceable> -of lavf -lavfopts format=asf</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1518 To provede stejnou činnost jako předchozí příklad, avšak výstupním formátem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1519 bude ASF.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1520 Prosím berte na vědomí, že tato podpora je velmi experimentální (ale de ode
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1521 dne lepší) a bude funkční pouze pokud jste zkompilovali
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1522 <application>MPlayer</application> s podporou pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1523 <systemitem class="library">libavformat</systemitem> (což znamená, že
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1524 předkompilovaná binární verze nebude většinou fungovat).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1525 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1526
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1527
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1528 <sect3 id="menc-feat-dvd-mpeg4-muxing-filter-issues">
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1529 <title>Zlepšování spolehlivosti muxování a A/V synchronizace</title>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1530 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1531 Můžete se dostat do vážných problémů s A/V sychronizací, pokud se snažíte
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1532 muxovat video a některé zvukové stopy, kdy bez ohledu na nastavení zpoždění
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1533 zvuku nedosáhnete správné synchronizace.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1534 To může nastat, pokud použijete některé video filtry, které zahodí nebo
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1535 zdvojí některé snímky, jako jsou filtry pro inverzi telecine.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1536 Velmi doporučujeme přidat videofiltr <option>harddup</option> na samý konec
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1537 řetězu videofiltrů pro potlačení tohoto problému.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1538 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1539
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1540 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1541 Bez <option>harddup</option>, pokud chce <application>MEncoder</application>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1542 duplikovat snímek, závisí na muxeru, aby vložil značku do nosiče, takže
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1543 bude poslední snímek zobrazen znovu, aby se dosáhlo synchronizace, přičemž
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1544 se nezapíše žádný snímek.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1545 S <option>harddup</option>, <application>MEncoder</application>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1546 pustí poslední zobrazený snímek znovu do řetězu filtrů.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1547 To znamená, že enkodér obdrží stejný snímek dvakrát a comprimuje ho.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1548 To povede k o něco většímu souboru, ale nezpůsobí problémy při demuxování
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1549 nebo remuxování do jiného nosného formátu.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1550 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1551
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1552 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1553 Rovněž nemáte jinou možnost než použít <option>harddup</option> s těmi
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1554 nosnými formáty, které nejsou těsně spjaty s
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1555 <application>MEncoder</application>em, jako jsou ty, které jsou podporovány
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1556 přes <systemitem class="library">libavformat</systemitem>, které nemusí
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1557 podporovat duplikaci na úrovni nosného formátu.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1558 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1559 </sect3>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1560
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1561
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1562 <sect3 id="menc-feat-dvd-mpeg4-muxing-avi-limitations">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1563 <title>Limitace nosného formátu AVI</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1564 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1565 Ačkoli je to po MPEG-1 nejpodporovanější nosný formát, má AVI i jisté
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1566 zásadní nedostatky. Snad nejviditelnější je režie.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1567 Na každý chunk AVI souboru je 24 bajtů ztraceno na hlavičky a index.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1568 To se projeví asi 5 MP na hodinu, neboli 1-2.5% prodloužení 700 MB filmu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1569 Nevypadá to jako mnoho, ale může to znamenat rozdíl mezi možností použít
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1570 video při 700 kbitech/s nebo 714 kbitech/s a tady se každý bit projeví na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1571 kvalitě.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1572 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1573
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1574 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1575 Navíc k této neefektivitě má AVI také následující hlavní omezení:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1576 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1577
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1578 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1579 <listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1580 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1581 Může být uchováván pouze obsah s konstantní snímkovou rychlostí. To je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1582 zvláště omezující, když má původní materiál, který chcete enkódovat, smíšený
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1583 obsah. Například směs NTSC videa a filmového materiálu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1584 Jistěže jsou zde cestičky, které umožní uložit obsah se smíšenou snímkovou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1585 rychlostí v AVI, ale ty zvyšují (již tak velkou) režii pětinásobně nebo víc,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1586 proto nejsou praktické.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1587 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1588 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1589 <listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1590 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1591 Zvuk v AVI musí mít buď konstantní datový tok (CBR) nebo konstantní velikost
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1592 rámce (čili všechny rámce se dekódují na stejný počet vzorků).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1593 Naneštěstí ten nejefektivnější kodek, Vorbis, nesplňuje ani jeden z těchto
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1594 požadavků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1595 Pokud tedy plánujete uložit svůj film do AVI, budete muset použít méně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1596 efektivní kodek, jako MP3 nebo AC3.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1597 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1598 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1599 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1600
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1601 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1602 Z výše uvedených důvodů <application>MEncoder</application> zatím
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1603 nepodporuje proměnnou snímkovou rychlost ani enkódování do Vorbisu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1604 Nemusíte to však považovat za omezení, jestliže je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1605 <application>MEncoder</application> jediným nástrojem pro vaše
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1606 enkódování. Nakonec je možné použít <application>MEncoder</application> pouze
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1607 pro enkódování videa a pak použít externí nástroje pro enkódování zvuku a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1608 namuxování do jiného nosného formátu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1609 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1610 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1611
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1612 <sect3 id="menc-feat-dvd-mpeg4-muxing-matroska">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1613 <title>Muxování do nosného formátu Matroska</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1614 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1615 Matroska je svobodný a otevřený standard nosného formátu, zaměřený na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1616 nabídku mnoha pokročilých vlastností, které starší nosné formáty, jako AVI,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1617 nemohou poskytnout.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1618 Například Matroska podporuje zvuk s proměnným datovým tokem (VBR),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1619 proměnné snímkové rychlosti (VFR), kapitoly, přílohy souborů, kód pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1620 detekci chyb (EDC) a moderní A/V kodeky jako "Advanced Audio
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1621 Coding" (AAC), "Vorbis" nebo "MPEG-4 AVC" (H.264), z nichž žádný nelze
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1622 použít v AVI.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1623 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1624
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1625 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1626 Nástroje pro vytváření Matroska souborů jsou souhrnně nazvány
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1627 <application>mkvtoolnix</application> a jsou dostupné pro většinu Unixových
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1628 platforem a stejně tak <application>Windows</application>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1629 Protože je Matroska otevřený standard, můžete najít jiné nástroje, které vám
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1630 lépe padnou, ale protože mkvtoolnix je nejrozšířenější a je podporován
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1631 přímo Matroska týmem, pokryjeme jen jejich použití.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1632 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1633
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1634 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1635 Asi nejsnazší způsob, jak začít s Matroskou je použít
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1636 <application>MMG</application>, grafickou nadstavbu dodávanou s
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1637 <application>mkvtoolnix</application> a řídit se
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1638 <ulink url="http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html">návodem k mkvmerge GUI (mmg)</ulink>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1639 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1640
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1641 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1642 Můžete rovněž muxovat zvukové a video soubory z příkazového řádku:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1643 <screen>mkvmerge -o <replaceable>výstup.mkv</replaceable> <replaceable>vstupní_video.avi</replaceable> <replaceable>vstupní_audio1.mp3</replaceable> <replaceable>vstupní_audio2.ac3</replaceable></screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1644 To spojí video soubor <replaceable>vstupní_video.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1645 a dva zvukové soubory <replaceable>vstupní_audio1.mp3</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1646 a <replaceable>vstupní_audio2.ac3</replaceable> do Matroska souboru
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1647 <replaceable>výstup.mkv</replaceable>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1648 Matroska, jak jsme již řekli, umí mnohem víc než to, jako více zvukových stop
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1649 (včetně doladění audio/video synchronizace), kapitoly, titulky, stříhání,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1650 atd...
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1651 Detaily naleznete v dokumentaci k těmto aplikacím.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1652 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1653
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1654 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1655
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1656 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1657
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1658 </sect1>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1659
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1660 <sect1 id="menc-feat-telecine">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1661 <title>Jak naložit s telecine a prokladem v NTSC DVD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1662
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1663 <sect2 id="menc-feat-telecine-intro">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1664 <title>Představení</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1665 <formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1666 <title>Co je to telecine?</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1667 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1668 Pokud moc nerozumíte tomu, co je napsáno v tomto dokumentu, doporučujeme
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1669 navštívit tuto stránku:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1670 <ulink url="http://www.divx.com/support/guides/guide.php?gid=10">http://www.divx.com/support/guides/guide.php?gid=10</ulink>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1671 Na této adrese je srozumitelný a rozumně vyčerpávající popis co je to
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1672 telecine.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1673 </para></formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1674
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1675 <formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1676 <title>Poznámka k číslům.</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1677 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1678 Mnoho dokumentů, včetně výše odkazované příručky, udává hodnotu půlsnímků za
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1679 sekundu NTSC videa jako 59.94 a odpovídající snímky za sekundu jako 29.97
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1680 (pro telecinované a prokládané video) a 23.976 (pro neprokládané).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1681 Pro jednoduchost některé dokumenty zaokrouhlují tyto hodnoty na 60, 30 a 24.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1682 </para></formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1683
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1684 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1685 Přesně řečeno jsou všechny tyto čísla přibližná. Černobílé NTSC video mělo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1686 přesně 60 půlsnímků za sekundu, ale později byla zvolena hodnota 60000/1001,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1687 aby bylo možné přidat barevná data a zůstat kompatibilní se starými
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1688 černobílými televizemi. Digitální NTSC (jak je na DVD) má rovněž rychlost
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1689 60000/1001 půlsnímků za sekundu. Z toho vyplývá, že prokládané a telecinované
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1690 video má 30000/1001 snímků za sekundu; neprokládané video má 24000/1001 snímků
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1691 za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1692 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1693
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1694 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1695 Starší verze dokumentace <application>MEncoder</application>u a mnoho zpráv
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1696 v archivu konference hovoří o 59.94, 29.97 a 23.976.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1697 Všechna dokumentace <application>MEncoder</application>u byla aktualizována
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1698 a používá zlomkových hodnot. Vy byste je měli používat také.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1699 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1700
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1701 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1702 <option>-ofps 23.976</option> je nesprávně.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1703 Místo toho byste měli použít <option>-ofps 24000/1001</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1704 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1705
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1706 <formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1707 <title>Jak je používáno telecine.</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1708 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1709 Veškeré video určené k zobrazení na NTSC televizi musí mít 60000/1001
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1710 půlsnímků za sekundu. Filmy vyráběné pro televizi jsou často natáčeny přímo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1711 ve 60000/1001 půlsnímcích za sekundu, ale většina filmů do kin je natáčena při
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1712 24 nebo 24000/1001 snímcích za sekundu. Když je film přepisován na DVD, je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1713 video upraveno pro televizi v procesu zvaném telecine.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1714 </para></formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1715
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1716 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1717 Na DVD není video ve skutečnosti nikdy uloženo v 60000/1001 půlsnímcích za
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1718 sekundu. Video jež bylo původně 60000/1001, bude mít každý pár půlsnímků
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1719 zkombinován do podoby snímku s rychlostí 30000/1001 snímků za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1720 Hardwarové DVD přehrávače pak čtou příznak, zabudovaný ve video proudu, který
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1721 udává jestli první půlsnímek tvoří liché nebo sudé řádky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1722 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1723
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1724 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1725 Obsah ve 24000/1001 snímcích za sekundu obvykle zůstává tak jak byl v době
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1726 přepisu na DVD a DVD přehrávač musí provést telecine za letu. Někdy je však
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1727 video telecinováno <emphasis>před</emphasis> uložením na DVD; dokonce i když
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1728 mělo původně 24000/1001 snímků za sekundu, bude mít 60000/1001 půlsnímků za
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1729 sekundu. Pokud je uložen na DVD, páry půlsnímků jsou zkombinovány do formy
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1730 30000/1001 snímků za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1731 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1732
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1733 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1734 Když se podíváme na jednotlivé snímky vzniklé z videa o 60000/10001 půlsnímcích
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1735 za sekundu, telecinovaného nebo ne, je zřetelně vidět toto prokládání jakmile
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1736 je zde nějaký pohyb, jelikož jeden půlsnímek (řekněme liché řádky)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1737 reprezentuje časový okamžik o 1/(60000/1001) sekundy pozdější než ten druhý.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1738 Přehrávání prokládaného videa na počítači vypadá škaredě jak proto, že monitor
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1739 má vyšší rozlišení, ale i protože video je zobrazováno snímek po snímku místo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1740 půlsnímek po půlsnímku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1741 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1742
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1743 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1744 <title>Poznámky:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1745 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1746 Tento odstavec platí pouze pro NTSC DVD, nikoli PAL.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1747 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1748 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1749 Řádky s příklady spuštění <application>MEncoder</application>u v dokumentu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1750 <emphasis role="bold">nejsou</emphasis> určeny pro opravdové použití.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1751 Obsahují pouze nutné minimum vyžadované pro enkódování příslušné ke kategorii
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1752 videa. Jak dělat dobré DVD ripy nebo doladit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1753 <systemitem class="library">libavcodec</systemitem> pro maximální kvalitu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1754 není v záběru tohoto dokumentu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1755 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1756 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1757 Poznámky pod čarou příslušné pro tuto příručku jsou linkovány takto:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1758 <link linkend="menc-feat-telecine-footnotes">[1]</link>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1759 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1760 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1761 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1762
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1763 <sect2 id="menc-feat-telecine-ident">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1764 <title>Jak zjistit o jaký typ videa se jedná</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1765
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1766 <sect3 id="menc-feat-telecine-ident-progressive">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1767 <title>Progresivní (neprokládané)</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1768 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1769 Progresivní video je původně natočeno při 24000/1001 snímcích za sekundu a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1770 uloženo na DVD beze změn.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1771 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1772
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1773 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1774 Když přehrajete progresivní DVD v <application>MPlayer</application>u,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1775 <application>MPlayer</application> vypíše následující řádek jakmile začne
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1776 přehrávat:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1777
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1778 <screen> demux_mpg: 24000/1001 fps progressive NTSC content detected, switching framerate.</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1779
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1780 Od tohoto okamžiku by demux_mpg neměl nikdy říct že našel
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1781 &quot;30000/1001 fps NTSC obsah.&quot;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1782 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1783
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1784 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1785 Když sledujete progresivní video, neměli byste nikdy vidět žádný proklad.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1786 Dejte si ale pozor, jelikož je občas trošku telecine namixováno tam, kde byste
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1787 to vůbec nečekali. Setkal jsem se s TV show na DVD, které měly sekundu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1788 telecine při každé změně scény nebo na zcela náhodných místech. Jednou jsem se
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1789 díval na DVD, které bylo do půlky progresivní a od půlky telecinováno. Pokud
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1790 chcete být <emphasis>opravdu</emphasis> důkladní, můžete oskenovat celý film:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1791
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1792 <screen>mplayer dvd://1 -nosound -vo null -benchmark</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1793
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1794 Použití volby <option>-benchmark</option> nechá
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1795 <application>MPlayer</application> přehrát film tak rychle, jak je to jen
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1796 možné; stejně to ale, v závislosti na vašem stroji, chvíli potrvá.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1797 Vždy, když demux_mpg ohlásí změnu snímkové rychlosti, řádek těsně nad hlášením
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1798 ukáže čas ve kterém ke změně došlo.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1799 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1800
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1801 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1802 Občas je progresivní video na DVD označeno jako
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1803 &quot;soft-telecine&quot; protože je zamýšleno, aby telecine provedl DVD
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1804 přehrávač.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1805 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1806 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1807
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1808 <sect3 id="menc-feat-telecine-ident-telecined">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1809 <title>Telecinováno (přepsáno pro NTSC televizi)</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1810 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1811 Telecinované video bylo původně natočeno při 24000/1001, ale bylo telecinováno
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1812 <emphasis>před</emphasis> zápisem na DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1813 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1814
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1815 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1816 <application>MPlayer</application> (nikdy) nehlásí žádnou změnu snímkové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1817 rychlosti, když přehrává telecinované video.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1818 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1819
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1820 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1821 Při sledování telecinovaného videa uvidíte prokladové artefakty, které jako by
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1822 &quot;blikaly&quot;: opakovaně mizí a objevují se.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1823 Blíže se na to můžete podívat:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1824 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1825 <listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1826 <screen>mplayer dvd://1</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1827 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1828 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1829 Převiňte na část s pohybem.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1830 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1831 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1832 Použijte klávesu <keycap>.</keycap> pro krokování po jednom snímku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1833 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1834 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1835 Sledujte vzor prokládaně vypadajících a progresivně vypadajících snímků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1836 Pokud je vzor, který sledujete PPPII,PPPII,PPPII,..., pak je video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1837 telecinováno. Pokud vidíte jiný vzor, pak mohlo být video telecinováno
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1838 použitím nějaké nestandardní metody; <application>MEncoder</application>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1839 neumí bezztrátově převést nestandardní telecine do progresivního. Pokud
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1840 nevidíte žádný vzor, pak je video nejspíš prokládané.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1841 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1842 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1843 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1844
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1845 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1846 Někdy je telecinované video na DVD označeno jako &quot;hard-telecine&quot;.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1847 Jelikož hard-telecine již je ve 60000/1001 půlsnímcích za sekundu, DVD
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1848 přehrávač přehraje video bez jakýchkoli manipulací.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1849 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1850
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1851 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1852 Dalším způsobem jak zjistíte, že je váš zdroj telecinován, je přehrát
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1853 jej s volbami <option>-vf pullup</option> a <option>-v</option> a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1854 uvidíte, jak <option>pullup</option> nachází vzor.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1855 Pokud je zdroj telecinován, mělibyste vidět na konzoli vzor 3:2 s opakujícím
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1856 se <systemitem>0+.1.+2</systemitem> a <systemitem>0++1</systemitem>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1857 Tato technika má tu výhodu, že nemusíte sledovat zdroj, abyste jej
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1858 identifikovali, což se může hodit, pokud chcete automatizovat enkódovací
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1859 proceduru, nebo ji provést vzdáleně přes pomalou linku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1860 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1861
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1862 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1863
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1864 <sect3 id="menc-feat-telecine-ident-interlaced">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1865 <title>Prokládané</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1866 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1867 Prokládané video bylo od samého začátku filmováno při 60000/1001 půlsnímcích
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1868 za sekundu a uloženo na DVD ve 30000/1001 snímcích za sekundu. Efekt
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1869 prokládání (často označovaný jako &quot;roztřepení&quot;) je výsledkem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1870 skládání půlsnímků do snímků. Vzdálenost mezi půlsnímky má být 1/(60000/1001)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1871 sekundy a proto když jsou zobrazeny současně, je rozdíl jasně patrný.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1872 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1873
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1874 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1875 Stejně jako u telecinovaného videa by <application>MPlayer</application> neměl
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1876 hlásit jakékoli změny snímkové rychlosti při přehrávání prokládaného obsahu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1877 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1878
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1879 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1880 Když si prohlédnete video blíže pomocí krokování snímků pomocí klávesy
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1881 <keycap>.</keycap>, uvidíte, že každý jednotlivý snímek je prokládaný.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1882 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1883 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1884
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1885 <sect3 id="menc-feat-telecine-ident-mixedpt">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1886 <title>Smíšené progresivní a telecinované</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1887 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1888 Veškerý obsah &quot;smíšeného progresivního a telecinovaného&quot; videa měl
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1889 původně 24000/1001 snímků za sekundu, ale některé části prošly telecine.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1890 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1891
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1892 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1893 Když <application>MPlayer</application> přehrává tuto kategorii, bude (často
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1894 i opakovaně) přepínat mezi &quot;30000/1001 snímky/s NTSC&quot;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1895 a &quot;24000/1001 snímky/s progresivním NTSC&quot;. Sledujte spodek
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1896 <application>MPlayer</application>ova výstupu, abyste zachytili tyto zprávy.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1897 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1898
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1899 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1900 Měli byste prověřit části se &quot;30000/1001 snímky/s NTSC&quot;, abyste měli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1901 jistotu, že jsou skutečně telecinovány a ne jen prokládané.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1902 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1903 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1904
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1905 <sect3 id="menc-feat-telecine-ident-mixedpi">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1906 <title>Smíšené progresivní a prokládané</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1907 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1908 Ve &quot;smíšeném progresivním a prokládaném&quot; obsahu bylo progresivní a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1909 prokládané video splácáno dohromady.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1910 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1911
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1912 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1913 Tato kategorie vypadá jako &quot;smíšené progresivní a telecine&quot;,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1914 dokud si neprohlédnete části se 30000/1001 snímky/s a neuvidíte, že nemají
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1915 telecine vzor.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1916 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1917 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1918
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1919 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1920
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1921 <sect2 id="menc-feat-telecine-encode">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1922 <title>Jak enkódovat jednotlivé kategorie</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1923 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1924 Jak jsem se zmínil na začátku, příklady příkazových řádků
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1925 <application>MEncoder</application>u níže <emphasis role="bold">nejsou</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1926 určeny pro praktické použití; pouze demonstrují, minimum voleb nutných k tomu,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1927 abyste správně enkódovali každou kategorii.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1928 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1929
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1930 <sect3 id="menc-feat-telecine-encode-progressive">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1931 <title>Progresivní</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1932 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1933 Progresivní video nevyžaduje žádné speciální filtrování pro enkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1934 Jediná volba, která by určitě neměla chybět je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1935 <option>-ofps 24000/1001</option>. Jinak se <application>MEncoder</application>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1936 pokusí enkódovat při 30000/1001 snímcích/s a bude opakovat snímky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1937 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1938
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1939 <para>
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1940 <screen>mencoder dvd://1 -oac copy -ovc lavc -ofps 24000/1001</screen>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1941 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1942
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1943 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1944 Často se stává, že video, které vypadá progresivně, má v sobě zamíchány
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1945 kratičké telecinované části. Pokud si nejste jisti, je nejbezpečnější
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1946 považovat video za
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1947 <link linkend="menc-feat-telecine-encode-mixedpt">smíšené progresivní a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1948 telecinované</link>. Ztráta výkonu je jen malá
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1949 <link linkend="menc-feat-telecine-footnotes">[3]</link>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1950 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1951 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1952
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1953 <sect3 id="menc-feat-telecine-encode-telecined">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1954 <title>Telecinované</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1955 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1956 Telecine lze obrátit a dostat tak původní 24000/1001 obsah, za použití metody
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1957 zvané inverzní telecine.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1958 <application>MPlayer</application> má několik filtrů právě pro tuto činnost;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1959 nejlepší z těchto filtrů, <option>pullup</option>, je popsán v části
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1960 <link linkend="menc-feat-telecine-encode-mixedpt">smíšené progresivní a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1961 telecinované</link>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1962 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1963 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1964
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1965 <sect3 id="menc-feat-telecine-encode-interlaced">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1966 <title>Prokládané</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1967 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1968 V praxi není většinou možné dostat kompletní progresivní video z prokládaného
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1969 obsahu. Jediný způsob jak to udělat bez ztráty poloviny svislého rozlišení je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1970 zdvojením snímkové rychlosti a zkusit &quot;odhadnout&quot; co mám provést
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1971 s odpovídajícími linkami každého z půlsnímků (má to ovšem i nevýhody &ndash;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1972 viz metoda 3).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1973 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1974
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1975 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1976 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1977 Enkódujte video v prokládané formě. Obvykle prokládání způsobí těžkou újmu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1978 schopnosti enkodéru dobře komprimovat, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1979 <systemitem class="library">libavcodec</systemitem> má dvě volby určené právě
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1980 pro lepší ukládání prokládaného videa: <option> ildct</option> a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1981 <option>ilme</option>. Rovněž velmi doporučujeme použití volby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1982 <option>mbd=2</option> <link linkend="menc-feat-telecine-footnotes">[2] </link>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1983 protože bude enkódovat makrobloky jako neprokládané tam, kde není žádný pohyb.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1984 Volba <option>-ofps</option> zde <emphasis role="bold">není</emphasis> nutná.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1985
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
1986 <screen>mencoder dvd://1 -oac copy -ovc lavc -lavcopts ildct:ilme:mbd=2</screen>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1987 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1988 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1989 Použijte filtr odstraňující proklad před enkódováním. Je jich zde několik,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1990 můžete si vybrat. Každý z nich má svá pro i proti. Prohlédněte si výstup
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1991 <option>mplayer -pphelp</option> abyste zjistili, které jsou k dispozici
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1992 (grep pro &quot;deint&quot;) a vyhledejte
17707
b70d17d4c76b Change obsolete references to design6 to design7.
diego
parents: 17706
diff changeset
1993 <ulink url="http://www.mplayerhq.hu/design7/info.html#mailing_lists">
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1994 e-mailové konference MPlayeru</ulink>, kde naleznete mnoho diskusí o různých
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1995 filtrech. Snímková rychlost se ani zde nemění, takže žádné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1996 <option>-ofps</option>. Odstranění proklady by rovněž mělo být provedeno po
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1997 ořezání <link linkend="menc-feat-telecine-footnotes">[1]</link>, ale před
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1998 škálováním.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
1999
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2000 <screen>mencoder dvd://1 -oac copy -vf pp=lb -ovc lavc</screen>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2001 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2002 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2003 Naneštěstí je tato volba vadná v <application>MEncoder</application>u;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2004 měla by dobře pracovat v <application>MEncoder G2</application>, ale ten tu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2005 zatím není. Stejně je určením <option> -vf tfields</option> vytvoření
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2006 kompletního snímku z každého půlsnímku, což zvýší snímkovou rychlost na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2007 60000/1001. Výhoda tohoto přístupu je v tom, že nepřijdete o žádná data;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2008 Protože však každý snímek pochází jen z jediného půlsnímku, musí být chybějící
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2009 linky nějak dopočítány. Neexistuje mnoho dobrých metod, generujících chybějící
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2010 data, takže výsledek bude trochu podobný tomu, když se použije některý filtr
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2011 odstraňující proklad.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2012 Generováním chybějících linek vznikají další problémy tím, že se zdvojnásobí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2013 množství dat. Takže jsou potřeba vyšší datové toky pro enkódování, aby byla
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2014 zachována kvalita a spotřebuje se více výkonu CPU jak pro enkódování, tak pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2015 dekódování. tfields má několik různých voleb pro volbu způsobu generování
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2016 chybějících linek. Pokud použijete tuto možnost, prostudujte si manuál a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2017 zvolte si volbu, která s vaším materiálem vypadá nejlépe.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2018 Poznamenejme, že při použití <option>tfields</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2019 <emphasis role="bold">musíte</emphasis> nastavit <option>-fps</option> a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2020 <option>-ofps</option> na dvojnásobek snímkové rychlosti originálu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2021
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2022 <screen>mencoder dvd://1 -oac copy -vf tfields=2 -ovc lavc -fps 60000/1001 -ofps 60000/1001</screen>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2023 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2024 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2025 Pokud plánujete výrazné zmenšování, můžete extrahovat a enkódovat jen jeden
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2026 z půlsnímků. Samozřejmě přijdete o polovinu svislého rozlišení, ale pokud
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2027 plánujete zmenšení ideálně na 1/2 originální velikosti, nebude na této ztrátě
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2028 vůbec záležet. Výsledek bude progresivní soubor s 30000/1001 snímky za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2029 Celý postup spočívá v použití <option>-vf field</option> a následném ořezu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2030 <link linkend="menc-feat-telecine-footnotes">[1]</link> a příslušném
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2031 škálování. Pamatujte, že musíte nastavit scale tak, aby kompenzoval
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2032 zmenšení svislého rozměru na polovinu.
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2033 <screen>mencoder dvd://1 -oac copy -vf field=0 -ovc lavc</screen>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2034 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2035 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2036 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2037
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2038 <sect3 id="menc-feat-telecine-encode-mixedpt">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2039 <title>Smíšené progresivní a telecinované</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2040 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2041 Abychom převedli smíšené progresivní a telecinované video zcela na progresivní
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2042 video, musí být telecinované části inverzně telecinovány. K tomu lze dospět
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2043 třemi postupy popsanými níže.Poznamenejme, že byste měli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2044 <emphasis role="bold">vždy</emphasis> provést inverzní telecine před
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2045 jakýmkoliv škálováním; a v případě, že přesně nevíte co děláte, také před
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2046 ořezáním <link linkend="menc-feat-telecine-footnotes">[1]</link>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2047 Volba <option>-ofps 24000/1001</option> je vyžadována, protože výstupní video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2048 bude mít 24000/1001 snímků za sekundu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2049 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2050
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2051 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2052 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2053 <option>-vf pullup</option> je navržen tak, aby inverzně telecinoval, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2054 progresivní data nechával jak jsou. Pro správnou funkci
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2055 <emphasis role="bold">musí</emphasis> být <option>pullup</option> následován
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2056 filtrem <option>softskip</option>, jinak <application>MEncoder</application>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2057 zhavaruje. <option>pullup</option> je však nejčistší a nejpřesnější dostupnou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2058 metodou pro enkódování jak telecinovaného, tak &quot;smíšeného progresivního a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2059 telecinovaného&quot;.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2060
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2061 <screen>mencoder dvd://1 -oac copy -vf pullup,softskip -ovc lavc -ofps 24000/1001</screen>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2062 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2063
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2064
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2065 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2066 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2067 Starší metodou je, spíše než inverzně telecinovat telecinované části,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2068 telecinovat progresivní části a poté inverzně telecinovat celé video.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2069 Zní to zmateně? softpulldown je filtr, který projde celé video a převede celý
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2070 soubor na telecinovaný. Pokud budeme následovat softpulldown buď
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2071 <option>detc</option> nebo <option>ivtc</option>, bude konečný výsledek zcela
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2072 progresivní. Nutná je volba <option>-ofps 24000/1001</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2073
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2074 <screen>mencoder dvd://1 -oac copy -vf softpulldown,ivtc=1 -ovc lavc -ofps 24000/1001</screen>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2075 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2076 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2077
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2078 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2079 Osobně jsem nepoužil <option>-vf filmdint</option>, ale toto o něm (přibližně)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2080 řekl D Richard Felker III:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2081
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2082 <blockquote><para>Je to OK, ale IMO to zkouší až příliš často odstraňovat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2083 proklad místo provádění inverzního telecine (stejně jako settop DVD
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2084 přehrávače &amp; progresivní televize) což vede ke škaredému třepotání a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2085 dalším artefaktům. Pokud jej chcete používat, měli byste předtím alespoň
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2086 trochu času věnovat ladění voleb a sledováním výstupu, abyste měli jistotu,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2087 že vám to něco nekazí.</para></blockquote>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2088 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2089 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2090 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2091
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2092 <sect3 id="menc-feat-telecine-encode-mixedpi">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2093 <title>Smíšené progresivní a prokládané</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2094 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2095 Máme dvě volby pro práci s touto kategorií, obě jsou však kompromisem. Měli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2096 byste se rozhodnout podle trvání/umístění každého typu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2097 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2098
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2099 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2100 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2101 Považujte to za progresivní. Prokládané části budou vypadat prokládaně a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2102 některé z prokládaných políček bude muset být zahozeno, což povede
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2103 k nestejnoměrnému poskakování. Můžete proti tomu nasadit postprocesní filtr,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2104 pokud chcete, ale tím mírně degradujete progresivní části.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2105 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2106
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2107 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2108 Této volbě byste se měli rozhodně vyhnout, pokud chcete nakonec zobrazovat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2109 video na zobrazovači s prokládaným obrazem (přes TV kartu například).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2110 Pokud máte prokládané snímky ve videu s rychlostí 24000/1001 snímků za
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2111 sekundu, budou telecinovány spolu s progresivními snímky. Polovina
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2112 prokládaných "snímků" bude zobrazena po dobu trvání třech snímků
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2113 (3/(60000/1001) sekund), což povede k poskakování. Efekt
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2114 &quot;cukání zpět&quot; vypadá skutečně zle. Pokud se o to přece pokusíte,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2115 <emphasis role="bold">musíte</emphasis> použít filtr odstraňující proklad,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2116 jako je <option>lb</option> nebo <option>l5</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2117 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2118
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2119 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2120 Špatnou volbou je to i pro progresivní zobrazovač. Ten zahodí páry po sobě
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2121 jdoucích snímků, což povede k přerušování, které může být více viditelné, než
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2122 při druhé metodě, která zobrazuje některé progresivní snímky dvakrát.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2123 Prokládané video se 30000/1001 snímky za sekundu je totiž poněkud trhané,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2124 protože by ve skutečnosti mělo být promítáno při 60000/1001 půlsnímcích za
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2125 sekundu, takže zdvojení některých snímků není tak moc vidět.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2126 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2127
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2128 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2129 V každém případě je nejlepší posoudit obsah a způsob, jakým bude zobrazován.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2130 Pokud je vaše video z 90% progresivní a nikdy jej nebudete pouštět na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2131 televizi, měli byste volit progresivní přístup.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2132 Pokud je progresívní jen z poloviny, pravděpodobně jej bude lepší enkódovat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2133 jako by bylo celé prokládané.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2134 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2135 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2136
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2137 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2138 Pokládat jej za prokládané. Některé snímky v progresivních částech budou muset
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2139 být duplikovány, což povede k nepravidelnému poskakování. Opět platí, že
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2140 filtry pro odstranění prokladu mohou poněkud degradovat progresivní části.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2141 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2142
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2143 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2144 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2145
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2146 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2147
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2148 <sect2 id="menc-feat-telecine-footnotes">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2149 <title>Poznámky pod čarou</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2150 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2151 <listitem><formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2152 <title>K ořezu:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2153 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2154 Video data na DVD jsou ukládána ve formátu zvaném YUV 4:2:0. V YUV videu jsou,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2155 jasová (&quot;černobílá&quot;; angl. luma) a barvonosná (angl. chroma) složka
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2156 ukládány odděleně. Protože je lidské oko méně citlivé na změnu barvy, než na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2157 jas, připadá v YUV 4:2:0 obrázku pouze jeden barvonosný pixel na každé čtyři
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2158 jasové pixely. V progresivním obrázku má každý čtverec 2x2 jasových pixelů
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2159 právě jeden barvonosný pixel. Proto musíte ořezávat progresivní YUV 4:2:0
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2160 na sudé rozměry a používat sudé odsazení (offsety). Například
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2161 <option>crop=716:380:2:26</option> je OK, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2162 <option>crop=716:380:3:26 </option> není.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2163 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2164 </formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2165
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2166 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2167 Když máte co do činění s prokládaným YUV 4:2:0, je situace mnohem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2168 komplikovanější. Místo každých čtyřech pixelů ve <emphasis>snímku</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2169 sdílejících barvonosný pixel, každé čtyři jasové pixely v každém
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2170 <emphasis>půlsnímku</emphasis> sdílejí barvonosný pixel. Když jsou půlsnímky
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2171 proloženy do snímku, každá linka má výšku jeden pixel. A nyní místo aby dané
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2172 čtyři pixely tvořily čtverec, jsou první dva vedle sebe a druhé dva jsou vedle
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2173 sebe o dvě linky níž. Dva pixely těsně pod nimi patří do jiného půlsnímku a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2174 proto sdílí jiný barvonosný pixel se dvěma jasovými pixely o dva řádky níž.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2175 Všechno tohle nás nutí mít svislé rozměry ořezání a odsazení bezezbytku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2176 dělitelné čtyřmi. Vodorovné stačí když budou sudé.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2177 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2178
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2179 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2180 Pro telecinované video doporučuji, abyste ořezání prováděli až po inverzi
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2181 telecine. Jakmile je video progresivní, stačí řezat jen na sudé rozměry.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2182 Pokud si však přece jen chcete dopřát mírné zrychlení, které může poskytnout
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2183 časný ořez, musíte svisle dodržet násobky čtyřech, jinak nebude mít filtr
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2184 pro inverzi telecine správná data.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2185 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2186
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2187 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2188 Prokládané (nikoli telecinované) video musíte vždy ořezávat svisle násobky
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2189 čtyř, pokud před ořezáním nepoužijete <option>-vf field</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2190 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2191 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2192
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2193 <listitem><formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2194 <title>K volbám pro enkódování a kvalitě:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2195 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2196 Jen proto, že doporučuji <option>mbd=2</option> zde neznamená, že by tato
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2197 volba nemohla být použita jinde. V kombinaci s <option>trell</option>, je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2198 <option>mbd=2</option> jednou ze dvou voleb
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2199 <systemitem class="library">libavcodec</systemitem>u, které nejvíce zvyšují
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2200 kvalitu a vy byste měli vždy použít alespoň tyto dvě, pokud není na škodu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2201 zpomalení rychlosti enkódování (např. při enkódování v reálném čase).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2202 Mnoho dalších voleb <systemitem class="library">libavcodec</systemitem>u
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2203 zvyšuje kvalitu enkódování (a snižuje jeho rychlost), ale to je mimo zaměření
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2204 tohoto textu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2205 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2206 </formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2207 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2208
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2209 <listitem><formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2210 <title>K výkonu filtru pullup:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2211 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2212 Použití <option>pullup</option> je bezpečné (spolu se <option>softskip
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2213 </option>) na progresivní video a je to obvykle dobrá volba, pokud nebyl zdroj
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2214 prověřen, že je celý progresivní. Ve většině případů je ztráta výkonu malá.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2215 V ojedinělých případech enkódování způsobí <option>pullup</option>, že je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2216 <application>MEncoder</application> o 50% pomalejší. Přidání zpracování zvuku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2217 a pokročilých <option>lavcopts</option> zastíní tento rozdíl tak, že rozdíl
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2218 v rychlosti působený použitím <option>pullup</option> se sníží na 2%.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2219 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2220 </formalpara>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2221 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2222
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2223 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2224
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2225 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2226
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2227 </sect1>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2228
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2229
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2230 <sect1 id="menc-feat-enc-libavcodec">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2231 <title>Enkódování s rodinou kodeků <systemitem class="library">libavcodec</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2232 </title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2233
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2234 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2235 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2236 zajišťuje jednoduché enkódování do mnoha zajímavých video a audio formátů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2237 Můžete enkódovat do následujících kodeků (více méně aktuální):
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2238
16563
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2239 </para>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2240
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2241 <sect2 id="menc-feat-enc-libavcodec-video-codecs">
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2242 <title>Video kodeky <systemitem class="library">libavcodec</systemitem></title>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2243
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2244 <para>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2245 <informaltable frame="all">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2246 <tgroup cols="2">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2247 <thead>
16563
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2248 <row><entry>Jméno video kodeku</entry><entry>Popis</entry></row>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2249 </thead>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2250 <tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2251 <row><entry>mjpeg</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2252 Motion JPEG
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2253 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2254 <row><entry>ljpeg</entry><entry>
16563
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2255 lossless (bezztrátový) JPEG
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2256 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2257 <row><entry>h261</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2258 H.261
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2259 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2260 <row><entry>h263</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2261 H.263
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2262 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2263 <row><entry>h263p</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2264 H.263+
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2265 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2266 <row><entry>mpeg4</entry><entry>
16563
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2267 standardní ISO MPEG-4 (DivX 5, XviD kompatibilní)
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2268 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2269 <row><entry>msmpeg4</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2270 prvotní MPEG-4 varianta od MS, v3 (DivX3)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2271 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2272 <row><entry>msmpeg4v2</entry><entry>
16563
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2273 prvotní MPEG-4 od MS, v2 (použitý ve starých ASF souborech)
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2274 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2275 <row><entry>wmv1</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2276 Windows Media Video, verze 1 (WMV7)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2277 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2278 <row><entry>wmv2</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2279 Windows Media Video, verze 2 (WMV8)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2280 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2281 <row><entry>rv10</entry><entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2282 RealVideo 1.0
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2283 </entry></row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2284 <row><entry>rv20</entry><entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2285 RealVideo 2.0
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2286 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2287 <row><entry>mpeg1video</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2288 MPEG-1 video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2289 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2290 <row><entry>mpeg2video</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2291 MPEG-2 video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2292 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2293 <row><entry>huffyuv</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2294 bezztrátová komprese
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2295 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2296 <row><entry>asv1</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2297 ASUS Video v1
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2298 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2299 <row><entry>asv2</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2300 ASUS Video v2
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2301 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2302 <row><entry>ffv1</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2303 bezztrátový video kodek z FFmpeg
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2304 </entry></row>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2305 <row><entry>svq1</entry><entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2306 Sorenson video 1
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2307 </entry></row>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2308 <row><entry>flv</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2309 Sorenson H.263 používaný ve Flash Video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2310 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2311 <row><entry>dvvideo</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2312 Sony Digital Video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2313 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2314 <row><entry>snow</entry><entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2315 Experimentální vlnkově orientovaný kodek z FFmpeg
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2316 </entry></row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2317 </tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2318 </tgroup>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2319 </informaltable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2320
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2321 První pole obsahuje názvy kodeků, které můžete přiřadit konfiguračnímu parametru
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2322 <literal>vcodec</literal>, např: <option>-lavcopts vcodec=msmpeg4</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2323 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2324
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2325 <informalexample>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2326 <para>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2327 Příklad s MJPEG kompresí:
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2328 <screen>mencoder dvd://2 -o titul2.avi -ovc lavc -lavcopts vcodec=mjpeg -oac copy</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2329 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2330 </informalexample>
16563
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2331 </sect2>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2332
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2333 <sect2 id="menc-feat-enc-libavcodec-audio-codecs">
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2334 <title>Audio kodeky <systemitem class="library">libavcodec</systemitem></title>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2335 <para>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2336 <informaltable frame="all">
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2337 <tgroup cols="2">
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2338 <thead>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2339 <row><entry>Jméno audio kodeku</entry><entry>Popis</entry></row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2340 </thead>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2341 <tbody>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2342 <row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2343 <entry>mp2</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2344 <entry>MPEG Layer 2</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2345 </row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2346 <row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2347 <entry>ac3</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2348 <entry>AC3, alias Dolby Digital</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2349 </row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2350 <row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2351 <entry>adpcm_ima_wav</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2352 <entry>IMA adaptivní PCM (4 bity na vzorek, komprese 4:1)</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2353 </row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2354 <row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2355 <entry>sonic</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2356 <entry>experimentální lossy/lossless kodek</entry>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2357 </row>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2358 </tbody>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2359 </tgroup>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2360 </informaltable>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2361
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2362 Vprvním sloupci naleznate jména kodeků, které byste měli přiřadit parametru
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2363 <literal>acodec</literal>, například: <option>-lavcopts acodec=ac3</option>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2364 </para>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2365
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2366 <informalexample>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2367 <para>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2368 Příklad s kompresí AC3:
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2369 <screen>mencoder dvd://2 -o titul2.avi -oac lavc -lavcopts acodec=ac3 -ovc copy</screen>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2370 </para>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2371 </informalexample>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2372
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2373 <para>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2374 Narozdíl od videokodeků z <systemitem class="library">libavcodec</systemitem>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2375 její audio kodeky neprovádějí inteligentní rozdělení přidělených bitů,
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2376 jelikož jim chybí nějaký minimální psychoakustický model (pokud vůbec),
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2377 který obsahuje většina implementací ostatních kodeků.
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2378 Vězte však, že všechny tyto kodeky zvuku jsou velmi rychlé a pracují
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2379 jak jsou všude, kde máte <application>MEncoder</application> se zakompilovanou
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2380 knihovnou <systemitem class="library">libavcodec</systemitem> (což je
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2381 naprostá většina případů) a nezávisejí na externích knihovnách.
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2382 </para>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2383 </sect2>
301b3ae331f2 synced with 1.24
jheryan
parents: 16554
diff changeset
2384
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2385
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2386 <sect2 id="menc-feat-dvd-mpeg4-lavc-encoding-options">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2387 <title>Enkódovací volby libavcodecu</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2388
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2389 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2390 V ideálním případě byste asi chtěli jen říct enkodéru, aby se přepnul do
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2391 režimu "vysoká kvalita" a šel na to.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2392 To by bylo jistě hezké, ale naneštěstí je to těžké zavést, jelikož různé
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2393 volby enkódování vedou k různé kvalitě v závislosti na zdrojovém materiálu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2394 To proto, že komprese závisí na vizuálních vlastnostech daného videa.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2395 Například anime a živá akce mají zcela rozdílné vlastnosti a tedy vyžadují
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2396 odlišné volby pro dosažení optimálního enkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2397 Dobrá zpráva je, že některé volby by nikdy neměly chybět, jako
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2398 <option>mbd=2</option>, <option>trell</option> a <option>v4mv</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2399 Podrobný popis obvyklých enkódovacích voleb naleznete níže.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2400 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2401
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2402
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2403 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2404 <title>Volby k nastavení:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2405 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2406 <emphasis role="bold">vmax_b_frames</emphasis>: 1 nebo 2 je v pořádku,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2407 v závislosti na filmu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2408 Poznamenejme, že pokud chcete mít svá videa dekódovatelná kodekem DivX5,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2409 budete muset zapnout podporu uzavřeného GOP, pomocí volby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2410 <systemitem class="library">libavcodec</systemitem>u <option>cgop</option>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2411 ale budete také muset vypnout detekci scény, což není dobrý nápad, jelikož
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2412 tak trochu zhoršíte efektivitu enkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2413 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2414
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2415 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2416 <emphasis role="bold">vb_strategy=1</emphasis>: pomáhá ve scénách s rychlým
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2417 pohybem.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2418 Vyžaduje vmax_b_frames >= 2.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2419 V některých videích může vmax_b_frames snížit kvalitu, ale vmax_b_frames=2
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2420 spolu s vb_strategy=1 pomůže.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2421 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2422
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2423 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2424 <emphasis role="bold">dia</emphasis>: okruh vyhledávání pohybu. Čím větší, tím
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2425 lepší a pomalejší.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2426 Záporné hodnoty mají úplně jiný význam.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2427 Dobrými hodnotami jsou -1 pro rychlé enkódování, nebo 2-4 pro pomalejší.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2428 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2429
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2430 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2431 <emphasis role="bold">predia</emphasis>: předprůchod pro vyhledávání pohybu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2432 Není tak důležitý jako dia. Dobré hodnoty jsou 1 (výchozí) až 4. Vyžaduje
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2433 preme=2, aby byla opravdu k něčemu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2434 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2435
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2436 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2437 <emphasis role="bold">cmp, subcmp, precmp</emphasis>: Porovnávací funkce pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2438 odhad pohybu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2439 Experimentujte s hodnotami 0 (výchozí), 2 (hadamard), 3 (dct) a 6 (omezení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2440 datového toku).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2441 0 je nejrychlejší a dostatečná pro precmp.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2442 Pro cmp a subcmp je 2 dobrá pro anime a 3 zase pro živou akci.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2443 6 může, ale nemusí být o něco lepší, ale je pomalá.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2444 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2445
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2446 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2447 <emphasis role="bold">last_pred</emphasis>: Počet prediktorů pohybu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2448 přebíraných z předchozího snímku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2449 1-3 nebo tak pomůžou za cenu menšího zdržení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2450 Vyšší hodnoty jsou však pomalé a nepřináší žádný další užitek.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2451 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2452
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2453 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2454 <emphasis role="bold">cbp, mv0</emphasis>: Ovládá výběr makrobloků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2455 Malá ztráta rychlosti za malý zisk kvality.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2456 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2457
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2458 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2459 <emphasis role="bold">qprd</emphasis>: adaptivní kvantizace založená na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2460 komplexnosti makrobloku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2461 Může pomoci i uškodit v závislosti na videu a ostatních volbách.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2462 Toto může způsobovat artefakty, pokud nenastavíte vqmax na nějakou rozumně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2463 malou hodnotu (6 je dobrá, možná byste ale měli jít až na 4); vqmin=1 může
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2464 také pomoci.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2465 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2466
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2467 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2468 <emphasis role="bold">qns</emphasis>: velmi pomalá, zvlášť v kombinaci
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2469 s qprd.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2470 Tato volba nutí enkodér minimalizovat šum díky kompresi artefaktů, místo aby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2471 se snažil striktně zachovávat věrnost videa. Nepoužívejte ji, pokud jste již
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2472 nezkusili všechno ostatní kam až to šlo a výsledek přesto není dost dobrý.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2473 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2474
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2475 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2476 <emphasis role="bold">vqcomp</emphasis>: Vylepšení ovládání datového toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2477 Dobré hodnoty se liší podle videa. Můžete to bezpečně ponechat jak to je,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2478 pokud chcete.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2479 Snížením vqcomp pustíte více bitů do scén s nízkou komplexností, zvýšením je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2480 pošlete do scén s vysokou komplexností (výchozí: 0.5, rozsah: 0-1. doporučený
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2481 rozsah: 0.5-0.7).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2482 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2483
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2484 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2485 <emphasis role="bold">vlelim, vcelim</emphasis>: Nastaví jediný koeficient
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2486 prahu eliminace pro jasové a barevné roviny.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2487 Ty jsou enkódovány odděleně ve všech MPEGu podobných algoritmech.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2488 Myšlenka stojící za těmito volbami je použití dobré heuristiky pro určení,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2489 zda je změna v bloku menší než vámi nastavený práh a v tom případě se blok
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2490 enkóduje jako "nezměněný".
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2491 To šetří bity a možná i zrychlí enkódování. vlelim=-4 a vcelim=9 se zdají být
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2492 dobré pro hrané filmy, ale příliš nepomohou s anime; pokud enkódujete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2493 animované vido, měli byste je asi nechat beze změn.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2494 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2495
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2496 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2497 <emphasis role="bold">qpel</emphasis>: Odhad pohybu s přesností na čtvrt
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2498 pixelu. MPEG-4 používá přesnost na půl pixelu jako výchozí při vyhledávání
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2499 pohybu, proto je tato volba spojena s určitou režií, jelikož se do výstupního
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2500 souboru ukládá více informací.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2501 Kompresní zisk/ztráta závisí na filmu, ale obvykle to není příliš efektivní
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2502 na anime.
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2503 qpel vždy způsobí zvýšení výpočetní náročnosti dekódování (v praxi +25% času
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2504 CPU).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2505 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2506
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2507 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2508 <emphasis role="bold">psnr</emphasis>: neovlivní aktuální enkódování, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2509 zaznamená typ/velikost/kvalitu každého snímku do log souboru a na konci vypíše
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2510 souhrnný PSNR (odstup signálu od šumu).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2511 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2512
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2513 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2514
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2515 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2516 <title>Volby se kterými nedoporučujeme si hrát:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2517 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2518 <emphasis role="bold">vme</emphasis>: Výchozí je nejlepší.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2519 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2520
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2521 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2522 <emphasis role="bold">lumi_mask, dark_mask</emphasis>: Psychovizuálně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2523 adaptivní kvantizace.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2524 Nehrajte si s těmito volbami, pokud vám jde o kvalitu. Rozumné hodnoty mohou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2525 být efektivní ve vašem případě, ale pozor, je to velmi subjektivní.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2526 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2527
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2528 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2529 <emphasis role="bold">scplx_mask</emphasis>: Snaží se předcházet blokovým
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2530 artefaktům, ale postprocesing je lepší.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2531 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2532 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2533
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2534 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2535
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2536 <sect2 id="menc-feat-mpeg4-lavc-example-settings">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2537 <title>Příklady nastavení enkódování</title>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2538
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2539 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2540 Následující nastavení jsou příklady nastavení různých kombinací voleb
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2541 enkodéru, které ovlivňují poměr rychlost versus kvalita při shodném
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2542 cílovém datovém toku.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2543 </para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2544
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2545 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2546 Veškerá nastavení byla testována na video vzorku 720x448 @30000/1001
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2547 snímků za sekundu, cílový datový tok byl 900kbps a prováděly se na
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2548 AMD-64 3400+ při 2400 Mhz v režimu 64 bitů.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2549 Každá kombinace nastavení má uvedenu změřenou rychlost enkódování
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2550 (ve snímcích za sekundu) a ztrátu PSNR (v dB) oproti nastavení
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2551 "velmi vysoká kvalita".
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2552 Rozumějte však že, v závislosti na vašem zdrojovém materiálu, typu
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2553 počítače a pokrokům ve vývoji, můžete dospět k velmi odlišným výsledkům.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2554 </para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2555
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2556 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2557 <informaltable frame="all">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2558 <tgroup cols="4">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2559 <thead>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2560 <row><entry>Popis</entry><entry>Volby</entry><entry>Rychlost [fps]</entry><entry>Relativní ztráta PSNR [dB]</entry></row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2561 </thead>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2562 <tbody>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2563 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2564 <entry>Velmi vysoká kvalita</entry>
17371
d2fc2712367f Synced with 1.38
jheryan
parents: 17075
diff changeset
2565 <entry><option>vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2</option></entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2566 <entry>6</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2567 <entry>0</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2568 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2569 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2570 <entry>Vysoká kvalita</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2571 <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2572 <entry>15</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2573 <entry>-0.5</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2574 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2575 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2576 <entry>Rychlé enkódování</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2577 <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:turbo</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2578 <entry>42</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2579 <entry>-0.74</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2580 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2581 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2582 <entry>Enkódování v reálném čase</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2583 <entry><option>vcodec=mpeg4:mbd=2:turbo</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2584 <entry>54</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2585 <entry>-1.21</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2586 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2587 </tbody>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2588 </tgroup>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2589 </informaltable>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2590 </para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2591 </sect2>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2592
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2593 <sect2 id="custommatrices"><title>Uživatelské inter/intra matice</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2594
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2595 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2596 Díky této vlastnosti
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2597 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>u
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2598 můžete nastavit uživatelskou inter (I-snímky/klíčové snímky) a intra
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2599 (P-snímky/predikované (rozumějte vypočítané) snímky) matice. To je podporováno
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2600 mnoha kodeky:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2601 <systemitem>mpeg1video</systemitem> a <systemitem>mpeg2video</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2602 jsou hlášeny jako funkční.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2603 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2604
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2605 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2606 Typické použití této vlastnosti je nastavení matic preferovaných
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2607 <ulink url="http://www.kvcd.net/">KVCD</ulink> specifikacemi.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2608 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2609
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2610 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2611 <emphasis role="bold">Kvantizační Matice KVCD &quot;Notch&quot;:</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2612 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2613
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2614 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2615 Intra:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2616 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2617 8 9 12 22 26 27 29 34
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2618 9 10 14 26 27 29 34 37
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2619 12 14 18 27 29 34 37 38
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2620 22 26 27 31 36 37 38 40
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2621 26 27 29 36 39 38 40 48
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2622 27 29 34 37 38 40 48 58
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2623 29 34 37 38 40 48 58 69
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2624 34 37 38 40 48 58 69 79
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2625 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2626
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2627 Inter:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2628 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2629 16 18 20 22 24 26 28 30
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2630 18 20 22 24 26 28 30 32
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2631 20 22 24 26 28 30 32 34
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2632 22 24 26 30 32 32 34 36
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2633 24 26 28 32 34 34 36 38
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2634 26 28 30 32 34 36 38 40
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2635 28 30 32 34 36 38 42 42
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2636 30 32 34 36 38 40 42 44
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2637 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2638 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2639
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2640 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2641 Použití:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2642 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2643 $ mencoder <replaceable>vstup.avi</replaceable> -o <replaceable>výstup.avi</replaceable> -oac copy -ovc lavc -lavcopts inter_matrix=...:intra_matrix=...
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2644 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2645 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2646
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2647 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2648 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2649 $ mencoder <replaceable>input.avi</replaceable> -ovc lavc -lavcopts
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2650 vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2651 12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2652 29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2653 :inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2654 28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2655 36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 -oac copy -o svcd.mpg
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2656 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2657 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2658 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2659
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2660
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2661 <sect2 id="menc-feat-dvd-mpeg4-example">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2662 <title>Příklad</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2663
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2664 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2665 Takže jste si koupili zbrusu novou kopii filmu Harry Potter a Tajemná komnata
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2666 (širokoúhlou verzi samozřejmě) a chcete si toto DVD ripnout, takže si jej
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2667 můžete přidat do svého Domácího kino-počítače PC. Je to region 1 DVD, takže je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2668 v NTSC. Níže uvedený příklad je stále vhodný i pro PAL, jen musíte vynechat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2669 <option>-ofps 24000/1001</option> (protože výstupní snímková rychlost je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2670 shodná se vstupní) a přirozeně budou rozdílné souřadnice pro ořez.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2671 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2672
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2673 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2674 Po spuštění <option>mplayer dvd://1</option>, postupujeme podle informací
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2675 obsažených v sekci <link linkend="menc-feat-telecine">Jak naložit s telecine
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2676 a prokladem v NTSC DVD</link> a zjistíme že je to 24000/1001 neprokládané
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2677 video, takže nepotřebujeme použít inverzní telecine filtr, jako je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2678 <option>pullup</option> nebo <option>filmdint</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2679 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2680
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2681 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2682 Dále musíme zjistit vhodný ořezový obdélník, takže použijeme filtr cropdetect:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2683
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2684 <screen>mplayer dvd://1 -vf cropdetect</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2685
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2686 Ujistěte se, že jste přešli přes zaplněný snímek (nějakou jasnou scénu) a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2687 v konzoli <application>MPlayer</application>u uvidíte:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2688
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2689 <screen>crop area: X: 0..719 Y: 57..419 (-vf crop=720:362:0:58)</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2690
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2691 Potom přehrajeme film s tímto filtrem, abychom otestovali jeho správnost:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2692
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2693 <screen>mplayer dvd://1 -vf crop=720:362:0:58</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2694
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2695 A zjistíme, že to vypadá zcela v pořádku. Dále se ujistíme, že šířka i výška
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2696 jsou násobky 16. Šířka je v pořádku, výška ovšem ne. Protože jsme nepropadli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2697 v sedmé třídě z matematiky, víme, že nejbližším násobkem 16 nižším než 362 je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2698 352.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2699 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2700
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2701 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2702 Mohli bychom použít <option>crop=720:352:0:58</option>, ale bude lepší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2703 ustřihnout kousek nahoře i dole, takže zachováme střed. Zkrátili jsme výšku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2704 o 10 pixelů, ale nechceme zvýšit odsazení y o 5 pixelů, protože je to liché
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2705 číslo, což by nepříznivě ovlivnilo kvalitu. Místo toho zvýšíme odsazení y o 4
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2706 pixely:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2707
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2708 <screen>mplayer dvd://1 -vf crop=720:352:0:62</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2709
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2710 Další důvod pro odstřižení pixelů shora i zdola je to, že si můžeme být jisti
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2711 odstřižením napůl černých pixelů pokud existují. Pokud je však vaše video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2712 telecinováno, ujistěte se, že máte v řetězu filtrů <option>pullup</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2713 filtr (nebo jiný filtr pro inverzi telecine, který hodláte použít) ještě před
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2714 odstraněním prokladu a ořezem. (Pokud se rozhodnete zachovat vaše video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2715 prokládané, pak se ujistěte, že vaše vertikální odsazení (offset)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2716 je násobkem 4.)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2717 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2718
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2719 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2720 Pokud si děláte starosti se ztrátou těch 10 pixelů, možná raději snížíte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2721 rozměry na nejbližší násobek 16. Řetězec filtrů by pak vypadal asi takto:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2722
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2723 <screen>-vf crop=720:362:0:58,scale=720:352</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2724
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2725 Takovéto zmenšení videa bude znamenat ztrátu malého množství detailů, což bude
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2726 pravděpodobně stěží postřehnutelné. Zvětšování by naopak vedlo ke snížení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2727 kvality (pokud byste nezvýšili datový tok). Ořez odstraní tyto pixely úplně.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2728 To je jedna z věcí, kterou byste si měli uvážit pro každý případ zvlášť.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2729 Například pokud bylo DVD video vyrobeno pro televizi, měli byste se vyvarovat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2730 vertikálnímu škálování, jelikož počet řádků odpovídá originální nahrávce.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2731 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2732
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2733 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2734 Při prohlídce jsme zjistili, že video je poměrně akční, s vysokým počtem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2735 detailů, takže jsme zvolili datový tok 2400 Kbitů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2736 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2737
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2738 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2739 Nyní jsme připraveni provést dvouprůchodové enkódování. Průchod jedna:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2740
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
2741 <screen>mencoder dvd://1 -ofps 24000/1001 -oac copy -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2742 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=1 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2743 -o Harry_Potter_2.avi</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2744
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2745 A průchod dva je stejný, jen nastavíme <option>vpass=2</option>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2746
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
2747 <screen>mencoder dvd://1 -ofps 24000/1001 -oac copy -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2748 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=2 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2749 -o Harry_Potter_2.avi</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2750 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2751
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2752 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2753 Volby <option>v4mv:mbd=2:trell</option> velmi zvýší kvalitu za cenu časové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2754 náročnosti enkódování. Vcelku není důvod tyto volby vypustit, pokud je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2755 primárním cílem kvalita. Volby <option>cmp=3:subcmp=3:mbcmp=3</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2756 vyberou porovnávací funkci, která poskytuje lepší kvalitu, než výchozí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2757 S tímto parametrem můžete zkusit experimentovat (nahlédněte do man stránky pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2758 seznam možných hodnot), jelikož různé funkce mohou mít velký vliv na kvalitu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2759 v závislosti na zdrojovém materiálu. Například pokud zjistíte, že
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2760 <systemitem class="library">libavcodec</systemitem> produkuje příliš mnoho
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2761 čtverečkových artefaktů, můžete zkusit zvolit experimentální NSSE jako
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2762 porovnávací funkci přes <option>*cmp=10</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2763 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2764
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2765 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2766 V případě tohoto filmu bude výsledné AVI dlouhé 138 minut a veliké kolem 3GB.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2767 A protože jste řekli, že na velikosti nezáleží, je to přijatelná velikost.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2768 Ale pokud byste jej chtěli menší, můžete zkusit nižší datový tok.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2769 Efekt zvyšování datového toku se totiž neustále snižuje, takže zatímco je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2770 zlepšení po zvýšení z 1800 Kbitů na 2000 Kbitů zjevné, nemusí být již tak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2771 velké nad 2000 Kbitů. Beze všeho s tím experimentujte, dokud nebudete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2772 spokojeni.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2773 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2774
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2775 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2776 Jelikož jsme protáhli video odšumovacím filtrem, měli bychom jej trochu přidat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2777 během přehrávání. To, spolu s <option>spp</option> post-procesním filtrem,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2778 znatelně zvýší vnímanou kvalitu a pomůže odstranit čtverečkové artefakty ve
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2779 videu. S <application>MPlayer</application>ovou volbou <option>autoq</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2780 může být množství postprocesingu prováděného filtrem spp přizpůsobováno
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2781 vytížení CPU. V tuto chvíli rovněž můžete provést korekci gama a/nebo barevnou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2782 korekci k dosažení nejlepších výsledků. Například:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2783
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2784 <screen>mplayer Harry_Potter_2.avi -vf spp,noise=9ah:5ah,eq2=1.2 -autoq 3</screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2785
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2786 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2787 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2788 </sect1>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2789
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2790
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2791 <sect1 id="menc-feat-xvid">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2792 <title>Enkódování pomocí kodeku <systemitem class="library">XviD</systemitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2793 </title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2794 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2795 <systemitem class="library">XviD</systemitem> je svobodná knihovna pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2796 enkódování MPEG-4 ASP video datových proudů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2797 Před začátkem enkódování budete muset <link linkend="xvid">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2798 nastavit <application>MEncoder</application> pro jeho podporu</link>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2799 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2800 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2801 Tato příručka se zaměřuje na poskytování stejného druhu informací
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2802 jako příručka enkódování s x264.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2803 Takže prosím začněte přečtením
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2804 <link linkend="menc-feat-x264-encoding-options-intro">první části</link>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2805 této příručky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2806 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2807
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2808
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2809 <sect2 id="menc-feat-xvid-intro">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2810 <title>Jaké volby by měly být použity, abychom dosáhli nejlepších výsledků?</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2811
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2812 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2813 Začněte prosím pročtením sekce
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2814 <systemitem class="library">XviD</systemitem> v manuálové stránce
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2815 <application>MPlayer</application>u.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2816 Tato část má být doplněním man stránky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2817 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2818 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2819 Výchozí nastavení XviD jsou dobrým kompromisem mezi rychlostí a kvalitou,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2820 takže je můžete bez obav použít, pokud vám nebude něco v dalším textu jasné.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2821 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2822 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2823
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2824 <sect2 id="menc-feat-xvid-encoding-options">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2825 <title>Volby pro enkódování s <systemitem class="library">XviD</systemitem></title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2826
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2827 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2828 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2829 <emphasis role="bold">vhq</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2830 Tato volba ovlivní rozhodovací algoritmus makrobloku, kde vyšší nastavení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2831 znamená lepší rozhodování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2832 Výchozí nastavení mohou být bezpečně použita pro každé enkódování,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2833 zatímco vyšší nastavení vždy pomohou PSNR, ale je znatelně pomalejší.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2834 Poznamenejme, že lepší PSNR nemusí nutně znamenat, že bude obraz vypadat lépe,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2835 ale udává, že je blíže originálu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2836 Vypnutí této volby viditelně zrychlí enkódování; pokud je pro vás
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2837 rychlost kritická, pak to stojí za to.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2838 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2839
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2840 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2841 <emphasis role="bold">bvhq</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2842 Tato volba provádí to samé co vhq, ale v B-snímcích.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2843 Má zanedbatelný vliv na rychlost a trochu vylepšuje kvalitu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2844 (kolem +0.1dB PSNR).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2845 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2846
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2847 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2848 <emphasis role="bold">max_bframes</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2849 Větší počet povolených po sobě jdoucích B-snímků obvykle zvyšuje
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2850 komprimovatelnost, ačkoli to může vést k většímu počtu blokových artefaktů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2851 Výchozí nastavení je dobrým kompromisem mezi komprimovatelností a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2852 kvalitou, ale můžete ji zvýšit nad 3, pokud toužíte po nízkém datovém toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2853 Můžete ji rovněž snížit na 1 nebo 0, pokud vám jde o perfektní kvalitu,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2854 ale v tom případě byste se měli ujistit, že máte nastaven dostatečně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2855 vysoký datový tok, aby byla jistota, že komrimátor nebude zvyšovat kvantizer,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2856 aby jej dosáhl.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2857 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2858
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2859 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2860 <emphasis role="bold">bf_threshold</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2861 Tato volba ovládá B-snímkovou citlivost enkodéru, kdy vyšší hodnota
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2862 vede k častějšímu použití B-snímků (a naopak).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2863 Má být použita spolu s <option>max_bframes</option>;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2864 pokud jste blázen do datového toku, měli byste zvýšit jak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2865 <option>max_bframes</option>, tak <option>bf_threshold</option>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2866 nebo naopak můžete zvýšit <option>max_bframes</option> a snížit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2867 <option>bf_threshold</option>, takže bude enkodér používat více
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2868 B-snímků pouze na místech, které je <emphasis role="bold">opravdu</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2869 potřebují.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2870 Nízká hodnota <option>max_bframes</option> a vysoká
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2871 <option>bf_threshold</option> asi není nejrozumnější volbou, jelikož přinutí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2872 enkodér umísťovat B-snímky na místa, které z nich nebudou těžit,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2873 ale sníží se jejich vizuální kvalita.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2874 Pokud však potřebujete být kompatibilní s domácími přehrávači, které
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2875 podporují pouze staré DivX profily (ty podporují pouze 1 po sobě jdoucí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2876 B-snímek), je to vaše jediná cesta ke zvýšení komprimovatelnosti pomocí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2877 B-snímků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2878 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2879
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2880 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2881 <emphasis role="bold">trellis</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2882 Optimalizuje proces kvantizace pro dosažení nejlepšího kompromisu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2883 mezi PSNR a datovým tokem, což umožňuje znatelnou úsporu bitů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2884 Ušetřené bity budou využity v jiných částech videa, což zvýší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2885 celkovou vizuální kvalitu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2886 Měli byste ji vždy mít zapnutou, jelikož její kvalitativní přínos je značný.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2887 Dokonce i když potřebujete vyšší rychlost, nevypínejte ji, dokud jste
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2888 nevypli <option>vhq</option> a nezredukovali ostatní volby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2889 náročné na CPU na minimum.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2890 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2891
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2892 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2893 <emphasis role="bold">hq_ac</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2894 Aktivuje metodu odhadu s menšími náklady na koeficienty, což trochu
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2895 zmenší výstupní soubor (okolo 0,15 až 0,19%, což odpovídá zvýšení PSNR
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
2896 o méně než 0.01dB) při zanedbatelném vlivu na rychlost.
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2897 Je proto doporučeno ponechat ji vždy zapnutou.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2898 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2899
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2900 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2901 <emphasis role="bold">cartoon</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2902 Volba navržená pro lepší enkódování kresleného obsahu. Nemá vliv
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2903 na rychlost, pouze doladí heuristiku pro výběr režimu pro tento
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2904 druh obsahu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2905 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2906
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2907 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2908 <emphasis role="bold">me_quality</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2909 Tato volba ovládá přesnost vyhledávání pohybu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2910 Čím vyšší <option>me_quality</option>, tím bude
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2911 přesnější odhad původního pohybu a výsledný snímek
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2912 přesněji zachytí originální pohyb.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2913 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2914 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2915 Výchozí nastavení je nejlepší ve všech případech;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2916 takže ji nedoporučujeme vypínat, pokud nepotřebujete za každou cenu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2917 zvýšit rychlost, jelikož všechny bity ušetřené dobrým odhadem pohybu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2918 mohou být použity jinde a zvýšit tak celkovou kvalitu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2919 Každopádně nechoďte níž než na 5, a když, tak jen jako poslední možnost.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2920 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2921
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2922 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2923 <emphasis role="bold">chroma_me</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2924 Zlepšuje odhad pohybu tím, že bere v potaz i chroma (barevnou)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2925 informaci, zatímco samotné <option>me_quality</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2926 používá pouze černobílou (luma).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2927 To spomalí enkódování o 5-10%, ale docela vylepší vizuální kvalitu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2928 omezením blokových artefaktů a zmenší velikost souboru asi o 1.3%.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2929 Pokud vám jde hlavně o rychlost, měli byste tuto volbu vypnout dříve,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2930 než začnete snižovat <option>me_quality</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2931 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2932
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2933 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2934 <emphasis role="bold">chroma_opt</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2935 Je určena spíše ke zvýšení kvality barev a vyčištění bílých/černých
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2936 okrajů, než k vylepšení koprimovatelnosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2937 To vám může pomoci omezit "red stairs" efekt.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2938 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2939
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2940 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2941 <emphasis role="bold">lumi_mask</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2942 Zkouší přiřadit nižší datový tok částem obrázku, které lidské oko
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2943 dobře nevidí, což umožní enkodéru použít ušetřené bity na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2944 důležitějších místech obrázku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2945 Kvalita výsledku značně závisí na osobních preferencích a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2946 na typu a nastavení monitoru použitého pro prohlížení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2947 (typicky to nebude vypadat dobře pokud je jasný, nebo je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2948 to TFT monitor).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2949 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2950
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2951 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2952 <emphasis role="bold">qpel</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2953 Zvýší počet možných vektorů pohybu zvýšením
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2954 přesnosti vyhledávání pohybu z poloviny pixelu na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2955 čtvrtinu pixelu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2956 Ideou je nalezení lepších vektorů pohybu, které naoplátku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2957 sníží datový tok (což zvýší kvalitu).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2958 Vektory pohybu s přesností na čtvrt pixelu však vyžadují pro sebe
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2959 pár bitů navíc, ale výsledné vektory ne vždy dávají (o mnoho) lepší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2960 výsledky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2961 Docela často vydá kodek bity na vyšší přesnost, ale dosáhne jen malého
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2962 nebo žádného zvýšení kvality.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2963 Naneštěstí není způsob jak zjistit možný zisk <option>qpel</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2964 předem, takže musíte enkódovat s a bez ní, abyste měli jistotu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2965 </para><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2966 <option>qpel</option> může až zdvojnásobit čas enkódování a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2967 vyžaduje až o 25% více výpočetního výkonu pro dekódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2968 Volba není podporována všemi stolními přehrávači.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2969 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2970
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2971 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2972 <emphasis role="bold">gmc</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2973 Pokouší se ušetřit bity v panoramatických scénách použitím jediného
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2974 vektoru pohybu pro celý snímek.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2975 To téměř vždy zvýší PSNR, ale znatelně zpomalí enkódování
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2976 (stejně jako dekódování).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2977 V každém případě byste ji měli používat pouze pokud máte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2978 <option>vhq</option> nastavené na maximum.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2979 GMC v <systemitem class="library">XviD</systemitem> je mnohem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2980 sofistikovanější než v DivX, ale je podporována jen několika
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2981 stolními přehrávači.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2982 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2983
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2984 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
2985 </sect2>
16554
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2986
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2987 <sect2 id="menc-feat-xvid-encoding-profiles">
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2988 <title>Enkódovací profily</title>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2989 <para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2990 XviD podporuje enkódovací profily pomocí volby <option>profile</option>,
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2991 což je využíváno pro k zařazení omezení nastavení XviD videoproudu tak,
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2992 aby byl přehratelný na všem, co podporuje vybraný profil.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2993 Omezení se vstahují k rozlišením, datovému toku a různým MPEG-4
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2994 vlastnostem.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2995 Následující tabulka ukazuje, co který profil podporuje.
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2996 </para>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2997 <informaltable>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2998 <tgroup cols="16" align="center">
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
2999 <colspec colnum="1" colname="col1"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3000 <colspec colnum="2" colname="col2"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3001 <colspec colnum="3" colname="col3"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3002 <colspec colnum="4" colname="col4"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3003 <colspec colnum="5" colname="col5"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3004 <colspec colnum="6" colname="col6"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3005 <colspec colnum="7" colname="col7"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3006 <colspec colnum="8" colname="col8"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3007 <colspec colnum="9" colname="col9"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3008 <colspec colnum="10" colname="col10"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3009 <colspec colnum="11" colname="col11"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3010 <colspec colnum="12" colname="col12"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3011 <colspec colnum="13" colname="col13"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3012 <colspec colnum="14" colname="col14"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3013 <colspec colnum="15" colname="col15"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3014 <colspec colnum="16" colname="col16"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3015 <colspec colnum="17" colname="col17"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3016 <spanspec spanname="spa2-5" namest="col2" nameend="col5"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3017 <spanspec spanname="spa6-11" namest="col6" nameend="col11"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3018 <spanspec spanname="spa12-17" namest="col12" nameend="col17"/>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3019 <tbody>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3020 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3021 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3022 <entry spanname="spa2-5">Simple</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3023 <entry spanname="spa6-11">Advanced Simple</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3024 <entry spanname="spa12-17">DivX</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3025 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3026 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3027 <entry>Jméno profilu</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3028 <entry>0</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3029 <entry>1</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3030 <entry>2</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3031 <entry>3</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3032 <entry>0</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3033 <entry>1</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3034 <entry>2</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3035 <entry>3</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3036 <entry>4</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3037 <entry>5</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3038 <entry>Handheld</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3039 <entry>Portable NTSC</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3040 <entry>Portable PAL</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3041 <entry>Home Theater NTSC</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3042 <entry>Home Theater PAL</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3043 <entry>HDTV</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3044 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3045 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3046 <entry>Šířka [pixelů]</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3047 <entry>176</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3048 <entry>176</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3049 <entry>352</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3050 <entry>352</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3051 <entry>176</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3052 <entry>176</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3053 <entry>352</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3054 <entry>352</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3055 <entry>352</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3056 <entry>720</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3057 <entry>176</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3058 <entry>352</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3059 <entry>352</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3060 <entry>720</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3061 <entry>720</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3062 <entry>1280</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3063 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3064 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3065 <entry>Výška [pixelů]</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3066 <entry>144</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3067 <entry>144</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3068 <entry>288</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3069 <entry>288</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3070 <entry>144</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3071 <entry>144</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3072 <entry>288</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3073 <entry>288</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3074 <entry>576</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3075 <entry>576</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3076 <entry>144</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3077 <entry>240</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3078 <entry>288</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3079 <entry>480</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3080 <entry>576</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3081 <entry>720</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3082 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3083 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3084 <entry>Snímková rychlost [fps]</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3085 <entry>15</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3086 <entry>15</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3087 <entry>15</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3088 <entry>15</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3089 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3090 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3091 <entry>15</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3092 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3093 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3094 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3095 <entry>15</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3096 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3097 <entry>25</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3098 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3099 <entry>25</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3100 <entry>30</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3101 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3102 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3103 <entry>Max průměrný datový tok [kbps]</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3104 <entry>64</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3105 <entry>64</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3106 <entry>128</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3107 <entry>384</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3108 <entry>128</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3109 <entry>128</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3110 <entry>384</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3111 <entry>768</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3112 <entry>3000</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3113 <entry>8000</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3114 <entry>537.6</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3115 <entry>4854</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3116 <entry>4854</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3117 <entry>4854</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3118 <entry>4854</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3119 <entry>9708.4</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3120 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3121 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3122 <entry>Mezní průměr datového toku během 3 sekund [kbps]</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3123 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3124 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3125 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3126 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3127 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3128 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3129 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3130 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3131 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3132 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3133 <entry>800</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3134 <entry>8000</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3135 <entry>8000</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3136 <entry>8000</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3137 <entry>8000</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3138 <entry>16000</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3139 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3140 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3141 <entry>Max. B-snímků</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3142 <entry>0</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3143 <entry>0</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3144 <entry>0</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3145 <entry>0</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3146 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3147 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3148 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3149 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3150 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3151 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3152 <entry>0</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3153 <entry>1</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3154 <entry>1</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3155 <entry>1</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3156 <entry>1</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3157 <entry>2</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3158 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3159 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3160 <entry>MPEG kvantizace</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3161 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3162 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3163 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3164 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3165 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3166 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3167 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3168 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3169 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3170 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3171 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3172 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3173 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3174 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3175 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3176 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3177 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3178 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3179 <entry>Adaptivní kvantizace</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3180 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3181 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3182 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3183 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3184 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3185 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3186 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3187 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3188 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3189 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3190 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3191 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3192 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3193 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3194 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3195 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3196 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3197 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3198 <entry>Prokládané enkódování</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3199 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3200 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3201 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3202 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3203 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3204 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3205 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3206 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3207 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3208 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3209 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3210 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3211 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3212 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3213 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3214 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3215 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3216 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3217 <entry>Čtvrtpixel</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3218 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3219 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3220 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3221 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3222 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3223 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3224 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3225 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3226 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3227 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3228 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3229 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3230 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3231 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3232 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3233 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3234 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3235 <row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3236 <entry>Globální kompenzace pohybu</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3237 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3238 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3239 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3240 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3241 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3242 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3243 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3244 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3245 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3246 <entry>X</entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3247 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3248 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3249 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3250 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3251 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3252 <entry></entry>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3253 </row>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3254 </tbody>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3255 </tgroup>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3256 </informaltable>
e432452178ff last file translated, synced with 1.21
jheryan
parents: 16335
diff changeset
3257 </sect2>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3258
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3259 <sect2 id="menc-feat-xvid-example-settings">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3260 <title>Příklady nastavení enkódování</title>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3261
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3262 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3263 Následující nastavení jsou příklady nastavení různých kombinací voleb
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3264 enkodéru, které ovlivňují poměr rychlost versus kvalita při shodném
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3265 cílovém datovém toku.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3266 </para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3267
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3268 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3269 Veškerá nastavení byla testována na video vzorku 720x448 @30000/1001
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3270 snímků za sekundu, cílový datový tok byl 900kbps a prováděly se na
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3271 AMD-64 3400+ při 2400 Mhz v režimu 64 bitů.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3272 Každá kombinace nastavení má uvedenu změřenou rychlost enkódování
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3273 (ve snímcích za sekundu) a ztrátu PSNR (v dB) oproti nastavení
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3274 "velmi vysoká kvalita".
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3275 Rozumějte však že, v závislosti na vašem zdrojovém materiálu, typu
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3276 počítače a pokrokům ve vývoji, můžete dospět k velmi odlišným výsledkům.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3277 </para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3278
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3279 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3280 <informaltable frame="all">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3281 <tgroup cols="4">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3282 <thead>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3283 <row><entry>Popis</entry><entry>Volby</entry><entry>Rychlost [fps]</entry><entry>Relativní ztráta PSNR [dB]</entry></row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3284 </thead>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3285 <tbody>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3286 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3287 <entry>Velmi vysoká kvalita</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3288 <entry><option>chroma_opt:vhq=4:bvhq=1:quant_type=mpeg</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3289 <entry>16</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3290 <entry>0</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3291 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3292 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3293 <entry>Vysoká kvalita</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3294 <entry><option>vhq=2:bvhq=1:chroma_opt:quant_type=mpeg</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3295 <entry>18</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3296 <entry>-0.1</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3297 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3298 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3299 <entry>Rychlé enkódování</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3300 <entry><option>turbo:vhq=0</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3301 <entry>28</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3302 <entry>-0.69</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3303 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3304 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3305 <entry>Enkódování v reálném čase</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3306 <entry><option>turbo:nochroma_me:notrellis:max_bframes=0:vhq=0</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3307 <entry>38</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3308 <entry>-1.48</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3309 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3310 </tbody>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3311 </tgroup>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3312 </informaltable>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3313 </para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3314 </sect2>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3315
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3316 </sect1>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3317
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3318 <sect1 id="menc-feat-x264">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3319 <title>Enkódování s <systemitem class="library">x264</systemitem> kodekem</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3320 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3321 <systemitem class="library">x264</systemitem> je svobodná knihovna pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3322 enkódování H.264/AVC video proudů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3323 Pře zahájením enkódování budete muset <link linkend="codec-x264-encode">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3324 nastavit její podporu v <application>MEncoder</application>u</link>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3325 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3326
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3327 <sect2 id="menc-feat-x264-encoding-options">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3328 <title>Enkódovací volby x264</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3329
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3330 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3331 Začněte prosím prohlídkou sekce
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3332 <systemitem class="library">x264</systemitem> man stránky
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3333 <application>MPlayer</application>u.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3334 Tato sekce je zamýšlena jako doplněk nam stránky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3335 Zde naleznete tipy, které volby budou nejspíše zajímat většinu lidí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3336 Man stránka je více uhlazená, ale také více vyčerpávající a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3337 občas nabízí mnohem lepší technické detaily.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3338 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3339
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3340 <sect3 id="menc-feat-x264-encoding-options-intro">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3341 <title>Úvodem</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3342 <para>Tato příručka pokrývá dvě hlavní kategorie enkódovacích voleb:</para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3343
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3344 <orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3345 <listitem><para>Volby které mění dobu enkódování za kvalitu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3346 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3347 <listitem><para>Volby které mohou být použitelné pro naplnění různých
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3348 osobních preferencí a speciálních požadavků</para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3349 </orderedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3350
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3351 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3352 Nakonec jen vy můžete rozhodnout, které volby jsou nejlepší pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3353 vaše účely. Rozhodování v první kategorii voleb je nejjednodušší:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3354 stačí když zhodnotíte zda změny kvality ospravedlní rychlostní rozdíly.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3355 Druhá skupina voleb může být mnohem subjektivnější záležitostí a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3356 v úvahu může přijít více faktorů. Poznamenejme, že některé volby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3357 "osobních preferencí a speciálních požadavků" mohou také značně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3358 ovlivnit kvalitu nebo rychlost enkódování, ale to není jejich hlavní funkce.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3359 Několik voleb "osobních preferencí" může dokonce způsobit změny,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3360 po kterých se někomu zdá být výsledek lepší a jinému horší.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3361 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3362
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3363 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3364 Než budeme pokračovat, poznamenejme, že tento návod používá jediné měřítko
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3365 kvality: celkový PSNR.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3366 Stručné vysvětlení co je to PSNR, naleznete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3367 <ulink url="http://en.wikipedia.org/wiki/PSNR">ve Wikipedii pod heslem PSNR</ulink>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3368 Celkové PSNR je poslední hlášené PSNR číslo při zařazení volby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3369 <option>psnr</option> v <option>x264encopts</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3370 Kdykoli píšeme o PSNR, je jedním z předpokladů tohoto sdělení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3371 to, že jsou použity shodné datové toky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3372 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3373
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3374 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3375 Téměř všechny komentáře v tomto návodu předpokládají, že enkódujete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3376 dvouprůchodově.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3377 Při porovnávání voleb jsou zde dva hlavní důvody pro použití dvouprůchodového
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3378 enkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3379 Zaprvé, dvouprůchodové enkódování vám získá zhruba 1dB PSNR, což je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3380 znatelný rozdíl.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3381 Zadruhé, testování voleb pomocí přímého porovnání kvality v jednoprůchodových
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3382 výsledcích je pochybné, jelikož se datový tok značně liší s každým
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3383 enkódováním.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3384 Není vždy snadné určit, zda se změnila kvalita díky změně voleb, nebo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3385 z větší části odpovídají změnám datového toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3386 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3387
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3388 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3389
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3390 <sect3 id="menc-feat-x264-encoding-options-speedvquality">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3391 <title>Volby které primárně ovlivňují rychlost a kvalitu</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3392
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3393 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3394 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3395 <emphasis role="bold">subq</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3396 Z voleb, které umožňují vyměnit čas za kvalitu, jsou obvykle nejdůležitější
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3397 <option>subq</option> a <option>frameref</option> (viz níže).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3398 Máte-li zájem ovlivnit jak rychlost, tak kvalitu, jsou to první volby,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3399 které byste měli zvážit.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3400 Ve smyslu rychlosti se spolu volby <option>frameref</option> a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3401 <option>subq</option> velmi silně ovlivňují.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3402 Zkušenosti ukazují, že při jednom referenčním snímku si
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3403 <option>subq=5</option> vezme asi o 35% více času než
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3404 <option>subq=1</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3405 Při 6 referenčních snímcích naroste spomalení nad 60%.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3406 Vliv <option>subq</option> na PSNR se zdá být poměrně stálý,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3407 bez ohledu na počet referenčních snímků.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3408 Typicky <option>subq=5</option> získá 0.2-0.5 dB
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3409 celkového PSNR přes <option>subq=1</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3410 To je obvykle již viditelné.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3411 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3412 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3413 Režim <option>subq=6</option> je nejpomalejší s nejvyšší kvalitou.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3414 Oproti <option>subq=5</option> obvykle získává 0.1-0.4 dB
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3415 celkového PSNR za cenu ztráty rychlosti 25%-100%.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3416 Narozdíl od ostatních úrovní <option>subq</option> nezávisí chování
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3417 <option>subq=6</option> tolik na <option>frameref</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3418 a <option>me</option>. Místo toho závisí efektivita <option>subq=6
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3419 </option> hlavně na počtu použitých B-snímků. Při běžném použití
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3420 to znamená, že <option>subq=6</option> má velký vliv jak na rychlost, tak na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3421 kvalitu v komplexních, velmi pohyblivých scénách, ale nemusí mít takový vliv
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3422 ve scénách s malým pohybem. Poznamenejme, že stále doporučujeme nastavit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3423 <option>bframes</option> na nenulovou hodnotu (viz níže).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3424 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3425 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3426 <emphasis role="bold">frameref</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3427 Výchozí nastavení <option>frameref</option> je 1, ale nemělo by to být bráno
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3428 tak, že je rozumné nastavovat jej na 1.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3429 Pouhé zvýšení <option>frameref</option> na 2 získá okolo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3430 0.15dB PSNR s 5-10% spomalením, což je zřejmě dobrý obchod.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3431 <option>frameref=3</option> získá kolem 0.25dB PSNR navíc k
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3432 <option>frameref=1</option>, což již může být viditelný
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3433 rozdíl.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3434 <option>frameref=3</option> je asi o 15% pomalejší než
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3435 <option>frameref=1</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3436 Naneštěstí se zisk rychle vytrácí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3437 Prř <option>frameref=6</option> můžete očekávat zisk pouze
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3438 0.05-0.1 dB nad <option>frameref=3</option> při dodatečném
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3439 15% zpomalení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3440 Nad <option>frameref=6</option> je zisk kvality obvykle velmi malý
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3441 (ačkoli byste měli mít na paměti, že se to může výrazně lišit v závislosti
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3442 na zdrojovém materiálu).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3443 V poměrně typickém případě zlepší <option>frameref=12</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3444 celkový PSNR o pouhé 0.02dB nad <option>frameref=6</option>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3445 při spomalení o 15%-20%.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3446 Při tak vysokých hodnotách <option>frameref</option> lze říct pouze
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3447 jedinou dobrou věc, a to že jejich další zvyšování téměř nikdy
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3448 <emphasis role="bold">nesníží</emphasis> PSNR, ale další zisk kvality
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3449 je stěží měřitelný, natož viditelný.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3450 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3451 <note><title>Poznámka:</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3452 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3453 Zvýšení <option>frameref</option> na nemístně vysokou hodnotu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3454 <emphasis role="bold">může</emphasis> a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3455 <emphasis role="bold">obvykle taky sníží</emphasis>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3456 efektivitu kódování, pokud vypnete CABAC.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3457 Se zapnutým CABAC (výchozí chování) se zdá být možnost nastavit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3458 <option>frameref</option> "příliš vysoko" příliš vzdálená na to,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3459 abyste se tím museli trápit a v budoucnu mohou optimalizace
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3460 tuto možnost zcela vyloučit.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3461 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3462 </note>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3463 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3464 Pokud vám záleží na rychlosti, bývá vhodným kompromisem použít
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3465 nízké hodnoty <option>subq</option> a <option>frameref</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3466 v prvním průchodu a zvýšit je ve druhém.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3467 Typicky to má zanedbatelný záporný vliv na konečnou kvalitu:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3468 Pravděpodobně stratíte méně než 0.1dB PSNR, což by měl být až příliš
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3469 malý rozdíl, než aby byl vidět.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3470 Odlišné hodnoty <option>frameref</option> však mohou místy ovlivnit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3471 volbu typu snímku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3472 Nejspíš to budou ojedinělé případy, ale chcete-li si být zcela jisti,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3473 zjistěte, jestli vaše video obsahuje buď blýskavé vzory přes celou obrazovku,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3474 nebo rozsáhlé krátkodobé změny, které by mohly vynutit I-snímek.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3475 Nastavte <option>frameref</option> pro první průchod tak, aby byl
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3476 dostatečně velký pro pokrytí doby bliknutí (nebo změny).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3477 Například, pokud scéna přepíná tam a zpět mezi dvěma obrázky přes tři snímky,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3478 nastavte <option>frameref</option> pro první průchod na 3 a více.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3479 Tento případ je nejspíš zcela ojedinělý v hraných filmech, ale občas se
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3480 vyskytuje v záznamech z videoher.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3481 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3482
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3483 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3484 <emphasis role="bold">me</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3485 Tato volba je určena pro výběr metody vyhledávání pohybu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3486 Změnou této volby jednoduše měníte poměr kvalita-versus-rychlost.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3487 Volba <option>me=1</option> je jen o málo procent rychlejší než
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3488 výchozí vyhledávání za cenu pod 0.1dB globálního PSNR.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3489 Výchozí nastavení (<option>me=2</option>) je rozumným kompromisem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3490 mezi rychlostí a kvalitou. Volba <option>me=3</option> získá o trošku méně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3491 než 0.1dB globální PSNR, při spomalení, které se liší v závislosti na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3492 <option>frameref</option>. Při vysokých hodnotách
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3493 <option>frameref</option> (řekněme 12 nebo tak), je <option>me=3</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3494 asi o 40% pomalejší než výchozí <option> me=2</option>. Při
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3495 <option>frameref=3</option>, klesne způsobené spomalení na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3496 25%-30%.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3497 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3498 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3499 Volba <option>me=4</option> používá tak rozsáhlé vyhledávání, že je příliš
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3500 pomalá pro praktické využití.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3501 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3502 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3503
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3504 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3505 <emphasis role="bold">4x4mv</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3506 Tato volba zapíná použití podčástí 8x4, 4x8 a 4x4 v predikovaných
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3507 makroblocích. Její aktivace vede k poměrně stálé
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3508 10%-15% ztrátě rychlosti. Tato volba je poměrně neužitečná ve zdroji
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3509 obsahujícím pouze pomalý pohyb, naproti tomu u některých zdrojů s rychlým
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3510 pohybem, přesněji zdrojů s velkým množstvím malých pohyblivých objektů,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3511 můžete očekávat zisk okolo 0.1dB.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3512 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3513 </listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3514
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3515 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3516 <emphasis role="bold">bframes</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3517 Použitelnost B-snímků je ve většině ostatních kodeků diskutabilní.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3518 V H.264 se to změnilo: jsou zde nové techniky a typy bloků pro použití
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3519 v B-snímcích.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3520 Obvykle i naivní algoritmus pro výběr B-snímku může zajistit znatelný
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3521 zisk PSNR.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3522 Také je zajímavé, že pokud vypnete adaptivní rozhodování o B-snímku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3523 (<option>nob_adapt</option>), zvýší obvykle enkódování s
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3524 <option>bframes</option> o trochu rychlost enkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3525 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3526 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3527 S vypnutým adaptivním rozhodováním o B-snímku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3528 (<option>x264encopts</option> - volba <option>nob_adapt</option>),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3529 optimální hodnota tohoto nastavení nebývá obvykle vyšší než
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3530 <option>bframes=1</option>, jinak mouhou utrpět velmi pohyblivé scény.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3531 Se zapnutým adaptivním rozhodováním o B-snímku (výchozí chování),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3532 je obvykle bezpečné použít vyšší hodnoty; enkodér se pokusí snížit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3533 použití B-snímků ve scénách, kde by snížily kompresi.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3534 Enkodér zřídka použije více než 3 nebo 4 B-snímky;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3535 nastavení této volby na vyšší hodnotu bude mít jen nepatrný vliv.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3536 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3537
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3538 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3539 <emphasis role="bold">b_adapt</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3540 Poznámka: Výchozí je zapnuto.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3541 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3542 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3543 Je-li tato volba zapnuta, bude enkodér používat rychlou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3544 heuristiku pro snížení počtu B-snímků ve scénách, kde by jejich
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3545 použitím příliš nezískaly.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3546 Můžete použít <option>b_bias</option> pro nastavení jak přátelský
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3547 bude enkodér k B-snímkům.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3548 Spomalení působené adaptivními B-snímky je nyní spíše malé, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3549 stejně tak potenciální zisk kvality.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3550 Obvykle však nijak neškodí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3551 Poznamenejme, že ovlivňuje rychlost a rozhodování o typu snímku pouze
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3552 v prvním průchodu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3553 <option>b_adapt</option> a <option>b_bias</option> nemají žádný vliv
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3554 v následných průchodech.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3555 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3556
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3557 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3558 <emphasis role="bold">b_pyramid</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3559 Pokud používáte >=2 B-snímky, můžete také zapnout tuto volbu; jak
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3560 říká man stránka, dostanete malé zvýšení kvality bez ztráty rychlosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3561 Poznamenejme, že tato videa nelze číst dekodéry založenými na libavcodec
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3562 staršími než 5. března 2005.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3563 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3564
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3565 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3566 <emphasis role="bold">weight_b</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3567 V typických případech tato volba nepřináší velký zisk.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3568 V prolínacích nebo stmívacích scénách však vážená predikce
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3569 umožňuje poměrně velkou úsporu datového toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3570 V MPEG-4 ASP bývá stmívání obvykle nejlépe kódováno jako série
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3571 velkých I-snímků; použití vážené predikce v B-snímcích umožňuje
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3572 změnit alespoň některé z nich na rozumně menší B-snímky.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3573 Spomalení enkódování se zdá být minimální, pokud nějaké je.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3574 Rovněž, v rozporu s tím, co si někteří lidé mohou myslet,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3575 požadavky dekodéru na CPU nejsou váženou predikcí ovlivněny,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3576 ostatní možnosti jsou stejně náročné.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3577 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3578 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3579 Naneštěstí má aktuálně algoritmus adaptivního rozhodování o B-snímcích
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3580 výraznou tendenci vyvarovat se B-snímků při stmívání.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3581 Dokud se to nezmění, bude dobré přidat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3582 <option>nob_adapt</option> do x264encopts, pokud očekáváte, že stmívání
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3583 bude mít znatelný vliv ve vašem konkrétním klipu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3584 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3585 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3586 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3587
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3588 <sect3 id="menc-feat-x264-encoding-options-misc-preferences">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3589 <title>Volby náležející různým preferencím</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3590 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3591 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3592 <emphasis role="bold">Dvouprůchodové enkodování</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3593 Výše jsme doporučovali vždy používat dvouprůchodové enkódování, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3594 stále existují důvody proč jej nepoužít. Například pokud zachytáváte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3595 TV vysílání a enkódujete v reálném čase, nemáte jinou možnost, než
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3596 použít jeden průchod. Jeden průchod je samozřejmě rychlejší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3597 než dva; pokud použijete stejné volby v obou průchodech, pak je dvouprůchodové
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3598 enkódování téměř dvakrát pomalejší.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3599 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3600 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3601 Stále jsou však velmi dobré důvody pro použití dvouprůchodového režimu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3602 Volič datového toku v jednoprůchodovém režimu není oduševnělý a často
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3603 dělá nerozumné volby, protože nevidí celkový obraz. Předpokládejme, že
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3604 máte například dvouminutové video skládající se ze dvou částí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3605 První polovina je vysoce pohyblivá scéna dlouhá 60 sekund, která samostatně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3606 vyžaduje kolem 2500kbps, aby vypadala slušně.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3607 Hned za ní následuje méně náročná 60 sekundová scéna, která vypadá dobře
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3608 při 300kbps. Vyžádáte si 1400kbps, což je teoreticky dostatečné pro pokrytí
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3609 obou scén. Jednoprůchodový volič datového toku v tom případě učiní
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3610 několik "chyb". První blok může skončit těžce překvantizovaný, takže
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3611 bude nepoužitelně a zbytečně čtverečkovaný. Druhá část bude velmi
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3612 podkvantizovaná; to může vypadat dobře, ale spotřeba bitů na tento
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3613 vzhled je nerozumně vysoká. Čeho se dá ještě hůře vyvarovat je problém
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3614 přechodu mezi těmito scénami. První sekundy málo pohyblivé poloviny
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3615 budou těžce překvantizovány, protože volič toku stále očekává nároky na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3616 datový tok, se kterými se potýkal v první polovině videa.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3617 Tato "chybová doba" překvantizované málo pohyblivé scény bude vypadat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3618 neskutečně špatně a skutečně použije méně než 300kbps, které by potřebovala,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3619 aby vypadala dobře. Existují způsoby pro zmírnění nástrah jednoprůchodového
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3620 enkódování, ale ty mohou tíhnout ke zvyšování nepřesnosti datového toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3621 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3622 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3623 Víceprůchodový volič datového toku nabízí velké výhody oproti jednomu
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3624 průchodu. Díky statistikám generovaným v prvním průchodu může enkodér
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3625 určit, s rozumnou přesností, bitovou náročnost enkódování každého snímku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3626 při jakémkoli kvantizéru. To umožňuje mnohem racionálnější, lépe naplánovanou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3627 spotřebu bitů mezi drahými (hodně pohyblivými) a levnými (málo pohyblivými)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3628 scénami. Několik nápadů jak upravit tuto spotřebu podle svého naleznete níže
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3629 viz <option>qcomp</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3630 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3631 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3632 Navíc dva průchody nemusí trvat dvakrát tak dlouho jako jeden. Můžete upravit
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3633 volby prvního průchodu pro nejvyšší rychlost a nižší kvalitu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3634 Pokud si dobře zvolíte své volby, můžete mít velmi rychlý první průchod.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3635 Výsledná kvalita ve druhém průchodu bude trochu horší, protože predikce
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3636 velikosti je méně přesná, ale rozdíl v kvalitě je obvykle příliž malý, aby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3637 byl vidět. Zkuste např. přidat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3638 <option>subq=1:frameref=1</option> do <option>x264encopts</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3639 prvnímu průchodu. Pak ve druhém průchodu použijte pomalejší volby pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3640 vyšší kvalitu:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3641 <option>subq=6:frameref=15:4x4mv:me=3</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3642 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3643 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3644 <emphasis role="bold">Tříprůchodové enkódování</emphasis>?
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3645
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3646 x264 nabízí možnost provádět větší počet následných průchodů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3647 Pokud zadáte <option>pass=1</option> v prvním průchodu a pak použijete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3648 <option>pass=3</option> v následujícím průchodu, pak tento průchod
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3649 jak načte statistiky z předchozího, tak zapíše své vlastní. Další průchod
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3650 po něm pak bude mít velmi dobrou základnu pro vysoce přesnou predikci
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3651 velikosti snímků při zvoleném kvantizéru. V praxi se celková kvalita
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3652 z toho vzešlá blíží nule a je možné, že třetí průchod bude mít horší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3653 celkový PSNR než jeho předchúdce. Při běžném použití tři průchody pomůžou,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3654 pokud dostanete buď špatnou predikci datového toku, nebo špatně vypadající
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3655 přechody mezi scénami po použití pouze dvou průchodů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3656 To se nejspíš může stát v extrémně krátkých klipech. Je rovněž několik
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3657 zvláštních případů, ve kterých jsou tři a více průchodů dobré pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3658 pokročilé uživatele, ale pro stručnost se zde těmito případy zabývat nebudeme.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3659
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3660 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3661 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3662 <emphasis role="bold">qcomp</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3663 <option>qcomp</option> mění poměr počtu bitů alokovaných "drahým"
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3664 velmi pohyblivým snímkům k "levným" málo pohyblivým snímkům. V jednom
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3665 extrému, <option>qcomp=0</option> vede k čistě konstantnímu datovému toku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3666 Což typicky činí velmi pohyblivé scény velmi ošklivé, zatímco scény
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3667 s malým pohybem vypadají perfektně, ale spotřebovávají mnohem větší datový
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3668 tok, než by potřebovaly k tomu, aby ještě vypadaly skvěle.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3669 Ve druhém extrému, <option>qcomp=1</option>, dostanete téměř konstantní
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3670 kvantizační parametr (QP). Konstantní QP nevypadá špatně, ale většina
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3671 lidí soudí, že je rozumnější snížit trochu datový tok v extrémně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3672 náročných scénách (kde snížení kvality není tak vidět) a realokovat je
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3673 do scén, které je snadnější enkódovat při excelentní kvalitě.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3674 Výchozí hodnota <option>qcomp</option> je 0.6, což může být, podle
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3675 některých lidí poněkud málo (běžně se rovněž používá 0.7-0.8).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3676 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3677 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3678 <emphasis role="bold">keyint</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3679 <option>keyint</option> je výhradně pro výměnu míry převinutelnosti
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3680 za efektivitu kódování. Výchozí hodnota <option>keyint</option> je 250.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3681 V materiálu 25 snímků za sekundu to zajišťuje schopnost převíjení
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3682 s 10 sekundovou přesností. Pokud soudíte, že bude důležité a užitečné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3683 být schopen převíjet s přesností 5 sekund, nastavte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3684 <option>keyint=125</option>;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3685 to ovšem trochu sníží kvalitu/datový tok. Pokud vám jde jen o kvalitu, nikoli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3686 převinutelnost, můžete si nastavit mnohem vyšší hodnoty
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3687 (rozumějte že zisk z toho klesá a může být neznatelný až žádný).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3688 Video proud bude stále mít převíjecí body, pokud jsou zde nějaké změny scény.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3689 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3690 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3691 <emphasis role="bold">deblockalpha, deblockbeta</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3692 Tato věc začíná být trochu kontroverzní.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3693 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3694 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3695 H.264 definuje jednoduchou deblokovací proceduru I-bloků, která používá
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3696 přednastavených sil a prahů závislých na QP daného bloku.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3697 Výchozí je, že bloky s vysokým QP jsou filtrovány silně a bloky s nízkým QP
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3698 nejsou deblokovány vůbec.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3699 Přednastavené síly definované standardem jsou dobře zvoleny a
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3700 vyváženy tak, že jsou optimální z hlediska PSNR pro libovolné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3701 video, které zkoušíte enkódovat.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3702 Volby <option>deblockalpha</option> a <option>deblockbeta</option>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3703 umožňují nastavit offsety přednastaveným deblokovacím prahům.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3704 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3705 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3706 Zdá se, že si mnoho lidí myslí, že je dobré snížit sílu deblokovacího filtru
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3707 o vysokou hodnotu (řekněme, -3).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3708 To však není téměř nikdy dobrý nápad a v mnoha případech lidé,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3709 kteří to dělají, nerozumí dobře tomu, jak pracuje výchozí deblokování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3710 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3711 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3712 První a nejdůležitější věc, kterou byste měli vědět o in-loop
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3713 deblokovacím filtru, je, že výchozí prahy jsou téměř vždy optimální
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3714 z hlediska PSNR.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3715 V řídkých případech, kdy nejsou, je ideální offset plusmínus 1.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3716 Úprava deblokovacích parametrů o větší hodnotu téměř zaručeně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3717 poškodí PSNR.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3718 Zesílení filtru setře více detailů; oslabení filtru povede k
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3719 zvýšené viditelnosti blokování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3720 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3721 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3722 Rozhodně je hloupost snižovat deblokovací prahy pokud má vaše video
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3723 převážně nízkou plošnou komplexnost (čili málo detailů nebo šumu).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3724 In-loop filtr odvádí téměř výbornou práci v ukrývání
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3725 artefaktů, které se mohou vyskytnout.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3726 Pokud má zdroj vysokou plšnou komplexnost, pak jsou artefakty méně viditelné.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3727 To proto, že kroužkování vypadá podobně jako detail nebo šum.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3728 Lidské oko snadno rozpozná, pokud je odstraněn detail, ale ne
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3729 už tak snadno pozná, že je šum reprezentován špatně.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3730 Když příjde na subjektivní kvalitu, pak jsou detaily a šum do jisté míry
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3731 zaměnitelné.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3732 Oslabením deblokovacího filtru nejspíše zvýšíte chybu, přidáním
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3733 kroužkových artefaktů, ale oko si toho nevšimne, jelikož je zamění
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3734 za detaily.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3735 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3736
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3737 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3738 <emphasis role="bold">Ani to</emphasis> však neospravedlňuje
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3739 oslabení deblokovacího filtru.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3740 Obecně dostanete kvalitnější šum pomocí postprocesingu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3741 Pokud vaše H.264 videa vypadají příliš neostře nebo rozmazaně, zkuste si
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3742 pohrát s <option>-vf noise</option> při přehrávání.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3743 Volba <option>-vf noise=8a:4a</option> by měla skrýt většinu středně silných
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3744 artefaktů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3745 Téměř určitě to bude vypadat lépe, než výsledky, které byste mohli dosáhnout
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3746 pohráváním si s deblokovacím filtrem.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3747 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3748 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3749 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3750 </sect2>
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3751
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3752 <sect2 id="menc-feat-x264-example-settings">
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3753 <title>Příklady nastavení enkódování</title>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3754
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3755 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3756 Následující nastavení jsou příklady nastavení různých kombinací voleb
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3757 enkodéru, které ovlivňují poměr rychlost versus kvalita při shodném
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3758 cílovém datovém toku.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3759 </para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3760
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3761 <para>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3762 Veškerá nastavení byla testována na video vzorku 720x448 @30000/1001
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3763 snímků za sekundu, cílový datový tok byl 900kbps a prováděly se na
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3764 AMD-64 3400+ při 2400 Mhz v režimu 64 bitů.
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3765 Každá kombinace nastavení má uvedenu změřenou rychlost enkódování
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3766 (ve snímcích za sekundu) a ztrátu PSNR (v dB) oproti nastavení
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3767 "velmi vysoká kvalita".
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3768 Rozumějte však že, v závislosti na vašem zdrojovém materiálu, typu
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3769 počítače a pokrokům ve vývoji, můžete dospět k velmi odlišným výsledkům.
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3770 </para>
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3771
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3772 <para>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3773 <informaltable frame="all">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3774 <tgroup cols="4">
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3775 <thead>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3776 <row><entry>Popis</entry><entry>Volby</entry><entry>Rychlost [fps]</entry><entry>Relativní ztráta PSNR [dB]</entry></row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3777 </thead>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3778 <tbody>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3779 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3780 <entry>Velmi vysoká kvalita</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3781 <entry><option>subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3782 <entry>6</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3783 <entry>0</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3784 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3785 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3786 <entry>Vysoká kvalita</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3787 <entry><option>subq=5:4x4mv:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3788 <entry>13</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3789 <entry>-0.89</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3790 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3791 <row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3792 <entry>Rychlé enkódování</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3793 <entry><option>subq=4:bframes=2:b_pyramid:weight_b</option></entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3794 <entry>17</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3795 <entry>-1.48</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3796 </row>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3797 </tbody>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3798 </tgroup>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3799 </informaltable>
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3800 </para>
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3801 </sect2>
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3802
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3803 </sect1>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3804
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3805 <sect1 id="menc-feat-vcd-dvd">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3806 <title>Použití MEncoder k vytváření VCD/SVCD/DVD-kompatibilních souborů.</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3807
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3808 <sect2 id="menc-feat-vcd-dvd-constraints">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3809 <title>Omezení Formátů</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3810 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3811 <application>MEncoder</application> je schopen vytvořit soubory ve
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3812 formátu MPEG pro VCD, SCVD a DVD pomocí knihovny
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3813 <systemitem class="library">libavcodec</systemitem>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3814 Tyto soubory pak mohou být použity ve spojení s programem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3815 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3816 nebo
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3817 <ulink url="http://dvdauthor.sourceforge.net/">dvdauthor</ulink>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3818 pro vytvoření disku přehratelného na stolním přehrávači.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3819 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3820
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3821 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3822 Formáty DVD, SVCD a VCD mají silná omezení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3823 K dispozici máte pouze malý výběr vlikostí enkódovaného obrazu a poměrů stran.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3824 Pokud váš film nesplňuje tyto požadavky, budete jej muset škálovat, ořezat
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3825 nebo přidat černé okraje, aby byl kompatibilní.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3826 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3827
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3828 <sect3 id="menc-feat-vcd-dvd-constraints-resolution">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3829 <title>Omezení Formátů</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3830
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3831 <informaltable frame="all">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3832 <tgroup cols="9">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3833 <thead>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3834 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3835 <entry>Formát</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3836 <entry>Rozlišení</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3837 <entry>V. kodec</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3838 <entry>V. dat. tok</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3839 <entry>Vzork. kmitočet</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3840 <entry>A. kodec</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3841 <entry>A. dat. tok</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3842 <entry>FPS</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3843 <entry>Poměr stran</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3844 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3845 </thead>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3846 <tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3847 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3848 <entry>NTSC DVD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3849 <entry>720x480, 704x480, 352x480, 352x240</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3850 <entry>MPEG-2</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3851 <entry>9800 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3852 <entry>48000 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3853 <entry>AC3,PCM</entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3854 <entry>1536 kbps (max)</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3855 <entry>30000/1001, 24000/1001</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3856 <entry>4:3, 16:9 (pouze pro 720x480)</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3857 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3858 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3859 <entry>NTSC DVD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3860 <entry>352x240<footnote id='fn-rare-resolutions'><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3861 Tato rozlišení jsou zřídka použita pro DVD, protože
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3862 mají docela nízkou kvalitu.</para></footnote></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3863 <entry>MPEG-1</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3864 <entry>1856 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3865 <entry>48000 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3866 <entry>AC3,PCM</entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3867 <entry>1536 kbps (max)</entry>
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3868 <entry>30000/1001, 24000/1001</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3869 <entry>4:3, 16:9</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3870 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3871 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3872 <entry>NTSC SVCD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3873 <entry>480x480</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3874 <entry>MPEG-2</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3875 <entry>2600 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3876 <entry>44100 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3877 <entry>MP2</entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3878 <entry>384 kbps (max)</entry>
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3879 <entry>30000/1001</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3880 <entry>4:3</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3881 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3882 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3883 <entry>NTSC VCD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3884 <entry>352x240</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3885 <entry>MPEG-1</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3886 <entry>1150 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3887 <entry>44100 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3888 <entry>MP2</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3889 <entry>224 kbps</entry>
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
3890 <entry>24000/1001, 30000/1001</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3891 <entry>4:3</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3892 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3893 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3894 <entry>PAL DVD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3895 <entry>720x576, 704x576, 352x576, 352x288</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3896 <entry>MPEG-2</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3897 <entry>9800 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3898 <entry>48000 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3899 <entry>MP2,AC3,PCM</entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3900 <entry>1536 kbps (max)</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3901 <entry>25</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3902 <entry>4:3, 16:9 (pouze pro 720x576)</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3903 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3904 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3905 <entry>PAL DVD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3906 <entry>352x288<footnoteref linkend='fn-rare-resolutions'/></entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3907 <entry>MPEG-1</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3908 <entry>1856 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3909 <entry>48000 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3910 <entry>MP2,AC3,PCM</entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3911 <entry>1536 kbps (max)</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3912 <entry>25</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3913 <entry>4:3, 16:9</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3914 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3915 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3916 <entry>PAL SVCD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3917 <entry>480x576</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3918 <entry>MPEG-2</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3919 <entry>2600 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3920 <entry>44100 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3921 <entry>MP2</entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3922 <entry>384 kbps (max)</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3923 <entry>25</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3924 <entry>4:3</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3925 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3926 <row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3927 <entry>PAL VCD</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3928 <entry>352x288</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3929 <entry>MPEG-1</entry>
16702
c4d2e2bcce16 Synced with 1.31
jheryan
parents: 16563
diff changeset
3930 <entry>1152 kbps</entry>
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3931 <entry>44100 Hz</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3932 <entry>MP2</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3933 <entry>224 kbps</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3934 <entry>25</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3935 <entry>4:3</entry>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3936 </row>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3937 </tbody>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3938 </tgroup>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3939 </informaltable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3940
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3941 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3942 Pokud má vaše video poměr stran 2.35:1 (většina současných akčních filmů),
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3943 budete muset přidat černé okraje, nebo ořezat video na 16:9, abyste mohli
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3944 vytvořit DVD nebo VCD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3945 Pokud přidáváte černé okraje, zkuste je napasovat do 16 pixelových okrajů,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3946 abyste minimalizovali vliv na výkon enkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3947 Naštěstí má DVD dostatečně vysoký datový tok, takže se nemusíte příliš
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3948 zabývat efektivitou enkódování, ale u SVCD a VCD je k dispozici jen malý
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3949 datový tok, takže vyžaduje větší snahu pro dosažení přijatelné kvlaity.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3950 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3951 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3952
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3953 <sect3 id="menc-feat-vcd-dvd-constraints-gop">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3954 <title>Omezení velikosti GOP</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3955 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3956 DVD, VCD a SVCD vás rovněž omezují na relativně nízké GOP (skupina obrázků)
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3957 velikosti.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3958 Pro materiál 30 snímků za sekundu je největší povolená GOP velikost 18.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3959 Pro 25 nebo 24 snímků/s je maximum 15.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3960 Velikost GOP je nastavena pomocí volby <option>keyint</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3961 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3962 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3963
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3964 <sect3 id="menc-feat-vcd-dvd-constraints-bitrate">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3965 <title>Omezení datového toku</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3966 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3967 VCD video musí být CBR při 1152 kbps.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3968 Tento velmi omezující požadavek je zde spolu s velmi malou vbv vyrovnávací
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3969 pamětí 327 kilobitů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3970 SVCD umožňuje proměnné datové toky až do 2500 kbps a poněkud méně
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3971 omezující velikost vbv bufferu 917 kilobitů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3972 Datové toky pro DVD mohou být libovolné až do 9800 kbps (ačkoli typické
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3973 datové toky jsou asi poloviční) a velikost vbv buferu je 1835 kilobitů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3974 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3975 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3976 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3977
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3978 <sect2 id="menc-feat-vcd-dvd-output">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3979 <title>Výstupní volby</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3980 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3981 <application>MEncoder</application> má volby pro ovládání výstupního formátu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3982 Pomocí těchto voleb jej můžete instruovat, aby použil správný typ souboru.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3983 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3984
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3985 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3986 Volby pro VCD a SVCD se nazývají xvcd a xsvcd, protože to jsou rozšířené
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3987 formáty.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3988 Nejsou přesně kompatibilní hlavně proto, že výstup neobsahuje skenovací
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3989 offsety.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3990 Pokud potřebujete generovat SVCD obraz, měli byste protáhnout výstupní soubor
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3991 programem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3992 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3993 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3994
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3995 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3996 VCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3997 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3998 -of mpeg -mpegopts format=xvcd
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
3999 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4000 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4001
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4002 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4003 SVCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4004 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4005 -of mpeg -mpegopts format=xsvcd
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4006 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4007 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4008
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4009 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4010 DVD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4011 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4012 -of mpeg -mpegopts format=dvd
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4013 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4014 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4015
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4016 <para>
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4017 DVD s NTSC Pullup:
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4018 <screen>
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4019 -of mpeg -mpegopts format=dvd:telecine -ofps 24000/1001
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4020 </screen>
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4021 Toto umožňuje enkódovat 24000/1001 fps progresivní materiál při 30000/1001
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4022 fps při zachování slučitelnosti s DVD.
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4023 </para>
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4024
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4025 <sect3 id="menc-feat-vcd-dvd-output-aspect">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4026 <title>Poměr stran</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4027 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4028 Argument aspect z <option>-lavcopts</option> se používá pro zakódování
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4029 poměru stran souboru.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4030 Během přehrávání je pak tato hodnota použita pro obnovení videa na
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4031 správnou velikost.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4032 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4033
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4034 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4035 16:9 neboli "Widescreen"
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4036 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4037 -lavcopts aspect=16/9
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4038 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4039 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4040
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4041 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4042 4:3 neboli "Fullscreen"
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4043 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4044 -lavcopts aspect=4/3
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4045 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4046 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4047
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4048 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4049 2.35:1 neboli "Cinemascope" NTSC
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4050 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4051 -vf scale=720:368,expand=720:480 -lavcopts aspect=16/9
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4052 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4053 Pro výpočet správné velikosti pro škálování, použijte rozšířenou NTSC šířku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4054 854/2.35 = 368
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4055 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4056
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4057 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4058 2.35:1 neboli "Cinemascope" PAL
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4059 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4060 -vf scale="720:432,expand=720:576 -lavcopts aspect=16/9
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4061 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4062 Pro výpočet správné velikosti pro škálování, použijte rozšířenou PAL šířku
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4063 1024/2.35 = 432
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4064 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4065
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4066 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4067
18271
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4068 <sect3 id="menc-feat-vcd-dvd-a-v-sync">
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4069 <title>Zachování A/V synchronizace</title>
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4070 <para>
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4071 Aby byla zachována synchronizace zvuku s videem během enkódování, musí
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4072 <application>MEncoder</application> zahazovat nebo duplikovat snímky.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4073 To funguje celkem dobře při muxování do AVI souboru, ale téměř s jistotou
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4074 neudrží A/V synchronizaci s jinými muxery jako MPEG.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4075 To je důvodem pro nutnost přidání video fitru <option>harddup</option> na
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4076 konec řetězu filtrů, aby jsme se tomuto problému vyhli.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4077 Více technických informací o <option>harddup</option> naleznete v sekci
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4078 <link linkend="menc-feat-dvd-mpeg4-muxing-filter-issues">Zlepšení muxování a
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4079 A/V synchronizace</link>, nebo v man tsránce.
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4080 </para>
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4081 </sect3>
61469631cc09 Synced with 1.47
jheryan
parents: 17707
diff changeset
4082
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4083 <sect3 id="menc-feat-vcd-dvd-output-srate">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4084 <title>Převod vzorkovacího kmitočtu</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4085 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4086 Pokud není vzorkovací kmitočet zvuku takový, jaký je vyžadován
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4087 cílovým formátem, je nutný převod vzorkovacího kmitočtu.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4088 To zajišťuje použití volby <option>-srate</option> spolu se zvukovým filtrem
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4089 <option>-af lavcresample</option>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4090 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4091 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4092 DVD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4093 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4094 -srate 48000 -af lavcresample=48000
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4095 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4096 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4097 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4098 VCD a SVCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4099 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4100 -srate 44100 -af lavcresample=44100
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4101 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4102 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4103 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4104 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4105
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4106 <sect2 id="menc-feat-vcd-dvd-lavc">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4107 <title>Použití libavcodec pro enkódování VCD/SVCD/DVD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4108
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4109 <sect3 id="menc-feat-vcd-dvd-lavc-intro">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4110 <title>Úvodem</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4111 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4112 <systemitem class="library">libavcodec</systemitem> můžete použít pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4113 vytvoření videa kompatibilního s VCD/SVCD/DVD použitím příslušných voleb.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4114 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4115 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4116
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4117 <sect3 id="menc-feat-vcd-dvd-lavc-options">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4118 <title>lavcopts</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4119 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4120 Zde máte seznam polí v <option>-lavcopts</option>, která je nutné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4121 změnit, abyste dostali video vhodné pro VCD, SVCD,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4122 nebo DVD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4123 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4124
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4125 <itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4126 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4127 <emphasis role="bold">acodec</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4128 <option>mp2</option> pro VCD, SVCD nebo PAL DVD;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4129 <option>ac3</option> je obecně používán pro DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4130 PCM zvuk může být rovněž použitý pro DVD, ale většinou je to velké plýtvání
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4131 místem.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4132 Poznamenejme, že MP3 není slučitelné s žádným z těchto formátů, ale
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4133 přehrávače s jeho přehrátím obvykle nemají problém.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4134 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4135
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4136 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4137 <emphasis role="bold">abitrate</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4138 224 pro VCD; do 384 pro SVCD; do 1536 pro DVD, ale obvykle se hodnoty
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4139 pohybují od 192 kbps pro stereo do 384 kbps pro 5.1 kanálový zvuk.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4140 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4141
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4142 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4143 <emphasis role="bold">vcodec</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4144 <option>mpeg1video</option> pro VCD;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4145 <option>mpeg2video</option> pro SVCD;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4146 <option>mpeg2video</option> je obvykle použitý pro DVD, ale můžete použít také
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4147 <option>mpeg1video</option> pro CIF rozlišení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4148 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4149
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4150 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4151 <emphasis role="bold">keyint</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4152 Použitý pro nastavení velikosti GOP.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4153 18 pro 30fps materiál, nebo 15 pro 25/24 fps materiál.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4154 Zdá se, že komerční producenti preferují interval mezi klíčovými snímky 12.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4155 Je možné použít vyšší hodnotu a stále být kompatibilní s většinou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4156 přehrávačů.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4157 <option>keyint</option> na 25 by neměla nikdy způsobit potíže.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4158 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4159
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4160 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4161 <emphasis role="bold">vrc_buf_size</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4162 327 pro VCD, 917 pro SVCD a 1835 pro DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4163 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4164
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4165 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4166 <emphasis role="bold">vrc_minrate</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4167 1152, pro VCD. Může být vynecháno pro SVCD a DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4168 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4169
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4170 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4171 <emphasis role="bold">vrc_maxrate</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4172 1152 pro VCD; 2500 pro SVCD; 9800 pro DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4173 Pro SVCD a DVD, můžete použít nižší hodnoty v závislosti na vašich
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4174 osobních preferencích a potřebách.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4175 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4176
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4177 <listitem><para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4178 <emphasis role="bold">vbitrate</emphasis>:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4179 1152 pro VCD;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4180 do 2500 pro SVCD;
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4181 do 9800 pro DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4182 Pro dva poslední formáty by mělo být vbitrate nastaveno podle vlastního
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4183 uvážení.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4184 Například pokud trváte na umístění asi 20 hodin na DVD, mohli byste použít
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4185 vbitrate=400.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4186 Výsledná kvalita bude nejspíš hrozná.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4187 Pokud se pokoušíte dosáhnout maximální možné kvality na DVD, použijte
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4188 vbitrate=9800, ale pak se vám nevejde ani celá hodina záznamu na jednovrstvé
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4189 DVD.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4190 </para></listitem>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4191 </itemizedlist>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4192 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4193
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4194 <sect3 id="menc-feat-vcd-dvd-lavc-examples">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4195 <title>Příklady</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4196 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4197 Toto je typická minimální sada <option>-lavcopts</option> pro
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4198 enkódování videa:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4199 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4200 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4201 VCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4202 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4203 -lavcopts vcodec=mpeg1video:vrc_buf_size=327:vrc_minrate=1152:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4204 vrc_maxrate=1152:vbitrate=1152:keyint=15:acodec=mp2
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4205 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4206 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4207
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4208 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4209 SVCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4210 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4211 -lavcopts vcodec=mpeg2video:vrc_buf_size=917:vrc_maxrate=2500:vbitrate=1800:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4212 keyint=15:acodec=mp2
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4213 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4214 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4215
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4216 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4217 DVD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4218 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4219 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4220 keyint=15:acodec=ac3
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4221 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4222 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4223
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4224 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4225
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4226 <sect3 id="menc-feat-vcd-dvd-lavc-advanced">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4227 <title>Pokročilé volby</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4228 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4229 Pro vyšší kvalitu enkódování můžete také přidat kvalitu zlepšující volby
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4230 do lavcopts, jako je <option>trell</option>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4231 <option>mbd=2</option> a další.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4232 Poznamenejme, že <option>qpel</option> a <option>v4mv</option>, které jsou
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4233 často dobré pro MPEG-4, nejsou použitelné s MPEG-1 nebo MPEG-2.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4234 Pokud se snažíte vytvořit DVD s velmi vasokou kvalitou, může být vhodné
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4235 přidat <option>dc=10</option> do lavcopts.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4236 Takto to můžete pomoci omezit oběvování bloků ve stálobarevných plochách.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4237 Podtrženo sečteno, zde máte příklad nastavení lavcopts pro DVD s vyšší
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4238 kvalitou:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4239 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4240
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4241 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4242 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4243 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4244 keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4245 vqmin=1:lmin=1:dc=10
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4246 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4247 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4248
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4249 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4250 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4251
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4252 <sect2 id="menc-feat-vcd-dvd-audio">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4253 <title>Enkódování zvuku</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4254 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4255 VCD a SVCD podporují zvuk MPEG-1 layer II. Použít můžete
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4256 <systemitem class="library">toolame</systemitem>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4257 <systemitem class="library">twolame</systemitem>,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4258 nebo MP2 enkodér z <systemitem class="library">libavcodec</systemitem>u.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4259 MP2 libavcodecu je dalek toho, aby byl stejně dobrý jako druhé dvě knihovny,
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4260 avšak měl by být vždy po ruce.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4261 VCD podporuje pouze zvuk s konstantním datovým tokem (CBR), zatímco SVCD
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4262 podporuje také proměnný datový tok (VBR).
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4263 Používejte VBR opatrně, jelikož některé mizerné stolní přehrávače jej
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4264 nemusí dobře podporovat.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4265 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4266
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4267 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4268 Pro DVD zvuk se používá AC3 kodek z
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4269 <systemitem class="library">libavcodec</systemitem>.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4270 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4271
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4272 <sect3 id="menc-feat-vcd-dvd-audio-toolame">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4273 <title>toolame</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4274 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4275 Pro VCD a SVCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4276 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4277 -oac toolame -toolameopts br=224
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4278 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4279 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4280 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4281
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4282 <sect3 id="menc-feat-vcd-dvd-audio-twolame">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4283 <title>twolame</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4284 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4285 Pro VCD a SVCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4286 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4287 -oac twolame -twolameopts br=224
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4288 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4289 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4290 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4291
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4292 <sect3 id="menc-feat-vcd-dvd-audio-lavc">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4293 <title>libavcodec</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4294 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4295 Pro DVD s 2 kanálovým zvukem:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4296 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4297 -oac lavc -lavcopts acodec=ac3:abitrate=192
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4298 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4299 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4300 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4301 Pro DVD s 5.1 kanálovým zvukem:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4302 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4303 -channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=384
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4304 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4305 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4306 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4307 Pro VCD a SVCD:
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4308 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4309 -oac lavc -lavcopts acodec=mp2:abitrate=224
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4310 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4311 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4312 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4313
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4314 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4315
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4316 <sect2 id="menc-feat-vcd-dvd-all">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4317 <title>Spojení všeho dohromady</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4318 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4319 Tato sekce obsahuje kompletní příkazy pro vytvoření VCD/SVCD/DVD
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4320 kompatibilních videí.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4321 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4322
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4323 <sect3 id="menc-feat-vcd-dvd-all-pal-dvd">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4324 <title>PAL DVD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4325 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4326 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4327 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4328 harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4329 vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4330 abitrate=192:aspect=16/9 -ofps 25 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4331 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4332 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4333 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4334 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4335
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4336 <sect3 id="menc-feat-vcd-dvd-all-ntsc-dvd">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4337 <title>NTSC DVD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4338 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4339 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4340 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4341 harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4342 vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4343 abitrate=192:aspect=16/9 -ofps 30000/1001 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4344 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4345 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4346 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4347 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4348
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4349 <sect3 id="menc-feat-vcd-dvd-all-pal-ac3-copy">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4350 <title>PAL AVI obsahující AC3 zvuk do DVD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4351 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4352 Pokud již má zdroj AC3 zvuk, použijte -oac copy místo reenkódování.
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4353 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4354 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4355 harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4356 vbitrate=5000:keyint=15:aspect=16/9 -ofps 25 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4357 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4358 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4359 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4360 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4361
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4362 <sect3 id="menc-feat-vcd-dvd-all-ntsc-ac3-copy">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4363 <title>NTSC AVI obsahující AC3 zvuk do DVD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4364 <para>
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4365 Pokud již má zdroj AC3 zvuk a video je NTSC @ 24000/1001 fps:
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4366 <screen>
16335
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4367 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:telecine \
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4368 -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\
5a19ef74fb30 Synced with 1.12
jheryan
parents: 16262
diff changeset
4369 vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9 -ofps 24000/1001 \
16262
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4370 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4371 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4372 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4373 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4374
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4375 <sect3 id="menc-feat-vcd-dvd-all-pal-svcd">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4376 <title>PAL SVCD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4377 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4378 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4379 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4380 scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4381 vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minrate=600:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4382 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 25 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4383 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4384 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4385 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4386 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4387
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4388 <sect3 id="menc-feat-vcd-dvd-all-ntsc-svcd">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4389 <title>NTSC SVCD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4390 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4391 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4392 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4393 scale=480:480,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4394 vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4395 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 30000/1001 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4396 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4397 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4398 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4399 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4400
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4401 <sect3 id="menc-feat-vcd-dvd-all-pal-vcd">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4402 <title>PAL VCD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4403 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4404 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4405 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4406 scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4407 vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4408 vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4409 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4410 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4411 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4412 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4413
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4414 <sect3 id="menc-feat-vcd-dvd-all-ntsc-vcd">
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4415 <title>NTSC VCD</title>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4416 <para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4417 <screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4418 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4419 scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4420 vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:\
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4421 vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 \
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4422 -o <replaceable>film.mpg</replaceable> <replaceable>film.avi</replaceable>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4423 </screen>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4424 </para>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4425 </sect3>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4426
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4427 </sect2>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4428
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4429 </sect1>
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4430
3cf1d8b3798f new, synced with 1.10
jheryan
parents:
diff changeset
4431 </chapter>