annotate DOCS/xml/pl/encoding-guide.xml @ 29783:b8a8ebad6761

Add a profile example and (commented-out) useful defaults for dvdnav to example.conf
author reimar
date Thu, 05 Nov 2009 18:53:05 +0000
parents 0f1b5b68af32
children acca18850841
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2 <!-- synced with 27843 -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3 <!-- Opiekun: Torinthiel -->
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4 <!-- INCOMPLETE!!!! -->
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5 <chapter id="encoding-guide">
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
6 <title>Kodowanie przy użyciu <application>MEncodera</application></title>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
7
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
8 <sect1 id="menc-feat-dvd-mpeg4">
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
9 <title>Rippowanie DVD do wysokiej jakości pliku MPEG-4 ("DivX")</title>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
10
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
11 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
12 Jednym z często zadawanych pytań jest "Jak zrobić rip najlepszej jakości
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
13 przy danej objętości?". Innym pytaniem jest "Jak zrobić najlepszy możliwy
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
14 rip? Nie ważne jaka będzie objętość, chcę najlepszej jakości."
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
15 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
16
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
17 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
18 To drugie pytanie jest przynajmniej źle postawione. W końcu, jeśli nie
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
19 przejmujesz się wielkością pliku, mógłbyć po prostu skopiować strumień
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
20 MPEG-2 z DVD. Pewnie, dostaniesz AVI wielkości około 5GB, ale jeśli chcesz
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
21 najlepszej jakości i nie przejmujesz się wielkością to jest to najlepsze
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
22 wyjście.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
23 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
24
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
25 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
26 Tak na prawdę, powodem dla którego chcesz przekodować DVD na MPEG-4 jest to,
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
27 że <emphasis role="bold">przejmujesz</emphasis> się wielkością pliku.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
28 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
29
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
30 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
31 Ciężko jest pokazać książkowy przepis na tworzenie ripu DVD bardzo wysokiej
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
32 jakości. Trzeba wziąć pod uwagę kilka czynników, i powinieneś rozumieć
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
33 szczegóły procesu, albo jest duża szansa że nie będziesz zadowolony z wyników.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
34 Poniżej zbadamy niektóre problemy i pokażemy przykład. Zakładamy że używasz
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
35 <systemitem class="library">libavcodec</systemitem> do kodowania obrazu,
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
36 chociaż ta sama teoria działą też przy innych kodekach.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
37 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
38
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
39 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
40 Jeśli to wydaje Ci się za dużo, to pewnie powinieneś użyć jednej z wielu
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
41 nakładek dostępnych w
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
42 <ulink url="http://mplayerhq.hu/homepage/design7/projects.html#mencoder_frontends">sekcji MEncodera</ulink>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
43 naszej strony z powiązanymi projektami.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
44 W ten sposób, powinno się udać otrzymać ripy wysokiej jakości bez zbyt
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
45 myślenia za dużo, ponieważ te narzędzia są projektowane by podejmować za
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
46 Ciebie mądre decyzje.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
47 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
48
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
49 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
50
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
51 <sect2 id="menc-feat-dvd-mpeg4-preparing-encode">
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
52 <title>Przygotowanie do kodowania: Identyfikowanie materiału źródłowego
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
53 i framerate</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
54
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
55 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
56 Zanim w ogóle zaczniesz myśleć o kodowaniu filmu, musisz przejść kilka
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
57 wstępnych kroków.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
58 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
59
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
60 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
61 Pierwszym i najważniejszym krokiem przed kodowaniem powinno być
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
62 ustalenie jakim typem filmu się zajmujesz.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
63 Jeśli Twój film jest z DVD albo telewizji (zwykłej, kablowej czy
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
64 satelitarnej), będzie w jednym z dwóch formatów: NTSC w Ameryce Północnej
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
65 i Japonii, PAL w Europie itp.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
66 Trzeba sobie jednak zdawać sprawę z tego, że jest to tylko format do
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
67 prezentacji w telewizji, i często <emphasis role="bold">nie</emphasis> jest
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
68 oryginalnym formatem filmu.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
69 Doświadczenie pokazuje że filmy NTSC są trudniejsze do kodowania, ponieważ
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
70 jest więcej elementów do zidentyfikowania w źródle.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
71 Żeby zrobić odpowienie kodowanie musisz znać oryginalny format filmu.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
72 Nieuwzględnienie tego skutkuje wieloma wadami wynikowego pliku, na przykład
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
73 brzydkie artefakty przeplotu i powtórzone albo zagubione klatki.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
74 Poza tym że są brzydkie, artefakty są też szkodliwe dla kodowania:
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
75 Dostaniesz gorszą jakość na jednostkę bitrate.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
76 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
77
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
78 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-fps">
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
79 <title>Ustalanie źródłowego framerate</title>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
80 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
81 Poniżej jest lista popularnych typów materiału źródłowego, gdzie można je
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
82 najczęściej znaleźć i ich własności:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
83 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
84 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
85 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
86 <emphasis role="bold">Typowy film</emphasis>: Tworzony do wyświetlania przy
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
87 24fps.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
88 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
89 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
90 <emphasis role="bold">Film PAL</emphasis>: Nagrywany kamerą video PAL
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
91 z prędkością 50 pól na sekundę.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
92 Pole składa się tylko z parzystych albo nieparzystych linii klatki.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
93 Telewizja była projektowana by odświerzać je naprzemiennie, w charakterze
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
94 taniej formy analogowej kompresji.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
95 Ludzkie oko podobno kompensuje ten efekt, ale jeśli zrozumiesz przeplot
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
96 nauczysz się go widzieć też w telewizji i nigdy już nie będziesz z niej
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
97 ZADOWOLONY.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
98 Dwa pola <emphasis role="bold">nie</emphasis> dają pełnej klatki, ponieważ
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
99 są uchwycone co 1/50 sekundy, więc nie pasują do siebie, chyba że nie ma
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
100 ruchu.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
101 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
102 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
103 <emphasis role="bold">Film NTSC</emphasis>: Nagrany kamerą NTSC z prędkością
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
104 60000/1001 pól na sekundę, albo 60 pól na sekundę w erze przedkolorowej.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
105 Poza tym podobny do PAL.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
106 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
107 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
108 <emphasis role="bold">Animacja</emphasis>: Zazwyczaj rysowana przy 24fps,
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
109 ale zdarzają się też z mieszanym framerate.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
110 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
111 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
112 <emphasis role="bold">Grafika komputerowa (CG)</emphasis>: Może być dowolny
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
113 framerate, ale niektóre są częstsze niż inne; wartości 24 i 30 klatek na
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
114 sekundę są typowe dla NTSC, a 25fps jest typowe dla PAL.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
115 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
116 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
117 <emphasis role="bold">Stary film</emphasis>: Rozmaite niższe framerate.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
118 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
119 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
120 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
121
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
122
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
123 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-material">
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
124 <title>Identyfikowanie materiału źródłowego</title>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
125 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
126 Filmy składające się z klatek nazywa się progresywnymi,
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
127 podczas gdy te składające się z niezależnych pól nazywa się
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
128 z przeplotem, albo filmem - chociaż ten drugi termin jest niejasny.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
129 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
130 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
131 Żeby nie było za łatwo, niektóre filmy są kombinacją kilku powyższych typów.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
132 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
133 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
134 Najważniejszą różnicą między tymi formatami, jest to że niektóre są oparte
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
135 na klatkach a inne na polach.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
136 <emphasis role="bold">Zawsze</emphasis> gdy film jest przygotowywany do
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
137 wyświetlania w telewizji jest przekształcany na format oparty na polach.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
138 Rozliczne metody którymi się tego dokonuje są wspólnie nazywane "telecine",
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
139 a niesławne "3:2 pulldown" z NTSC jest jednym z jego rodzajów.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
140 Jeżeli oryginał nie był też oparty na polach (z tą samą prędkością),
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
141 dostajesz film w innym formacie niż oryginał.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
142 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
143
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
144 <itemizedlist>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
145 <title>Jest kilka popularnych typów pulldown:</title>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
146 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
147 <emphasis role="bold">pulldown PAL 2:2</emphasis>: Najprzyjemniejszy z nich
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
148 wszystkich.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
149 Każda klatka jest pokazywana przez czas dwóch pól, poprzez wydobycie
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
150 parzystych i nieparzystych linii i pokazywanie ich na przemian.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
151 Jeśli oryginalny materiał miał 24fps, ten proces przyspiesza film o 4%.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
152 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
153 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
154 <emphasis role="bold">pulldown PAL 2:2:2:2:2:2:2:2:2:2:2:3</emphasis>:
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
155 Każda 12ta klatka jest pokazywana przez czas trzech pól zamiast tylko dwóch.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
156 Dzięki temu nie ma przyspieszenia o 4%, ale proces jest o wiele trudniejszy
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
157 do odtworzenia.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
158 Zazwyczaj występuje w produkcjach muzycznych, gdzie zmiana prędkości o 4%
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
159 poważnie by uszkodziła muzykę.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
160 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
161 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
162 <emphasis role="bold">NTSC 3:2 telecine</emphasis>: Klatki są pokazywane na
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
163 przemian przez czas 3ch albo 2ch pól.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
164 To daje częstotliwość pól 2.5 raza większą niż oryginalna częstotliwość
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
165 klatek. Rezultat jest też lekko zwolniony z 60 pól na sekundę do 60000/1001
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
166 pól na sekundę by utrzymać częstotliwość pól w NTSC.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
167 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
168 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
169 <emphasis role="bold">NTSC 2:2 pulldown</emphasis>: Używane do pokazywania
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
170 materiałów 30fps na NTSC.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
171 Przyjemne, tak jak pulldown 2:2 PAL.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
172 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
173 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
174
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
175 <para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
176 Są też metody konwersji między filmami PAL i NTSC, ale ten temat
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
177 wykracza poza zakres tego podręcznika.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
178 Jeśli natkniesz się na taki film i chcesz go zakodować, to największe
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
179 szanse masz robiąc kopię w oryginalnym formacie.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
180 Konwersja między tymi dwoma formatami jest wysoce destrukcyjna i nie może
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
181 zostać ładnie odwrócona, więc kodowanie będzie o wiele gorszej jakości jeśli
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
182 jest robione z przekonwertowanego źródła.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
183 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
184
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
185 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
186 Gdy film jest zapisywany na DVD, kolejne pary pól są zapisywane jako klatka,
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
187 pomimo tego że nie są przezaczone do wyświetlania razem.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
188 Standard MPEG-2 używany na DVD i w cyfrowej TV pozwala na zakodowanie
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
189 oryginalnej progresywnej klatki i na przechowanie w nagłówku klatki ilości
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
190 pól przez które ta klatka powinna być pokazana.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
191 Filmy zrobione przy użyciu tej metody są często określane mianem "miękkiego
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
192 telecine" (soft-telecine), ponieważ proces ten tylko informuje odtwarzacz że
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
193 ma on zastosować pulldown, a nie stosuje go samemu.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
194 Tak jest o wiele lepiej, ponieważ może to zostać łatwo odwrócone (a tak na
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
195 prawdę zignorowane) przez koder i ponieważ zachowuje możliwie najwyższą
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
196 jakość.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
197 Niestety, wielu producentów DVD i stacji nadawczych nie stosuje prawidłowych
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
198 technik kodowania ale w zamian produkuje filmy przy użyciu "twardego
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
199 telecine" (hard-telecine), gdzie pola są faktycznie powtórzone
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
200 w zakodowanym MPEG-2.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
201 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
202
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
203 <para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
204 Procedury radzenia sobie z takimi przypadkami będą omówione
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
205 <link linkend="menc-feat-telecine">w dalszej części przewodnika</link>.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
206 Teraz podamy tylko kilka wskazówek jak identyfikować z jakim typem materiału
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
207 mamy do czynienia.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
208 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
209
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
210 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
211 <title>Regiony NTSC:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
212 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
213 Jeśli <application>MPlayer</application> wyświetla w trakcie oglądania filmu
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
214 że framerate zostało zmienione na 24000/1001 i nigdy nie powraca, to jest
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
215 to prawie na pewno progresywny materiał na którym zastosowano "miękkie
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
216 telecine".
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
217 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
218 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
219 Jeśli <application>MPlayer</application> pokazuje że framerate zmienia się
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
220 między 24000/1001 i 30000/1001 i czasami widzisz "grzebienie" to jest kilka
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
221 możliwości.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
222 <!-- Torinthiel: grzebienie mi najlepiej pasują, ale może jest oficjalne tłumaczenie -->
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
223 Kawałki 24000/1001fps są prawie na pewno progresywne, poddane "miękkiemu
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
224 telecine", ale fragmenty 30000/1001 fps mogą albo być 24000/1001 poddanym
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
225 "twardemu telecine" albo filmem NTCS o 60000/1001 polach na sekundę.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
226 Używaj tych samych metod co w następnych dwóch przypadkach żeby je odróżnić.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
227 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
228 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
229 Jeśli <application>MPlayer</application> nigdy nie pokazuje informacji
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
230 o zmianie framerate i każda klatka z ruchem wygląda jak grzebień, to masz
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
231 film NTSC z 60000/1001 polami na sekundę.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
232 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
233 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
234 Jeśli <application>MPlayer</application> nigdy nie pokazuje informacji
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
235 o zmianie framerate i dwie klatki z każdych pięciu mają grzebienie, to film
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
236 jest 24000/1001 fps poddanym "twardemu telecine".
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
237 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
238 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
239
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
240 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
241 <title>Regiony PAL:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
242 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
243 Jeśli nie widzisz grzebieni, to jest to 2:2 pulldown.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
244 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
245 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
246 Jeśli na przemian przez pół sekundy widzisz grzebienie a potem nie, to masz
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
247 2:2:2:2:2:2:2:2:2:2:2:3 pulldown.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
248 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
249 <listitem><para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
250 Jeśli zawsze widzisz grzebienie w trakcie ruchu, to film jest filmem PAL
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
251 wyświetlanym z 50 polami na sekundę.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
252 <!-- Torinthiel: wyświetlanym czy nagranym? -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
253 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
254 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
255
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
256 <note><title>Podpowiedź:</title>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
257 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
258 <application>MPlayer</application> może zwolnić odtwarzanie filmu opcją
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
259 -speed albo odtwarzać klatka po klatce.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
260 Spróbuj użyć opcji <option>-speed</option> 0.2 żeby oglądać film bardzo
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
261 wolno, albo naciskaj wielokrotnie klawisz "<keycap>.</keycap>" żeby
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
262 wyświetlać klatka po klatce.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
263 Może to pomóc zidentyfikować wzorzec jeśli
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
264 nie możesz go dostrzec przy pełnej prędkości.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
265 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
266 </note>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
267 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
268 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
269
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
270 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
271
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
272 <sect2 id="menc-feat-dvd-mpeg4-2pass">
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
273 <title>Stały kwantyzator a tryb wieloprzebiegowy</title>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
274
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
275 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
276 Jest możliwe zakodowanie filmu z szeroką gamą jakości.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
277 Z nowoczesnymi koderami i odrobiną kompresji przed kodekiem (zmniejszenie
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
278 rozdzielczości i usuwanie szumu), możliwe jest osiągnięcie bardzo dobrej
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
279 jakości przy 700 MB, dla 90-110 minutowego filmu kinowego.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
280 Dodatkowo tylko najdłuższe filmy nie dają się zakodować na 1400 MB z prawie
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
281 doskonałą jakością.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
282 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
283
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
284 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
285 Są trzy podejścia do kodowania video: stały bitrate (CBR),
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
286 stały kwantyzator i tryb wieloprzebiegowy (ABR, uśrednione bitrate).
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
287 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
288
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
289 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
290 Złożoność klatek filmu, a zatem i ilość bitów potrzebna na ich zakodowanie,
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
291 może się bardzo mocno zmieniać w zależności od sceny.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
292 Nowoczesne kodery potrafią się dostosowywać do tych zmian i zmieniać
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
293 bitrate.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
294 Jednak w prostych trybach, takich jak CBR, kodery nie znają zapotrzebowania
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
295 na bitrate w przyszłych scenach, więc nie mogą na długo przekraczać
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
296 wymaganego bitrate.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
297 Bardziej zaawansowane tryby, takie jak kodowanie wieloprzebiegowe, potrafią
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
298 wziąć pod uwagę statystyki z poprzednich przebiegów, co naprawia ten problem.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
299 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
300
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
301 <note><title>Uwaga:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
302 <para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
303 Większość kodeków obsługujących kodowanie ABR obsługuje tylko kodowanie
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
304 dwuprzebiegowe, podczas gdy niektóre inne, na przykład
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
305 <systemitem class="library">x264</systemitem> albo
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
306 <systemitem class="library">Xvid</systemitem> potrafią wykonywać wiele
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
307 przebiegów, z lekką poprawą jakości po każdym przebiegu. Jednak ta poprawa
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
308 nie jest zauważalna ani mierzalna po około 4tym przebiegu.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
309 Dlatego też, w tej części, tryb dwuprzebiegowy i wieloprzebiegowy będą
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
310 używane zamiennie.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
311 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
312 </note>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
313
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
314 <para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
315 W każdym z tych trybów, kodek video (na przykład
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
316 <systemitem class="library">libavcodec</systemitem>)
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
317 dzieli klatkę obrazu na makrobloki 16x16 pikseli i stosuje do każdego z nich
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
318 kwantyzator. Im niższy kwantyzator, tym lepsza jakość i tym wyższe bitrate.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
319 Metody jakiej koder używa do ustalenia kwantyzatora są różne i można nimi
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
320 sterować. (Jest to straszliwe uproszczenie, ale wystarcza do zrozumienia
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
321 podstaw.)
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
322 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
323
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
324 <para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
325 Kiedy podajesz stałe bitrate, kodek koduje usuwając tyle szczegółów ile musi
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
326 i tak mało jak to tylko możliwe żeby pozostać poniżej podanego bitrate.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
327 Jeśli na prawdę nie obchodzi cię wielkość pliku, możesz użyć CBR i podać
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
328 nieskończone bitrate (W praktyce oznacza to bitrate na tyle wysokie że nie
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
329 stanowi bariery, na przykład 10000Kbit.) Bez żadnego ograniczenia na bitrate
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
330 kodek użyje najniższego możliwego kwantyzatora do każdej klatki (ustalonego
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
331 dla <systemitem class="library">libavcodec</systemitem> opcją
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
332 <option>vqmin</option>, domyślnie 2).
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
333 Gdy tylko podasz bitrate na tyle niskie że kodek musi używać wyższego
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
334 kwantyzatora, to prawie na pewno niszczysz film.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
335 Żeby tego uniknąć, powinieneś pewnie zmniejszyć rozdzielczość filmu, metodą
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
336 opisaną dalej.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
337 Ogólnie, jeśli zależy Ci na jakości, powinieneś unikać CBR.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
338 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
339
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
340 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
341 Przy stałym kwantyzatorze, kodek używa na każdym makrobloku tego samego
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
342 kwantyzatora, podanego opcją <option>vqscale</option>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
343 (w przypadku <systemitem class="library">libavcodec</systemitem>).
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
344 Jeśli chcesz możliwie najlepszy efekt, znów ignorując bitrate, możesz użyć
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
345 <option>vqscale=2</option>. Da to ten sam bitrate i PSNR (peak
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
346 signal-to-noise ratio, szczytowa proporcja sygnału do szumu) co CBR
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
347 z <option>vbitrate</option>=nieskończoność i domyślnym
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
348 <option>vqmin</option>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
349 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
350
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
351 <para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
352 Problemem przy stałym kwantyzatorze jest to, że używa podanego kwantyzatora
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
353 niezależnie od tego czy makroblok tego wymaga czy nie. To znaczy że można by
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
354 było zastosować do makrobloku wyższy kwantyzator bez utraty postrzegalnej
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
355 jakości. Dlaczego marnować bity na niepotrzebnie niski kwantyzator?
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
356 Mikroprocesor ma tyle cykli ile jest czasu, ale jest tylko ograniczona ilość
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
357 bitów na twardym dysku.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
358 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
359
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
360 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
361 Przy kodowaniu dwuprzebiegowym, pierwszy przebieg potraktuje film jak przu
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
362 ustawieniu CBR, ale zachowa informacje o własnościach każdej klatki. Te dane
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
363 są później używane przy drugim przebiegu do podejmowania słusznych decyzji
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
364 o używanym kwantyzatorze. Przy szybkich scenach albo niewielu szczegółach
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
365 pewnie użyje większego kwantyzatora, podczas gdy dla powolnych,
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
366 szczegółowych scen będzie niższy kwantyzator.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
367 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
368
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
369 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
370 Jeśli używasz <option>vqscale=2</option> to marnujesz bity. Jeśli używasz
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
371 <option>vqscale=3</option> to nie dostajesz najlepszej możliwej jakości.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
372 Załóżmy że zakodowałeś swoje DVD przy <option>vqscale=3</option>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
373 i dostałeś bitrate 1800Kbit. Jeśli zrobisz dwa przebiegi
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
374 z <option>vbitrate=1800</option> ostateczny wynik będzie miał
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
375 <emphasis role="bold">wyższą jakość</emphasis> przy
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
376 <emphasis role="bold">tym samym bitrate</emphasis>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
377 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
378
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
379 <para>
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
380 Ponieważ jesteś już przekonany że prawidłowym wyborem są dwa przebiegi,
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
381 prawdziwym pytaniem jest jakiego bitrate użyć. Nie ma jednej odpowiedzi.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
382 Idealnie chcesz wybrać bitrate będący najlepszym kompromisem między jakością
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
383 a wielkością pliku. To się zmienia w zależności od filmu.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
384 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
385
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
386 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
387 Jeśli wielkość nie ma znaczenia, dobrym punktem wyjściowym do bardzo
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
388 wysokiej jakości jest około 2000Kbit plus minus 200Kbit.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
389 Jeśli jest dużo akcji albo szczegółów, albo po prostu masz bardzo wrażliwe
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
390 oko, możesz się zdecydować na 2400 albo 2600.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
391 Przy niektórych DVD możesz nie zauważyć różnicy przy 1400Kbit. Dobrym
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
392 pomysłem jest poeksperymentowanie z kilkoma scenami i różnymi wartościami
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
393 bitrate żeby nabrać wyczucia.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
394 </para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
395
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
396 <para>
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
397 Jeśli chcesz konkretnej wielkości, musisz jakoś obliczyć bitrare.
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
398 Ale zanim to zrobisz, musisz wiedzieć ile miejsca potrzebujesz na dźwięk,
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
399 więc powinieneś <link linkend="menc-feat-dvd-mpeg4-audio">ściągnąć go</link>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
400 najpierw.
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
401 Możesz wyliczyć bitrate z następującego równania:
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
402 <systemitem>bitrate = (wielkość_docelowa_w_MBajtach - wielkość_dźwięku_w_MBajtach)
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
403 * 1024 * 1024 / długość_w_sekundach * 8 / 1000</systemitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
404 Na przykład by wcisnąć dwugodzinny film na płytkę 702MB, z 60MB ścieżki
20524
655565aafbe4 convert DOCS/xml/pl and help/help_mp-pl* to UTF-8
kraymer
parents: 19025
diff changeset
405 dźwiękowej, bitrate video musi być:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
406 <systemitem>(702 - 60) * 1024 * 1024 / (120*60) * 8 / 1000
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
407 = 740kbps</systemitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
408 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
409 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
410
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
411 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
412
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
413 <sect2 id="menc-feat-dvd-mpeg4-constraints">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
414 <title>Ograniczenia efektywnego kodowania</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
415
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
416 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
417 Ze względu na naturę kodowania typu MPEG istnieją różne ograniczenia których
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
418 warto się trzymać żeby osiągnąć najlepszą jakość.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
419 MPEG dzieli obraz na kwadraty 16x16 pikseli nazywane makroblokami,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
420 każdy z nich składa się z 4 bloków 8x8 informacji o jasności (luminancja, luma)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
421 i dwóch 8x8 z połową rozdzielczości (jeden na składową czerwono-morską, drugi
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
422 na niebiesko-żółtą).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
423 Nawet jeśli wysokość i szerokość filmu nie są wielokrotnościami 16,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
424 koder użyje tyle makrobloków żeby przykryć cały obszar obrazu,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
425 dodatkowa przestrzeń zostanie zmarnowana.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
426 Zatem w interesie zwiększenai jakości przy utrzymaniu wielkości pliku kiepskim
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
427 pomysłem jest używanie wymiarów które nie są wielokrotnością 16.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
428 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
429
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
430 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
431 Większość DVD ma też jakieś czarne ramki na brzegach.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
432 Zostawienie ich tam <emphasis role="bold">mocno</emphasis> zaszkodzi jakości
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
433 na kilka sposobów.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
434 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
435
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
436 <orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
437 <listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
438 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
439 Kompresje typu MPEG są zależne od transformat przestrzeni częstotliwości,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
440 a dokładniej Dyskretnej Transformaty Cosinusowej (DCT), która jest podobna do
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
441 transformaty Fouriera.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
442 Ten sposób kodowania jest efektywny przy wzorach i gładkich przejściach, ale
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
443 kiepsko sobie radzi z ostrymi krawędziami.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
444 Żeby je zakoować, musi używać o wiele większej liczby bitów, albo wystąpią
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
445 artefakty znane jako pierścienie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
446 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
447
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
448 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
449 Transformacja częstotliwości (DCT) jest stosowana osobno do każdego
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
450 makrobloku (tak na prawdę do każdego bloku), więc ten problem istnieje tylko
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
451 gdy ostra krawędź jest wewnątrz bloku.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
452 Jeśli czarna ramka zaczyna się dokładnie na krawędzi 16-pikselowego bloku,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
453 nie stwarza problemów.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
454 Jednakże, rzadko kiedy takie ramki są ładnie wyrównane, więc zazwyczaj będzie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
455 trzeba przyciąć obraz żeby tego uniknąć.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
456 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
457 </listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
458 </orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
459
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
460 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
461 Poza transformatami przestrzeni częstotliwości, kompresje typu MPEG używają
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
462 wektorów ruchu, by reprezentować zmiany między sąsiednimi klatkami.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
463 Oczywiście wektory ruchu są mniej efektywne w stosunku do nowej treści
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
464 przychodzącej z brzegów obrazka, ponieważ nie było jej na poprzedniej klatce.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
465 Jeśli obraz rozciąga się do krawędzi zakodowanego regionu,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
466 wektory ruchu radzą sobie z treścią wychodzącą poza krawędzie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
467 Jednak jeśli są ramki, mogą być kłopoty:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
468 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
469
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
470 <orderedlist continuation="continues">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
471 <listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
472 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
473 Dla każdego makrobloku, kompresja typu MPEG przechowuje wektor opisujący
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
474 która część poprzedniej klatki powinna być skopiowana do tego makrobloku jako
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
475 podstawa do przewidzenia następnej klatki.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
476 Zakodowane wtedy muszą być tylko różnice.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
477 Jeśli makroblok zawiera fragment ramki, to wektory ruchu z pozostałych cześci
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
478 obrazu zamażą obramowanie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
479 Oznacza to że dużo bitów będzie zużytych albo na jej powtórne zaczernienie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
480 albo (co bardziej prawdopodobne), wektor ruchu w ogóle nie będzie użyty
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
481 i wszystkie zmiany w tym makrobloku będzie trzeba zakodować bezpośrednio.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
482 W obu przypadkach, bardzo cierpi na tym efektywność kodowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
483 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
484
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
485 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
486 Powtórnie, ten problem występuje tylko jeśli ramki nie są na krawędziach
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
487 16-pikselowych bloków.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
488 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
489 </listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
490
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
491 <listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
492 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
493 W końcu, przypuśćmy że mamy makroblok wewnątrz obrazu i obiekt dostaje się do
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
494 niego z okolic krawędzi.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
495 Kodowanie typu MPEG nie potrafi powiedzieć "skopiuj część która jeest
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
496 wewnątrz obraka, ale nie czarne obramowanie." Dlatego obramowanie też
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
497 zostanie skopiowane i trzeba będzie zużyć sporo bitów żeby zakodować fragment
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
498 obrazu który powinien tam być.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
499 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
500
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
501 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
502 Jeśli obraz sięga do krawędzi zakodowanego obszaru, MPEG ma specjalne
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
503 optymalizacje do wielokrotnego kopiowania ostatniego rzędu pikseli jeśli
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
504 wektor ruchu przychodzi z poza zakodoanego obszaru.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
505 Staje się to bezużyteczne gry obraz ma czarne obramowanie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
506 W odróżnieniu od problemów 1 i 2 tutaj nic nie pomoże ustawienie obramowania
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
507 w odpowiednim miejscu.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
508 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
509 </listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
510
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
511 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
512 Mimo tego, że obramowanie jest całkowicie czarne i nigdy się nie zmienia,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
513 zawsze jest pewien narzut związany z większą ilością makrobloków.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
514 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
515 </orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
516
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
517 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
518 Ze wszystkich tych powodów zalecane jest całkowite wycięcie czarnych obramowań.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
519 Dodatkowo, jeśli przy krawędziach jest obszar zakłóceń/zniekształceń, obcięcie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
520 go również poprawi efektywność kodowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
521 Puryści, którzy chcą możliwie dokładnie zachować oryginał mogą się sprzeciwiać,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
522 ale jeśli nie planujesz używać stałego kwantyzatora to jakość uzyskana dzięki
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
523 skadrowaniu znacząco przewyższy utratę informacji przy brzegach.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
524 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
525 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
526
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
527 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
528
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
529 <sect2 id="menc-feat-dvd-mpeg4-crop">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
530 <title>Kadrowanie i skalowanie</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
531
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
532 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
533 Przypomnijmy z poprzedniej części że ostateczna wielkość (wysokość i szerokość)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
534 obrazu do kodowania powinna być wielokrotnością 16.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
535 Można to osiągnąć kadrowaniem, skalowaniem albo kombinacją obydwu.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
536 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
537
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
538 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
539 Przy kadrowaniu, jest kilka reguł których musimy przestrzegać by uniknąć
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
540 uszkodzenia filmu.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
541 Zwykły format YUV, 4:2:0, przechowuje wartości koloru podpróbkowane, czyli
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
542 kolor jest próbkowany o połowę rzadziej w każdym kierunku niż jasność.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
543 Spójrzmy na diagram, na którym L oznacza punkty próbkowania jasności (luma)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
544 a C koloru (chroma).
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
545 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
546
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
547 <informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
548 <?dbhtml table-width="40%" ?>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
549 <?dbfo table-width="40%" ?>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
550 <tgroup cols="8" align="center">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
551 <colspec colnum="1" colname="col1"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
552 <colspec colnum="2" colname="col2"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
553 <colspec colnum="3" colname="col3"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
554 <colspec colnum="4" colname="col4"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
555 <colspec colnum="5" colname="col5"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
556 <colspec colnum="6" colname="col6"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
557 <colspec colnum="7" colname="col7"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
558 <colspec colnum="8" colname="col8"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
559 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
560 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
561 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
562 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
563 <tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
564 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
565 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
566 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
567 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
568 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
569 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
570 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
571 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
572 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
573 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
574 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
575 <entry spanname="spa1-2">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
576 <entry spanname="spa3-4">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
577 <entry spanname="spa5-6">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
578 <entry spanname="spa7-8">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
579 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
580 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
581 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
582 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
583 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
584 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
585 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
586 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
587 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
588 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
589 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
590 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
591 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
592 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
593 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
594 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
595 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
596 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
597 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
598 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
599 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
600 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
601 <entry spanname="spa1-2">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
602 <entry spanname="spa3-4">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
603 <entry spanname="spa5-6">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
604 <entry spanname="spa7-8">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
605 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
606 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
607 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
608 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
609 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
610 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
611 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
612 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
613 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
614 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
615 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
616 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
617 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
618 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
619
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
620 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
621 Jak widać, wiersze i kolumny obrazu w sposób naturalny łączą się w pary.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
622 Dlatego przesunięcia i wymiary kadrowania <emphasis>muszą</emphasis> być
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
623 liczbami parzystymi.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
624 Jeśli nie są, barwa nie będzie już dobrze dopasowana do jasności.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
625 Teoretycznie możliwe jest kadrowanie z nieparzystym przesunięciem, ale wymaga
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
626 to przepróbkowania kolorów, co jest potencjalnie stratną operacją nie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
627 obsługiwaną przez filtr kadrowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
628 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
629
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
630 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
631 Dalej, film z przeplotem jest kodowany jak poniżej:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
632 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
633
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
634 <informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
635 <?dbhtml table-width="80%" ?>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
636 <?dbfo table-width="80%" ?>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
637 <tgroup cols="16" align="center">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
638 <colspec colnum="1" colname="col1"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
639 <colspec colnum="2" colname="col2"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
640 <colspec colnum="3" colname="col3"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
641 <colspec colnum="4" colname="col4"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
642 <colspec colnum="5" colname="col5"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
643 <colspec colnum="6" colname="col6"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
644 <colspec colnum="7" colname="col7"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
645 <colspec colnum="8" colname="col8"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
646 <colspec colnum="9" colname="col9"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
647 <colspec colnum="10" colname="col10"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
648 <colspec colnum="11" colname="col11"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
649 <colspec colnum="12" colname="col12"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
650 <colspec colnum="13" colname="col13"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
651 <colspec colnum="14" colname="col14"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
652 <colspec colnum="15" colname="col15"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
653 <colspec colnum="16" colname="col16"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
654 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
655 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
656 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
657 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
658 <spanspec spanname="spa9-10" namest="col9" nameend="col10"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
659 <spanspec spanname="spa11-12" namest="col11" nameend="col12"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
660 <spanspec spanname="spa13-14" namest="col13" nameend="col14"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
661 <spanspec spanname="spa15-16" namest="col15" nameend="col16"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
662 <tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
663 <row>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
664 <entry namest="col1" nameend="col8">Górne pole</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
665 <entry namest="col9" nameend="col16">Dolne pole</entry>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
666 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
667 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
668 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
669 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
670 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
671 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
672 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
673 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
674 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
675 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
676 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
677 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
678 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
679 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
680 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
681 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
682 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
683 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
684 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
685 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
686 <entry spanname="spa1-2">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
687 <entry spanname="spa3-4">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
688 <entry spanname="spa5-6">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
689 <entry spanname="spa7-8">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
690 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
691 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
692 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
693 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
694 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
695 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
696 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
697 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
698 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
699 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
700 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
701 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
702 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
703 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
704 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
705 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
706 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
707 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
708 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
709 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
710 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
711 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
712 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
713 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
714 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
715 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
716 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
717 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
718 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
719 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
720 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
721 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
722 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
723 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
724 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
725 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
726 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
727 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
728 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
729 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
730 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
731 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
732 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
733 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
734 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
735 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
736 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
737 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
738 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
739 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
740 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
741 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
742 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
743 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
744 <entry spanname="spa9-10">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
745 <entry spanname="spa11-12">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
746 <entry spanname="spa13-14">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
747 <entry spanname="spa15-16">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
748 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
749 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
750 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
751 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
752 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
753 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
754 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
755 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
756 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
757 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
758 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
759 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
760 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
761 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
762 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
763 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
764 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
765 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
766 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
767 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
768 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
769 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
770 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
771 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
772 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
773 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
774 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
775 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
776 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
777 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
778 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
779 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
780 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
781 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
782 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
783 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
784 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
785 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
786 <entry spanname="spa1-2">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
787 <entry spanname="spa3-4">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
788 <entry spanname="spa5-6">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
789 <entry spanname="spa7-8">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
790 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
791 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
792 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
793 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
794 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
795 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
796 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
797 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
798 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
799 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
800 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
801 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
802 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
803 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
804 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
805 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
806 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
807 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
808 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
809 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
810 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
811 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
812 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
813 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
814 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
815 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
816 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
817 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
818 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
819 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
820 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
821 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
822 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
823 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
824 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
825 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
826 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
827 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
828 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
829 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
830 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
831 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
832 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
833 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
834 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
835 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
836 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
837 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
838 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
839 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
840 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
841 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
842 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
843 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
844 <entry spanname="spa9-10">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
845 <entry spanname="spa11-12">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
846 <entry spanname="spa13-14">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
847 <entry spanname="spa15-16">C</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
848 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
849 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
850 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
851 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
852 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
853 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
854 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
855 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
856 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
857 <entry></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
858 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
859 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
860 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
861 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
862 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
863 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
864 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
865 <entry>L</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
866 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
867 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
868 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
869 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
870
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
871 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
872 Jak widać, wzór powtarza się dopiero po 4 liniach.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
873 Dlatego przy filmie z przeplotem, pionowa współrzędna i wysokość kadrowania
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
874 muszą być wielokrotnościami 4.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
875 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
876
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
877 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
878 Podstawową rozdzielczością DVD jest 720x480 dla NTSC i 720x576 dla PAL, ale
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
879 jest też flaga proporcji, która określa czy obraz jest ekranowy (4:3) czy
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
880 panoramiczny (16:9).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
881 Wiele (jeśli nie większość) panoramicznych DVD nie jest dokładnie 16:9 tylko
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
882 raczej 1,85:1 lub 2,35:1 (cinescope).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
883 Oznacza to że będzie czarne obramowanie na filmie, które trzeba usunąć.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
884 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
885
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
886 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
887 <application>MPlayer</application> dostarcza filtr wykrywania kadrowania
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
888 (<option>-vf cropdetect</option>), który określi prostokąt kadrowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
889 Uruchom <application>MPlayera</application> z opcją <option>-vf
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
890 cropdetect</option> a wydrukuje on ustawienia kadrowania potrzebne do usunięcia
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
891 obramowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
892 Powinieneś puścić film wystarczająco długo żeby został użyty cały obszar
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
893 obrazu, inaczej wartości będą niedokładne.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
894 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
895
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
896 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
897 Potem przetestuj otrzymane wartości z użyciem
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
898 <application>MPlayera</application>, przekazując opcje podane przez
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
899 <option>cropdetect</option> i dostosowując prostokąt według potrzeb.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
900 Filtr <option>rectangle</option> może w tym pomóc, pozwalając na interaktywne
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
901 ustawienie prostokąta kadrowania na filmie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
902 Pamiętaj, by trzymać się powyższych reguł podzielności, żeby nie przestawić
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
903 płaszczyzny koloru.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
904 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
905
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
906 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
907 W pewnych przypadkach skalowanie może być niepożądane.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
908 Skalowanie w kierunku pionowym jest trudne przy filmie z przeplotem, a jeśli
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
909 chcesz zachować przeplot, zazwyczaj powinieneś się wstrzymać od skalowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
910 Jeśl nie chcesz skalować, ale nadal chcesz używać wymiarów będących wielokrotnościami 16 to musisz przekadrować.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
911 NIe należy niedokadrowywać, bo obramowania są bardzo szkodliwe przy kodowaniu!
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
912 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
913
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
914 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
915 Ponieważ MPEG-4 używa makrobloków 16x16, powinieneś się upewnić,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
916 że każdy wymiar kodowanego filmu jest wielokrotnością 16, inaczej
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
917 degradujemy jakość, zwłaszcza przy niższych bitrate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
918 Można tego dokonać zaokrąglając wysokość i szerokość prostokąta kadrowania do
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
919 najbliższej wielokrotności 16.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
920 Jak powiedziano wcześniej, trzeba zwiększyć przesunięcie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
921 pionowe o połowę różnicy między starą a nową wysokością,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
922 żeby wynikowy film był brany ze środka klatki.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
923 A ze względu na sposób w jaki próbkowane jest DVD, upewnij się że przesunięcie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
924 jest parzyste (w zasadzie, stosuj się do reguły, żeby nigdy nie używać
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
925 nieparzystych wartości przy przycinaniu i skalowaniu obrazu).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
926 Jeśli nie czujesz się dobrze odrzucając dodatkowe piksele,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
927 może wolisz przeskalować video.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
928 Przyjżymy się temu w przykładzie poniżej.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
929 Możesz też pozwolić filtrowi <option>cropdetect</option> zrobić to wszystko za
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
930 Ciebie, jako że ma on opcjonalny parametr <option>round</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
931 (zaokrąglenie), domyślnie równy 16.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
932 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
933
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
934 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
935 Uważaj też na "poł-czarne" piksele na przegach. Też je wykadruj, albo będziesz
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
936 na nie marnował bity któ?e przydadzą się gdzie indziej.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
937 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
938
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
939 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
940 Po tym wszystkim prawdopodobnie dostaniesz film który nie ma dokładnie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
941 proporcji 1,85:1 ani 2,35:1 tylko coś podobnego.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
942 Mógłbyś samemu policzyć nowe proporcje, ale <application>MEncoder</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
943 ma pocję do <systemitem class="library">libavcodec</systemitem> nazywaną
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
944 <option>autoaspect</option> która zrobi to za Ciebie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
945 Nie powinieneś przeskalowywać video żeby wyrównać piksele, chyba że chcesz
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
946 marnować miejsce na dysku.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
947 Skalowanie powinno być robione przy odtwarzaniu, a odtwarzacz używa informacji
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
948 o proporcjach zapisanych w AVI żeby określić prawidłową rozdzielczość.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
949 Niestety, nie wszystkie odtwarzacze uznają te informacje,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
950 dlatego mimo wszystko możesz chcieć przeskalować.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
951 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
952 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
953
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
954 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
955
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
956 <sect2 id="menc-feat-dvd-mpeg4-resolution-bitrate">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
957 <title>Dobieranie rozdzielczości i bitrate</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
958
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
959 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
960 Jeśli nie kodujesz w trybie stałego kwantyzatora, musisz wybrać bitrate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
961 Jest to dość prosta rzecz &ndash; to (średnia) ilość bitów jaka będzie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
962 używana do zakodowania jednej sekundy filmu.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
963 Zazwyczaj bitrate mierzy się w kilobitach (1000 bitów) na sekundę.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
964 Wielkość filmu na dysku to bitrate razy długość filmu,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
965 plus drobne "dodatki" (patrz na przykład sekcja o
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
966 <link linkend="menc-feat-dvd-mpeg4-muxing-avi-limitations">kontenerze AVI</link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
967 ).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
968 Pozostałe parametry, takie jak skalowanie, kadrowanie itp.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
969 <emphasis role="bold">nie</emphasis> zmienią wielkości pliku jeśli nie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
970 zmienisz też bitrate!
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
971 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
972
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
973 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
974 Bitrate <emphasis role="bold">nie</emphasis> skaluje się proporcjonalnie do
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
975 rozdzielczości.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
976 To znaczy, film 320x240 w 200 kbit/s nie będzie tej samej jakości co ten sam
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
977 film w 640x480 i 800 kbit/s!
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
978 Są ku temu dwie przyczyny:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
979 <orderedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
980 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
981 <emphasis role="bold">Wizualna</emphasis>: Łatwiej zauważyć artefakty MPEG
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
982 jeśli są bardziej powiększone!
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
983 Artefakty powstają na poziomie bloków (8x8).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
984 Ludzkie oko trudniej dostrzega błędy w 4800 małych blokach niż w 1200 dużych
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
985 (zakładając że skalujesz na pełny ekran).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
986 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
987 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
988 <emphasis role="bold">Teoretyczna</emphasis>: Kiedy zmniejszasz obraz ale
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
989 nadal używasz tych samych bloków 8x8 do transformacji przestrzeni
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
990 częstotliwości. masz więcej danych w pasmach wyższych częstotliwości.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
991 W pewien sposób każdy piksel ma więcej szczegółów niż poprzednio.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
992 Dlatego, mimo że przeskalowany obraz zawiera 1/4 informacji jeśli chodzi
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
993 o wielkość, to nadal może zawierać większość informacji w przestrzeni
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
994 częstotliwości (zakładając że wysokie częstotliwości były mało używane
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
995 w oryginalnym filmie 640x480).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
996 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
997 </orderedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
998 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
999
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1000 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1001 Poprzednie podręczniki zalecały dobranie bitrate i rozdzielczości w sposób
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1002 bazujący na podejściu "bity na piksel", ale z powyższych powodów zazwyczaj nie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1003 jest to prawidłowe.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1004 Lepszym przybliżeniem zdaje się skalowanie bitrate proporcjonalnie do
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1005 pierwiastka kwadratowego z&nbsp;rozdzielczości, czyli film 320x240 i 400 kbit/s
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1006 powinien być podobny do 640x480 i 800 kbit/s.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1007 Nie zostało to jednak zweryfikowane ani teoretycznie ani empirycznie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1008 Dodatkowo, ponieważ filmy są bardzo zróżnicowane jeśli chodzi o szum,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1009 szczegóły, ilość ruchu itp. bezsensowne jest podawanie ogólnych zaleceń na bity
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1010 na przekątą (analogia bitów na piksel używająca pierwiastka).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1011 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1012 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1013 Omówiliśmy więc problemy z wyborem bitrate i rozdzielczości.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1014 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1015
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1016
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1017 <sect3 id="menc-feat-dvd-mpeg4-resolution-bitrate-compute">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1018 <title>Obliczanie rozdzielczości</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1019
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1020 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1021 Następne kroki przeprowadzą Cię przez obliczenie rozdzielczości dla Twojego
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1022 filmu bez zniekształcania go za bardzo, biorąc pod uwagę kilka typów informacji
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1023 o źródłowym filmie.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1024 Najpierw powinieneś policzyć zakodowane proporcje:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1025 <systemitem>ARc = (Wc x (ARa / PRdvd )) / Hc</systemitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1026
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1027 <itemizedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1028 <title>gdzie:</title>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1029 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1030 Hc i Wc to wysokość i szerokość skadrowanego filmu.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1031 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1032 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1033 ARa do wyświetlane proporcje, zazwyczaj 4/3 lub 16/9.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1034 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1035 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1036 PRdvd to proporcje na DVD równe 1,25=(720*576) dla DVD PAL i 1,5=(720/480) dla
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1037 VD NTSC.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1038 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1039 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1040 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1041
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1042 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1043 Potem możesz policzyć rozdzielczość X i Y, zgodnie z dobranym wskażnikiem
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1044 Jakości Kompresji (Compression Quality, CQ):
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1045 <systemitem>RozY = INT(Pierw( 1000*Bitrate/25/ARc/CQ )/16) * 16</systemitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1046 i
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1047 <systemitem>RozX = INT( ResY * ARc / 16) * 16</systemitem>,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1048 gdzie INT oznacza zaokrąglenie do liczby całkowitej.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1049 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1050
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1051 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1052 Dobrze, ale co to jest CQ?
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1053 CQ reprezentuje ilość bitów na piksel i klatkę kodowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1054 Z grubsza biorąc, im większe CQ tym mniejsza szansa na zobaczenie artefaktów
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1055 kodowania.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1056 Jednakże, jeśli masz docelową wielkość filmu (na przykład 1 lub 2 płyty CD),
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1057 masz ograniczoną ilość bitów do zużycia; dlatego musisz znaleźć równowagę
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1058 między poziomem kompresji i jakością.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1059 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1060
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1061 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1062 CQ zależy od bitrate, efektywności kodeka video i rozdzielczości filmu.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1063 Żeby podnieść CQ zazwyczej zmniejszysz film, ponieważ bitrate jest funkcją docelowej wielkości i długości filmu, które są stałe.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1064 Przy użyciu kodeków MPEG-4 ASP, takich jak
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1065 <systemitem class="library">Xvid</systemitem> i
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1066 <systemitem class="library">libavcodec</systemitem>, CQ niższe niż 0,18
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1067 zazwyczaj daje kiepski obraz, ponieważ nie ma dość bitów by zakodować
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1068 informacje z każdego makrobloku.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1069 (MPEG4, jak wiele innych kodeków, grupuje piksele w bloki żeby
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1070 skompresować obraz. Jeśli nie ma dość bitów widać krawędzie tych bloków.)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1071 Dlatego też mądrze jest wybrać CQ w zakresie 0,20 do 0,22 na film jednopłytkowy
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1072 i 0,26-0,28 na dwupłytkowy przy standardowych opcjach kodowania.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
1073 Bardziej zaawansowane opcje kodowania, takie jak te podane tutaj dla
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1074 <link linkend="menc-feat-mpeg4-lavc-example-settings"><systemitem class="library">libavcodec</systemitem></link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1075 i
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1076 <link linkend="menc-feat-xvid-example-settings"><systemitem class="library">Xvid</systemitem></link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1077 powinny umożliwić otrzymanie takiej samej jakości z CQ w zakresie 0,18 do 0,20
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1078 na 1 CD i 0,24 do 0,26 na 2 CD.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1079 Z kodekami MPEG-4 AVC, takimi jak
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1080 <systemitem class="library">x264</systemitem>, możesz używać CQ w&nbsp;zakresie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1081 0,14 do 0,16 przy standardowych opcjach
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1082 a powinno się też udać zejść do 0,10 do 0,12 z
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1083 <link linkend="menc-feat-x264-example-settings">zaawansowanymi opcjami kodowania <systemitem class="library">x264</systemitem></link>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1084 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1085
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1086 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1087 Pamiętajmy, że CQ jest tylko przydatnym odnośnikiem, zależnym od kodowanego
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1088 filmu. CQ równe ,018 może wyglądać dobrze przy Bergmanie, w przeciwieństwie do
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1089 filmu takiego jak Martix, który zaawiera wiele bardzo ruchliwych scen.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1090 Z drugiej strony, bezsensowne jest podnoszenie CQ powyżej 0,30 jako że marnuje się bity bez zauważalnej poprawy jakości.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1091 Pamiętajmy też że, jak było wspomniane wcześniej, filmy w niższej
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1092 rozdzielczości potrzebują większego CQ (w porównaniu do na przykład
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1093 rozdzielczości DVD) żeby dobrze wyglądać.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1094 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1095 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1096 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1097
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1098 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1099
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1100 <sect2 id="menc-feat-dvd-mpeg4-filtering">
28000
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1101 <title>Filtrowanie</title>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1102
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1103 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1104 Bardzo ważne do robienia dobrych kodowań jest nauczenie się posługiwania
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1105 systemem filtrów <application>MEncodera</application>.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1106 Całe przetwarzanie video jest wykonywane przez filtry &ndash; kadrowanie, skalowanie,
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1107 dopasowywanie kolorów, usuwanie szumu, telecine, odwrócone telecine, usuwanie
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1108 bloków żeby wymienić choć część.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1109 Poza dużą ilością obsługiwanych formatów wejściowych to właśnie zakres
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1110 dostępnych filtrów jest jedną z głównych przewag
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1111 <application>MEncodera</application> nad podobnymi programami.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1112 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1113
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1114 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1115 Filtry są ładowane do łańcucha przy pomocy opcji -vf:
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1116
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1117 <screen>-vf filtr1=opcje,filtr2=opcje,...</screen>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1118
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1119 Większość filtrów przyjmuje kilka parametrów numerycznych oddzielanych
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1120 dwukropkami, ale dokładna składnia zależy od filtru więc szczegóły odnośnie
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1121 filtrów, które chcesz zastosować, znajdziesz na stronie man.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1122 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1123
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1124 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1125 Filtry działają na filmie w kolejnoścy w jakiej zostały załadowane.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1126 Na przykład następujący łańcuch:
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1127
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1128 <screen>-vf crop=688:464:12:4,scale=640:464</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1129
28000
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1130 najpierw skadruje fragment 688x464 filmu z lewym górnym rogiem na pozycji
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1131 (12,4) a potem zmniejszy rozdzielczość wyniku do 640x464.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1132 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1133
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1134 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1135 Niektóre filtry trzeba ładować na początku lub blisko początku łańcucha,
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1136 ponieważ korzystają one z informacji którą następne filtry mogą zgubić lub
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1137 unieważnić.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1138 Sztandarowym przykłądem jest <option>pp</option> (postprocessing, tylko gdy
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1139 wykonuje operacje usuwania bloków lub pierścieni),
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1140 <option>spp</option> (inny postprocessor do usuwania artefaktów MPEG),
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1141 <option>pullup</option> (odwrócone telecine) i
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1142 <option>softpulldown</option> (konwertuje miękkie telecine na twarde).
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1143 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1144
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1145 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1146 W ogólności chcesz przeprowadzać jak najmniej filtrowania żeby film pozostał
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1147 możliwie bliski oryginałowi.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1148 Kadrowanie często jest niezbęne (jak opisano powyżej) ale staraj się uniknąć
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1149 skalowania.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1150 Chociaż czasami zmniejszenie rozdzielczości jest lepszym wyjściem niż użycie
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1151 wyższego kwantyzatora, chcemy uniknąć obu: pamiętajmy, że od początku
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1152 zdecydowaliśmy się wybrać jakość kosztem wielkości.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1153 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1154
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1155 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1156 Nie należy też dostosowywać gammy, kontrastu, jasności itp.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1157 Co wygląda dobrze na Twoim ekranie może nie być tak dobre na innych.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1158 Takie dostrojenia powinny być wykonywane tylko przy odtwarzaniu.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1159 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1160
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1161 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1162 Jedną rzeczą którą możesz chcieć zrobić, jest przepuszczenie filmu przez bardzo
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1163 lekkie usuwanie szumów, takie jak <option>-vf hqdn3d=2:1:2</option>.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1164 Znów, to kwestia lepszego zastosowania bitów: po co marnować je na zakodowanie
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1165 szumu skoro można dodać ten szum przy odtwarzaniu?
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1166 Zwiększenie parametrów dla <option>hqdn3d</option> jeszcze bardziej poprawi
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1167 kompresowalność, ale jeśli przesadzisz to zauważalnie zniekształcisz obraz.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1168 Wartości sugerowane powyżej (<option>2:1:2</option>) są dość konserwatywne; nie
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1169 bój się eksperymentować z wyższymi wartościami i samemu oceniać wyniki.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1170 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1171 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1172
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1173 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1174
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1175 <sect2 id="menc-feat-dvd-mpeg4-interlacing">
28000
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1176 <title>Przeplot i telecine</title>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1177
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1178 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1179 Prawie wszystkie filmy są kręcone przy 24 fps.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1180 Ponieważ NTSC ma 30000/1001 fps potrzebna jest pewna przeróbka żeby film 24 fps
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1181 mógł być wyświetlany z prawidłową szybkością NTSC.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1182 Ten proces nazywa się 3:2 pulldown, często zwany też telecine (ponieważ jest
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1183 używany przy konwersji z kina do telewizji) i, w uproszczeniu, jest to
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1184 spowolnienie filmu do 24000/1001 fps i powtórzenie co czwartej klatki.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1185 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1186
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1187 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1188 Filmy DVD PAL, odtwarzanie przy 25 fps, nie wymagają żadnego specjalnego
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1189 traktowania.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1190 (Technicznie rzecz ujmując, PAL może być poddany telecine, nazywanemu 2:2
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1191 pulldown, ale w praktyce nie jest to problemem.)
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1192 Po prostu film 24 fps jest odtwarzany przy 25 fps.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1193 W wyniku tego film jest odtwarzany odrobinkę szybciej, ale jeśli nie masz
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1194 nieziemskich zmysłów to tego nie zauważysz.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1195 Większość DVD PAL ma skorygowaną wysokość dźwięku, więc kiedy są odtwarzane
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1196 przy 25 fps dźwięk będzie brzmiał poprawnie, mimo tego że ścieżka dźwiekowa
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1197 (jak i cały film) jest o 4% krótsza niż DVD NTSC.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1198 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1199
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1200 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1201 Ponieważ film na DVD PAL nie został zmieniony, nie ma powodu za bardzo
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1202 przejmować się framerate.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1203 Oryginał ma 25 fps i Twój rip też będzie miał 25 fps.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1204 Jednak jeśli ripujesz film z DVD NTSC możesz być zmuszony do zastosowania
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1205 odwrotnego telecine.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1206 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1207
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1208 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1209 Dla filmów nagrywanych przy 24 fps obraz na DVD NTSC jest albo poddany telecine
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1210 na 30000/1001 albo jest progresywny przy 24000/1001 i&nbsp;przeznaczony do poddania
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1211 telecine w locie przez odtwarzacz DVD.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1212 Z drugiej strony seriale telewizyjne zazwyczaj mają tylko przeplot, nie są poddane telecine.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1213 Nie jest to reguła: Niektóre seriale (na przykład Buffy Łowca Wampirów) mają
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1214 przeplot, a inne są mieszanką progresywnego i&nbsp;przeplotu (Angel, 24).
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1215 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1216
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1217 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1218 Jest wysoce zalecane żebyś przeczytał sekcję
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1219 <!-- TODO przetłumaczyć tytuł -->
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1220 <link linkend="menc-feat-telecine">How to deal with telecine and interlacing in NTSC DVDs</link>
28000
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1221 żeby dowiedzieć się jak sobie radzić z&nbsp;różnymi możliwościami.
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1222 </para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1223
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1224 <para>
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1225 Jednak jeśli zazwyczaj tylko ripujesz filmy, prawdopodobnie masz doczynienia
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1226 z filmem 24 fps progresywnym lub poddanym telecine, a w takim przypadku możesz
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1227 użyć filtra <option>pullup</option> podając parametr
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1228 <option>-vf pullup,softskip</option>.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1229 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1230 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1231
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1232 <!-- ********** -->
28000
b7ac37077dac Another part of sync to 27843
torinthiel
parents: 27869
diff changeset
1233 <!-- synced 'till here -->
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1234
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1235 <sect2 id="menc-feat-dvd-mpeg4-encoding-interlaced">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1236 <title>Encoding interlaced video</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1237
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1238 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1239 If the movie you want to encode is interlaced (NTSC video or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1240 PAL video), you will need to choose whether you want to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1241 deinterlace or not.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1242 While deinterlacing will make your movie usable on progressive
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1243 scan displays such a computer monitors and projectors, it comes
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1244 at a cost: The fieldrate of 50 or 60000/1001 fields per second
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1245 is halved to 25 or 30000/1001 frames per second, and roughly half of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1246 the information in your movie will be lost during scenes with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1247 significant motion.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1248 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1249
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1250 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1251 Therefore, if you are encoding for high quality archival purposes,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1252 it is recommended not to deinterlace.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1253 You can always deinterlace the movie at playback time when
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1254 displaying it on progressive scan devices.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1255 The power of currently available computers forces players to use a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1256 deinterlacing filter, which results in a slight degradation in
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1257 image quality.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1258 But future players will be able to mimic the interlaced display of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1259 a TV, deinterlacing to full fieldrate and interpolating 50 or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1260 60000/1001 entire frames per second from the interlaced video.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1261 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1262
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1263 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1264 Special care must be taken when working with interlaced video:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1265 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1266
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1267 <orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1268 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1269 Crop height and y-offset must be multiples of 4.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1270 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1271 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1272 Any vertical scaling must be performed in interlaced mode.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1273 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1274 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1275 Postprocessing and denoising filters may not work as expected
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1276 unless you take special care to operate them a field at a time,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1277 and they may damage the video if used incorrectly.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1278 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1279 </orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1280
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1281 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1282 With these things in mind, here is our first example:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1283 <screen>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1284 mencoder <replaceable>capture.avi</replaceable> -mc 0 -oac lavc -ovc lavc -lavcopts \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1285 vcodec=mpeg2video:vbitrate=6000:ilme:ildct:acodec=mp2:abitrate=224
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1286 </screen>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
1287 Note the <option>ilme</option> and <option>ildct</option> options.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1288 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1289 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1290
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1291 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1292
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1293 <sect2 id="menc-feat-dvd-mpeg4-av-sync">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1294 <title>Notes on Audio/Video synchronization</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1295
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1296 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1297 <application>MEncoder</application>'s audio/video synchronization
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1298 algorithms were designed with the intention of recovering files with
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1299 broken sync.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1300 However, in some cases they can cause unnecessary skipping and duplication of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1301 frames, and possibly slight A/V desync, when used with proper input
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1302 (of course, A/V sync issues apply only if you process or copy the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1303 audio track while transcoding the video, which is strongly encouraged).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1304 Therefore, you may have to switch to basic A/V sync with
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1305 the <option>-mc 0</option> option, or put this in your
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1306 <systemitem>~/.mplayer/mencoder</systemitem> config file, as long as
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1307 you are only working with good sources (DVD, TV capture, high quality
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1308 MPEG-4 rips, etc) and not broken ASF/RM/MOV files.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1309 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1310
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1311 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1312 If you want to further guard against strange frame skips and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1313 duplication, you can use both <option>-mc 0</option> and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1314 <option>-noskip</option>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1315 This will prevent <emphasis>all</emphasis> A/V sync, and copy frames
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1316 one-to-one, so you cannot use it if you will be using any filters that
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1317 unpredictably add or drop frames, or if your input file has variable
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1318 framerate!
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1319 Therefore, using <option>-noskip</option> is not in general recommended.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1320 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1321
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1322 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1323 The so-called "three-pass" audio encoding which
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1324 <application>MEncoder</application> supports has been reported to cause A/V
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1325 desync.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1326 This will definitely happen if it is used in conjunction with certain
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1327 filters, therefore, it is now recommended <emphasis>not</emphasis> to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1328 use three-pass audio mode.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1329 This feature is only left for compatibility purposes and for expert
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1330 users who understand when it is safe to use and when it is not.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1331 If you have never heard of three-pass mode before, forget that we
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1332 even mentioned it!
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1333 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1334
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1335 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1336 There have also been reports of A/V desync when encoding from stdin
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1337 with <application>MEncoder</application>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1338 Do not do this! Always use a file or CD/DVD/etc device as input.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1339 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1340 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1341
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1342 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1343
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1344 <sect2 id="menc-feat-dvd-mpeg4-codec">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1345 <title>Choosing the video codec</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1346
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1347 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1348 Which video codec is best to choose depends on several factors,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1349 like size, quality, streamability, usability and popularity, some of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1350 which widely depend on personal taste and technical constraints.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1351 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1352 <itemizedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1353 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1354 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1355 <emphasis role="bold">Compression efficiency</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1356 It is quite easy to understand that most newer-generation codecs are
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1357 made to increase quality and compression.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1358 Therefore, the authors of this guide and many other people suggest that
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1359 you cannot go wrong
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1360 <footnote id='fn-menc-feat-dvd-mpeg4-codec-cpu'><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1361 Be careful, however: Decoding DVD-resolution MPEG-4 AVC videos
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1362 requires a fast machine (i.e. a Pentium 4 over 1.5GHz or a Pentium M
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1363 over 1GHz).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1364 </para></footnote>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1365 when choosing MPEG-4 AVC codecs like
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1366 <systemitem class="library">x264</systemitem> instead of MPEG-4 ASP codecs
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1367 such as <systemitem class="library">libavcodec</systemitem> MPEG-4 or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1368 <systemitem class="library">Xvid</systemitem>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1369 (Advanced codec developers may be interested in reading Michael
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1370 Niedermayer's opinion on
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1371 "<ulink url="http://guru.multimedia.cx/?p=10">why MPEG4-ASP sucks</ulink>".)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1372 Likewise, you should get better quality using MPEG-4 ASP than you
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1373 would with MPEG-2 codecs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1374 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1375
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1376 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1377 However, newer codecs which are in heavy development can suffer from
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1378 bugs which have not yet been noticed and which can ruin an encode.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1379 This is simply the tradeoff for using bleeding-edge technology.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1380 </para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
1381
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1382 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1383 What is more, beginning to use a new codec requires that you spend some
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1384 time becoming familiar with its options, so that you know what
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1385 to adjust to achieve a desired picture quality.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1386 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1387 </listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1388
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1389 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1390 <emphasis role="bold">Hardware compatibility</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1391 It usually takes a long time for standalone video players to begin to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1392 include support for the latest video codecs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1393 As a result, most only support MPEG-1 (like VCD, XVCD and KVCD), MPEG-2
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1394 (like DVD, SVCD and KVCD) and MPEG-4 ASP (like DivX,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1395 <systemitem class="library">libavcodec</systemitem>'s LMP4 and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1396 <systemitem class="library">Xvid</systemitem>)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1397 (Beware: Usually, not all MPEG-4 ASP features are supported).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1398 Please refer to the technical specs of your player (if they are available),
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1399 or google around for more information.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1400 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1401
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1402 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1403 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1404 <emphasis role="bold">Best quality per encoding time</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1405 Codecs that have been around for some time (such as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1406 <systemitem class="library">libavcodec</systemitem> MPEG-4 and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1407 <systemitem class="library">Xvid</systemitem>) are usually heavily
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1408 optimized with all kinds of smart algorithms and SIMD assembly code.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1409 That is why they tend to yield the best quality per encoding time ratio.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1410 However, they may have some very advanced options that, if enabled,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1411 will make the encode really slow for marginal gains.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1412 </para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
1413
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1414 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1415 If you are after blazing speed you should stick around the default
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1416 settings of the video codec (although you should still try the other
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1417 options which are mentioned in other sections of this guide).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1418 </para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
1419
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1420 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1421 You may also consider choosing a codec which can do multi-threaded
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1422 processing, though this is only useful for users of machines with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1423 several CPUs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1424 <systemitem class="library">libavcodec</systemitem> MPEG-4 does
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1425 allow that, but speed gains are limited, and there is a slight
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1426 negative effect on picture quality.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1427 <systemitem class="library">Xvid</systemitem>'s multi-threaded encoding,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1428 activated by the <option>threads</option> option, can be used to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1429 boost encoding speed &mdash; by about 40-60% in typical cases &mdash;
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1430 with little if any picture degradation.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1431 <systemitem class="library">x264</systemitem> also allows multi-threaded
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1432 encoding, which currently speeds up encoding by 94% per CPU core while
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1433 lowering PSNR between 0.005dB and 0.01dB on a typical setup.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1434 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1435 </listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1436
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1437 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1438 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1439 <emphasis role="bold">Personal taste</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1440 This is where it gets almost irrational: For the same reason that some
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1441 hung on to DivX&nbsp;3 for years when newer codecs were already doing wonders,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1442 some folks will prefer <systemitem class="library">Xvid</systemitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1443 or <systemitem class="library">libavcodec</systemitem> MPEG-4 over
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1444 <systemitem class="library">x264</systemitem>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1445 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1446 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1447 You should make your own judgement; do not take advice from people who
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1448 swear by one codec.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1449 Take a few sample clips from raw sources and compare different
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1450 encoding options and codecs to find one that suits you best.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1451 The best codec is the one you master, and the one that looks
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1452 best to your eyes on your display
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1453 <footnote id='fn-menc-feat-dvd-mpeg4-codec-playback'><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1454 The same encode may not look the same on someone else's monitor or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1455 when played back by a different decoder, so future-proof your encodes by
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1456 playing them back on different setups.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1457 </para></footnote>!
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1458 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1459 </listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1460 </itemizedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1461
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1462 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1463 Please refer to the section
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1464 <link linkend="menc-feat-selecting-codec">selecting codecs and container formats</link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1465 to get a list of supported codecs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1466 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1467 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1468
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1469 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1470
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1471 <sect2 id="menc-feat-dvd-mpeg4-audio">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1472 <title>Audio</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1473
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1474 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1475 Audio is a much simpler problem to solve: if you care about quality, just
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1476 leave it as is.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1477 Even AC-3 5.1 streams are at most 448Kbit/s, and they are worth every bit.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1478 You might be tempted to transcode the audio to high quality Vorbis, but
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1479 just because you do not have an A/V receiver for AC-3 pass-through today
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1480 does not mean you will not have one tomorrow. Future-proof your DVD rips by
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1481 preserving the AC-3 stream.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1482 You can keep the AC-3 stream either by copying it directly into the video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1483 stream <link linkend="menc-feat-mpeg4">during the encoding</link>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1484 You can also extract the AC-3 stream in order to mux it into containers such
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1485 as NUT or Matroska.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1486 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1487 mplayer <replaceable>source_file.vob</replaceable> -aid 129 -dumpaudio -dumpfile <replaceable>sound.ac3</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1488 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1489 will dump into the file <replaceable>sound.ac3</replaceable> the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1490 audio track number 129 from the file
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1491 <replaceable>source_file.vob</replaceable> (NB: DVD VOB files
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1492 usually use a different audio numbering,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1493 which means that the VOB audio track 129 is the 2nd audio track of the file).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1494 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1495
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1496 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1497 But sometimes you truly have no choice but to further compress the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1498 sound so that more bits can be spent on the video.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1499 Most people choose to compress audio with either MP3 or Vorbis audio codecs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1500 While the latter is a very space-efficient codec, MP3 is better supported
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1501 by hardware players, although this trend is changing.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1502 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1503
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1504 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1505 Do <emphasis>not</emphasis> use <option>-nosound</option> when encoding
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1506 a file with audio, even if you will be encoding and muxing audio
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1507 separately later.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1508 Though it may work in ideal cases, using <option>-nosound</option> is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1509 likely to hide some problems in your encoding command line setting.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1510 In other words, having a soundtrack during your encode assures you that,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1511 provided you do not see messages such as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1512 <quote>Too many audio packets in the buffer</quote>, you will be able
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1513 to get proper sync.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1514 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1515
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1516 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1517 You need to have <application>MEncoder</application> process the sound.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1518 You can for example copy the original soundtrack during the encode with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1519 <option>-oac copy</option> or convert it to a "light" 4 kHz mono WAV
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1520 PCM with <option>-oac pcm -channels 1 -srate 4000</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1521 Otherwise, in some cases, it will generate a video file that will not sync
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1522 with the audio.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1523 Such cases are when the number of video frames in the source file does
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1524 not match up to the total length of audio frames or whenever there
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1525 are discontinuities/splices where there are missing or extra audio frames.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1526 The correct way to handle this kind of problem is to insert silence or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1527 cut audio at these points.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1528 However <application>MPlayer</application> cannot do that, so if you
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1529 demux the AC-3 audio and encode it with a separate app (or dump it to PCM with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1530 <application>MPlayer</application>), the splices will be left incorrect
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1531 and the only way to correct them is to drop/duplicate video frames at the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1532 splice.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1533 As long as <application>MEncoder</application> sees the audio when it is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1534 encoding the video, it can do this dropping/duping (which is usually OK
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1535 since it takes place at full black/scene change), but if
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1536 <application>MEncoder</application> cannot see the audio, it will just
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1537 process all frames as-is and they will not fit the final audio stream when
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1538 you for example merge your audio and video track into a Matroska file.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1539 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1540
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1541 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1542 First of all, you will have to convert the DVD sound into a WAV file that the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1543 audio codec can use as input.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1544 For example:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1545 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1546 mplayer <replaceable>source_file.vob</replaceable> -ao pcm:file=<replaceable>destination_sound.wav</replaceable> \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1547 -vc dummy -aid 1 -vo null
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1548 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1549 will dump the second audio track from the file
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1550 <replaceable>source_file.vob</replaceable> into the file
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1551 <replaceable>destination_sound.wav</replaceable>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1552 You may want to normalize the sound before encoding, as DVD audio tracks
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1553 are commonly recorded at low volumes.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1554 You can use the tool <application>normalize</application> for instance,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1555 which is available in most distributions.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1556 If you are using Windows, a tool such as <application>BeSweet</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1557 can do the same job.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1558 You will compress in either Vorbis or MP3.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1559 For example:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1560 <screen>oggenc -q1 <replaceable>destination_sound.wav</replaceable></screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1561 will encode <replaceable>destination_sound.wav</replaceable> with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1562 the encoding quality 1, which is roughly equivalent to 80Kb/s, and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1563 is the minimum quality at which you should encode if you care about
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1564 quality.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
1565 Please note that <application>MEncoder</application> currently cannot
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1566 mux Vorbis audio tracks
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1567 into the output file because it only supports AVI and MPEG
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1568 containers as an output, each of which may lead to audio/video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1569 playback synchronization problems with some players when the AVI file
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1570 contain VBR audio streams such as Vorbis.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1571 Do not worry, this document will show you how you can do that with third
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1572 party programs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1573 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1574 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1575
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1576 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1577
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1578 <sect2 id="menc-feat-dvd-mpeg4-muxing">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1579 <title>Muxing</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1580
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1581 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1582 Now that you have encoded your video, you will most likely want
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1583 to mux it with one or more audio tracks into a movie container, such
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1584 as AVI, MPEG, Matroska or NUT.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1585 <application>MEncoder</application> is currently only able to natively output
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1586 audio and video into MPEG and AVI container formats.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1587 for example:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1588 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1589 mencoder -oac copy -ovc copy -o <replaceable>output_movie.avi</replaceable> \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1590 -audiofile <replaceable>input_audio.mp2</replaceable> <replaceable>input_video.avi</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1591 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1592 This would merge the video file <replaceable>input_video.avi</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1593 and the audio file <replaceable>input_audio.mp2</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1594 into the AVI file <replaceable>output_movie.avi</replaceable>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1595 This command works with MPEG-1 layer I, II and III (more commonly known
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1596 as MP3) audio, WAV and a few other audio formats too.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1597 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1598
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1599 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1600 <application>MEncoder</application> features experimental support for
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1601 <systemitem class="library">libavformat</systemitem>, which is a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1602 library from the FFmpeg project that supports muxing and demuxing
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1603 a variety of containers.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1604 For example:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1605 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1606 mencoder -oac copy -ovc copy -o <replaceable>output_movie.asf</replaceable> -audiofile <replaceable>input_audio.mp2</replaceable> \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1607 <replaceable>input_video.avi</replaceable> -of lavf -lavfopts format=asf
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1608 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1609 This will do the same thing as the previous example, except that
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1610 the output container will be ASF.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1611 Please note that this support is highly experimental (but getting
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1612 better every day), and will only work if you compiled
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1613 <application>MPlayer</application> with the support for
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1614 <systemitem class="library">libavformat</systemitem> enabled (which
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1615 means that a pre-packaged binary version will not work in most cases).
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1616 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1617
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1618
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1619 <sect3 id="menc-feat-dvd-mpeg4-muxing-filter-issues">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1620 <title>Improving muxing and A/V sync reliability</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1621
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1622 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1623 You may experience some serious A/V sync problems while trying to mux
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1624 your video and some audio tracks, where no matter how you adjust the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1625 audio delay, you will never get proper sync.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1626 That may happen when you use some video filters that will drop or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1627 duplicate some frames, like the inverse telecine filters.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1628 It is strongly encouraged to append the <option>harddup</option> video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1629 filter at the end of the filter chain to avoid this kind of problem.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1630 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1631
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1632 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1633 Without <option>harddup</option>, if <application>MEncoder</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1634 wants to duplicate a frame, it relies on the muxer to put a mark on the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1635 container so that the last frame will be displayed again to maintain
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1636 sync while writing no actual frame.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1637 With <option>harddup</option>, <application>MEncoder</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1638 will instead just push the last frame displayed again into the filter
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1639 chain.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1640 This means that the encoder receives the <emphasis>exact</emphasis>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1641 same frame twice, and compresses it.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1642 This will result in a slightly bigger file, but will not cause problems
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1643 when demuxing or remuxing into other container formats.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1644 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1645
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1646 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1647 You may also have no choice but to use <option>harddup</option> with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1648 container formats that are not too tightly linked with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1649 <application>MEncoder</application> such as the ones supported through
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1650 <systemitem class="library">libavformat</systemitem>, which may not
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1651 support frame duplication at the container level.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1652 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1653 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1654
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1655
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1656 <sect3 id="menc-feat-dvd-mpeg4-muxing-avi-limitations">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1657 <title>Limitations of the AVI container</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1658
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1659 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1660 Although it is the most widely-supported container format after MPEG-1,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1661 AVI also has some major drawbacks.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1662 Perhaps the most obvious is the overhead.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1663 For each chunk of the AVI file, 24 bytes are wasted on headers and index.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1664 This translates into a little over 5 MB per hour, or 1-2.5%
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1665 overhead for a 700 MB movie. This may not seem like much, but it could
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1666 mean the difference between being able to use 700 kbit/sec video or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1667 714 kbit/sec, and every bit of quality counts.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1668 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1669
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1670 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1671 In addition this gross inefficiency, AVI also has the following major
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1672 limitations:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1673 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1674
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1675 <orderedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1676 <listitem><para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1677 Only fixed-fps content can be stored. This is particularly limiting
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1678 if the original material you want to encode is mixed content, for
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1679 example a mix of NTSC video and film material.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1680 Actually there are hacks that can be used to store mixed-framerate
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1681 content in AVI, but they increase the (already huge) overhead
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1682 fivefold or more and so are not practical.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1683 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1684 <listitem><para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1685 Audio in AVI files must be either constant-bitrate (CBR) or
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1686 constant-framesize (i.e. all frames decode to the same number of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1687 samples).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1688 Unfortunately, the most efficient codec, Vorbis, does not meet
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1689 either of these requirements.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1690 Therefore, if you plan to store your movie in AVI, you will have to
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1691 use a less efficient codec such as MP3 or AC-3.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1692 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1693 </orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1694
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1695 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1696 Having said all that, <application>MEncoder</application> does not
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1697 currently support variable-fps output or Vorbis encoding.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1698 Therefore, you may not see these as limitations if
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1699 <application>MEncoder</application> is the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1700 only tool you will be using to produce your encodes.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1701 However, it is possible to use <application>MEncoder</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1702 only for video encoding, and then use external tools to encode
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1703 audio and mux it into another container format.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1704 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1705 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1706
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1707
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1708 <sect3 id="menc-feat-dvd-mpeg4-muxing-matroska">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1709 <title>Muxing into the Matroska container</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1710
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1711 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1712 Matroska is a free, open standard container format, aiming
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1713 to offer a lot of advanced features, which older containers
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1714 like AVI cannot handle.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1715 For example, Matroska supports variable bitrate audio content
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1716 (VBR), variable framerates (VFR), chapters, file attachments,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1717 error detection code (EDC) and modern A/V Codecs like "Advanced Audio
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1718 Coding" (AAC), "Vorbis" or "MPEG-4 AVC" (H.264), next to nothing
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1719 handled by AVI.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1720 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1721
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1722 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1723 The tools required to create Matroska files are collectively called
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1724 <application>mkvtoolnix</application>, and are available for most
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1725 Unix platforms as well as <application>Windows</application>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1726 Because Matroska is an open standard you may find other
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1727 tools that suit you better, but since mkvtoolnix is the most
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1728 common, and is supported by the Matroska team itself, we will
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1729 only cover its usage.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1730 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1731
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1732 <para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
1733 Probably the easiest way to get started with Matroska is to use
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1734 <application>MMG</application>, the graphical frontend shipped with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1735 <application>mkvtoolnix</application>, and follow the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1736 <ulink url="http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html">guide to mkvmerge GUI (mmg)</ulink>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1737 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1738
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1739 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1740 You may also mux audio and video files using the command line:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1741 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1742 mkvmerge -o <replaceable>output.mkv</replaceable> <replaceable>input_video.avi</replaceable> <replaceable>input_audio1.mp3</replaceable> <replaceable>input_audio2.ac3</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1743 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1744 This would merge the video file <replaceable>input_video.avi</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1745 and the two audio files <replaceable>input_audio1.mp3</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1746 and <replaceable>input_audio2.ac3</replaceable> into the Matroska
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1747 file <replaceable>output.mkv</replaceable>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1748 Matroska, as mentioned earlier, is able to do much more than that, like
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1749 multiple audio tracks (including fine-tuning of audio/video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1750 synchronization), chapters, subtitles, splitting, etc...
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1751 Please refer to the documentation of those applications for
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1752 more details.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1753 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1754 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1755 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1756 </sect1>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1757
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1758
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1759 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1760
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1761
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1762 <sect1 id="menc-feat-telecine">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1763 <title>How to deal with telecine and interlacing within NTSC DVDs</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1764
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1765 <sect2 id="menc-feat-telecine-intro">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1766 <title>Introduction</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1767
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1768 <formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1769 <title>What is telecine?</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1770 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1771 If you do not understand much of what is written in this document, read the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1772 <ulink url="http://en.wikipedia.org/wiki/Telecine">Wikipedia entry on telecine</ulink>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1773 It is an understandable and reasonably comprehensive
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1774 description of what telecine is.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1775 </para></formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1776
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1777 <formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1778 <title>A note about the numbers.</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1779 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1780 Many documents, including the article linked above, refer to the fields
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1781 per second value of NTSC video as 59.94 and the corresponding frames
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1782 per second values as 29.97 (for telecined and interlaced) and 23.976
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1783 (for progressive). For simplicity, some documents even round these
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1784 numbers to 60, 30, and 24.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1785 </para></formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1786
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1787 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1788 Strictly speaking, all those numbers are approximations. Black and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1789 white NTSC video was exactly 60 fields per second, but 60000/1001
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1790 was later chosen to accommodate color data while remaining compatible
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1791 with contemporary black and white televisions. Digital NTSC video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1792 (such as on a DVD) is also 60000/1001 fields per second. From this,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1793 interlaced and telecined video are derived to be 30000/1001 frames
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1794 per second; progressive video is 24000/1001 frames per second.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1795 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1796
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1797 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1798 Older versions of the <application>MEncoder</application> documentation
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1799 and many archived mailing list posts refer to 59.94, 29.97, and 23.976.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1800 All <application>MEncoder</application> documentation has been updated
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1801 to use the fractional values, and you should use them too.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1802 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1803
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1804 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1805 <option>-ofps 23.976</option> is incorrect.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1806 <option>-ofps 24000/1001</option> should be used instead.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1807 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1808
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1809 <formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1810 <title>How telecine is used.</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1811 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1812 All video intended to be displayed on an NTSC
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1813 television set must be 60000/1001 fields per second. Made-for-TV movies
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1814 and shows are often filmed directly at 60000/1001 fields per second, but
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1815 the majority of cinema is filmed at 24 or 24000/1001 frames per
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1816 second. When cinematic movie DVDs are mastered, the video is then
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1817 converted for television using a process called telecine.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1818 </para></formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1819
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1820 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1821 On a DVD, the video is never actually stored as 60000/1001 fields per
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1822 second. For video that was originally 60000/1001, each pair of fields is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1823 combined to form a frame, resulting in 30000/1001 frames per
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1824 second. Hardware DVD players then read a flag embedded in the video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1825 stream to determine whether the odd- or even-numbered lines should
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1826 form the first field.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1827 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1828
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1829 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1830 Usually, 24000/1001 frames per second content stays as it is when
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1831 encoded for a DVD, and the DVD player must perform telecining
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1832 on-the-fly. Sometimes, however, the video is telecined
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1833 <emphasis>before</emphasis> being stored on the DVD; even though it
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1834 was originally 24000/1001 frames per second, it becomes 60000/1001 fields per
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1835 second. When it is stored on the DVD, pairs of fields are combined to form
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1836 30000/1001 frames per second.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1837 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1838
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1839 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1840 When looking at individual frames formed from 60000/1001 fields per
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1841 second video, telecined or otherwise, interlacing is clearly visible
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1842 wherever there is any motion, because one field (say, the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1843 even-numbered lines) represents a moment in time 1/(60000/1001)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1844 seconds later than the other. Playing interlaced video on a computer
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1845 looks ugly both because the monitor is higher resolution and because
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1846 the video is shown frame-after-frame instead of field-after-field.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1847 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1848
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1849 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1850 <title>Notes:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1851 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1852 This section only applies to NTSC DVDs, and not PAL.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1853 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1854 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1855 The example <application>MEncoder</application> lines throughout the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1856 document are <emphasis role="bold">not</emphasis> intended for
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1857 actual use. They are simply the bare minimum required to encode the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1858 pertaining video category. How to make good DVD rips or fine-tune
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1859 <systemitem class="library">libavcodec</systemitem> for maximal
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1860 quality is not within the scope of this section; refer to other
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1861 sections within the <link linkend="encoding-guide">MEncoder encoding
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1862 guide</link>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1863 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1864 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1865 There are a couple footnotes specific to this guide, linked like this:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1866 <link linkend="menc-feat-telecine-footnotes">[1]</link>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1867 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1868 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1869 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1870
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1871 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1872
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1873 <sect2 id="menc-feat-telecine-ident">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1874 <title>How to tell what type of video you have</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1875
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1876 <sect3 id="menc-feat-telecine-ident-progressive">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1877 <title>Progressive</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1878
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1879 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1880 Progressive video was originally filmed at 24000/1001 fps, and stored
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1881 on the DVD without alteration.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1882 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1883
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1884 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1885 When you play a progressive DVD in <application>MPlayer</application>,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1886 <application>MPlayer</application> will print the following line as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1887 soon as the movie begins to play:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1888 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1889 demux_mpg: 24000/1001 fps progressive NTSC content detected, switching framerate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1890 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1891 From this point forward, demux_mpg should never say it finds
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1892 "30000/1001 fps NTSC content."
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1893 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1894
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1895 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1896 When you watch progressive video, you should never see any
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1897 interlacing. Beware, however, because sometimes there is a tiny bit
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1898 of telecine mixed in where you would not expect. I have encountered TV
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1899 show DVDs that have one second of telecine at every scene change, or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1900 at seemingly random places. I once watched a DVD that had a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1901 progressive first half, and the second half was telecined. If you
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1902 want to be <emphasis>really</emphasis> thorough, you can scan the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1903 entire movie:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1904 <screen>mplayer dvd://1 -nosound -vo null -benchmark</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1905 Using <option>-benchmark</option> makes
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1906 <application>MPlayer</application> play the movie as quickly as it
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1907 possibly can; still, depending on your hardware, it can take a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1908 while. Every time demux_mpg reports a framerate change, the line
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1909 immediately above will show you the time at which the change
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1910 occurred.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1911 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1912
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1913 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1914 Sometimes progressive video on DVDs is referred to as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1915 "soft-telecine" because it is intended to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1916 be telecined by the DVD player.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1917 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1918 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1919
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1920
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1921 <sect3 id="menc-feat-telecine-ident-telecined">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1922 <title>Telecined</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1923
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1924 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1925 Telecined video was originally filmed at 24000/1001, but was telecined
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1926 <emphasis>before</emphasis> it was written to the DVD.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1927 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1928
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1929 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1930 <application>MPlayer</application> does not (ever) report any
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1931 framerate changes when it plays telecined video.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1932 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1933
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1934 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1935 Watching a telecined video, you will see interlacing artifacts that
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1936 seem to "blink": they repeatedly appear and disappear.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1937 You can look closely at this by
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1938 <orderedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1939 <listitem><screen>mplayer dvd://1</screen></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1940 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1941 Seek to a part with motion.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1942 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1943 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1944 Use the <keycap>.</keycap> key to step forward one frame at a time.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1945 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1946 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1947 Look at the pattern of interlaced-looking and progressive-looking
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1948 frames. If the pattern you see is PPPII,PPPII,PPPII,... then the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1949 video is telecined. If you see some other pattern, then the video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1950 may have been telecined using some non-standard method;
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1951 <application>MEncoder</application> cannot losslessly convert
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1952 non-standard telecine to progressive. If you do not see any
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1953 pattern at all, then it is most likely interlaced.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1954 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1955 </orderedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1956 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1957
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1958 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1959 Sometimes telecined video on DVDs is referred to as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1960 "hard-telecine". Since hard-telecine is already 60000/1001 fields
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1961 per second, the DVD player plays the video without any manipulation.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1962 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1963
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1964 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1965 Another way to tell if your source is telecined or not is to play
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1966 the source with the <option>-vf pullup</option> and <option>-v</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1967 command line options to see how <option>pullup</option> matches frames.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1968 If the source is telecined, you should see on the console a 3:2 pattern
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1969 with <systemitem>0+.1.+2</systemitem> and <systemitem>0++1</systemitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1970 alternating.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1971 This technique has the advantage that you do not need to watch the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1972 source to identify it, which could be useful if you wish to automate
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1973 the encoding procedure, or to carry out said procedure remotely via
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1974 a slow connection.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1975 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1976 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1977
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1978
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1979 <sect3 id="menc-feat-telecine-ident-interlaced">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1980 <title>Interlaced</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1981
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1982 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1983 Interlaced video was originally filmed at 60000/1001 fields per second,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1984 and stored on the DVD as 30000/1001 frames per second. The interlacing effect
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1985 (often called "combing") is a result of combining pairs of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1986 fields into frames. Each field is supposed to be 1/(60000/1001) seconds apart,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1987 and when they are displayed simultaneously the difference is apparent.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1988 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1989
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1990 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1991 As with telecined video, <application>MPlayer</application> should
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1992 not ever report any framerate changes when playing interlaced content.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1993 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1994
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1995 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1996 When you view an interlaced video closely by frame-stepping with the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
1997 <keycap>.</keycap> key, you will see that every single frame is interlaced.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1998 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
1999 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2000
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2001
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2002 <sect3 id="menc-feat-telecine-ident-mixedpt">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2003 <title>Mixed progressive and telecine</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2004
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2005 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2006 All of a "mixed progressive and telecine" video was originally
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2007 24000/1001 frames per second, but some parts of it ended up being telecined.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2008 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2009
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2010 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2011 When <application>MPlayer</application> plays this category, it will
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2012 (often repeatedly) switch back and forth between "30000/1001 fps NTSC"
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2013 and "24000/1001 fps progressive NTSC". Watch the bottom of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2014 <application>MPlayer</application>'s output to see these messages.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2015 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2016
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2017 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2018 You should check the "30000/1001 fps NTSC" sections to make sure
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2019 they are actually telecine, and not just interlaced.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2020 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2021 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2022
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2023
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2024 <sect3 id="menc-feat-telecine-ident-mixedpi">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2025 <title>Mixed progressive and interlaced</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2026
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2027 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2028 In "mixed progressive and interlaced" content, progressive
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2029 and interlaced video have been spliced together.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2030 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2031
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2032 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2033 This category looks just like "mixed progressive and telecine",
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2034 until you examine the 30000/1001 fps sections and see that they do not have the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2035 telecine pattern.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2036 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2037 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2038 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2039
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2040 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2041
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2042 <sect2 id="menc-feat-telecine-encode">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2043 <title>How to encode each category</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2044 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2045 As I mentioned in the beginning, example <application>MEncoder</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2046 lines below are <emphasis role="bold">not</emphasis> meant to actually be used;
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2047 they only demonstrate the minimum parameters to properly encode each category.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2048 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2049
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2050
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2051 <sect3 id="menc-feat-telecine-encode-progressive">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2052 <title>Progressive</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2053 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2054 Progressive video requires no special filtering to encode. The only
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2055 parameter you need to be sure to use is <option>-ofps 24000/1001</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2056 Otherwise, <application>MEncoder</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2057 will try to encode at 30000/1001 fps and will duplicate frames.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2058 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2059
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2060 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2061 <screen>mencoder dvd://1 -oac copy -ovc lavc -ofps 24000/1001</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2062 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2063
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2064 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2065 It is often the case, however, that a video that looks progressive
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2066 actually has very short parts of telecine mixed in. Unless you are
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2067 sure, it is safest to treat the video as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2068 <link linkend="menc-feat-telecine-encode-mixedpt">mixed progressive and telecine</link>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2069 The performance loss is small
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2070 <link linkend="menc-feat-telecine-footnotes">[3]</link>.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2071 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2072 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2073
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2074
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2075 <sect3 id="menc-feat-telecine-encode-telecined">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2076 <title>Telecined</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2077
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2078 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2079 Telecine can be reversed to retrieve the original 24000/1001 content,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2080 using a process called inverse-telecine.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2081 <application>MPlayer</application> contains several filters to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2082 accomplish this; the best filter, <option>pullup</option>, is described
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2083 in the <link linkend="menc-feat-telecine-encode-mixedpt">mixed
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2084 progressive and telecine</link> section.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2085 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2086 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2087
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2088
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2089 <sect3 id="menc-feat-telecine-encode-interlaced">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2090 <title>Interlaced</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2091
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2092 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2093 For most practical cases it is not possible to retrieve a complete
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2094 progressive video from interlaced content. The only way to do so
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2095 without losing half of the vertical resolution is to double the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2096 framerate and try to "guess" what ought to make up the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2097 corresponding lines for each field (this has drawbacks - see method 3).
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2098 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2099
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2100 <orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2101 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2102 Encode the video in interlaced form. Normally, interlacing wreaks
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2103 havoc with the encoder's ability to compress well, but
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2104 <systemitem class="library">libavcodec</systemitem> has two
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2105 parameters specifically for dealing with storing interlaced video a
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2106 bit better: <option>ildct</option> and <option>ilme</option>. Also,
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2107 using <option>mbd=2</option> is strongly recommended
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2108 <link linkend="menc-feat-telecine-footnotes">[2] </link> because it
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2109 will encode macroblocks as non-interlaced in places where there is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2110 no motion. Note that <option>-ofps</option> is NOT needed here.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2111 <screen>mencoder dvd://1 -oac copy -ovc lavc -lavcopts ildct:ilme:mbd=2</screen>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2112 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2113 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2114 Use a deinterlacing filter before encoding. There are several of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2115 these filters available to choose from, each with its own advantages
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2116 and disadvantages. Consult <option>mplayer -pphelp</option> and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2117 <option>mplayer -vf help</option> to see what is available
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2118 (grep for "deint"), read Michael Niedermayer's
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2119 <ulink url="http://guru.multimedia.cx/deinterlacing-filters/">Deinterlacing filters comparison</ulink>,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2120 and search the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2121 <ulink url="http://www.mplayerhq.hu/design7/mailing_lists.html">
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2122 MPlayer mailing lists</ulink> to find many discussions about the
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2123 various filters.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2124 Again, the framerate is not changing, so no
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2125 <option>-ofps</option>. Also, deinterlacing should be done after
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2126 cropping <link linkend="menc-feat-telecine-footnotes">[1]</link> and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2127 before scaling.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2128 <screen>mencoder dvd://1 -oac copy -vf yadif -ovc lavc</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2129 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2130 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2131 Unfortunately, this option is buggy with
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2132 <application>MEncoder</application>; it ought to work well with
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2133 <application>MEncoder G2</application>, but that is not here yet. You
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2134 might experience crashes. Anyway, the purpose of <option> -vf
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2135 tfields</option> is to create a full frame out of each field, which
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2136 makes the framerate 60000/1001. The advantage of this approach is that no
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2137 data is ever lost; however, since each frame comes from only one
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2138 field, the missing lines have to be interpolated somehow. There are
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2139 no very good methods of generating the missing data, and so the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2140 result will look a bit similar to when using some deinterlacing
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2141 filters. Generating the missing lines creates other issues, as well,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2142 simply because the amount of data doubles. So, higher encoding
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2143 bitrates are required to maintain quality, and more CPU power is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2144 used for both encoding and decoding. tfields has several different
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2145 options for how to create the missing lines of each frame. If you
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2146 use this method, then Reference the manual, and chose whichever
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2147 option looks best for your material. Note that when using
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2148 <option>tfields</option> you
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2149 <emphasis role="bold">have to</emphasis> specify both
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2150 <option>-fps</option> and <option>-ofps</option> to be twice the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2151 framerate of your original source.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2152 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2153 mencoder dvd://1 -oac copy -vf tfields=2 -ovc lavc \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2154 -fps 60000/1001 -ofps 60000/1001<!--
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2155 --></screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2156 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2157 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2158 If you plan on downscaling dramatically, you can extract and encode
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2159 only one of the two fields. Of course, you will lose half the vertical
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2160 resolution, but if you plan on downscaling to at most 1/2 of the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2161 original, the loss will not matter much. The result will be a
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2162 progressive 30000/1001 frames per second file. The procedure is to use
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2163 <option>-vf field</option>, then crop
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2164 <link linkend="menc-feat-telecine-footnotes">[1]</link> and scale
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2165 appropriately. Remember that you will have to adjust the scale to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2166 compensate for the vertical resolution being halved.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2167 <screen>mencoder dvd://1 -oac copy -vf field=0 -ovc lavc</screen>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2168 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2169 </orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2170 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2171
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2172
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2173 <sect3 id="menc-feat-telecine-encode-mixedpt">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2174 <title>Mixed progressive and telecine</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2175
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2176 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2177 In order to turn mixed progressive and telecine video into entirely
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2178 progressive video, the telecined parts have to be
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2179 inverse-telecined. There are three ways to accomplish this,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2180 described below. Note that you should
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2181 <emphasis role="bold">always</emphasis> inverse-telecine before any
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2182 rescaling; unless you really know what you are doing,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2183 inverse-telecine before cropping, too
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2184 <link linkend="menc-feat-telecine-footnotes">[1]</link>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2185 <option>-ofps 24000/1001</option> is needed here because the output video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2186 will be 24000/1001 frames per second.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2187 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2188
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2189 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2190 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2191 <option>-vf pullup</option> is designed to inverse-telecine
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2192 telecined material while leaving progressive data alone. In order to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2193 work properly, <option>pullup</option> <emphasis role="bold">must</emphasis>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2194 be followed by the <option>softskip</option> filter or
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2195 else <application>MEncoder</application> will crash.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2196 <option>pullup</option> is, however, the cleanest and most
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2197 accurate method available for encoding both telecine and
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2198 "mixed progressive and telecine".
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2199 <screen>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
2200 mencoder dvd://1 -oac copy -vf pullup,softskip
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2201 -ovc lavc -ofps 24000/1001<!--
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2202 --></screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2203 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2204 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2205 <option>-vf filmdint</option> is similar to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2206 <option>-vf pullup</option>: both filters attempt to match a pair of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2207 fields to form a complete frame. <option>filmdint</option> will
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2208 deinterlace individual fields that it cannot match, however, whereas
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2209 <option>pullup</option> will simply drop them. Also, the two filters
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2210 have separate detection code, and <option>filmdint</option> may tend to match fields a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2211 bit less often. Which filter works better may depend on the input
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2212 video and personal taste; feel free to experiment with fine-tuning
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2213 the filters' options if you encounter problems with either one (see
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2214 the man page for details). For most well-mastered input video,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2215 however, both filters work quite well, so either one is a safe choice
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2216 to start with.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2217 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2218 mencoder dvd://1 -oac copy -vf filmdint -ovc lavc -ofps 24000/1001<!--
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2219 --></screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2220 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2221 <listitem><para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2222 An older method
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2223 is to, rather than inverse-telecine the telecined parts, telecine
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2224 the non-telecined parts and then inverse-telecine the whole
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2225 video. Sound confusing? softpulldown is a filter that goes through
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2226 a video and makes the entire file telecined. If we follow
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2227 softpulldown with either <option>detc</option> or
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2228 <option>ivtc</option>, the final result will be entirely
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2229 progressive. <option>-ofps 24000/1001</option> is needed.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2230 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2231 mencoder dvd://1 -oac copy -vf softpulldown,ivtc=1 -ovc lavc -ofps 24000/1001
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2232 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2233 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2234
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2235 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2236 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2237
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2238
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2239 <sect3 id="menc-feat-telecine-encode-mixedpi">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2240 <title>Mixed progressive and interlaced</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2241
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2242 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2243 There are two options for dealing with this category, each of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2244 which is a compromise. You should decide based on the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2245 duration/location of each type.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2246 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2247
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2248 <itemizedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2249 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2250 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2251 Treat it as progressive. The interlaced parts will look interlaced,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2252 and some of the interlaced fields will have to be dropped, resulting
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2253 in a bit of uneven jumpiness. You can use a postprocessing filter if
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2254 you want to, but it may slightly degrade the progressive parts.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2255 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2256
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2257 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2258 This option should definitely not be used if you want to eventually
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2259 display the video on an interlaced device (with a TV card, for
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2260 example). If you have interlaced frames in a 24000/1001 frames per
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2261 second video, they will be telecined along with the progressive
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2262 frames. Half of the interlaced "frames" will be displayed for three
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2263 fields' duration (3/(60000/1001) seconds), resulting in a flicking
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2264 "jump back in time" effect that looks quite bad. If you
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2265 even attempt this, you <emphasis role="bold">must</emphasis> use a
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2266 deinterlacing filter like <option>lb</option> or
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2267 <option>l5</option>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2268 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2269
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2270 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2271 It may also be a bad idea for progressive display, too. It will drop
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2272 pairs of consecutive interlaced fields, resulting in a discontinuity
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2273 that can be more visible than with the second method, which shows
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2274 some progressive frames twice. 30000/1001 frames per second interlaced
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2275 video is already a bit choppy because it really should be shown at
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2276 60000/1001 fields per second, so the duplicate frames do not stand out as
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2277 much.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2278 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2279
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2280 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2281 Either way, it is best to consider your content and how you intend to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2282 display it. If your video is 90% progressive and you never intend to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2283 show it on a TV, you should favor a progressive approach. If it is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2284 only half progressive, you probably want to encode it as if it is all
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2285 interlaced.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2286 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2287 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2288
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2289 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2290 Treat it as interlaced. Some frames of the progressive parts will
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2291 need to be duplicated, resulting in uneven jumpiness. Again,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2292 deinterlacing filters may slightly degrade the progressive parts.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2293 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2294 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2295 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2296 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2297
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2298 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2299
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2300 <sect2 id="menc-feat-telecine-footnotes">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2301 <title>Footnotes</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2302
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2303 <orderedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2304 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2305 <formalpara>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2306 <title>About cropping:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2307 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2308 Video data on DVDs are stored in a format called YUV 4:2:0. In YUV
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2309 video, luma ("brightness") and chroma ("color")
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2310 are stored separately. Because the human eye is somewhat less
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2311 sensitive to color than it is to brightness, in a YUV 4:2:0 picture
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2312 there is only one chroma pixel for every four luma pixels. In a
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2313 progressive picture, each square of four luma pixels (two on each
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2314 side) has one common chroma pixel. You must crop progressive YUV
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2315 4:2:0 to even resolutions, and use even offsets. For example,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2316 <option>crop=716:380:2:26</option> is OK but
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2317 <option>crop=716:380:3:26 </option> is not.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2318 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2319 </formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2320
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2321 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2322 When you are dealing with interlaced YUV 4:2:0, the situation is a
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2323 bit more complicated. Instead of every four luma pixels in the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2324 <emphasis>frame</emphasis> sharing a chroma pixel, every four luma
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2325 pixels in each <emphasis> field</emphasis> share a chroma
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2326 pixel. When fields are interlaced to form a frame, each scanline is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2327 one pixel high. Now, instead of all four luma pixels being in a
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2328 square, there are two pixels side-by-side, and the other two pixels
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2329 are side-by-side two scanlines down. The two luma pixels in the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2330 intermediate scanline are from the other field, and so share a
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2331 different chroma pixel with two luma pixels two scanlines away. All
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2332 this confusion makes it necessary to have vertical crop dimensions
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2333 and offsets be multiples of four. Horizontal can stay even.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2334 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2335
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2336 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2337 For telecined video, I recommend that cropping take place after
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2338 inverse telecining. Once the video is progressive you only need to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2339 crop by even numbers. If you really want to gain the slight speedup
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2340 that cropping first may offer, you must crop vertically by multiples
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2341 of four or else the inverse-telecine filter will not have proper data.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2342 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2343
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2344 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2345 For interlaced (not telecined) video, you must always crop
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2346 vertically by multiples of four unless you use <option>-vf
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2347 field</option> before cropping.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2348 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2349 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2350
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2351 <listitem><formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2352 <title>About encoding parameters and quality:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2353 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2354 Just because I recommend <option>mbd=2</option> here does not mean it
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2355 should not be used elsewhere. Along with <option>trell</option>,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2356 <option>mbd=2</option> is one of the two
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2357 <systemitem class="library">libavcodec</systemitem> options that
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2358 increases quality the most, and you should always use at least those
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2359 two unless the drop in encoding speed is prohibitive (e.g. realtime
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2360 encoding). There are many other options to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2361 <systemitem class="library">libavcodec</systemitem> that increase
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2362 encoding quality (and decrease encoding speed) but that is beyond
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2363 the scope of this document.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2364 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2365 </formalpara></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2366
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2367 <listitem><formalpara>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2368 <title>About the performance of pullup:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2369 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2370 It is safe to use <option>pullup</option> (along with <option>softskip
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2371 </option>) on progressive video, and is usually a good idea unless
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2372 the source has been definitively verified to be entirely progressive.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2373 The performance loss is small for most cases. On a bare-minimum encode,
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2374 <option>pullup</option> causes <application>MEncoder</application> to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2375 be 50% slower. Adding sound processing and advanced <option>lavcopts
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2376 </option> overshadows that difference, bringing the performance
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2377 decrease of using <option>pullup</option> down to 2%.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2378 </para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2379 </formalpara></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2380 </orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2381 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2382 </sect1>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2383
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2384
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2385 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2386
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2387
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2388 <sect1 id="menc-feat-enc-libavcodec">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2389 <title>Encoding with the <systemitem class="library">libavcodec</systemitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2390 codec family</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2391
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2392 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2393 <systemitem class="library">libavcodec</systemitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2394 provides simple encoding to a lot of interesting video and audio formats.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2395 You can encode to the following codecs (more or less up to date):
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2396 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2397
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2398 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2399
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2400 <sect2 id="menc-feat-enc-libavcodec-video-codecs">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2401 <title><systemitem class="library">libavcodec</systemitem>'s
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2402 video codecs</title>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2403
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2404 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2405 <informaltable frame="all">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2406 <tgroup cols="2">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2407 <thead>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2408 <row><entry>Video codec name</entry><entry>Description</entry></row>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2409 </thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2410 <tbody>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2411 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2412 <entry>mjpeg</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2413 <entry>Motion JPEG</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2414 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2415 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2416 <entry>ljpeg</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2417 <entry>lossless JPEG</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2418 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2419 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2420 <entry>jpegls</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2421 <entry>JPEG LS</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2422 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2423 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2424 <entry>targa</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2425 <entry>Targa image</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2426 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2427 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2428 <entry>gif</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2429 <entry>GIF image</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2430 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2431 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2432 <entry>bmp</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2433 <entry>BMP image</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2434 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2435 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2436 <entry>png</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2437 <entry>PNG image</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2438 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2439 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2440 <entry>h261</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2441 <entry>H.261</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2442 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2443 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2444 <entry>h263</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2445 <entry>H.263 </entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2446 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2447 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2448 <entry>h263p</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2449 <entry>H.263+</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2450 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2451 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2452 <entry>mpeg4</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2453 <entry>ISO standard MPEG-4 (DivX, Xvid compatible)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2454 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2455 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2456 <entry>msmpeg4</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2457 <entry>pre-standard MPEG-4 variant by MS, v3 (AKA DivX3)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2458 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2459 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2460 <entry>msmpeg4v2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2461 <entry>pre-standard MPEG-4 by MS, v2 (used in old ASF files)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2462 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2463 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2464 <entry>wmv1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2465 <entry>Windows Media Video, version 1 (AKA WMV7)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2466 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2467 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2468 <entry>wmv2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2469 <entry>Windows Media Video, version 2 (AKA WMV8)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2470 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2471 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2472 <entry>rv10</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2473 <entry>RealVideo 1.0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2474 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2475 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2476 <entry>rv20</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2477 <entry>RealVideo 2.0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2478 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2479 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2480 <entry>mpeg1video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2481 <entry>MPEG-1 video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2482 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2483 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2484 <entry>mpeg2video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2485 <entry>MPEG-2 video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2486 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2487 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2488 <entry>huffyuv</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2489 <entry>lossless compression</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2490 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2491 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2492 <entry>ffvhuff</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2493 <entry>FFmpeg modified huffyuv lossless</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2494 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2495 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2496 <entry>asv1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2497 <entry>ASUS Video v1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2498 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2499 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2500 <entry>asv2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2501 <entry>ASUS Video v2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2502 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2503 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2504 <entry>ffv1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2505 <entry>FFmpeg's lossless video codec</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2506 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2507 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2508 <entry>svq1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2509 <entry>Sorenson video 1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2510 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2511 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2512 <entry>flv</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2513 <entry>Sorenson H.263 used in Flash Video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2514 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2515 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2516 <entry>flashsv</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2517 <entry>Flash Screen Video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2518 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2519 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2520 <entry>dvvideo</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2521 <entry>Sony Digital Video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2522 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2523 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2524 <entry>snow</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2525 <entry>FFmpeg's experimental wavelet-based codec</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2526 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2527 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2528 <entry>zmbv</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2529 <entry>Zip Motion Blocks Video</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2530 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2531 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2532 <entry>dnxhd</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2533 <entry>AVID DNxHD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2534 </row>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2535 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2536 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2537 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2538
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2539 The first column contains the codec names that should be passed after the
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2540 <literal>vcodec</literal> config,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2541 like: <option>-lavcopts vcodec=msmpeg4</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2542 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2543
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2544 <informalexample><para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2545 An example with MJPEG compression:
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2546 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2547 mencoder dvd://2 -o <replaceable>title2.avi</replaceable> -ovc lavc -lavcopts vcodec=mjpeg -oac copy
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2548 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2549 </para></informalexample>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2550 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2551
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2552 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2553
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2554 <sect2 id="menc-feat-enc-libavcodec-audio-codecs">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2555 <title><systemitem class="library">libavcodec</systemitem>'s
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2556 audio codecs</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2557
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2558 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2559 <informaltable frame="all">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2560 <tgroup cols="2">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2561 <thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2562 <row><entry>Audio codec name</entry><entry>Description</entry></row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2563 </thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2564 <tbody>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2565 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2566 <entry>ac3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2567 <entry>Dolby Digital (AC-3)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2568 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2569 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2570 <entry>adpcm_*</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2571 <entry>Adaptive PCM formats - see supplementary table</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2572 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2573 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2574 <entry>flac</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2575 <entry>Free Lossless Audio Codec (FLAC)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2576 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2577 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2578 <entry>g726</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2579 <entry>G.726 ADPCM</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2580 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2581 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2582 <entry>libamr_nb</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2583 <entry>3GPP Adaptive Multi-Rate (AMR) narrow-band</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2584 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2585 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2586 <entry>libamr_wb</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2587 <entry>3GPP Adaptive Multi-Rate (AMR) wide-band</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2588 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2589 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2590 <entry>libfaac</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2591 <entry>Advanced Audio Coding (AAC) - using FAAC</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2592 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2593 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2594 <entry>libgsm</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2595 <entry>ETSI GSM 06.10 full rate</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2596 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2597 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2598 <entry>libgsm_ms</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2599 <entry>Microsoft GSM</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2600 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2601 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2602 <entry>libmp3lame</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2603 <entry>MPEG-1 audio layer 3 (MP3) - using LAME</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2604 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2605 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2606 <entry>mp2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2607 <entry>MPEG-1 audio layer 2 (MP2)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2608 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2609 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2610 <entry>pcm_*</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2611 <entry>PCM formats - see supplementary table</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2612 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2613 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2614 <entry>roq_dpcm</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2615 <entry>Id Software RoQ DPCM</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2616 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2617 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2618 <entry>sonic</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2619 <entry>experimental FFmpeg lossy codec</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2620 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2621 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2622 <entry>sonicls</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2623 <entry>experimental FFmpeg lossless codec</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2624 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2625 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2626 <entry>vorbis</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2627 <entry>Vorbis</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2628 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2629 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2630 <entry>wmav1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2631 <entry>Windows Media Audio v1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2632 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2633 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2634 <entry>wmav2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2635 <entry>Windows Media Audio v2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2636 </row>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2637 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2638 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2639 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2640
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2641 The first column contains the codec names that should be passed after the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2642 <literal>acodec</literal> option, like: <option>-lavcopts acodec=ac3</option>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2643 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2644
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2645 <informalexample><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2646 An example with AC-3 compression:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2647 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2648 mencoder dvd://2 -o <replaceable>title2.avi</replaceable> -oac lavc -lavcopts acodec=ac3 -ovc copy
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2649 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2650 </para></informalexample>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2651
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2652 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2653 Contrary to <systemitem class="library">libavcodec</systemitem>'s video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2654 codecs, its audio codecs do not make a wise usage of the bits they are
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2655 given as they lack some minimal psychoacoustic model (if at all)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2656 which most other codec implementations feature.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2657 However, note that all these audio codecs are very fast and work
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2658 out-of-the-box everywhere <application>MEncoder</application> has been
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2659 compiled with <systemitem class="library">libavcodec</systemitem> (which
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2660 is the case most of time), and do not depend on external libraries.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2661 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2662
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2663 <sect3 id="menc-feat-enc-libavcodec-audio-codecs-pcmadpcm">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2664 <title>PCM/ADPCM format supplementary table</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2665
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2666 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2667 <informaltable frame="all">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2668 <tgroup cols="2">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2669 <thead>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2670 <row><entry>PCM/ADPCM codec name</entry><entry>Description</entry></row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2671 </thead>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2672 <tbody>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2673 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2674 <entry>pcm_s32le</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2675 <entry>signed 32-bit little-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2676 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2677 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2678 <entry>pcm_s32be</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2679 <entry>signed 32-bit big-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2680 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2681 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2682 <entry>pcm_u32le</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2683 <entry>unsigned 32-bit little-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2684 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2685 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2686 <entry>pcm_u32be</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2687 <entry>unsigned 32-bit big-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2688 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2689 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2690 <entry>pcm_s24le</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2691 <entry>signed 24-bit little-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2692 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2693 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2694 <entry>pcm_s24be</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2695 <entry>signed 24-bit big-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2696 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2697 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2698 <entry>pcm_u24le</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2699 <entry>unsigned 24-bit little-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2700 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2701 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2702 <entry>pcm_u24be</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2703 <entry>unsigned 24-bit big-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2704 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2705 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2706 <entry>pcm_s16le</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2707 <entry>signed 16-bit little-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2708 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2709 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2710 <entry>pcm_s16be</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2711 <entry>signed 16-bit big-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2712 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2713 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2714 <entry>pcm_u16le</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2715 <entry>unsigned 16-bit little-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2716 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2717 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2718 <entry>pcm_u16be</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2719 <entry>unsigned 16-bit big-endian</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2720 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2721 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2722 <entry>pcm_s8</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2723 <entry>signed 8-bit</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2724 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2725 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2726 <entry>pcm_u8</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2727 <entry>unsigned 8-bit</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2728 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2729 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2730 <entry>pcm_alaw</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2731 <entry>G.711 A-LAW </entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2732 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2733 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2734 <entry>pcm_mulaw</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2735 <entry>G.711 &mu;-LAW</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2736 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2737 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2738 <entry>pcm_s24daud</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2739 <entry>signed 24-bit D-Cinema Audio format</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2740 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2741 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2742 <entry>pcm_zork</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2743 <entry>Activision Zork Nemesis</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2744 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2745 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2746 <entry>adpcm_ima_qt</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2747 <entry>Apple QuickTime</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2748 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2749 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2750 <entry>adpcm_ima_wav</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2751 <entry>Microsoft/IBM WAVE</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2752 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2753 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2754 <entry>adpcm_ima_dk3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2755 <entry>Duck DK3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2756 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2757 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2758 <entry>adpcm_ima_dk4</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2759 <entry>Duck DK4</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2760 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2761 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2762 <entry>adpcm_ima_ws</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2763 <entry>Westwood Studios</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2764 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2765 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2766 <entry>adpcm_ima_smjpeg</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2767 <entry>SDL Motion JPEG</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2768 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2769 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2770 <entry>adpcm_ms</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2771 <entry>Microsoft</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2772 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2773 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2774 <entry>adpcm_4xm</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2775 <entry>4X Technologies</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2776 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2777 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2778 <entry>adpcm_xa</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2779 <entry>Phillips Yellow Book CD-ROM eXtended Architecture</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2780 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2781 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2782 <entry>adpcm_ea</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2783 <entry>Electronic Arts</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2784 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2785 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2786 <entry>adpcm_ct</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2787 <entry>Creative 16->4-bit</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2788 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2789 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2790 <entry>adpcm_swf</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2791 <entry>Adobe Shockwave Flash</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2792 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2793 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2794 <entry>adpcm_yamaha</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2795 <entry>Yamaha</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2796 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2797 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2798 <entry>adpcm_sbpro_4</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2799 <entry>Creative VOC SoundBlaster Pro 8->4-bit</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2800 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2801 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2802 <entry>adpcm_sbpro_3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2803 <entry>Creative VOC SoundBlaster Pro 8->2.6-bit</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2804 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2805 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2806 <entry>adpcm_sbpro_2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2807 <entry>Creative VOC SoundBlaster Pro 8->2-bit</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2808 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2809 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2810 <entry>adpcm_thp</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2811 <entry>Nintendo GameCube FMV THP</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2812 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2813 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2814 <entry>adpcm_adx</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2815 <entry>Sega/CRI ADX</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2816 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2817 </tbody>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2818 </tgroup>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2819 </informaltable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2820 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2821 </sect3>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2822
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2823 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2824
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2825 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2826
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2827 <sect2 id="menc-feat-dvd-mpeg4-lavc-encoding-options">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2828 <title>Encoding options of libavcodec</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2829
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2830 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2831 Ideally, you would probably want to be able to just tell the encoder to switch
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2832 into "high quality" mode and move on.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2833 That would probably be nice, but unfortunately hard to implement as different
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2834 encoding options yield different quality results depending on the source
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2835 material. That is because compression depends on the visual properties of the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2836 video in question.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2837 For example, Anime and live action have very different properties and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2838 thus require different options to obtain optimum encoding.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2839 The good news is that some options should never be left out, like
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2840 <option>mbd=2</option>, <option>trell</option>, and <option>v4mv</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2841 See below for a detailed description of common encoding options.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2842 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2843
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2844 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2845 <title>Options to adjust:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2846 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2847 <emphasis role="bold">vmax_b_frames</emphasis>: 1 or 2 is good, depending on
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2848 the movie.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2849 Note that if you need to have your encode be decodable by DivX5, you
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2850 need to activate closed GOP support, using
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2851 <systemitem class="library">libavcodec</systemitem>'s <option>cgop</option>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2852 option, but you need to deactivate scene detection, which
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2853 is not a good idea as it will hurt encode efficiency a bit.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2854 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2855 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2856 <emphasis role="bold">vb_strategy=1</emphasis>: helps in high-motion scenes.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2857 On some videos, vmax_b_frames may hurt quality, but vmax_b_frames=2 along
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2858 with vb_strategy=1 helps.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2859 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2860 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2861 <emphasis role="bold">dia</emphasis>: motion search range. Bigger is better
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2862 and slower.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2863 Negative values are a completely different scale.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2864 Good values are -1 for a fast encode, or 2-4 for slower.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2865 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2866 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2867 <emphasis role="bold">predia</emphasis>: motion search pre-pass.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2868 Not as important as dia. Good values are 1 (default) to 4. Requires preme=2
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2869 to really be useful.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2870 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2871 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2872 <emphasis role="bold">cmp, subcmp, precmp</emphasis>: Comparison function for
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2873 motion estimation.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2874 Experiment with values of 0 (default), 2 (hadamard), 3 (dct), and 6 (rate
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2875 distortion).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2876 0 is fastest, and sufficient for precmp.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2877 For cmp and subcmp, 2 is good for Anime, and 3 is good for live action.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2878 6 may or may not be slightly better, but is slow.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2879 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2880 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2881 <emphasis role="bold">last_pred</emphasis>: Number of motion predictors to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2882 take from the previous frame.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2883 1-3 or so help at little speed cost.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2884 Higher values are slow for no extra gain.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2885 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2886 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2887 <emphasis role="bold">cbp, mv0</emphasis>: Controls the selection of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2888 macroblocks. Small speed cost for small quality gain.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2889 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2890 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2891 <emphasis role="bold">qprd</emphasis>: adaptive quantization based on the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2892 macroblock's complexity.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2893 May help or hurt depending on the video and other options.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2894 This can cause artifacts unless you set vqmax to some reasonably small value
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2895 (6 is good, maybe as low as 4); vqmin=1 should also help.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2896 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2897 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2898 <emphasis role="bold">qns</emphasis>: very slow, especially when combined
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2899 with qprd.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2900 This option will make the encoder minimize noise due to compression
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2901 artifacts instead of making the encoded video strictly match the source.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2902 Do not use this unless you have already tweaked everything else as far as it
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2903 will go and the results still are not good enough.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2904 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2905 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2906 <emphasis role="bold">vqcomp</emphasis>: Tweak ratecontrol.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2907 What values are good depends on the movie.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2908 You can safely leave this alone if you want.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2909 Reducing vqcomp puts more bits on low-complexity scenes, increasing it puts
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2910 them on high-complexity scenes (default: 0.5, range: 0-1. recommended range:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2911 0.5-0.7).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2912 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2913 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2914 <emphasis role="bold">vlelim, vcelim</emphasis>: Sets the single coefficient
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2915 elimination threshold for luminance and chroma planes.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2916 These are encoded separately in all MPEG-like algorithms.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2917 The idea behind these options is to use some good heuristics to determine
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2918 when the change in a block is less than the threshold you specify, and in
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2919 such a case, to just encode the block as "no change".
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2920 This saves bits and perhaps speeds up encoding. vlelim=-4 and vcelim=9
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2921 seem to be good for live movies, but seem not to help with Anime;
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2922 when encoding animation, you should probably leave them unchanged.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2923 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2924 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2925 <emphasis role="bold">qpel</emphasis>: Quarter pixel motion estimation.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2926 MPEG-4 uses half pixel precision for its motion search by default,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2927 therefore this option comes with an overhead as more information will be
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2928 stored in the encoded file.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2929 The compression gain/loss depends on the movie, but it is usually not very
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2930 effective on Anime.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2931 qpel always incurs a significant cost in CPU decode time (+25% in
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2932 practice).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2933 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2934 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2935 <emphasis role="bold">psnr</emphasis>: does not affect the actual encoding,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2936 but writes a log file giving the type/size/quality of each frame, and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2937 prints a summary of PSNR (Peak Signal to Noise Ratio) at the end.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2938 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2939 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2940
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2941 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2942 <title>Options not recommended to play with:</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2943 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2944 <emphasis role="bold">vme</emphasis>: The default is best.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2945 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2946 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2947 <emphasis role="bold">lumi_mask, dark_mask</emphasis>: Psychovisual adaptive
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2948 quantization.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2949 You do not want to play with those options if you care about quality.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2950 Reasonable values may be effective in your case, but be warned this is very
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2951 subjective.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2952 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2953 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2954 <emphasis role="bold">scplx_mask</emphasis>: Tries to prevent blocky
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2955 artifacts, but postprocessing is better.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2956 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2957 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2958 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2959
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2960 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2961
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2962 <sect2 id="menc-feat-mpeg4-lavc-example-settings">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2963 <title>Encoding setting examples</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2964
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2965 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2966 The following settings are examples of different encoding
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2967 option combinations that affect the speed vs quality tradeoff
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2968 at the same target bitrate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2969 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2970
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2971 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2972 All the encoding settings were tested on a 720x448 @30000/1001 fps
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2973 video sample, the target bitrate was 900kbps, and the machine was an
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2974 AMD-64 3400+ at 2400 MHz in 64 bits mode.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2975 Each encoding setting features the measured encoding speed (in
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2976 frames per second) and the PSNR loss (in dB) compared to the "very
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2977 high quality" setting.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2978 Please understand that depending on your source, your machine type
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2979 and development advancements, you may get very different results.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2980 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2981
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2982 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2983 <informaltable frame="all">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2984 <tgroup cols="4">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2985 <thead>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2986 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2987 <entry>Description</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2988 <entry>Encoding options</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2989 <entry>speed (in fps)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2990 <entry>Relative PSNR loss (in dB)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2991 </row>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2992 </thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2993 <tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2994 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2995 <entry>Very high quality</entry>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
2996 <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>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2997 <entry>6fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2998 <entry>0dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
2999 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3000 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3001 <entry>High quality</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3002 <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>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3003 <entry>15fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3004 <entry>-0.5dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3005 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3006 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3007 <entry>Fast</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3008 <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:turbo</option></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3009 <entry>42fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3010 <entry>-0.74dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3011 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3012 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3013 <entry>Realtime</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3014 <entry><option>vcodec=mpeg4:mbd=2:turbo</option></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3015 <entry>54fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3016 <entry>-1.21dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3017 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3018 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3019 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3020 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3021 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3022 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3023
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3024 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3025
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3026 <sect2 id="custommatrices">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3027 <title>Custom inter/intra matrices</title>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3028
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3029 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3030 With this feature of
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3031 <systemitem class="library">libavcodec</systemitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3032 you are able to set custom inter (I-frames/keyframes) and intra
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3033 (P-frames/predicted frames) matrices. It is supported by many of the codecs:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3034 <systemitem>mpeg1video</systemitem> and <systemitem>mpeg2video</systemitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3035 are reported as working.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3036 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3037
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3038 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3039 A typical usage of this feature is to set the matrices preferred by the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3040 <ulink url="http://www.kvcd.net/">KVCD</ulink> specifications.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3041 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3042
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3043 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3044 The <emphasis role="bold">KVCD "Notch" Quantization Matrix:</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3045 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3046
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3047 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3048 Intra:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3049 <screen>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3050 8 9 12 22 26 27 29 34
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3051 9 10 14 26 27 29 34 37
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3052 12 14 18 27 29 34 37 38
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3053 22 26 27 31 36 37 38 40
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3054 26 27 29 36 39 38 40 48
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3055 27 29 34 37 38 40 48 58
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3056 29 34 37 38 40 48 58 69
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3057 34 37 38 40 48 58 69 79
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3058 </screen>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3059
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3060 Inter:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3061 <screen>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3062 16 18 20 22 24 26 28 30
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3063 18 20 22 24 26 28 30 32
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3064 20 22 24 26 28 30 32 34
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3065 22 24 26 30 32 32 34 36
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3066 24 26 28 32 34 34 36 38
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3067 26 28 30 32 34 36 38 40
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3068 28 30 32 34 36 38 42 42
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3069 30 32 34 36 38 40 42 44
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3070 </screen>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3071 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3072
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3073 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3074 Usage:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3075 <screen>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3076 mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.avi</replaceable> -oac copy -ovc lavc \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3077 -lavcopts inter_matrix=...:intra_matrix=...
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3078 </screen>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3079 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3080
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3081 <para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3082 <screen>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3083 mencoder <replaceable>input.avi</replaceable> -ovc lavc -lavcopts \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3084 vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3085 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,\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3086 29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3087 :inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3088 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,\
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3089 36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 -oac copy -o svcd.mpg
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3090 </screen>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3091 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3092 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3093
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3094 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3095
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3096 <sect2 id="menc-feat-dvd-mpeg4-example">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3097 <title>Example</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3098
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3099 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3100 So, you have just bought your shiny new copy of Harry Potter and the Chamber
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3101 of Secrets (widescreen edition, of course), and you want to rip this DVD
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3102 so that you can add it to your Home Theatre PC. This is a region 1 DVD,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3103 so it is NTSC. The example below will still apply to PAL, except you will
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3104 omit <option>-ofps 24000/1001</option> (because the output framerate is the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3105 same as the input framerate), and of course the crop dimensions will be
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3106 different.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3107 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3108
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3109 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3110 After running <option>mplayer dvd://1</option>, we follow the process
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3111 detailed in the section <link linkend="menc-feat-telecine">How to deal
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3112 with telecine and interlacing in NTSC DVDs</link> and discover that it is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3113 24000/1001 fps progressive video, which means that we need not use an inverse
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3114 telecine filter, such as <option>pullup</option> or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3115 <option>filmdint</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3116 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3117
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3118 <para id="menc-feat-dvd-mpeg4-example-crop">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3119 Next, we want to determine the appropriate crop rectangle, so we use the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3120 cropdetect filter:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3121 <screen>mplayer dvd://1 -vf cropdetect</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3122 Make sure you seek to a fully filled frame (such as a bright scene,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3123 past the opening credits and logos), and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3124 you will see in <application>MPlayer</application>'s console output:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3125 <screen>crop area: X: 0..719 Y: 57..419 (-vf crop=720:362:0:58)</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3126 We then play the movie back with this filter to test its correctness:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3127 <screen>mplayer dvd://1 -vf crop=720:362:0:58</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3128 And we see that it looks perfectly fine. Next, we ensure the width and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3129 height are a multiple of 16. The width is fine, however the height is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3130 not. Since we did not fail 7th grade math, we know that the nearest
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3131 multiple of 16 lower than 362 is 352.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3132 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3133
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3134 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3135 We could just use <option>crop=720:352:0:58</option>, but it would be nice
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3136 to take a little off the top and a little off the bottom so that we
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3137 retain the center. We have shrunk the height by 10 pixels, but we do not
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3138 want to increase the y-offset by 5-pixels since that is an odd number and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3139 will adversely affect quality. Instead, we will increase the y-offset by
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3140 4 pixels:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3141 <screen>mplayer dvd://1 -vf crop=720:352:0:62</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3142 Another reason to shave pixels from both the top and the bottom is that we
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3143 ensure we have eliminated any half-black pixels if they exist. Note that if
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3144 your video is telecined, make sure the <option>pullup</option> filter (or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3145 whichever inverse telecine filter you decide to use) appears in the filter
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3146 chain before you crop. If it is interlaced, deinterlace before cropping.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3147 (If you choose to preserve the interlaced video, then make sure your
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3148 vertical crop offset is a multiple of 4.)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3149 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3150
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3151 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3152 If you are really concerned about losing those 10 pixels, you might
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3153 prefer instead to scale the dimensions down to the nearest multiple of 16.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3154 The filter chain would look like:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3155 <screen>-vf crop=720:362:0:58,scale=720:352</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3156 Scaling the video down like this will mean that some small amount of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3157 detail is lost, though it probably will not be perceptible. Scaling up will
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3158 result in lower quality (unless you increase the bitrate). Cropping
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3159 discards those pixels altogether. It is a tradeoff that you will want to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3160 consider for each circumstance. For example, if the DVD video was made
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3161 for television, you might want to avoid vertical scaling, since the line
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3162 sampling corresponds to the way the content was originally recorded.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3163 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3164
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3165 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3166 On inspection, we see that our movie has a fair bit of action and high
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3167 amounts of detail, so we pick 2400Kbit for our bitrate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3168 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3169
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3170 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3171 We are now ready to do the two pass encode. Pass one:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3172 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3173 mencoder dvd://1 -ofps 24000/1001 -oac copy -o <replaceable>Harry_Potter_2.avi</replaceable> -ovc lavc \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3174 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:vpass=1 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3175 -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3176 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3177 And pass two is the same, except that we specify <option>vpass=2</option>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3178 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3179 mencoder dvd://1 -ofps 24000/1001 -oac copy -o <replaceable>Harry_Potter_2.avi</replaceable> -ovc lavc \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3180 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:vpass=2 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3181 -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3182 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3183 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3184
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3185 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3186 The options <option>v4mv:mbd=2:trell</option> will greatly increase the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3187 quality at the expense of encoding time. There is little reason to leave
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3188 these options out when the primary goal is quality. The options
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3189 <option>cmp=3:subcmp=3</option> select a comparison function that
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3190 yields higher quality than the defaults. You might try experimenting with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3191 this parameter (refer to the man page for the possible values) as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3192 different functions can have a large impact on quality depending on the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3193 source material. For example, if you find
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3194 <systemitem class="library">libavcodec</systemitem> produces too much
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3195 blocky artifacts, you could try selecting the experimental NSSE as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3196 comparison function via <option>*cmp=10</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3197 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3198
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3199 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3200 For this movie, the resulting AVI will be 138 minutes long and nearly
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3201 3GB. And because you said that file size does not matter, this is a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3202 perfectly acceptable size. However, if you had wanted it smaller, you
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3203 could try a lower bitrate. Increasing bitrates have diminishing
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3204 returns, so while we might clearly see an improvement from 1800Kbit to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3205 2000Kbit, it might not be so noticeable above 2000Kbit. Feel
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3206 free to experiment until you are happy.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3207 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3208
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3209 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3210 Because we passed the source video through a denoise filter, you may want
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3211 to add some of it back during playback. This, along with the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3212 <option>spp</option> post-processing filter, drastically improves the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3213 perception of quality and helps eliminate blocky artifacts in the video.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3214 With <application>MPlayer</application>'s <option>autoq</option> option,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3215 you can vary the amount of post-processing done by the spp filter
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3216 depending on available CPU. Also, at this point, you may want to apply
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3217 gamma and/or color correction to best suit your display. For example:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3218 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3219 mplayer <replaceable>Harry_Potter_2.avi</replaceable> -vf spp,noise=9ah:5ah,eq2=1.2 -autoq 3
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3220 </screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3221 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3222 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3223 </sect1>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3224
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3225
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3226 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3227
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3228
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3229 <sect1 id="menc-feat-xvid">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3230 <title>Encoding with the <systemitem class="library">Xvid</systemitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3231 codec</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3232
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3233 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3234 <systemitem class="library">Xvid</systemitem> is a free library for
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3235 encoding MPEG-4 ASP video streams.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3236 Before starting to encode, you need to <link linkend="xvid">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3237 set up <application>MEncoder</application> to support it</link>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3238 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3239
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3240 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3241 This guide mainly aims at featuring the same kind of information
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3242 as x264's encoding guide.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3243 Therefore, please begin by reading
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3244 <link linkend="menc-feat-x264-encoding-options-intro">the first part</link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3245 of that guide.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3246 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3247
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3248 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3249
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3250 <sect2 id="menc-feat-xvid-intro">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3251 <title>What options should I use to get the best results?</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3252
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3253 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3254 Please begin by reviewing the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3255 <systemitem class="library">Xvid</systemitem> section of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3256 <application>MPlayer</application>'s man page.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3257 This section is intended to be a supplement to the man page.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3258 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3259
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3260 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3261 The Xvid default settings are already a good tradeoff between
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3262 speed and quality, therefore you can safely stick to them if
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3263 the following section puzzles you.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3264 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3265 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3266
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3267 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3268
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3269 <sect2 id="menc-feat-xvid-encoding-options">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3270 <title>Encoding options of <systemitem class="library">Xvid</systemitem></title>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3271
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3272 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3273 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3274 <emphasis role="bold">vhq</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3275 This setting affects the macroblock decision algorithm, where the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3276 higher the setting, the wiser the decision.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3277 The default setting may be safely used for every encode, while
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3278 higher settings always help PSNR but are significantly slower.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3279 Please note that a better PSNR does not necessarily mean
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3280 that the picture will look better, but tells you that it is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3281 closer to the original.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3282 Turning it off will noticeably speed up encoding; if speed is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3283 critical for you, the tradeoff may be worth it.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3284 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3285 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3286 <emphasis role="bold">bvhq</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3287 This does the same job as vhq, but does it on B-frames.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3288 It has a negligible impact on speed, and slightly improves quality
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3289 (around +0.1dB PSNR).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3290 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3291 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3292 <emphasis role="bold">max_bframes</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3293 A higher number of consecutive allowed B-frames usually improves
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3294 compressibility, although it may also lead to more blocking artifacts.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3295 The default setting is a good tradeoff between compressibility and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3296 quality, but you may increase it up to 3 if you are bitrate-starved.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3297 You may also decrease it to 1 or 0 if you are aiming at perfect
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3298 quality, though in that case you should make sure your
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3299 target bitrate is high enough to ensure that the encoder does not
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3300 have to increase quantizers to reach it.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3301 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3302 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3303 <emphasis role="bold">bf_threshold</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3304 This controls the B-frame sensitivity of the encoder, where a higher
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3305 value leads to more B-frames being used (and vice versa).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3306 This setting is to be used together with <option>max_bframes</option>;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3307 if you are bitrate-starved, you should increase both
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3308 <option>max_bframes</option> and <option>bf_threshold</option>,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3309 while you may increase <option>max_bframes</option> and reduce
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3310 <option>bf_threshold</option> so that the encoder may use more
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3311 B-frames in places that only <emphasis role="bold">really</emphasis>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3312 need them.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3313 A low number of <option>max_bframes</option> and a high value of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3314 <option>bf_threshold</option> is probably not a wise choice as it
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3315 will force the encoder to put B-frames in places that would not
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3316 benefit from them, therefore reducing visual quality.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3317 However, if you need to be compatible with standalone players that
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3318 only support old DivX profiles (which only supports up to 1
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3319 consecutive B-frame), this would be your only way to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3320 increase compressibility through using B-frames.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3321 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3322 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3323 <emphasis role="bold">trellis</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3324 Optimizes the quantization process to get an optimal tradeoff
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3325 between PSNR and bitrate, which allows significant bit saving.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3326 These bits will in return be spent elsewhere on the video,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3327 raising overall visual quality.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3328 You should always leave it on as its impact on quality is huge.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3329 Even if you are looking for speed, do not disable it until you
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3330 have turned down <option>vhq</option> and all other more
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3331 CPU-hungry options to the minimum.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3332 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3333 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3334 <emphasis role="bold">hq_ac</emphasis>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3335 Activates a better coefficient cost estimation method, which slightly
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3336 reduces file size by around 0.15 to 0.19% (which corresponds to less
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3337 than 0.01dB PSNR increase), while having a negligible impact on speed.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3338 It is therefore recommended to always leave it on.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3339 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3340 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3341 <emphasis role="bold">cartoon</emphasis>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3342 Designed to better encode cartoon content, and has no impact on
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3343 speed as it just tunes the mode decision heuristics for this type
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3344 of content.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3345 </para></listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3346 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3347 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3348 <emphasis role="bold">me_quality</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3349 This setting is to control the precision of the motion estimation.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3350 The higher <option>me_quality</option>, the more
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3351 precise the estimation of the original motion will be, and the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3352 better the resulting clip will capture the original motion.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3353 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3354 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3355 The default setting is best in all cases;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3356 thus it is not recommended to turn it down unless you are
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3357 really looking for speed, as all the bits saved by a good motion
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3358 estimation would be spent elsewhere, raising overall quality.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3359 Therefore, do not go any lower than 5, and even that only as a last
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3360 resort.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3361 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3362 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3363 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3364 <emphasis role="bold">chroma_me</emphasis>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3365 Improves motion estimation by also taking the chroma (color)
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3366 information into account, whereas <option>me_quality</option>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3367 alone only uses luma (grayscale).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3368 This slows down encoding by 5-10% but improves visual quality
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3369 quite a bit by reducing blocking effects and reduces file size by
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3370 around 1.3%.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3371 If you are looking for speed, you should disable this option before
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3372 starting to consider reducing <option>me_quality</option>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3373 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3374 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3375 <emphasis role="bold">chroma_opt</emphasis>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3376 Is intended to increase chroma image quality around pure
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3377 white/black edges, rather than improving compression.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3378 This can help to reduce the "red stairs" effect.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3379 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3380 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3381 <emphasis role="bold">lumi_mask</emphasis>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3382 Tries to give less bitrate to part of the picture that the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3383 human eye cannot see very well, which should allow the encoder
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3384 to spend the saved bits on more important parts of the picture.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3385 The quality of the encode yielded by this option highly depends
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3386 on personal preferences and on the type and monitor settings
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3387 used to watch it (typically, it will not look as good if it is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3388 bright or if it is a TFT monitor).
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3389 </para></listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3390 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3391 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3392 <emphasis role="bold">qpel</emphasis>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3393 Raise the number of candidate motion vectors by increasing
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3394 the precision of the motion estimation from halfpel to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3395 quarterpel.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3396 The idea is to find better motion vectors which will in return
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3397 reduce bitrate (hence increasing quality).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3398 However, motion vectors with quarterpel precision require a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3399 few extra bits to code, but the candidate vectors do not always
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3400 give (much) better results.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3401 Quite often, the codec still spends bits on the extra precision,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3402 but little or no extra quality is gained in return.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3403 Unfortunately, there is no way to foresee the possible gains of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3404 <option>qpel</option>, so you need to actually encode with and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3405 without it to know for sure.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3406 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3407 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3408 <option>qpel</option> can be almost double encoding time, and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3409 requires as much as 25% more processing power to decode.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3410 It is not supported by all standalone players.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3411 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3412 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3413 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3414 <emphasis role="bold">gmc</emphasis>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3415 Tries to save bits on panning scenes by using a single motion
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3416 vector for the whole frame.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3417 This almost always raises PSNR, but significantly slows down
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3418 encoding (as well as decoding).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3419 Therefore, you should only use it when you have turned
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3420 <option>vhq</option> to the maximum.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3421 <systemitem class="library">Xvid</systemitem>'s GMC is more
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3422 sophisticated than DivX's, but is only supported by few
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3423 standalone players.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3424 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3425 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3426 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3427
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3428 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3429
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3430 <sect2 id="menc-feat-xvid-encoding-profiles">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3431 <title>Encoding profiles</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3432
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3433 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3434 Xvid supports encoding profiles through the <option>profile</option> option,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3435 which are used to impose restrictions on the properties of the Xvid video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3436 stream such that it will be playable on anything which supports the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3437 chosen profile.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3438 The restrictions relate to resolutions, bitrates and certain MPEG-4
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3439 features.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3440 The following table shows what each profile supports.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3441 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3442
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3443 <informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3444 <tgroup cols="16" align="center">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3445 <colspec colnum="1" colname="col1"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3446 <colspec colnum="2" colname="col2"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3447 <colspec colnum="3" colname="col3"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3448 <colspec colnum="4" colname="col4"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3449 <colspec colnum="5" colname="col5"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3450 <colspec colnum="6" colname="col6"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3451 <colspec colnum="7" colname="col7"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3452 <colspec colnum="8" colname="col8"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3453 <colspec colnum="9" colname="col9"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3454 <colspec colnum="10" colname="col10"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3455 <colspec colnum="11" colname="col11"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3456 <colspec colnum="12" colname="col12"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3457 <colspec colnum="13" colname="col13"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3458 <colspec colnum="14" colname="col14"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3459 <colspec colnum="15" colname="col15"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3460 <colspec colnum="16" colname="col16"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3461 <colspec colnum="17" colname="col17"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3462 <spanspec spanname="spa2-5" namest="col2" nameend="col5"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3463 <spanspec spanname="spa6-11" namest="col6" nameend="col11"/>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3464 <spanspec spanname="spa12-17" namest="col12" nameend="col17"/>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3465 <tbody>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3466 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3467 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3468 <entry spanname="spa2-5">Simple</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3469 <entry spanname="spa6-11">Advanced Simple</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3470 <entry spanname="spa12-17">DivX</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3471 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3472 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3473 <entry>Profile name</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3474 <entry>0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3475 <entry>1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3476 <entry>2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3477 <entry>3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3478 <entry>0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3479 <entry>1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3480 <entry>2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3481 <entry>3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3482 <entry>4</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3483 <entry>5</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3484 <entry>Handheld</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3485 <entry>Portable NTSC</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3486 <entry>Portable PAL</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3487 <entry>Home Theater NTSC</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3488 <entry>Home Theater PAL</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3489 <entry>HDTV</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3490 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3491 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3492 <entry>Width [pixels]</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3493 <entry>176</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3494 <entry>176</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3495 <entry>352</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3496 <entry>352</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3497 <entry>176</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3498 <entry>176</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3499 <entry>352</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3500 <entry>352</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3501 <entry>352</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3502 <entry>720</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3503 <entry>176</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3504 <entry>352</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3505 <entry>352</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3506 <entry>720</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3507 <entry>720</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3508 <entry>1280</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3509 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3510 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3511 <entry>Height [pixels]</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3512 <entry>144</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3513 <entry>144</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3514 <entry>288</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3515 <entry>288</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3516 <entry>144</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3517 <entry>144</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3518 <entry>288</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3519 <entry>288</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3520 <entry>576</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3521 <entry>576</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3522 <entry>144</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3523 <entry>240</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3524 <entry>288</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3525 <entry>480</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3526 <entry>576</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3527 <entry>720</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3528 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3529 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3530 <entry>Frame rate [fps]</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3531 <entry>15</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3532 <entry>15</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3533 <entry>15</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3534 <entry>15</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3535 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3536 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3537 <entry>15</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3538 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3539 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3540 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3541 <entry>15</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3542 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3543 <entry>25</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3544 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3545 <entry>25</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3546 <entry>30</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3547 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3548 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3549 <entry>Max average bitrate [kbps]</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3550 <entry>64</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3551 <entry>64</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3552 <entry>128</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3553 <entry>384</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3554 <entry>128</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3555 <entry>128</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3556 <entry>384</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3557 <entry>768</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3558 <entry>3000</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3559 <entry>8000</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3560 <entry>537.6</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3561 <entry>4854</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3562 <entry>4854</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3563 <entry>4854</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3564 <entry>4854</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3565 <entry>9708.4</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3566 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3567 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3568 <entry>Peak average bitrate over 3 secs [kbps]</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3569 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3570 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3571 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3572 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3573 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3574 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3575 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3576 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3577 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3578 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3579 <entry>800</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3580 <entry>8000</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3581 <entry>8000</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3582 <entry>8000</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3583 <entry>8000</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3584 <entry>16000</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3585 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3586 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3587 <entry>Max. B-frames</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3588 <entry>0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3589 <entry>0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3590 <entry>0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3591 <entry>0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3592 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3593 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3594 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3595 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3596 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3597 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3598 <entry>0</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3599 <entry>1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3600 <entry>1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3601 <entry>1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3602 <entry>1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3603 <entry>2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3604 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3605 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3606 <entry>MPEG quantization</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3607 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3608 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3609 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3610 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3611 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3612 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3613 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3614 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3615 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3616 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3617 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3618 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3619 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3620 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3621 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3622 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3623 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3624 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3625 <entry>Adaptive quantization</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3626 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3627 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3628 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3629 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3630 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3631 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3632 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3633 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3634 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3635 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3636 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3637 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3638 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3639 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3640 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3641 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3642 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3643 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3644 <entry>Interlaced encoding</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3645 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3646 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3647 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3648 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3649 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3650 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3651 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3652 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3653 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3654 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3655 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3656 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3657 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3658 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3659 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3660 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3661 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3662 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3663 <entry>Quarterpixel</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3664 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3665 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3666 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3667 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3668 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3669 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3670 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3671 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3672 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3673 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3674 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3675 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3676 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3677 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3678 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3679 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3680 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3681 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3682 <entry>Global motion compensation</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3683 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3684 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3685 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3686 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3687 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3688 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3689 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3690 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3691 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3692 <entry>X</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3693 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3694 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3695 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3696 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3697 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3698 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3699 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3700 </tbody>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3701 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3702 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3703 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3704
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3705 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3706
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3707 <sect2 id="menc-feat-xvid-example-settings">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3708 <title>Encoding setting examples</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3709
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3710 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3711 The following settings are examples of different encoding
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3712 option combinations that affect the speed vs quality tradeoff
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3713 at the same target bitrate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3714 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3715
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3716 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3717 All the encoding settings were tested on a 720x448 @30000/1001 fps
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3718 video sample, the target bitrate was 900kbps, and the machine was an
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3719 AMD-64 3400+ at 2400 MHz in 64 bits mode.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3720 Each encoding setting features the measured encoding speed (in
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3721 frames per second) and the PSNR loss (in dB) compared to the "very
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3722 high quality" setting.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3723 Please understand that depending on your source, your machine type
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3724 and development advancements, you may get very different results.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3725 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3726
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3727 <informaltable frame="all">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3728 <tgroup cols="4">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3729 <thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3730 <row><entry>Description</entry><entry>Encoding options</entry><entry>speed (in fps)</entry><entry>Relative PSNR loss (in dB)</entry></row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3731 </thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3732 <tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3733 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3734 <entry>Very high quality</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3735 <entry><option>chroma_opt:vhq=4:bvhq=1:quant_type=mpeg</option></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3736 <entry>16fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3737 <entry>0dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3738 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3739 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3740 <entry>High quality</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3741 <entry><option>vhq=2:bvhq=1:chroma_opt:quant_type=mpeg</option></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3742 <entry>18fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3743 <entry>-0.1dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3744 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3745 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3746 <entry>Fast</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3747 <entry><option>turbo:vhq=0</option></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3748 <entry>28fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3749 <entry>-0.69dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3750 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3751 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3752 <entry>Realtime</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3753 <entry><option>turbo:nochroma_me:notrellis:max_bframes=0:vhq=0</option></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3754 <entry>38fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3755 <entry>-1.48dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3756 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3757 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3758 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3759 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3760 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3761 </sect1>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3762
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3763
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3764 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3765
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3766
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3767 <sect1 id="menc-feat-x264">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3768 <title>Encoding with the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3769 <systemitem class="library">x264</systemitem> codec</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3770
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3771 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3772 <systemitem class="library">x264</systemitem> is a free library for
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3773 encoding H.264/AVC video streams.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3774 Before starting to encode, you need to
28482
eb0903e395ba partial sync with obsolete section removal
diego
parents: 28000
diff changeset
3775 <link linkend="x264">set up <application>MEncoder</application> to support it</link>.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3776 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3777
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3778 <!-- ********** -->
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3779
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3780 <sect2 id="menc-feat-x264-encoding-options">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3781 <title>Encoding options of x264</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3782
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3783 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3784 Please begin by reviewing the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3785 <systemitem class="library">x264</systemitem> section of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3786 <application>MPlayer</application>'s man page.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3787 This section is intended to be a supplement to the man page.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3788 Here you will find quick hints about which options are most
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3789 likely to interest most people. The man page is more terse,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3790 but also more exhaustive, and it sometimes offers much better
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3791 technical detail.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3792 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3793
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3794
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3795 <sect3 id="menc-feat-x264-encoding-options-intro">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3796 <title>Introduction</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3797
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3798 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3799 This guide considers two major categories of encoding options:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3800 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3801
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3802 <orderedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3803 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3804 Options which mainly trade off encoding time vs. quality
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3805 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3806 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3807 Options which may be useful for fulfilling various personal
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3808 preferences and special requirements
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3809 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3810 </orderedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3811
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3812 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3813 Ultimately, only you can decide which options are best for your
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3814 purposes. The decision for the first class of options is the simplest:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3815 you only have to decide whether you think the quality differences
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3816 justify the speed differences. For the second class of options,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3817 preferences may be far more subjective, and more factors may be
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3818 involved. Note that some of the "personal preferences and special
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3819 requirements" options can still have large impacts on speed or quality,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3820 but that is not what they are primarily useful for. A couple of the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3821 "personal preference" options may even cause changes that look better
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3822 to some people, but look worse to others.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3823 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3824
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3825 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3826 Before continuing, you need to understand that this guide uses only one
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3827 quality metric: global PSNR.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3828 For a brief explanation of what PSNR is, see
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3829 <ulink url="http://en.wikipedia.org/wiki/PSNR">the Wikipedia article on PSNR</ulink>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3830 Global PSNR is the last PSNR number reported when you include
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3831 the <option>psnr</option> option in <option>x264encopts</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3832 Any time you read a claim about PSNR, one of the assumptions
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3833 behind the claim is that equal bitrates are used.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3834 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3835
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3836 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3837 Nearly all of this guide's comments assume you are using two pass.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3838 When comparing options, there are two major reasons for using
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3839 two pass encoding.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3840 First, using two pass often gains around 1dB PSNR, which is a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3841 very big difference.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3842 Secondly, testing options by doing direct quality comparisons
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3843 with one pass encodes introduces a major confounding
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3844 factor: bitrate often varies significantly with each encode.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3845 It is not always easy to tell whether quality changes are due
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3846 mainly to changed options, or if they mostly reflect essentially
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3847 random differences in the achieved bitrate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3848 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3849 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3850
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3851
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3852 <sect3 id="menc-feat-x264-encoding-options-speedvquality">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3853 <title>Options which primarily affect speed and quality</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3854
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3855 <itemizedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3856 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3857 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3858 <emphasis role="bold">subq</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3859 Of the options which allow you to trade off speed for quality,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3860 <option>subq</option> and <option>frameref</option> (see below) are usually
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3861 by far the most important.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3862 If you are interested in tweaking either speed or quality, these
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3863 are the first options you should consider.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3864 On the speed dimension, the <option>frameref</option> and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3865 <option>subq</option> options interact with each other fairly
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3866 strongly.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3867 Experience shows that, with one reference frame,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3868 <option>subq=5</option> (the default setting) takes about 35% more time than
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3869 <option>subq=1</option>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3870 With 6 reference frames, the penalty grows to over 60%.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3871 <option>subq</option>'s effect on PSNR seems fairly constant
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3872 regardless of the number of reference frames.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3873 Typically, <option>subq=5</option> achieves 0.2-0.5 dB higher global
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3874 PSNR in comparison <option>subq=1</option>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3875 This is usually enough to be visible.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3876 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3877 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3878 <option>subq=6</option> is slower and yields better quality at a reasonable
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3879 cost.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3880 In comparison to <option>subq=5</option>, it usually gains 0.1-0.4 dB
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3881 global PSNR with speed costs varying from 25%-100%.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3882 Unlike other levels of <option>subq</option>, the behavior of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3883 <option>subq=6</option> does not depend much on <option>frameref</option>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3884 and <option>me</option>. Instead, the effectiveness of <option>subq=6
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3885 </option> depends mostly upon the number of B-frames used. In normal
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3886 usage, this means <option>subq=6</option> has a large impact on both speed
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3887 and quality in complex, high motion scenes, but it may not have much effect
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3888 in low-motion scenes. Note that it is still recommended to always set
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3889 <option>bframes</option> to something other than zero (see below).
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3890 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3891 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3892 <option>subq=7</option> is the slowest, highest quality mode.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3893 In comparison to <option>subq=6</option>, it usually gains 0.01-0.05 dB
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3894 global PSNR with speed costs varying from 15%-33%.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3895 Since the tradeoff encoding time vs. quality is quite low, you should
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3896 only use it if you are after every bit saving and if encoding time is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3897 not an issue.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3898 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3899 </listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3900 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3901 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3902 <emphasis role="bold">frameref</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3903 <option>frameref</option> is set to 1 by default, but this
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3904 should not be taken to imply that it is reasonable to set it to 1.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3905 Merely raising <option>frameref</option> to 2 gains around
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3906 0.15dB PSNR with a 5-10% speed penalty; this seems like a good tradeoff.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3907 <option>frameref=3</option> gains around 0.25dB PSNR over
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3908 <option>frameref=1</option>, which should be a visible difference.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3909 <option>frameref=3</option> is around 15% slower than
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3910 <option>frameref=1</option>.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3911 Unfortunately, diminishing returns set in rapidly.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3912 <option>frameref=6</option> can be expected to gain only
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3913 0.05-0.1 dB over <option>frameref=3</option> at an additional
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3914 15% speed penalty.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3915 Above <option>frameref=6</option>, the quality gains are
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3916 usually very small (although you should keep in mind throughout
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3917 this whole discussion that it can vary quite a lot depending on your source).
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3918 In a fairly typical case, <option>frameref=12</option>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3919 will improve global PSNR by a tiny 0.02dB over
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3920 <option>frameref=6</option>, at a speed cost of 15%-20%.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3921 At such high <option>frameref</option> values, the only really
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3922 good thing that can be said is that increasing it even further will
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3923 almost certainly never <emphasis role="bold">harm</emphasis>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3924 PSNR, but the additional quality benefits are barely even
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3925 measurable, let alone perceptible.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3926 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3927 <note><title>Note:</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3928 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3929 Raising <option>frameref</option> to unnecessarily high values
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3930 <emphasis role="bold">can</emphasis> and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3931 <emphasis role="bold">usually does</emphasis>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3932 hurt coding efficiency if you turn CABAC off.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3933 With CABAC on (the default behavior), the possibility of setting
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3934 <option>frameref</option> "too high" currently seems too remote
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3935 to even worry about, and in the future, optimizations may remove
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3936 the possibility altogether.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3937 </para></note>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3938 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3939 If you care about speed, a reasonable compromise is to use low
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3940 <option>subq</option> and <option>frameref</option> values on
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3941 the first pass, and then raise them on the second pass.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3942 Typically, this has a negligible negative effect on the final
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3943 quality: You will probably lose well under 0.1dB PSNR, which
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3944 should be much too small of a difference to see.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3945 However, different values of <option>frameref</option> can
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3946 occasionally affect frame type decision.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3947 Most likely, these are rare outlying cases, but if you want to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3948 be pretty sure, consider whether your video has either
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3949 fullscreen repetitive flashing patterns or very large temporary
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3950 occlusions which might force an I-frame.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3951 Adjust the first-pass <option>frameref</option> so it is large
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3952 enough to contain the duration of the flashing cycle (or occlusion).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3953 For example, if the scene flashes back and forth between two images
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3954 over a duration of three frames, set the first pass
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3955 <option>frameref</option> to 3 or higher.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3956 This issue is probably extremely rare in live action video material,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3957 but it does sometimes come up in video game captures.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3958 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3959 </listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3960 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3961 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3962 <emphasis role="bold">me</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3963 This option is for choosing the motion estimation search method.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3964 Altering this option provides a straightforward quality-vs-speed
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3965 tradeoff. <option>me=dia</option> is only a few percent faster than
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
3966 the default search, at a cost of under 0.1dB global PSNR. The
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3967 default setting (<option>me=hex</option>) is a reasonable tradeoff
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3968 between speed and quality. <option>me=umh</option> gains a little under
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3969 0.1dB global PSNR, with a speed penalty that varies depending on
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3970 <option>frameref</option>. At high values of
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3971 <option>frameref</option> (e.g. 12 or so), <option>me=umh</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3972 is about 40% slower than the default <option> me=hex</option>. With
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3973 <option>frameref=3</option>, the speed penalty incurred drops to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3974 25%-30%.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3975 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3976 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3977 <option>me=esa</option> uses an exhaustive search that is too slow for
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3978 practical use.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3979 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3980 </listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3981 <listitem><para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3982 <emphasis role="bold">partitions=all</emphasis>:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3983 This option enables the use of 8x4, 4x8 and 4x4 subpartitions in
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3984 predicted macroblocks (in addition to the default partitions).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3985 Enabling it results in a fairly consistent
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3986 10%-15% loss of speed. This option is rather useless in source
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3987 containing only low motion, however in some high-motion source,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3988 particularly source with lots of small moving objects, gains of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3989 about 0.1dB can be expected.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3990 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3991 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
3992 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3993 <emphasis role="bold">bframes</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3994 If you are used to encoding with other codecs, you may have found
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3995 that B-frames are not always useful.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3996 In H.264, this has changed: there are new techniques and block
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3997 types that are possible in B-frames.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3998 Usually, even a naive B-frame choice algorithm can have a
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
3999 significant PSNR benefit.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4000 It is interesting to note that using B-frames usually speeds up
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4001 the second pass somewhat, and may also speed up a single
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4002 pass encode if adaptive B-frame decision is turned off.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4003 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4004 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4005 With adaptive B-frame decision turned off
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4006 (<option>x264encopts</option>'s <option>nob_adapt</option>),
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4007 the optimal value for this setting is usually no more than
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4008 <option>bframes=1</option>, or else high-motion scenes can suffer.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4009 With adaptive B-frame decision on (the default behavior), it is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4010 safe to use higher values; the encoder will reduce the use of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4011 B-frames in scenes where they would hurt compression.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4012 The encoder rarely chooses to use more than 3 or 4 B-frames;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4013 setting this option any higher will have little effect.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4014 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4015 </listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4016 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4017 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4018 <emphasis role="bold">b_adapt</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4019 Note: This is on by default.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4020 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4021 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4022 With this option enabled, the encoder will use a reasonably fast
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4023 decision process to reduce the number of B-frames used in scenes that
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4024 might not benefit from them as much.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4025 You can use <option>b_bias</option> to tweak how B-frame-happy
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4026 the encoder is.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4027 The speed penalty of adaptive B-frames is currently rather modest,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4028 but so is the potential quality gain.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4029 It usually does not hurt, however.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4030 Note that this only affects speed and frame type decision on the
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4031 first pass.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4032 <option>b_adapt</option> and <option>b_bias</option> have no
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4033 effect on subsequent passes.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4034 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4035 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4036 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4037 <emphasis role="bold">b_pyramid</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4038 You might as well enable this option if you are using >=2 B-frames;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4039 as the man page says, you get a little quality improvement at no
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4040 speed cost.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4041 Note that these videos cannot be read by libavcodec-based decoders
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4042 older than about March 5, 2005.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4043 </para></listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4044 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4045 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4046 <emphasis role="bold">weight_b</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4047 In typical cases, there is not much gain with this option.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4048 However, in crossfades or fade-to-black scenes, weighted
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4049 prediction gives rather large bitrate savings.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4050 In MPEG-4 ASP, a fade-to-black is usually best coded as a series
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4051 of expensive I-frames; using weighted prediction in B-frames
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4052 makes it possible to turn at least some of these into much smaller
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4053 B-frames.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4054 Encoding time cost is minimal, as no extra decisions need to be made.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4055 Also, contrary to what some people seem to guess, the decoder
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4056 CPU requirements are not much affected by weighted prediction,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4057 all else being equal.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4058 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4059 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4060 Unfortunately, the current adaptive B-frame decision algorithm
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4061 has a strong tendency to avoid B-frames during fades.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4062 Until this changes, it may be a good idea to add
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4063 <option>nob_adapt</option> to your x264encopts, if you expect
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4064 fades to have a large effect in your particular video
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4065 clip.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4066 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4067 </listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4068 <listitem id="menc-feat-x264-encoding-options-speedvquality-threads">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4069 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4070 <emphasis role="bold">threads</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4071 This option allows to spawn threads to encode in parallel on multiple CPUs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4072 You can manually select the number of threads to be created or, better, set
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4073 <option>threads=auto</option> and let
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4074 <systemitem class="library">x264</systemitem> detect how many CPUs are
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4075 available and pick an appropriate number of threads.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4076 If you have a multi-processor machine, you should really consider using it
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4077 as it can to increase encoding speed linearly with the number of CPU cores
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4078 (about 94% per CPU core), with very little quality reduction (about 0.005dB
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4079 for dual processor, about 0.01dB for a quad processor machine).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4080 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4081 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4082 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4083 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4084
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4085
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4086 <sect3 id="menc-feat-x264-encoding-options-misc-preferences">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4087 <title>Options pertaining to miscellaneous preferences</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4088
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4089 <itemizedlist>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4090 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4091 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4092 <emphasis role="bold">Two pass encoding</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4093 Above, it was suggested to always use two pass encoding, but there
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4094 are still reasons for not using it. For instance, if you are capturing
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4095 live TV and encoding in realtime, you are forced to use single-pass.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4096 Also, one pass is obviously faster than two passes; if you use the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4097 exact same set of options on both passes, two pass encoding is almost
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4098 twice as slow.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4099 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4100 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4101 Still, there are very good reasons for using two pass encoding. For
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4102 one thing, single pass ratecontrol is not psychic, and it often makes
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4103 unreasonable choices because it cannot see the big picture. For example,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4104 suppose you have a two minute long video consisting of two distinct
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4105 halves. The first half is a very high-motion scene lasting 60 seconds
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4106 which, in isolation, requires about 2500kbps in order to look decent.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4107 Immediately following it is a much less demanding 60-second scene
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4108 that looks good at 300kbps. Suppose you ask for 1400kbps on the theory
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4109 that this is enough to accommodate both scenes. Single pass ratecontrol
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4110 will make a couple of "mistakes" in such a case. First of all, it
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4111 will target 1400kbps in both segments. The first segment may end up
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4112 heavily overquantized, causing it to look unacceptably and unreasonably
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4113 blocky. The second segment will be heavily underquantized; it may look
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4114 perfect, but the bitrate cost of that perfection will be completely
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4115 unreasonable. What is even harder to avoid is the problem at the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4116 transition between the two scenes. The first seconds of the low motion
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4117 half will be hugely over-quantized, because the ratecontrol is still
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4118 expecting the kind of bitrate requirements it met in the first half
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4119 of the video. This "error period" of heavily over-quantized low motion
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4120 will look jarringly bad, and will actually use less than the 300kbps
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4121 it would have taken to make it look decent. There are ways to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4122 mitigate the pitfalls of single-pass encoding, but they may tend to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4123 increase bitrate misprediction.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4124 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4125 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4126 Multipass ratecontrol can offer huge advantages over a single pass.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4127 Using the statistics gathered from the first pass encode, the encoder
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4128 can estimate, with reasonable accuracy, the "cost" (in bits) of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4129 encoding any given frame, at any given quantizer. This allows for
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4130 a much more rational, better planned allocation of bits between the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4131 expensive (high-motion) and cheap (low-motion) scenes. See
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4132 <option>qcomp</option> below for some ideas on how to tweak this
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4133 allocation to your liking.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4134 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4135 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4136 Moreover, two passes need not take twice as long as one pass. You can
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4137 tweak the options in the first pass for higher speed and lower quality.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4138 If you choose your options well, you can get a very fast first pass.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4139 The resulting quality in the second pass will be slightly lower because size
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4140 prediction is less accurate, but the quality difference is normally much
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4141 too small to be visible. Try, for example, adding
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4142 <option>subq=1:frameref=1</option> to the first pass
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4143 <option>x264encopts</option>. Then, on the second pass, use slower,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4144 higher-quality options:
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4145 <option>subq=6:frameref=15:partitions=all:me=umh</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4146 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4147 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4148 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4149 <emphasis role="bold">Three pass encoding</emphasis>?
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4150 x264 offers the ability to make an arbitrary number of consecutive
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4151 passes. If you specify <option>pass=1</option> on the first pass,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4152 then use <option>pass=3</option> on a subsequent pass, the subsequent
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4153 pass will both read the statistics from the previous pass, and write
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4154 its own statistics. An additional pass following this one will have
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4155 a very good base from which to make highly accurate predictions of
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4156 frame sizes at a chosen quantizer. In practice, the overall quality
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4157 gain from this is usually close to zero, and quite possibly a third
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4158 pass will result in slightly worse global PSNR than the pass before
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4159 it. In typical usage, three passes help if you get either bad bitrate
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4160 prediction or bad looking scene transitions when using only two passes.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4161 This is somewhat likely to happen on extremely short clips. There are
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4162 also a few special cases in which three (or more) passes are handy
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4163 for advanced users, but for brevity, this guide omits discussing those
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4164 special cases.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4165 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4166 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4167 <emphasis role="bold">qcomp</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4168 <option>qcomp</option> trades off the number of bits allocated
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4169 to "expensive" high-motion versus "cheap" low-motion frames. At
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4170 one extreme, <option>qcomp=0</option> aims for true constant
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4171 bitrate. Typically this would make high-motion scenes look completely
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4172 awful, while low-motion scenes would probably look absolutely
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4173 perfect, but would also use many times more bitrate than they
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4174 would need in order to look merely excellent. At the other extreme,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4175 <option>qcomp=1</option> achieves nearly constant quantization parameter
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4176 (QP). Constant QP does not look bad, but most people think it is more
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4177 reasonable to shave some bitrate off of the extremely expensive scenes
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4178 (where the loss of quality is not as noticeable) and reallocate it to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4179 the scenes that are easier to encode at excellent quality.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4180 <option>qcomp</option> is set to 0.6 by default, which may be slightly
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4181 low for many peoples' taste (0.7-0.8 are also commonly used).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4182 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4183 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4184 <emphasis role="bold">keyint</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4185 <option>keyint</option> is solely for trading off file seekability against
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4186 coding efficiency. By default, <option>keyint</option> is set to 250. In
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4187 25fps material, this guarantees the ability to seek to within 10 seconds
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4188 precision. If you think it would be important and useful to be able to
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4189 seek within 5 seconds of precision, set <option>keyint=125</option>;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4190 this will hurt quality/bitrate slightly. If you care only about quality
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4191 and not about seekability, you can set it to much higher values
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4192 (understanding that there are diminishing returns which may become
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4193 vanishingly low, or even zero). The video stream will still have seekable
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4194 points as long as there are some scene changes.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4195 </para></listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4196 <listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4197 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4198 <emphasis role="bold">deblock</emphasis>:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4199 This topic is going to be a bit controversial.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4200 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4201 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4202 H.264 defines a simple deblocking procedure on I-blocks that uses
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4203 pre-set strengths and thresholds depending on the QP of the block
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4204 in question.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4205 By default, high QP blocks are filtered heavily, and low QP blocks
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4206 are not deblocked at all.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4207 The pre-set strengths defined by the standard are well-chosen and
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4208 the odds are very good that they are PSNR-optimal for whatever
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4209 video you are trying to encode.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4210 The <option>deblock</option> allow you to specify offsets to the preset
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4211 deblocking thresholds.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4212 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4213 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4214 Many people seem to think it is a good idea to lower the deblocking
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4215 filter strength by large amounts (say, -3).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4216 This is however almost never a good idea, and in most cases,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4217 people who are doing this do not understand very well how
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4218 deblocking works by default.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4219 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4220 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4221 The first and most important thing to know about the in-loop
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4222 deblocking filter is that the default thresholds are almost always
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4223 PSNR-optimal.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4224 In the rare cases that they are not optimal, the ideal offset is
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4225 plus or minus 1.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4226 Adjusting deblocking parameters by a larger amount is almost
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4227 guaranteed to hurt PSNR.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4228 Strengthening the filter will smear more details; weakening the
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4229 filter will increase the appearance of blockiness.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4230 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4231 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4232 It is definitely a bad idea to lower the deblocking thresholds if
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4233 your source is mainly low in spacial complexity (i.e., not a lot
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4234 of detail or noise).
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4235 The in-loop filter does a rather excellent job of concealing
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4236 the artifacts that occur.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4237 If the source is high in spacial complexity, however, artifacts
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4238 are less noticeable.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4239 This is because the ringing tends to look like detail or noise.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4240 Human visual perception easily notices when detail is removed,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4241 but it does not so easily notice when the noise is wrongly
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4242 represented.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4243 When it comes to subjective quality, noise and detail are somewhat
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4244 interchangeable.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4245 By lowering the deblocking filter strength, you are most likely
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4246 increasing error by adding ringing artifacts, but the eye does
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4247 not notice because it confuses the artifacts with detail.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4248 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4249 <para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4250 This <emphasis role="bold">still</emphasis> does not justify
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4251 lowering the deblocking filter strength, however.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4252 You can generally get better quality noise from postprocessing.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4253 If your H.264 encodes look too blurry or smeared, try playing with
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4254 <option>-vf noise</option> when you play your encoded movie.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4255 <option>-vf noise=8a:4a</option> should conceal most mild
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4256 artifacts.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4257 It will almost certainly look better than the results you
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4258 would have gotten just by fiddling with the deblocking filter.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4259 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4260 </listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4261 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4262 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4263 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4264
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4265 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4266
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4267 <sect2 id="menc-feat-x264-example-settings">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4268 <title>Encoding setting examples</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4269
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4270 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4271 The following settings are examples of different encoding
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4272 option combinations that affect the speed vs quality tradeoff
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4273 at the same target bitrate.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4274 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4275
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4276 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4277 All the encoding settings were tested on a 720x448 @30000/1001 fps
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4278 video sample, the target bitrate was 900kbps, and the machine was an
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4279 AMD-64 3400+ at 2400 MHz in 64 bits mode.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4280 Each encoding setting features the measured encoding speed (in
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4281 frames per second) and the PSNR loss (in dB) compared to the "very
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4282 high quality" setting.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4283 Please understand that depending on your source, your machine type
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4284 and development advancements, you may get very different results.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4285 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4286
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4287 <informaltable frame="all">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4288 <tgroup cols="4">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4289 <thead>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4290 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4291 <entry>Description</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4292 <entry>Encoding options</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4293 <entry>speed (in fps)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4294 <entry>Relative PSNR loss (in dB)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4295 </row>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4296 </thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4297 <tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4298 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4299 <entry>Very high quality</entry>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4300 <entry><option>subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b</option></entry>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4301 <entry>6fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4302 <entry>0dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4303 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4304 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4305 <entry>High quality</entry>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4306 <entry><option>subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b</option></entry>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4307 <entry>13fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4308 <entry>-0.89dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4309 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4310 <row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4311 <entry>Fast</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4312 <entry><option>subq=4:bframes=2:b_pyramid:weight_b</option></entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4313 <entry>17fps</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4314 <entry>-1.48dB</entry>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4315 </row>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4316 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4317 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4318 </informaltable>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4319 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4320 </sect1>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4321
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4322
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4323 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4324
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4325
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4326 <sect1 id="menc-feat-video-for-windows">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4327 <title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4328 Encoding with the <systemitem class="library">Video For Windows</systemitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4329 codec family
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4330 </title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4331
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4332 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4333 Video for Windows provides simple encoding by means of binary video codecs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4334 You can encode with the following codecs (if you have more, please tell us!)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4335 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4336
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4337 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4338 Note that support for this is very experimental and some codecs may not work
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4339 correctly. Some codecs will only work in certain colorspaces, try
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4340 <option>-vf format=bgr24</option> and <option>-vf format=yuy2</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4341 if a codec fails or gives wrong output.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4342 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4343
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4344 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4345
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4346 <sect2 id="menc-feat-enc-vfw-video-codecs">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4347 <title>Video for Windows supported codecs</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4348
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4349 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4350 <informaltable frame="all">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4351 <tgroup cols="4">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4352 <thead>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4353 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4354 <entry>Video codec file name</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4355 <entry>Description (FourCC)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4356 <entry>md5sum</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4357 <entry>Comment</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4358 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4359 </thead>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4360 <tbody>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4361 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4362 <entry>aslcodec_vfw.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4363 <entry>Alparysoft lossless codec vfw (ASLC)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4364 <entry>608af234a6ea4d90cdc7246af5f3f29a</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4365 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4366 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4367 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4368 <entry>avimszh.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4369 <entry>AVImszh (MSZH)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4370 <entry>253118fe1eedea04a95ed6e5f4c28878</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4371 <entry>needs <option>-vf format</option></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4372 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4373 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4374 <entry>avizlib.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4375 <entry>AVIzlib (ZLIB)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4376 <entry>2f1cc76bbcf6d77d40d0e23392fa8eda</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4377 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4378 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4379 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4380 <entry>divx.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4381 <entry>DivX4Windows-VFW</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4382 <entry>acf35b2fc004a89c829531555d73f1e6</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4383 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4384 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4385 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4386 <entry>huffyuv.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4387 <entry>HuffYUV (lossless) (HFYU)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4388 <entry>b74695b50230be4a6ef2c4293a58ac3b</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4389 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4390 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4391 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4392 <entry>iccvid.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4393 <entry>Cinepak Video (cvid)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4394 <entry>cb3b7ee47ba7dbb3d23d34e274895133</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4395 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4396 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4397 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4398 <entry>icmw_32.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4399 <entry>Motion Wavelets (MWV1)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4400 <entry>c9618a8fc73ce219ba918e3e09e227f2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4401 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4402 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4403 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4404 <entry>jp2avi.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4405 <entry>ImagePower MJPEG2000 (IPJ2)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4406 <entry>d860a11766da0d0ea064672c6833768b</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4407 <entry><option>-vf flip</option></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4408 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4409 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4410 <entry>m3jp2k32.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4411 <entry>Morgan MJPEG2000 (MJ2C)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4412 <entry>f3c174edcbaef7cb947d6357cdfde7ff</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4413 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4414 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4415 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4416 <entry>m3jpeg32.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4417 <entry>Morgan Motion JPEG Codec (MJPEG)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4418 <entry>1cd13fff5960aa2aae43790242c323b1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4419 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4420 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4421 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4422 <entry>mpg4c32.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4423 <entry>Microsoft MPEG-4 v1/v2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4424 <entry>b5791ea23f33010d37ab8314681f1256</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4425 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4426 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4427 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4428 <entry>tsccvid.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4429 <entry>TechSmith Camtasia Screen Codec (TSCC)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4430 <entry>8230d8560c41d444f249802a2700d1d5</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4431 <entry>shareware error on windows</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4432 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4433 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4434 <entry>vp31vfw.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4435 <entry>On2 Open Source VP3 Codec (VP31)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4436 <entry>845f3590ea489e2e45e876ab107ee7d2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4437 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4438 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4439 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4440 <entry>vp4vfw.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4441 <entry>On2 VP4 Personal Codec (VP40)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4442 <entry>fc5480a482ccc594c2898dcc4188b58f</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4443 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4444 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4445 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4446 <entry>vp6vfw.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4447 <entry>On2 VP6 Personal Codec (VP60)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4448 <entry>04d635a364243013898fd09484f913fb</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4449 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4450 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4451 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4452 <entry>vp7vfw.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4453 <entry>On2 VP7 Personal Codec (VP70)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4454 <entry>cb4cc3d4ea7c94a35f1d81c3d750bc8d</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4455 <entry><option>-ffourcc VP70</option></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4456 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4457 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4458 <entry>ViVD2.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4459 <entry>SoftMedia ViVD V2 codec VfW (GXVE)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4460 <entry>a7b4bf5cac630bb9262c3f80d8a773a1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4461 <entry></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4462 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4463 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4464 <entry>msulvc06.DLL</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4465 <entry>MSU Lossless codec (MSUD)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4466 <entry>294bf9288f2f127bb86f00bfcc9ccdda</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4467 <entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4468 Decodable by <application>Window Media Player</application>,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4469 not <application>MPlayer</application> (yet).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4470 </entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4471 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4472 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4473 <entry>camcodec.dll</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4474 <entry>CamStudio lossless video codec (CSCD)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4475 <entry>0efe97ce08bb0e40162ab15ef3b45615</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4476 <entry>sf.net/projects/camstudio</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4477 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4478 </tbody>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4479 </tgroup>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4480 </informaltable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4481
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4482 The first column contains the codec names that should be passed after the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4483 <literal>codec</literal> parameter,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4484 like: <option>-xvfwopts codec=divx.dll</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4485 The FourCC code used by each codec is given in the parentheses.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4486 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4487
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4488 <informalexample>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4489 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4490 An example to convert an ISO DVD trailer to a VP6 flash video file
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4491 using compdata bitrate settings:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4492 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4493 mencoder -dvd-device <replaceable>zeiram.iso</replaceable> dvd://7 -o <replaceable>trailer.flv</replaceable> \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4494 -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -oac mp3lame \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4495 -lameopts cbr:br=64 -af lavcresample=22050 -vf yadif,scale=320:240,flip \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4496 -of lavf
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4497 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4498 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4499 </informalexample>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4500 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4501
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4502 <sect2 id="menc-feat-video-for-windows-bitrate-settings">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4503 <title>Using vfw2menc to create a codec settings file.</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4504
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4505 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4506 To encode with the Video for Windows codecs, you will need to set bitrate
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4507 and other options. This is known to work on x86 on both *NIX and Windows.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4508 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4509 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4510 First you must build the <application>vfw2menc</application> program.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4511 It is located in the <filename class="directory">TOOLS</filename> subdirectory
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4512 of the MPlayer source tree.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4513 To build on Linux, this can be done using <application>Wine</application>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4514 <screen>winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4515
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4516 To build on Windows in <application>MinGW</application> or
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4517 <application>Cygwin</application> use:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4518 <screen>gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4519
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4520 To build on <application>MSVC</application> you will need getopt.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4521 Getopt can be found in the original <application>vfw2menc</application>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4522 archive available at:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4523 The <ulink url="http://oss.netfarm.it/mplayer-win32.php">MPlayer on win32</ulink> project.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4524 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4525 <informalexample>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4526 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4527 Below is an example with the VP6 codec.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4528 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4529 vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4530 </screen>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4531 This will open the VP6 codec dialog window.
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4532 Repeat this step for the second pass
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4533 and use <option>-s <replaceable>secondpass.mcf</replaceable></option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4534 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4535 </informalexample>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4536 <para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4537 Windows users can use
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4538 <option>-xvfwopts codec=vp6vfw.dll:compdata=dialog</option> to have
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4539 the codec dialog display before encoding starts.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4540 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4541 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4542 </sect1>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4543
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4544
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4545 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4546
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4547
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4548 <sect1 id="menc-feat-quicktime-7">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4549 <title>Using <application>MEncoder</application> to create
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4550 <application>QuickTime</application>-compatible files</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4551
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4552
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4553 <sect2 id="menc-feat-quicktime-7-why-use-it">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4554 <title>Why would one want to produce <application>QuickTime</application>-compatible Files?</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4555
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4556 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4557 There are several reasons why producing
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4558 <application>QuickTime</application>-compatible files can be desirable.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4559 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4560 <itemizedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4561 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4562 You want any computer illiterate to be able to watch your encode on
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4563 any major platform (Windows, Mac OS X, Unices &hellip;).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4564 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4565 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4566 <application>QuickTime</application> is able to take advantage of more
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4567 hardware and software acceleration features of Mac OS X than
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4568 platform-independent players like <application>MPlayer</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4569 or <application>VLC</application>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4570 That means that your encodes have a chance to be played smoothly by older
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4571 G4-powered machines.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4572 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4573 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4574 <application>QuickTime</application> 7 supports the next-generation codec H.264,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4575 which yields significantly better picture quality than previous codec
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4576 generations (MPEG-2, MPEG-4 &hellip;).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4577 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4578 </itemizedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4579 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4580
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4581 <sect2 id="menc-feat-quicktime-7-constraints">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4582 <title><application>QuickTime</application> 7 limitations</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4583
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4584 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4585 <application>QuickTime</application> 7 supports H.264 video and AAC audio,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4586 but it does not support them muxed in the AVI container format.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4587 However, you can use <application>MEncoder</application> to encode
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4588 the video and audio, and then use an external program such as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4589 <application>mp4creator</application> (part of the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4590 <ulink url="http://mpeg4ip.sourceforge.net/">MPEG4IP suite</ulink>)
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4591 to remux the video and audio tracks into an MP4 container.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4592 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4593
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4594 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4595 <application>QuickTime</application>'s support for H.264 is limited,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4596 so you will need to drop some advanced features.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4597 If you encode your video with features that
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4598 <application>QuickTime</application> 7 does not support,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4599 <application>QuickTime</application>-based players will show you a pretty
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4600 white screen instead of your expected video.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4601 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4602
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4603 <itemizedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4604 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4605 <emphasis role="bold">B-frames</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4606 <application>QuickTime</application> 7 supports a maximum of 1 B-frame, i.e.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4607 <option>-x264encopts bframes=1</option>. This means that
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4608 <option>b_pyramid</option> and <option>weight_b</option> will have no
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4609 effect, since they require <option>bframes</option> to be greater than 1.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4610 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4611 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4612 <emphasis role="bold">Macroblocks</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4613 <application>QuickTime</application> 7 does not support 8x8 DCT macroblocks.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4614 This option (<option>8x8dct</option>) is off by default, so just be sure
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4615 not to explicitly enable it. This also means that the <option>i8x8</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4616 option will have no effect, since it requires <option>8x8dct</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4617 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4618 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4619 <emphasis role="bold">Aspect ratio</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4620 <application>QuickTime</application> 7 does not support SAR (sample
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4621 aspect ratio) information in MPEG-4 files; it assumes that SAR=1. Read
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4622 <link linkend="menc-feat-quicktime-7-scale">the section on scaling</link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4623 for a workaround.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4624 </para></listitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4625 </itemizedlist>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4626
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4627 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4628
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4629 <sect2 id="menc-feat-quicktime-7-crop">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4630 <title>Cropping</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4631 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4632 Suppose you want to rip your freshly bought copy of "The Chronicles of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4633 Narnia". Your DVD is region 1,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4634 which means it is NTSC. The example below would still apply to PAL,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4635 except you would omit <option>-ofps 24000/1001</option> and use slightly
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4636 different <option>crop</option> and <option>scale</option> dimensions.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4637 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4638
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4639 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4640 After running <option>mplayer dvd://1</option>, you follow the process
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4641 detailed in the section <link linkend="menc-feat-telecine">How to deal
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4642 with telecine and interlacing in NTSC DVDs</link> and discover that it is
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4643 24000/1001 fps progressive video. This simplifies the process somewhat,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4644 since you do not need to use an inverse telecine filter such as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4645 <option>pullup</option> or a deinterlacing filter such as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4646 <option>yadif</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4647 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4648
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4649 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4650 Next, you need to crop out the black bars from the top and bottom of the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4651 video, as detailed in <link linkend="menc-feat-dvd-mpeg4-example-crop">this</link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4652 previous section.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4653 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4654
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4655 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4656
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4657 <sect2 id="menc-feat-quicktime-7-scale">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4658 <title>Scaling</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4659
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4660 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4661 The next step is truly heartbreaking.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4662 <application>QuickTime</application> 7 does not support MPEG-4 videos
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4663 with a sample aspect ratio other than 1, so you will need to upscale
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4664 (which wastes a lot of disk space) or downscale (which loses some
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4665 details of the source) the video to square pixels.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4666 Either way you do it, this is highly inefficient, but simply cannot
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4667 be avoided if you want your video to be playable by
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4668 <application>QuickTime</application> 7.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4669 <application>MEncoder</application> can apply the appropriate upscaling
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4670 or downscaling by specifying respectively <option>-vf scale=-10:-1</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4671 or <option>-vf scale=-1:-10</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4672 This will scale your video to the correct width for the cropped height,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4673 rounded to the closest multiple of 16 for optimal compression.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4674 Remember that if you are cropping, you should crop first, then scale:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4675
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4676 <screen>-vf crop=720:352:0:62,scale=-10:-1</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4677 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4678
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4679 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4680
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4681 <sect2 id="menc-feat-quicktime-7-avsync">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4682 <title>A/V sync</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4683
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4684 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4685 Because you will be remuxing into a different container, you should
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4686 always use the <option>harddup</option> option to ensure that duplicated
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4687 frames are actually duplicated in the video output. Without this option,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4688 <application>MEncoder</application> will simply put a marker in the video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4689 stream that a frame was duplicated, and rely on the client software to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4690 show the same frame twice. Unfortunately, this "soft duplication" does
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4691 not survive remuxing, so the audio would slowly lose sync with the video.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4692 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4693
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4694 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4695 The final filter chain looks like this:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4696 <screen>-vf crop=720:352:0:62,scale=-10:-1,harddup</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4697 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4698
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4699 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4700
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4701 <sect2 id="menc-feat-quicktime-7-bitrate">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4702 <title>Bitrate</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4703
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4704 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4705 As always, the selection of bitrate is a matter of the technical properties
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4706 of the source, as explained
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4707 <link linkend="menc-feat-dvd-mpeg4-resolution-bitrate">here</link>, as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4708 well as a matter of taste.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4709 This movie has a fair bit of action and lots of detail, but H.264 video
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4710 looks good at much lower bitrates than XviD or other MPEG-4 codecs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4711 After much experimentation, the author of this guide chose to encode
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4712 this movie at 900kbps, and thought that it looked very good.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4713 You may decrease bitrate if you need to save more space, or increase
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4714 it if you need to improve quality.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4715 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4716
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4717 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4718
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4719 <sect2 id="menc-feat-quicktime-7-example">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4720 <title>Encoding example</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4721
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4722 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4723 You are now ready to encode the video. Since you care about
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4724 quality, of course you will be doing a two-pass encode. To shave off
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4725 some encoding time, you can specify the <option>turbo</option> option
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4726 on the first pass; this reduces <option>subq</option> and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4727 <option>frameref</option> to 1. To save some disk space, you can
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4728 use the <option>ss</option> option to strip off the first few seconds
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4729 of the video. (I found that this particular movie has 32 seconds of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4730 credits and logos.) <option>bframes</option> can be 0 or 1.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4731 The other options are documented in <link
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4732 linkend="menc-feat-x264-encoding-options-speedvquality">Encoding with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4733 the <systemitem class="library">x264</systemitem> codec</link> and
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4734 the man page.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4735
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4736 <screen>mencoder dvd://1 -o /dev/null -ss 32 -ovc x264 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4737 -x264encopts pass=1:turbo:bitrate=900:bframes=1:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4738 me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4739 -vf crop=720:352:0:62,scale=-10:-1,harddup \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4740 -oac faac -faacopts br=192:mpeg=4:object=2 -channels 2 -srate 48000 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4741 -ofps 24000/1001</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4742
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4743 If you have a multi-processor machine, don't miss the opportunity to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4744 dramatically speed-up encoding by enabling
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4745 <link linkend="menc-feat-x264-encoding-options-speedvquality-threads">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4746 <systemitem class="library">x264</systemitem>'s multi-threading mode</link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4747 by adding <option>threads=auto</option> to your <option>x264encopts</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4748 command-line.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4749 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4750
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4751 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4752 The second pass is the same, except that you specify the output file
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4753 and set <option>pass=2</option>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4754
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4755 <screen>mencoder dvd://1 <emphasis role="bold">-o narnia.avi</emphasis> -ss 32 -ovc x264 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4756 -x264encopts <emphasis role="bold">pass=2</emphasis>:turbo:bitrate=900:frameref=5:bframes=1:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4757 me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4758 -vf crop=720:352:0:62,scale=-10:-1,harddup \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4759 -oac faac -faacopts br=192:mpeg=4:object=2 -channels 2 -srate 48000 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4760 -ofps 24000/1001</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4761 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4762
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4763 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4764 The resulting AVI should play perfectly in
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4765 <application>MPlayer</application>, but of course
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4766 <application>QuickTime</application> can not play it because it does
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4767 not support H.264 muxed in AVI.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4768 So the next step is to remux the video into an MP4 container.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4769 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4770 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4771
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4772 <sect2 id="menc-feat-quicktime-7-remux">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4773 <title>Remuxing as MP4</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4774
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4775 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4776 There are several ways to remux AVI files to MP4. You can use
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4777 <application>mp4creator</application>, which is part of the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4778 <ulink url="http://mpeg4ip.sourceforge.net/">MPEG4IP suite</ulink>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4779 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4780
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4781 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4782 First, demux the AVI into separate audio and video streams using
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4783 <application>MPlayer</application>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4784
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4785 <screen>mplayer narnia.avi -dumpaudio -dumpfile narnia.aac
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4786 mplayer narnia.avi -dumpvideo -dumpfile narnia.h264</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4787
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4788 The file names are important; <application>mp4creator</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4789 requires that AAC audio streams be named <systemitem>.aac</systemitem>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4790 and H.264 video streams be named <systemitem>.h264</systemitem>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4791 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4792
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4793 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4794 Now use <application>mp4creator</application> to create a new
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4795 MP4 file out of the audio and video streams.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4796
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4797 <screen>mp4creator -create=narnia.aac narnia.mp4
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4798 mp4creator -create=narnia.h264 -rate=23.976 narnia.mp4</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4799
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4800 Unlike the encoding step, you must specify the framerate as a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4801 decimal (such as 23.976), not a fraction (such as 24000/1001).
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4802 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4803
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4804 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4805 This <systemitem>narnia.mp4</systemitem> file should now be playable
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4806 with any <application>QuickTime</application> 7 application, such as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4807 <application>QuickTime Player</application> or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4808 <application>iTunes</application>. If you are planning to view the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4809 video in a web browser with the <application>QuickTime</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4810 plugin, you should also hint the movie so that the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4811 <application>QuickTime</application> plugin can start playing it
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4812 while it is still downloading. <application>mp4creator</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4813 can create these hint tracks:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4814
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4815 <screen>mp4creator -hint=1 narnia.mp4
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4816 mp4creator -hint=2 narnia.mp4
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4817 mp4creator -optimize narnia.mp4</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4818
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4819 You can check the final result to ensure that the hint tracks were
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4820 created successfully:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4821
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4822 <screen>mp4creator -list narnia.mp4</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4823
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4824 You should see a list of tracks: 1 audio, 1 video, and 2 hint tracks.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4825
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4826 <screen>Track Type Info
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4827 1 audio MPEG-4 AAC LC, 8548.714 secs, 190 kbps, 48000 Hz
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4828 2 video H264 Main@5.1, 8549.132 secs, 899 kbps, 848x352 @ 23.976001 fps
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4829 3 hint Payload mpeg4-generic for track 1
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4830 4 hint Payload H264 for track 2
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4831 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4832 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4833
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4834 </sect2>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4835
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4836 <sect2 id="menc-feat-quicktime-7-metadata">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4837 <title>Adding metadata tags</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4838
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4839 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4840 If you want to add tags to your video that show up in iTunes, you can use
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4841 <ulink url="http://atomicparsley.sourceforge.net/">AtomicParsley</ulink>.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4842
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4843 <screen>AtomicParsley narnia.mp4 --metaEnema --title "The Chronicles of Narnia" --year 2005 --stik Movie --freefree --overWrite</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4844
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4845 The <option>--metaEnema</option> option removes any existing metadata
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4846 (<application>mp4creator</application> inserts its name in the
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4847 "encoding tool" tag), and <option>--freefree</option> reclaims the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4848 space from the deleted metadata.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4849 The <option>--stik</option> option sets the type of video (such as Movie
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4850 or TV Show), which iTunes uses to group related video files.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4851 The <option>--overWrite</option> option overwrites the original file;
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4852 without it, <application>AtomicParsley</application> creates a new
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4853 auto-named file in the same directory and leaves the original file
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4854 untouched.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4855 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4856
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4857 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4858
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4859 </sect1>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4860
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4861
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4862 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4863
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4864
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4865 <sect1 id="menc-feat-vcd-dvd">
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4866 <title>Using <application>MEncoder</application>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4867 to create VCD/SVCD/DVD-compliant files</title>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4868
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4869 <sect2 id="menc-feat-vcd-dvd-constraints">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4870 <title>Format Constraints</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4871
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4872 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4873 <application>MEncoder</application> is capable of creating VCD, SCVD
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4874 and DVD format MPEG files using the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4875 <systemitem class="library">libavcodec</systemitem> library.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4876 These files can then be used in conjunction with
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4877 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4878 or
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4879 <ulink url="http://dvdauthor.sourceforge.net/">dvdauthor</ulink>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4880 to create discs that will play on a standard set-top player.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4881 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4882
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4883 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4884 The DVD, SVCD, and VCD formats are subject to heavy constraints.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4885 Only a small selection of encoded picture sizes and aspect ratios are
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4886 available.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4887 If your movie does not already meet these requirements, you may have
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4888 to scale, crop or add black borders to the picture to make it
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4889 compliant.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4890 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4891
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4892
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4893 <sect3 id="menc-feat-vcd-dvd-constraints-resolution">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4894 <title>Format Constraints</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4895
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4896 <informaltable frame="all">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4897 <tgroup cols="9">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4898 <thead>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4899 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4900 <entry>Format</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4901 <entry>Resolution</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4902 <entry>V. Codec</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4903 <entry>V. Bitrate</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4904 <entry>Sample Rate</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4905 <entry>A. Codec</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4906 <entry>A. Bitrate</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4907 <entry>FPS</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4908 <entry>Aspect</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4909 </row>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4910 </thead>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
4911 <tbody>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4912 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4913 <entry>NTSC DVD</entry>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4914 <entry>720x480, 704x480, 352x480, 352x240</entry>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4915 <entry>MPEG-2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4916 <entry>9800 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4917 <entry>48000 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4918 <entry>AC-3,PCM</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4919 <entry>1536 kbps (max)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4920 <entry>30000/1001, 24000/1001</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4921 <entry>4:3, 16:9 (only for 720x480)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4922 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4923 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4924 <entry>NTSC DVD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4925 <entry>352x240<footnote id='fn-rare-resolutions'><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4926 These resolutions are rarely used for DVDs because
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
4927 they are fairly low quality.</para></footnote></entry>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4928 <entry>MPEG-1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4929 <entry>1856 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4930 <entry>48000 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4931 <entry>AC-3,PCM</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4932 <entry>1536 kbps (max)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4933 <entry>30000/1001, 24000/1001</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4934 <entry>4:3, 16:9</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4935 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4936 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4937 <entry>NTSC SVCD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4938 <entry>480x480</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4939 <entry>MPEG-2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4940 <entry>2600 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4941 <entry>44100 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4942 <entry>MP2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4943 <entry>384 kbps (max)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4944 <entry>30000/1001</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4945 <entry>4:3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4946 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4947 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4948 <entry>NTSC VCD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4949 <entry>352x240</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4950 <entry>MPEG-1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4951 <entry>1150 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4952 <entry>44100 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4953 <entry>MP2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4954 <entry>224 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4955 <entry>24000/1001, 30000/1001</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4956 <entry>4:3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4957 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4958 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4959 <entry>PAL DVD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4960 <entry>720x576, 704x576, 352x576, 352x288</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4961 <entry>MPEG-2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4962 <entry>9800 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4963 <entry>48000 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4964 <entry>MP2,AC-3,PCM</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4965 <entry>1536 kbps (max)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4966 <entry>25</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4967 <entry>4:3, 16:9 (only for 720x576)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4968 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4969 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4970 <entry>PAL DVD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4971 <entry>352x288<footnoteref linkend='fn-rare-resolutions'/></entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4972 <entry>MPEG-1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4973 <entry>1856 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4974 <entry>48000 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4975 <entry>MP2,AC-3,PCM</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4976 <entry>1536 kbps (max)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4977 <entry>25</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4978 <entry>4:3, 16:9</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4979 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4980 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4981 <entry>PAL SVCD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4982 <entry>480x576</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4983 <entry>MPEG-2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4984 <entry>2600 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4985 <entry>44100 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4986 <entry>MP2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4987 <entry>384 kbps (max)</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4988 <entry>25</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4989 <entry>4:3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4990 </row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4991 <row>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4992 <entry>PAL VCD</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4993 <entry>352x288</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4994 <entry>MPEG-1</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4995 <entry>1152 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4996 <entry>44100 Hz</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4997 <entry>MP2</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4998 <entry>224 kbps</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
4999 <entry>25</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5000 <entry>4:3</entry>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5001 </row>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5002 </tbody>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5003 </tgroup>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5004 </informaltable>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5005
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5006 <para>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5007 If your movie has 2.35:1 aspect (most recent action movies), you will
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5008 have to add black borders or crop the movie down to 16:9 to make a DVD or VCD.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5009 If you add black borders, try to align them at 16-pixel boundaries in
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5010 order to minimize the impact on encoding performance.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5011 Thankfully DVD has sufficiently excessive bitrate that you do not have
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5012 to worry too much about encoding efficiency, but SVCD and VCD are
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5013 highly bitrate-starved and require effort to obtain acceptable quality.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5014 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5015 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5016
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5017
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5018 <sect3 id="menc-feat-vcd-dvd-constraints-gop">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5019 <title>GOP Size Constraints</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5020
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5021 <para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
5022 DVD, VCD, and SVCD also constrain you to relatively low
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5023 GOP (Group of Pictures) sizes.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5024 For 30 fps material the largest allowed GOP size is 18.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5025 For 25 or 24 fps, the maximum is 15.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5026 The GOP size is set using the <option>keyint</option> option.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5027 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5028 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5029
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5030
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5031 <sect3 id="menc-feat-vcd-dvd-constraints-bitrate">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5032 <title>Bitrate Constraints</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5033
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5034 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5035 VCD video is required to be CBR at 1152 kbps.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5036 This highly limiting constraint also comes along with an extremely low vbv
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5037 buffer size of 327 kilobits.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
5038 SVCD allows varying video bitrates up to 2500 kbps, and a somewhat less
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5039 restrictive vbv buffer size of 917 kilobits is allowed.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5040 DVD video bitrates may range anywhere up to 9800 kbps (though typical
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5041 bitrates are about half that), and the vbv buffer size is 1835 kilobits.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5042 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5043 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5044 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5045
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5046 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5047
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5048 <sect2 id="menc-feat-vcd-dvd-output">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5049 <title>Output Options</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5050
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5051 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5052 <application>MEncoder</application> has options to control the output
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5053 format.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5054 Using these options we can instruct it to create the correct type of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5055 file.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5056 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5057
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5058 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5059 The options for VCD and SVCD are called xvcd and xsvcd, because they
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5060 are extended formats.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5061 They are not strictly compliant, mainly because the output does not
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5062 contain scan offsets.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5063 If you need to generate an SVCD image, you should pass the output file to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5064 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5065 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5066
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5067 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5068 VCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5069 <screen>-of mpeg -mpegopts format=xvcd</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5070 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5071
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5072 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5073 SVCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5074 <screen>-of mpeg -mpegopts format=xsvcd</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5075 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5076
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5077 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5078 DVD (with timestamps on every frame, if possible):
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5079 <screen>-of mpeg -mpegopts format=dvd:tsaf</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5080 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5081
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5082 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5083 DVD with NTSC Pullup:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5084 <screen>-of mpeg -mpegopts format=dvd:tsaf:telecine -ofps 24000/1001</screen>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
5085 This allows 24000/1001 fps progressive content to be encoded at 30000/1001
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5086 fps whilst maintaining DVD-compliance.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5087 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5088
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5089
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5090 <sect3 id="menc-feat-vcd-dvd-output-aspect">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5091 <title>Aspect Ratio</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5092
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5093 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5094 The aspect argument of <option>-lavcopts</option> is used to encode
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5095 the aspect ratio of the file.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5096 During playback the aspect ratio is used to restore the video to the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5097 correct size.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5098 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5099
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5100 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5101 16:9 or "Widescreen"
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5102 <screen>-lavcopts aspect=16/9</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5103 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5104
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5105 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5106 4:3 or "Fullscreen"
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5107 <screen>-lavcopts aspect=4/3</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5108 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5109
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5110 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5111 2.35:1 or "Cinemascope" NTSC
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5112 <screen>-vf scale=720:368,expand=720:480 -lavcopts aspect=16/9</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5113 To calculate the correct scaling size, use the expanded NTSC width of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5114 854/2.35 = 368
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5115 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5116
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5117 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5118 2.35:1 or "Cinemascope" PAL
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5119 <screen>-vf scale=720:432,expand=720:576 -lavcopts aspect=16/9</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5120 To calculate the correct scaling size, use the expanded PAL width of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5121 1024/2.35 = 432
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5122 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5123 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5124
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5125
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5126 <sect3 id="menc-feat-vcd-dvd-a-v-sync">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5127 <title>Maintaining A/V sync</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5128
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5129 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5130 In order to maintain audio/video synchronization throughout the encode,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5131 <application>MEncoder</application> has to drop or duplicate frames.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5132 This works rather well when muxing into an AVI file, but is almost
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5133 guaranteed to fail to maintain A/V sync with other muxers such as MPEG.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5134 This is why it is necessary to append the
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5135 <option>harddup</option> video filter at the end of the filter chain
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5136 to avoid this kind of problem.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5137 You can find more technical information about <option>harddup</option>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5138 in the section
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5139 <link linkend="menc-feat-dvd-mpeg4-muxing-filter-issues">Improving muxing and A/V sync reliability</link>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5140 or in the manual page.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5141 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5142 </sect3>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5143
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5144
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5145 <sect3 id="menc-feat-vcd-dvd-output-srate">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5146 <title>Sample Rate Conversion</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5147
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5148 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5149 If the audio sample rate in the original file is not the same as
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5150 required by the target format, sample rate conversion is required.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
5151 This is achieved using the <option>-srate</option> option and
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5152 the <option>-af lavcresample</option> audio filter together.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5153 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5154
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5155 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5156 DVD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5157 <screen>-srate 48000 -af lavcresample=48000</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5158 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5159
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5160 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5161 VCD and SVCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5162 <screen>-srate 44100 -af lavcresample=44100</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5163 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5164 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5165 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5166
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5167 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5168
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5169 <sect2 id="menc-feat-vcd-dvd-lavc">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5170 <title>Using libavcodec for VCD/SVCD/DVD Encoding</title>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5171
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5172 <sect3 id="menc-feat-vcd-dvd-lavc-intro">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5173 <title>Introduction</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5174
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5175 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5176 <systemitem class="library">libavcodec</systemitem> can be used to
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5177 create VCD/SVCD/DVD compliant video by using the appropriate options.
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5178 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5179 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5180
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5181
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5182 <sect3 id="menc-feat-vcd-dvd-lavc-options">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5183 <title>lavcopts</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5184
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5185 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5186 This is a list of fields in <option>-lavcopts</option> that you may
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5187 be required to change in order to make a complaint movie for VCD, SVCD,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5188 or DVD:
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5189 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5190
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5191 <itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5192 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5193 <emphasis role="bold">acodec</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5194 <option>mp2</option> for VCD, SVCD, or PAL DVD;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5195 <option>ac3</option> is most commonly used for DVD.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5196 PCM audio may also be used for DVD, but this is mostly a big waste of
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5197 space.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5198 Note that MP3 audio is not compliant for any of these formats, but
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5199 players often have no problem playing it anyway.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5200 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5201 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5202 <emphasis role="bold">abitrate</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5203 224 for VCD; up to 384 for SVCD; up to 1536 for DVD, but commonly
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5204 used values range from 192 kbps for stereo to 384 kbps for 5.1 channel
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5205 sound.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5206 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5207 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5208 <emphasis role="bold">vcodec</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5209 <option>mpeg1video</option> for VCD;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5210 <option>mpeg2video</option> for SVCD;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5211 <option>mpeg2video</option> is usually used for DVD but you may also use
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5212 <option>mpeg1video</option> for CIF resolutions.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5213 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5214 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5215 <emphasis role="bold">keyint</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5216 Used to set the GOP size.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5217 18 for 30fps material, or 15 for 25/24 fps material.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5218 Commercial producers seem to prefer keyframe intervals of 12.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28482
diff changeset
5219 It is possible to make this much larger and still retain compatibility
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5220 with most players.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5221 A <option>keyint</option> of 25 should never cause any problems.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5222 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5223 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5224 <emphasis role="bold">vrc_buf_size</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5225 327 for VCD, 917 for SVCD, and 1835 for DVD.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5226 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5227 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5228 <emphasis role="bold">vrc_minrate</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5229 1152, for VCD. May be left alone for SVCD and DVD.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5230 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5231 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5232 <emphasis role="bold">vrc_maxrate</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5233 1152 for VCD; 2500 for SVCD; 9800 for DVD.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5234 For SVCD and DVD, you might wish to use lower values depending on your
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5235 own personal preferences and requirements.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5236 </para></listitem>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5237 <listitem><para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5238 <emphasis role="bold">vbitrate</emphasis>:
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5239 1152 for VCD;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5240 up to 2500 for SVCD;
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5241 up to 9800 for DVD.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5242 For the latter two formats, vbitrate should be set based on personal
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5243 preference.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5244 For instance, if you insist on fitting 20 or so hours on a DVD, you
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5245 could use vbitrate=400.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5246 The resulting video quality would probably be quite bad.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5247 If you are trying to squeeze out the maximum possible quality on a DVD,
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5248 use vbitrate=9800, but be warned that this could constrain you to less
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5249 than an hour of video on a single-layer DVD.
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5250 </para></listitem>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5251 <listitem><para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5252 <emphasis role="bold">vstrict</emphasis>:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5253 <option>vstrict</option>=0 should be used to create DVDs.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5254 Without this option, <application>MEncoder</application> creates a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5255 stream that cannot be correctly decoded by some standalone DVD
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5256 players.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5257 </para></listitem>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5258 </itemizedlist>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5259 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5260
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5261
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5262 <sect3 id="menc-feat-vcd-dvd-lavc-examples">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5263 <title>Examples</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5264
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5265 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5266 This is a typical minimum set of <option>-lavcopts</option> for
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5267 encoding video:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5268 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5269 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5270 VCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5271 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5272 -lavcopts vcodec=mpeg1video:vrc_buf_size=327:vrc_minrate=1152:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5273 vrc_maxrate=1152:vbitrate=1152:keyint=15:acodec=mp2
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5274 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5275 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5276
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5277 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5278 SVCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5279 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5280 -lavcopts vcodec=mpeg2video:vrc_buf_size=917:vrc_maxrate=2500:vbitrate=1800:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5281 keyint=15:acodec=mp2
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5282 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5283 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5284
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5285 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5286 DVD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5287 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5288 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5289 keyint=15:vstrict=0:acodec=ac3
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5290 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5291 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5292 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5293
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5294
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5295 <sect3 id="menc-feat-vcd-dvd-lavc-advanced">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5296 <title>Advanced Options</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5297
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5298 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5299 For higher quality encoding, you may also wish to add quality-enhancing
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5300 options to lavcopts, such as <option>trell</option>,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5301 <option>mbd=2</option>, and others.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5302 Note that <option>qpel</option> and <option>v4mv</option>, while often
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5303 useful with MPEG-4, are not usable with MPEG-1 or MPEG-2.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5304 Also, if you are trying to make a very high quality DVD encode, it may
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5305 be useful to add <option>dc=10</option> to lavcopts.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5306 Doing so may help reduce the appearance of blocks in flat-colored areas.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5307 Putting it all together, this is an example of a set of lavcopts for a
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5308 higher quality DVD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5309 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5310
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5311 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5312 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5313 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5314 keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5315 vqmin=1:lmin=1:dc=10:vstrict=0
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5316 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5317 </para>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5318 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5319 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5320
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5321 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5322
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5323 <sect2 id="menc-feat-vcd-dvd-audio">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5324 <title>Encoding Audio</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5325
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5326 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5327 VCD and SVCD support MPEG-1 layer II audio, using one of
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5328 <systemitem class="library">toolame</systemitem>,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5329 <systemitem class="library">twolame</systemitem>,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5330 or <systemitem class="library">libavcodec</systemitem>'s MP2 encoder.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5331 The libavcodec MP2 is far from being as good as the other two libraries,
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5332 however it should always be available to use.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5333 VCD only supports constant bitrate audio (CBR) whereas SVCD supports
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5334 variable bitrate (VBR), too.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5335 Be careful when using VBR because some bad standalone players might not
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5336 support it too well.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5337 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5338
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5339 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5340 For DVD audio, <systemitem class="library">libavcodec</systemitem>'s
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5341 AC-3 codec is used.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5342 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5343
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5344
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5345 <sect3 id="menc-feat-vcd-dvd-audio-toolame">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5346 <title>toolame</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5347
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5348 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5349 For VCD and SVCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5350 <screen>-oac toolame -toolameopts br=224</screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5351 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5352 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5353
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5354
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5355 <sect3 id="menc-feat-vcd-dvd-audio-twolame">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5356 <title>twolame</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5357
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5358 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5359 For VCD and SVCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5360 <screen>-oac twolame -twolameopts br=224</screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5361 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5362 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5363
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5364
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5365 <sect3 id="menc-feat-vcd-dvd-audio-lavc">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5366 <title>libavcodec</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5367
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5368 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5369 For DVD with 2 channel sound:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5370 <screen>-oac lavc -lavcopts acodec=ac3:abitrate=192</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5371 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5372
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5373 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5374 For DVD with 5.1 channel sound:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5375 <screen>-channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=384</screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5376 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5377
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5378 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5379 For VCD and SVCD:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5380 <screen>-oac lavc -lavcopts acodec=mp2:abitrate=224</screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5381 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5382 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5383 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5384
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5385 <!-- ********** -->
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5386
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5387 <sect2 id="menc-feat-vcd-dvd-all">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5388 <title>Putting it all Together</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5389
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5390 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5391 This section shows some complete commands for creating VCD/SVCD/DVD
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5392 compliant videos.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5393 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5394
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5395
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5396 <sect3 id="menc-feat-vcd-dvd-all-pal-dvd">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5397 <title>PAL DVD</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5398
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5399 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5400 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5401 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5402 -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5403 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5404 keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 \
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5405 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5406 </screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5407 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5408 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5409
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5410
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5411 <sect3 id="menc-feat-vcd-dvd-all-ntsc-dvd">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5412 <title>NTSC DVD</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5413
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5414 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5415 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5416 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5417 -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5418 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5419 keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 \
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5420 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5421 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5422 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5423 </sect3>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5424
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5425
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5426 <sect3 id="menc-feat-vcd-dvd-all-pal-ac3-copy">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5427 <title>PAL AVI Containing AC-3 Audio to DVD</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5428
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5429 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5430 If the source already has AC-3 audio, use -oac copy instead of re-encoding it.
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5431 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5432 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5433 -vf scale=720:576,harddup -ofps 25 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5434 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5435 keyint=15:vstrict=0:aspect=16/9 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5436 </screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5437 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5438 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5439
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5440
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5441 <sect3 id="menc-feat-vcd-dvd-all-ntsc-ac3-copy">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5442 <title>NTSC AVI Containing AC-3 Audio to DVD</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5443
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5444 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5445 If the source already has AC-3 audio, and is NTSC @ 24000/1001 fps:
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5446 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5447 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf:telecine \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5448 -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5449 vrc_maxrate=9800:vbitrate=5000:keyint=15:vstrict=0:aspect=16/9 -ofps 24000/1001 \
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5450 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5451 </screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5452 </para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5453 </sect3>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5454
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5455
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5456 <sect3 id="menc-feat-vcd-dvd-all-pal-svcd">
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5457 <title>PAL SVCD</title>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5458
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5459 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5460 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5461 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5462 scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5463 vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minrate=600:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5464 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224:aspect=16/9 -ofps 25 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5465 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5466 </screen>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5467 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5468 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5469
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5470
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5471 <sect3 id="menc-feat-vcd-dvd-all-ntsc-svcd">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5472 <title>NTSC SVCD</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5473
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5474 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5475 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5476 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5477 scale=480:480,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5478 vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5479 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224:aspect=16/9 -ofps 30000/1001 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5480 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5481 </screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5482 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5483 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5484
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5485
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5486 <sect3 id="menc-feat-vcd-dvd-all-pal-vcd">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5487 <title>PAL VCD</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5488
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5489 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5490 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5491 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5492 scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5493 vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5494 vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224:aspect=16/9 -ofps 25 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5495 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5496 </screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5497 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5498 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5499
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5500
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5501 <sect3 id="menc-feat-vcd-dvd-all-ntsc-vcd">
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5502 <title>NTSC VCD</title>
27869
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5503
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5504 <para>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5505 <screen>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5506 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5507 scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5508 vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:\
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5509 vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224:aspect=16/9 -ofps 30000/1001 \
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5510 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
c4fc6b71b123 Partial sync to 27843
torinthiel
parents: 21018
diff changeset
5511 </screen>
19025
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5512 </para>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5513 </sect3>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5514 </sect2>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5515 </sect1>
45b8400e8e87 - incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff changeset
5516 </chapter>