Mercurial > mplayer.hg
annotate DOCS/xml/pl/encoding-guide.xml @ 20298:3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
Taken after Nico's explanation on MEncoder-users ML
author | gpoirier |
---|---|
date | Thu, 19 Oct 2006 08:20:32 +0000 |
parents | 45b8400e8e87 |
children | 655565aafbe4 |
rev | line source |
---|---|
19025
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="iso-8859-2"?> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2 <!-- synced with 1.32 --> |
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"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
6 <title>Kodowanie przy użyciu <application>MEncodera</application></title> |
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"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
9 <title>Rippowanie DVD do wysokiej jakości pliku MPEG-4 ("DivX")</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
10 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
11 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
12 Jednym z często zadawanych pytań jest "Jak zrobić rip najlepszej jakości |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
13 przy danej objętości?". Innym pytaniem jest "Jak zrobić najlepszy możliwy |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
14 rip? Nie ważne jaka będzie objętość, chcę najlepszej jakości." |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
15 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
16 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
17 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
18 To drugie pytanie jest przynajmniej źle postawione. W końcu, jeśli nie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
19 przejmujesz się wielkością pliku, mógłbyć po prostu skopiować strumień |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
20 MPEG-2 z DVD. Pewnie, dostaniesz AVI wielkości około 5GB, ale jeśli chcesz |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
21 najlepszej jakości i nie przejmujesz się wielkością to jest to najlepsze |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
22 wyjście. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
23 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
24 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
25 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
26 Tak na prawdę, powodem dla którego chcesz przekodować DVD na MPEG-4 jest to, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
27 że <emphasis role="bold">przejmujesz</emphasis> się wielkością pliku. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
28 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
29 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
30 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
31 Ciężko jest pokazać książkowy przepis na tworzenie ripu DVD bardzo wysokiej |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
32 jakości. Trzeba wziąć pod uwagę kilka czynników, i powinieneś rozumieć |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
33 szczegóły albo masz dużą szansę że nie będziesz zadowolony z wyników. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
34 Poniżej zbadamy niektóre problemy i pokażemy przykład. Zakładamy że używasz |
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, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
36 chociaż ta sama teoria działą też przy innych kodekach. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
37 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
38 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
39 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
40 Jeśli to wydaje Ci się za dużo, to pewnie powinieneś użyć jednej z wielu |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
41 nakładek dostępnych w |
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> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
43 naszej strony z powiązanymi projektami. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
44 W ten sposób, powinno się udać otrzymać ripy wysokiej jakości bez zbyt |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
45 myślenia za dużo, ponieważ te narzędzia są projektowane by podejmować za |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
46 Ciebie mądre decyzje. |
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 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
49 <sect2 id="menc-feat-dvd-mpeg4-preparing-encode"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
50 <title>Przygotowanie do kodowania: Identyfikowanie materiału źródłowego |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
51 i framerate</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
52 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
53 Zanim w ogóle zaczniesz myśleć o kodowaniu filmu, musisz podjąć kilka |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
54 początkowych kroków. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
55 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
56 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
57 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
58 Pierwszym i najważniejszym krokiem przed kodowaniem powinno być |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
59 ustalenie jakim typem filmu się zajmujesz. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
60 Jeśli Twój film jest z DVD albo telewizji (zwykłej, kablowej czy |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
61 satelitarnej), będzie w jednym z dwóch formatów: NTSC w Ameryce Północnej |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
62 i Japonii, PAL w Europie itp. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
63 Trzeba sobie jednak zdawać sprawę z tego, że jest to tylko format do |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
64 prezentacji w telewizji, i często <emphasis role="bold">ne</emphasis> jest |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
65 oryginalnym formatem filmu. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
66 Doświadczenie pokazuje że filmy NTSC są trudniejsze do kodowania, ponieważ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
67 jest więcej elementów do zidentyfikowania w źródle. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
68 Żeby zrobić odpowienie kodowanie musisz znać oryginalny format filmu. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
69 Nieuwzględnienie tego skutkuje wieloma wadami wynikowego pliku, na przykład |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
70 brzydkie artefakty przeplotu i powtórzone albo zagubione klatki. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
71 Poza tym że są pbrzydkie, artefakty są też szkodliwe dla kodowania: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
72 Dostaniesz gorszą jakość na jednostkę bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
73 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
74 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
75 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-fps"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
76 <title>Ustalanie źródłowego framerate</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
77 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
78 Poniżej jest lista popularnych typów materiału źródłowego, gdzie można je |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
79 najczęściej znaleźć i ich własności: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
80 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
81 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
82 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
83 <emphasis role="bold">Typowy film</emphasis>: Tworzony do wyświetlania przy |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
84 24fps. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
85 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
86 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
87 <emphasis role="bold">Film PAL</emphasis>: Nagrywany kamerą video PAL |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
88 z prędkością 50 pól na sekundę. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
89 Pole składa się tylko z parzystych albo nieparzystych linii klatki. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
90 Telewizja była projektowana by odświerzać je naprzemiennie, jako tania forma |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
91 analogowej kompresji. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
92 Ludzkie oko podobno kompensuje ten efekt, ale jeśli zrozumiesz przeplot |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
93 nauczysz się go widzieć też w telewizji i nigdy już nie będziesz z niej |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
94 zadowolony. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
95 Dwa pola <emphasis role="bold">nie</emphasis> dają pełnej klatki, ponieważ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
96 są uchwycone co 1/50 sekundy, więc nie pasują do siebie, chyba że nie ma |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
97 ruchu. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
98 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
99 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
100 <emphasis role="bold">Film NTSC</emphasis>: Nagrany kamerą NTSC z prędkością |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
101 6000/1001 pól na sekundę, albo 60 pól na sekundę w erze przedkolorowej. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
102 Poza tym podobny do PAL. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
103 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
104 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
105 <emphasis role="bold">Animacja</emphasis>: Zazwyczaj rysowana przy 24fps, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
106 ale zdarzają się też z mieszanym framerate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
107 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
108 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
109 <emphasis role="bold">Grafika komputerowa (CG)</emphasis>: Może być dowolny |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
110 framerate, ale niektóre są częstsze niż inne; wartości 24 i 30 klatek na |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
111 sekundę są typowe dla NTSC, a 25fps jest typowe dla PAL. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
112 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
113 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
114 <emphasis role="bold">Stary film</emphasis>: Rozmaite niższe framerate. |
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 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
117 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
118 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
119 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-material"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
120 <title>Identyfikowanie materiału źródłowego</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
121 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
122 Filmy składające się z klatek nazywa się progresywnymi, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
123 podczas gdy te składające się z niezależnych pól nazywa się |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
124 z przeplotem, albo filmem - chociaż ten drugi termin jest niejasny. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
125 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
126 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
127 Żeby nie było za łatwo, niektóre filmy są kombinacją kilku powyższych typów. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
128 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
129 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
130 Najważniejszą różnicą między tymi formatami, jest to że niektóre są oparte |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
131 na klatkach a inne na polach. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
132 <emphasis role="bold">Zawsze</emphasis> gdy film jest przygotowywany do |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
133 wyświetlania w telewizji jest przekształcany na format oparty na polach. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
134 Rozliczne metody którymi się tego dokonuje są wspólnie nazywane "pulldown", |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
135 a niesławne "3:2 telecine" z NTSC jest jednym z jego rodzajów. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
136 Jeżeli oryginał nie był też oparty na polach (z tą samą prędkością), |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
137 dostajesz film w innym formacie niż oryginał. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
138 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
139 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
140 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
141 <title>Jest kilka popularnych typów pulldown:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
142 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
143 <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
|
144 wszystkich. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
145 Każda klatka jest pokazywana przez czas dwóch pól, poprzez wydobycie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
146 parzystych i nieparzystych linii i pokazywanie ich na przemian. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
147 Jeśli oryginalny materiał miał 24fps, ten proces przyspiesza film o 4%. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
148 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
149 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
150 <emphasis role="bold">pulldown PAL 2:2:2:2:2:2:2:2:2:2:2:3</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
151 Każda 12ta klatka jest pokazywana przez czas trzech pól zamiast tylko dwóch. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
152 Dzięki temu nie ma przyspieszenia o 4%, ale proces jest o wiele trudniejszy |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
153 do odtworzenia. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
154 Zazwyczaj występuje w produkcjach muzycznych, gdzie zmiana prędkości o 4% |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
155 poważnie by uszkodziła muzykę. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
156 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
157 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
158 <emphasis role="bold">NTSC 3:2 telecine</emphasis>: Klatki są pokazywane na |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
159 przemian przez czas 3ch albo 2ch pól. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
160 To daje częstotliwość pól 2.5 raza większą niż oryginalna częstotliwość |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
161 klatek. Rezultat jest też lekko zwolniony z 60 pól na sekundę do 60000/1001 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
162 pól na sekundę by utrzymać częstotliwość pól w NTSC. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
163 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
164 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
165 <emphasis role="bold">NTSC 2:2 pulldown</emphasis>: Używane do pokazywania |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
166 materiałów 30fps na NTSC. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
167 Przyjemne, dokładnie jak pulldown 2:2 PAL. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
168 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
169 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
170 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
171 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
172 Są też metody konwersji między filmami PAL i NTSC, ale ten temat |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
173 wykracza poza zakres tego podręcznika. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
174 Jeśli natkniesz się na taki film, i chcesz go zakodować, to największe |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
175 szanse masz odnajdując kopię w oryginalnym formacie. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
176 Konwersja między tymi dwoma formatami jest wysoce destrukcyjna i nie może |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
177 zostać czysto odwrócona, więc kodowanie będzie o wiele gorszej jakości jeśli |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
178 jest robione z przekonwertowanego źródła. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
179 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
180 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
181 Gdy film jest zapisywany na DVD, kolejne pary pól są zapisywane jako klatka, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
182 pomimo tego że nie są przezaczone do wyświetlania razem. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
183 Standard MPEG-2 używany na DVD i w cyfrowej TV pozwala na zakodowanie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
184 oryginalnej progresywnej klatki i na przechowanie w nagłówku klatki ilości |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
185 pól przez które ta klatka powinna być pokazana. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
186 Filmy zrobione przy użyciu tej metody są często określane mianem "miękkiego |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
187 telecine" (soft-telecine), ponieważ proces ten tylko informuje odtwarzacz że |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
188 ma on zastosować pulldown, a nie stosuje go samemu. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
189 Tak jest o wiele lepiej, ponieważ może to zostać łatwo odwrócone (a tak na |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
190 prawdę zignorowane) przez koder i ponieważ zachowuje możliwie najwyższą |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
191 jakość. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
192 Niestety, wielu producentów DVD i stacji nadawczych nie stosuje prawidłowych |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
193 technik kodowania ale w zamian produkuje filmy przy użyciu "twardego |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
194 telecine" (hard-telecine), gdzie pola są faktycznie powtórzone |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
195 w zakodowanym MPEG-2. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
196 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
197 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
198 Procedury radzenia sobie z takimi przypadkami będą omówione |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
199 <link linkend="menc-feat-telecine">w dalszej części przewodnika</link>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
200 Teraz podamy tylko kilka wskazówek jak identyfikować z jakim typem materiału |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
201 mamy do czynienia. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
202 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
203 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
204 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
205 <title>Regiony NTSC:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
206 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
207 Jeśli <application>MPlayer</application> wyświetla w trakcie oglądania filmu |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
208 że framerate zostało zmienione na 24000/1001, i nigdy nie powraca, to jest |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
209 to prawie na pewno progresywny materiał na którym zastosowano "miękkie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
210 telecine". |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
211 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
212 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
213 Jeśli <application>MPlayer</application> pokazuje że framerate zmienia się |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
214 między 24000/1001 i 30000/1001 i czasami widzisz "grzebienie" to jest kilka |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
215 możliwości. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
216 <!-- Torinthiel: grzebienie mi najlepiej pasują, ale może jest oficjalne tłumaczenie --> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
217 Kawałki 24000/1001fps są prawie na pewno progresywne, poddane "miękkiemu |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
218 telecine", ale fragmenty 30000/1001 fps mogą albo być 24000/1001 poddanym |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
219 "twardemu telecine" albo filmem NTCS o 60000/1001 polach na sekundę. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
220 Używaj tych samych metod co w następnych dwóch przypadkach żeby je odróżnić. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
221 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
222 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
223 Jeśli <application>MPlayer</application> nigdy nie pokazuje informacji |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
224 o zmianie framerate i każda klatka z ruchem wygląda jak grzebień, to masz |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
225 film NTSC z 60000/1001 polami na sekundę. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
226 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
227 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
228 Jeśli <application>MPlayer</application> nigdy nie pokazuje informacji |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
229 o zmianie framerate i dwie klatki z każdych pięciu mają grzebienie, to film |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
230 jest 24000/1001 fps poddanym "twardemu telecine". |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
231 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
232 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
233 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
234 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
235 <title>Regiony PAL:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
236 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
237 Jeśli nie widzisz grzebieni, to jest to 2:2 pulldown. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
238 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
239 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
240 Jeśli na przemian przez pół sekundy widzisz grzebienie a potem nie, to masz |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
241 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
|
242 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
243 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
244 Jeśli zawsze widzisz grzebienie w trakcie ruchu, to film jest filmem PAL |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
245 wyświetlanym z 50 polami na sekundę. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
246 <!-- Torinthiel: wyświetlanym czy nagranym? --> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
247 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
248 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
249 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
250 <note><title>Podpowiedź:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
251 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
252 <application>MPlayer</application> może zwolnić odtwarzanie filmu opcją |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
253 -speed albo odtwarzać klatka po klatce. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
254 Spróbuj użyć opcji <option>-speed</option> 0.2 żeby oglądać film bardzo |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
255 wolno, albo naciskaj wielokrotnie klawisz "<keycap>.</keycap>" żeby |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
256 wyświetlać jedną klatkę na raz. Może to pomóc zidentyfikować wzorzec jeśli |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
257 nie możesz go dostrzec przy pełnej prędkości. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
258 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
259 </note> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
260 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
261 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
262 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
263 <sect2 id="menc-feat-dvd-mpeg4-2pass"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
264 <title>Stały kwantyzator a tryb wieloprzebiegowy</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
265 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
266 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
267 Jest możliwe zakodowanie filmu z szeroką gamą jakości. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
268 Z nowoczesnymi koderami i odrobiną kompresji przed kodekiem (zmniejszenie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
269 rozdzielczości i usuwanie szumu), możliwe jest osiągnięcie bardzo dobrej |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
270 jakości przy 700 MB, dla 90-110 minutowego filmu kinowego. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
271 Dodatkowo tylko najdłuższe filmy nie dają się zakodować na 1400 MB z prawie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
272 doskonałą jakością. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
273 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
274 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
275 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
276 Są trzy podejścia do kodowania video: stały bitrate (CBR), |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
277 stały kwantyzator i tryb wieloprzebiegowy (ABR, uśrednione bitrate). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
278 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
279 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
280 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
281 Złożoność klatek filmu, a zatem i ilość bitów potrzebna na ich zakodowanie, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
282 może się bardzo mocno zmieniać w zależności od sceny. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
283 Nowoczesne kodery potrafią się dostosowywać do tych zmian i zmieniać |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
284 bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
285 Jednak w prostych trybach, takich jak CBR, kodery nie znają zapotrzebowania |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
286 na bitrate w przyszłych scenach, więc nie mogą na długo przekraczać |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
287 wymaganego bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
288 Bardziej zaawansowane tryby, takie jak kodowanie wieloprzebiegowe, potrafią |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
289 wziąć pod uwagę statystyki z poprzednich przebiegów; to naprawia wyżej |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
290 wymieniony problem. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
291 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
292 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
293 <note><title>Uwaga:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
294 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
295 Większość kodeków obsługujących kodowanie ABR obsługuje tylko kodowanie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
296 dwuprzebiegowe, podczas gdy niektóre inne, na przykład |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
297 <systemitem class="library">x264</systemitem> albo |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
298 <systemitem class="library">XviD</systemitem> potrafią wykonywać wiele |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
299 przebiegów, z lekką poprawą jakości po każdym przebiegu. Jednak ta poprawa |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
300 nie jest zauważalna ani mierzalna po około 4tym przebiegu. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
301 Dlatego też, w tej części, tryb dwuprzebiegowy i wieloprzebiegowy będą |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
302 używane zamiennie. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
303 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
304 </note> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
305 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
306 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
307 W każdym z tych trybów, kodek video (na przykład |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
308 <systemitem class="library">libavcodec</systemitem>) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
309 dzieli klatkę obrazu na makrobloki 16x16 pikseli i stosuje do każdego z nich |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
310 kwantyzator. Im niższy kwantyzator, tym lepsza jakość i tym wyższe bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
311 Metody jakiej koder używa do ustalenia kwantyzatora są różne i można nimi |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
312 sterować. (Jest to straszliwe uproszczenie, ale wystarcza do zrozumienia |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
313 podstaw.) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
314 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
315 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
316 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
317 Kiedy podajesz stałe bitrate, kodek koduje usuwając tyle szczegółów ile musi |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
318 i tak mało jak to tylko możliwe żeby pozostać poniżej podanego bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
319 Jeśli na prawdę nie obchodzi cię wielkość pliku, możesz użyć CBR i podać |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
320 nieskończone bitrate (W praktyce oznacza to bitrate na tyle wysokie że nie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
321 stanowi bariery, na przykład 10000Kbit.) Bez żadnego ograniczenia na bitrate |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
322 kodek użyje najniższego możliwego kwantyzatora do każdej klatki (ustalonego |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
323 dla <systemitem class="library">libavcodec</systemitem> opcją |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
324 <option>vqmin</option>, domyślnie 2). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
325 Gdy tylko podasz bitrate na tyle niskie że kodek musi używać wyższego |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
326 kwantyzatora, to prawie na pewno niszczysz film. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
327 Żeby tego uniknąć, powinieneś pewnie zmniejszyć rozdzielczość filmu, metodą |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
328 opisaną dalej. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
329 Ogólnie, jeśli troszczysz się o jakość, powinieneś unikać CBR. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
330 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
331 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
332 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
333 Przy stałym kwantyzatorze, kodek używa na każdym makrobloku tego samego |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
334 kwantyzatora, podanego opcją <option>vqscale</option> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
335 (w przypadku <systemitem class="library">libavcodec</systemitem>). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
336 Jeśli chcesz możliwie najlepszy efekt, znów ignorując bitrate, możesz użyć |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
337 <option>vqscale=2</option>. Da to ten sam bitrate i PSNR (peak |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
338 signal-to-noise ratio, szczytowa proporcja sygnału do szumu) co CBR |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
339 z <option>vbitrate</option>=nieskończoność i domyślnym |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
340 <option>vqmin</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
341 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
342 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
343 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
344 Problemem przy stałym kwantyzatorze jest to, że używa podanego kwantyzatora |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
345 niezależnie od tego czy makroblok tego wymaga czy nie. To znaczy że można by |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
346 było zastosować do makrobloku wyższy kwantyzator bez utraty postrzegalnej |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
347 jakości. Dlaczego marnować bity na niepotrzebnie niski kwantyzator? |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
348 Mikroprocesor ma tyle cykli ile jest czasu, ale jest tylko pewna ilość bitów |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
349 na twardym dysku. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
350 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
351 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
352 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
353 Przy kodowaniu dwuprzebiegowym, pierwszy przebieg potraktuje film jak przu |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
354 ustawieniu CBR, ale zachowa informacje o własnościach każdej klatki. Te dane |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
355 są później używane przy drugim przebiegu do podejmowania słusznych decyzji |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
356 o używanym kwantyzatorze. Przy szybkich scenach albo niewielu szczegółach |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
357 pewnie użyje większego kwantyzatora, podczas gdy dla powolnych, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
358 szczegółowych scen będzie niższy kwantyzator. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
359 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
360 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
361 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
362 Jeśli używasz <option>vqscale=2</option> to marnujesz bity. Jeśli używasz |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
363 <option>vqscale=3</option> to nie dostajesz najlepszej możliwej jakości. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
364 Załóżmy że zakodowałeś swoje DVD przy <option>vqscale=3</option> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
365 i dostałeś bitrate 1800Kbit. Jeśli zrobisz dwa przebiegi |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
366 z <option>vbitrate=1800</option> ostateczny wynik będzie miał |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
367 <emphasis role="bold">wyższą jakość</emphasis> przy |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
368 <emphasis role="bold">tym samym bitrate</emphasis>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
369 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
370 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
371 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
372 Ponieważ jesteś już przekonany że prawidłowym wyborem są dwa przebiegi, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
373 prawdziwym pytaniem jest jakiego bitrate użyć. Nie ma jednej odpowiedzi. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
374 Idealnie chcesz wybrać bitrate będący najbliżej równowagi między jakością |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
375 a wielkością pliku. To się zmienia w zależności od filmu. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
376 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
377 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
378 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
379 Jeśli wielkość nie ma znaczenia, dobrym punktem wyjściowym do bardzo |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
380 wysokiej jakości jest około 2000Kbit plus minus 200Kbit. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
381 Jeśli jest dużo akcji albo szczegółów, albo po prostu masz bardzo wrażliwe |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
382 oko, możesz się zdecydować na 2400 albo 2600. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
383 Przy niektórych DVD możesz nie zauważyć różnicy przy 1400Kbit. Dobrym |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
384 pomysłem jest poeksperymentowanie z kilkoma scenami i różnymi wartościami |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
385 bitrate żeby nabrać wyczucia. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
386 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
387 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
388 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
389 Jeśli chcesz konkretnej wielkości, musisz jakoś obliczyć bitrare. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
390 Ale zanim to zrobisz, musisz wiedzieć ile miejsca potrzebujesz na dźwięk, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
391 więc powinieneś <link linkend="menc-feat-dvd-mpeg4-audio">ściągnąć go</link> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
392 najpierw. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
393 Możesz wyliczyć bitrate z następującego równania: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
394 <systemitem>bitrate = (wielkość_docelowa_w_MBajtach - wielkość_dźwięku_w_MB) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
395 * 1024 * 1024 / długość_w_sekundach * 8 / 1000</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
396 Na przykład by wcisność dwugodzinny film na płytkę 702MB, z 60MB ścieżki |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
397 dźwiękowej, bitrate video musi być: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
398 <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
|
399 = 740kbps</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
400 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
401 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
402 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
403 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
404 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
405 <sect2 id="menc-feat-dvd-mpeg4-constraints"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
406 <title>Constraints for efficient encoding</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
407 |
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 Due to the nature of MPEG-type compression, there are various |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
410 constraints you should follow for maximal quality. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
411 MPEG splits the video up into 16x16 squares called macroblocks, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
412 each composed of 4 8x8 blocks of luma (intensity) information and two |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
413 half-resolution 8x8 chroma (color) blocks (one for red-cyan axis and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
414 the other for the blue-yellow axis). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
415 Even if your movie width and height are not multiples of 16, the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
416 encoder will use enough 16x16 macroblocks to cover the whole picture |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
417 area, and the extra space will go to waste. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
418 So in the interests of maximizing quality at a fixed filesize, it is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
419 a bad idea to use dimensions that are not multiples of 16. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
420 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
421 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
422 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
423 Most DVDs also have some degree of black borders at the edges. Leaving |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
424 these in place can hurt quality in several ways. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
425 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
426 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
427 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
428 <listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
429 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
430 MPEG-type compression is also highly dependent on frequency domain |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
431 transformations, in particular the Discrete Cosine Transform (DCT), |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
432 which is similar to the Fourier transform. This sort of encoding is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
433 efficient for representing patterns and smooth transitions, but it |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
434 has a hard time with sharp edges. In order to encode them it must |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
435 use many more bits, or else an artifact known as ringing will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
436 appear. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
437 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
438 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
439 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
440 The frequency transform (DCT) takes place separately on each |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
441 macroblock (actually each block), so this problem only applies when |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
442 the sharp edge is inside a block. If your black borders begin |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
443 exactly at multiple-of-16 pixel boundaries, this is not a problem. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
444 However, the black borders on DVDs rarely come nicely aligned, so |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
445 in practice you will always need to crop to avoid this penalty. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
446 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
447 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
448 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
449 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
450 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
451 In addition to frequency domain transforms, MPEG-type compression uses |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
452 motion vectors to represent the change from one frame to the next. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
453 Motion vectors naturally work much less efficiently for new content |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
454 coming in from the edges of the picture, because it is not present in |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
455 the previous frame. As long as the picture extends all the way to the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
456 edge of the encoded region, motion vectors have no problem with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
457 content moving out the edges of the picture. However, in the presence |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
458 of black borders, there can be trouble: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
459 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
460 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
461 <orderedlist continuation="continues"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
462 <listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
463 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
464 For each macroblock, MPEG-type compression stores a vector |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
465 identifying which part of the previous frame should be copied into |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
466 this macroblock as a base for predicting the next frame. Only the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
467 remaining differences need to be encoded. If a macroblock spans the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
468 edge of the picture and contains part of the black border, then |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
469 motion vectors from other parts of the picture will overwrite the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
470 black border. This means that lots of bits must be spent either |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
471 re-blackening the border that was overwritten, or (more likely) a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
472 motion vector will not be used at all and all the changes in this |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
473 macroblock will have to be coded explicitly. Either way, encoding |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
474 efficiency is greatly reduced. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
475 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
476 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
477 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
478 Again, this problem only applies if black borders do not line up on |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
479 multiple-of-16 boundaries. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
480 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
481 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
482 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
483 <listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
484 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
485 Finally, suppose we have a macroblock in the interior of the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
486 picture, and an object is moving into this block from near the edge |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
487 of the image. MPEG-type coding cannot say "copy the part that is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
488 inside the picture but not the black border." So the black border |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
489 will get copied inside too, and lots of bits will have to be spent |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
490 encoding the part of the picture that is supposed to be there. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
491 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
492 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
493 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
494 If the picture runs all the way to the edge of the encoded area, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
495 MPEG has special optimizations to repeatedly copy the pixels at the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
496 edge of the picture when a motion vector comes from outside the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
497 encoded area. This feature becomes useless when the movie has black |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
498 borders. Unlike problems 1 and 2, aligning the borders at multiples |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
499 of 16 does not help here. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
500 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
501 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
502 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
503 <listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
504 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
505 Despite the borders being entirely black and never changing, there |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
506 is at least a minimal amount of overhead involved in having more |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
507 macroblocks. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
508 </para> |
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 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
511 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
512 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
513 For all of these reasons, it is recommended to fully crop black |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
514 borders. Further, if there is an area of noise/distortion at the edge |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
515 of the picture, cropping this will improve encoding efficiency as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
516 well. Videophile purists who want to preserve the original as close as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
517 possible may object to this cropping, but unless you plan to encode at |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
518 constant quantizer, the quality you gain from cropping will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
519 considerably exceed the amount of information lost at the edges. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
520 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
521 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
522 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
523 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
524 <sect2 id="menc-feat-dvd-mpeg4-crop"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
525 <title>Cropping and Scaling</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
526 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
527 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
528 Recall from the previous section that the final picture size you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
529 encode should be a multiple of 16 (in both width and height). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
530 This can be achieved by cropping, scaling, or a combination of both. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
531 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
532 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
533 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
534 When cropping, there are a few guidelines that must be followed to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
535 avoid damaging your movie. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
536 The normal YUV format, 4:2:0, stores chroma (color) information |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
537 subsampled, i.e. chroma is only sampled half as often in each |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
538 direction as luma (intensity) information. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
539 Observe this diagram, where L indicates luma sampling points and C |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
540 chroma. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
541 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
542 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
543 <informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
544 <?dbhtml table-width="40%" ?> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
545 <?dbfo table-width="40%" ?> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
546 <tgroup cols="8" align="center"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
547 <colspec colnum="1" colname="col1"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
548 <colspec colnum="2" colname="col2"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
549 <colspec colnum="3" colname="col3"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
550 <colspec colnum="4" colname="col4"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
551 <colspec colnum="5" colname="col5"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
552 <colspec colnum="6" colname="col6"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
553 <colspec colnum="7" colname="col7"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
554 <colspec colnum="8" colname="col8"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
555 <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
|
556 <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
|
557 <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
|
558 <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
|
559 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
560 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
561 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
562 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
563 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
564 <entry>L</entry> |
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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
570 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
571 <entry spanname="spa1-2">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
572 <entry spanname="spa3-4">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
573 <entry spanname="spa5-6">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
574 <entry spanname="spa7-8">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
575 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
576 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
577 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
578 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
579 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
580 <entry>L</entry> |
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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
586 <row> |
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 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
590 <entry>L</entry> |
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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
596 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
597 <entry spanname="spa1-2">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
598 <entry spanname="spa3-4">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
599 <entry spanname="spa5-6">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
600 <entry spanname="spa7-8">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
601 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
602 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
603 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
604 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
605 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
606 <entry>L</entry> |
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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
612 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
613 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
614 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
615 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
616 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
617 As you can see, rows and columns of the image naturally come in pairs. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
618 Thus your crop offsets and dimensions <emphasis>must</emphasis> be |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
619 even numbers. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
620 If they are not, the chroma will no longer line up correctly with the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
621 luma. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
622 In theory, it is possible to crop with odd offsets, but it requires |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
623 resampling the chroma which is potentially a lossy operation and not |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
624 supported by the crop filter. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
625 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
626 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
627 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
628 Further, interlaced video is sampled as follows: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
629 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
630 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
631 <informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
632 <?dbhtml table-width="80%" ?> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
633 <?dbfo table-width="80%" ?> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
634 <tgroup cols="16" align="center"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
635 <colspec colnum="1" colname="col1"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
636 <colspec colnum="2" colname="col2"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
637 <colspec colnum="3" colname="col3"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
638 <colspec colnum="4" colname="col4"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
639 <colspec colnum="5" colname="col5"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
640 <colspec colnum="6" colname="col6"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
641 <colspec colnum="7" colname="col7"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
642 <colspec colnum="8" colname="col8"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
643 <colspec colnum="9" colname="col9"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
644 <colspec colnum="10" colname="col10"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
645 <colspec colnum="11" colname="col11"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
646 <colspec colnum="12" colname="col12"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
647 <colspec colnum="13" colname="col13"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
648 <colspec colnum="14" colname="col14"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
649 <colspec colnum="15" colname="col15"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
650 <colspec colnum="16" colname="col16"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
651 <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
|
652 <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
|
653 <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
|
654 <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
|
655 <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
|
656 <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
|
657 <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
|
658 <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
|
659 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
660 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
661 <entry namest="col1" nameend="col8">Top field</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
662 <entry namest="col9" nameend="col16">Bottom field</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
663 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
664 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
665 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
666 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
667 <entry>L</entry> |
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></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
674 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
675 <entry></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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
682 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
683 <entry spanname="spa1-2">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
684 <entry spanname="spa3-4">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
685 <entry spanname="spa5-6">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
686 <entry spanname="spa7-8">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
687 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
688 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
689 <entry></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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
696 <row> |
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 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
699 <entry></entry> |
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>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
706 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
707 <entry>L</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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
714 <row> |
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 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
717 <entry>L</entry> |
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></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
724 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
725 <entry></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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
732 <row> |
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 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
735 <entry></entry> |
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 spanname="spa9-10">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
742 <entry spanname="spa11-12">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
743 <entry spanname="spa13-14">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
744 <entry spanname="spa15-16">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
745 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
746 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
747 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
748 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
749 <entry></entry> |
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>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
756 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
757 <entry>L</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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
764 <row> |
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 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
767 <entry>L</entry> |
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></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
774 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
775 <entry></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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
782 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
783 <entry spanname="spa1-2">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
784 <entry spanname="spa3-4">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
785 <entry spanname="spa5-6">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
786 <entry spanname="spa7-8">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
787 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
788 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
789 <entry></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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
796 <row> |
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 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
799 <entry></entry> |
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>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
806 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
807 <entry>L</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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
814 <row> |
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 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
817 <entry>L</entry> |
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></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
824 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
825 <entry></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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
832 <row> |
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 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
835 <entry></entry> |
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 spanname="spa9-10">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
842 <entry spanname="spa11-12">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
843 <entry spanname="spa13-14">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
844 <entry spanname="spa15-16">C</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
845 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
846 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
847 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
848 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
849 <entry></entry> |
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>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
856 <entry>L</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
857 <entry>L</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 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
864 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
865 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
866 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
867 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
868 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
869 As you can see, the pattern does not repeat until after 4 lines. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
870 So for interlaced video, your y-offset and height for cropping must |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
871 be multiples of 4. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
872 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
873 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
874 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
875 Native DVD resolution is 720x480 for NTSC, and 720x576 for PAL, but |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
876 there is an aspect flag that specifies whether it is full-screen (4:3) or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
877 wide-screen (16:9). Many (if not most) widescreen DVDs are not strictly |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
878 16:9, and will be either 1.85:1 or 2.35:1 (cinescope). This means that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
879 there will be black bands in the video that will need to be cropped out. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
880 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
881 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
882 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
883 <application>MPlayer</application> provides a crop detection filter that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
884 will determine the crop rectangle (<option>-vf cropdetect</option>). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
885 Run <application>MPlayer</application> with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
886 <option>-vf cropdetect</option> and it will print out the crop |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
887 settings to remove the borders. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
888 You should let the movie run long enough that the whole picture |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
889 area is used, in order to get accurate crop values. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
890 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
891 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
892 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
893 Then, test the values you get with <application>MPlayer</application>, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
894 using the command line which was printed by |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
895 <option>cropdetect</option>, and adjust the rectangle as needed. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
896 The <option>rectangle</option> filter can help by allowing you to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
897 interactively position the crop rectangle over your movie. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
898 Remember to follow the above divisibility guidelines so that you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
899 do not misalign the chroma planes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
900 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
901 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
902 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
903 In certain cases, scaling may be undesirable. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
904 Scaling in the vertical direction is difficult with interlaced |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
905 video, and if you wish to preserve the interlacing, you should |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
906 usually refrain from scaling. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
907 If you will not be scaling but you still want to use multiple-of-16 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
908 dimensions, you will have to overcrop. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
909 Do not undercrop, since black borders are very bad for encoding! |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
910 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
911 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
912 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
913 Because MPEG-4 uses 16x16 macroblocks, you will want to make sure that each |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
914 dimension of the video you are encoding is a multiple of 16 or else you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
915 will be degrading quality, especially at lower bitrates. You can do this |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
916 by rounding the width and height of the crop rectangle down to the nearest |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
917 multiple of 16. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
918 As stated earlier, when cropping, you will want to increase the Y offset by |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
919 half the difference of the old and the new height so that the resulting |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
920 video is taken from the center of the frame. And because of the way DVD |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
921 video is sampled, make sure the offset is an even number. (In fact, as a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
922 rule, never use odd values for any parameter when you are cropping and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
923 scaling video.) If you are not comfortable throwing a few extra pixels |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
924 away, you might prefer instead to scale the video instead. We will look |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
925 at this in our example below. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
926 You can actually let the <option>cropdetect</option> filter do all of the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
927 above for you, as it has an optional <option>round</option> parameter that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
928 is equal to 16 by default. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
929 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
930 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
931 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
932 Also, be careful about "half black" pixels at the edges. Make sure you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
933 crop these out too, or else you will be wasting bits there that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
934 are better spent elsewhere. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
935 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
936 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
937 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
938 After all is said and done, you will probably end up with video whose pixels |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
939 are not quite 1.85:1 or 2.35:1, but rather something close to that. You |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
940 could calculate the new aspect ratio manually, but |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
941 <application>MEncoder</application> offers an option for <systemitem |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
942 class="library">libavcodec</systemitem> called <option>autoaspect</option> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
943 that will do this for you. Absolutely do not scale this video up in order to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
944 square the pixels unless you like to waste your hard disk space. Scaling |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
945 should be done on playback, and the player will use the aspect stored in |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
946 the AVI to determine the correct resolution. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
947 Unfortunately, not all players enforce this auto-scaling information, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
948 therefore you may still want to rescale. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
949 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
950 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
951 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
952 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
953 <sect2 id="menc-feat-dvd-mpeg4-resolution-bitrate"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
954 <title>Choosing resolution and bitrate</title> |
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 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
957 If you will not be encoding in constant quantizer mode, you need to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
958 select a bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
959 The concept of bitrate is quite simple. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
960 It is the (average) number of bits that will be consumed to store your |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
961 movie, per second. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
962 Normally bitrate is measured in kilobits (1000 bits) per second. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
963 The size of your movie on disk is the bitrate times the length of the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
964 movie in time, plus a small amount of "overhead" (see the section on |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
965 <link linkend="menc-feat-dvd-mpeg4-muxing-avi-limitations">the AVI container</link> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
966 for instance). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
967 Other parameters such as scaling, cropping, etc. will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
968 <emphasis role="bold">not</emphasis> alter the file size unless you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
969 change the bitrate as well!. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
970 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
971 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
972 Bitrate does <emphasis role="bold">not</emphasis> scale proportionally |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
973 to resolution. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
974 That is to say, a 320x240 file at 200 kbit/sec will not be the same |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
975 quality as the same movie at 640x480 and 800 kbit/sec! |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
976 There are two reasons for this: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
977 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
978 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
979 <emphasis role="bold">Perceptual</emphasis>: You notice MPEG |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
980 artifacts more if they are scaled up bigger! |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
981 Artifacts appear on the scale of blocks (8x8). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
982 Your eye will not see errors in 4800 small blocks as easily as it |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
983 sees errors in 1200 large blocks (assuming you will be scaling both |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
984 to fullscreen). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
985 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
986 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
987 <emphasis role="bold">Theoretical</emphasis>: When you scale down |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
988 an image but still use the same size (8x8) blocks for the frequency |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
989 space transform, you move more data to the high frequency bands. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
990 Roughly speaking, each pixel contains more of the detail than it |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
991 did before. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
992 So even though your scaled-down picture contains 1/4 the information |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
993 in the spacial directions, it could still contain a large portion |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
994 of the information in the frequency domain (assuming that the high |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
995 frequencies were underutilized in the original 640x480 image). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
996 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
997 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
998 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
999 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1000 Past guides have recommended choosing a bitrate and resolution based |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1001 on a "bits per pixel" approach, but this is usually not valid due to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1002 the above reasons. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1003 A better estimate seems to be that bitrates scale proportional to the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1004 square root of resolution, so that 320x240 and 400 kbit/sec would be |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1005 comparable to 640x480 at 800 kbit/sec. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1006 However this has not been verified with theoretical or empirical |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1007 rigor. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1008 Further, given that movies vary greatly with regard to noise, detail, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1009 degree of motion, etc., it is futile to make general recommendations |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1010 for bits per length-of-diagonal (the analog of bits per pixel, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1011 using the square root). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1012 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1013 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1014 So far we have discussed the difficulty of choosing a bitrate and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1015 resolution. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1016 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1017 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1018 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1019 <sect3 id="menc-feat-dvd-mpeg4-resolution-bitrate-compute"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1020 <title>Computing the resolution</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1021 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1022 First, you should compute the encoded aspect ratio: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1023 <systemitem>ARc = (Wc x (ARa / PRdvd )) / Hc</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1024 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1025 <title>where:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1026 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1027 Wc and Hc are the width and height of the cropped video, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1028 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1029 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1030 ARa is the displayed aspect ratio, which usually is 4/3 or 16/9, |
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> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1033 PRdvd is the pixel ratio of the DVD which is equal to 1.25=(720/576) for PAL |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1034 DVDs and 1.5=(720/480) for NTSC DVDs, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1035 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1036 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1037 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1038 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1039 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1040 Then, you can compute the X and Y resolution, according to a certain |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1041 Compression Quality (CQ) factor: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1042 <systemitem>ResY = INT(SQRT( 1000*Bitrate/25/ARc/CQ )/16) * 16</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1043 and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1044 <systemitem>ResX = INT( ResY * ARc / 16) * 16</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1045 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1046 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1047 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1048 Okay, but what is the CQ? |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1049 The CQ represents the number of bits per pixel and per frame of the encode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1050 Roughly speaking, the greater the CQ, the less the likelihood to see |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1051 encoding artifacts. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1052 However, if you have a target size for your movie (1 or 2 CDs for instance), |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1053 there is a limited total number of bits that you can spend; therefore it is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1054 necessary to find a good tradeoff between compressibility and quality. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1055 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1056 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1057 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1058 The CQ depends both on the bitrate and the movie resolution. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1059 In order to raise the CQ, typically you would downscale the movie given that the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1060 bitrate is computed in function of the target size and the length of the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1061 movie, which are constant. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1062 A CQ below 0.18 usually ends up in a very blocky picture, because there |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1063 are not enough bits to code the information of each macroblock (MPEG4, like |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1064 many other codecs, groups pixels by blocks of several pixels to compress the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1065 image; if there are not enough bits, the edges of those blocks are |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1066 visible). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1067 It is therefore wise to take a CQ ranging from 0.20 to 0.22 for a 1 CD rip, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1068 and 0.26-0.28 for 2 CDs. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1069 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1070 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1071 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1072 Please take note that the CQ is just an indicative figure, as depending on |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1073 the encoded content, a CQ of 0.18 may look just fine for a Bergman, contrary |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1074 to a movie such as The Matrix, which contains many high-motion scenes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1075 On the other hand, it is worthless to raise CQ higher than 0.30 as you would |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1076 be wasting bits without any noticeable quality gain. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1077 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1078 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1079 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1080 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1081 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1082 <sect2 id="menc-feat-dvd-mpeg4-filtering"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1083 <title>Filtering</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1084 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1085 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1086 Learning how to use <application>MEncoder</application>'s video filters |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1087 is essential to producing good encodes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1088 All video processing is performed through the filters -- cropping, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1089 scaling, color adjustment, noise removal, sharpening, deinterlacing, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1090 telecine, inverse telecine, and deblocking, just to name a few. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1091 Along with the vast number of supported input formats, the variety of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1092 filters available in <application>MEncoder</application> is one of its |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1093 main advantages over other similar programs. |
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 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1096 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1097 Filters are loaded in a chain using the -vf option: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1098 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1099 <screen>-vf filter1=options,filter2=options,...</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1100 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1101 Most filters take several numeric options separated by colons, but |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1102 the syntax for options varies from filter to filter, so read the man |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1103 page for details on the filters you wish to use. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1104 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1105 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1106 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1107 Filters operate on the video in the order they are loaded. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1108 For example, the following chain: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1109 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1110 <screen>-vf crop=688:464:12:4,scale=640:464</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1111 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1112 will first crop the 688x464 region of the picture with upper-left |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1113 corner at (12,4), and then scale the result down to 640x464. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1114 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1115 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1116 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1117 Certain filters need to be loaded at or near the beginning of the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1118 filter chain, in order to take advantage of information from the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1119 video decoder that will be lost or invalidated by other filters. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1120 The principal examples are <option>pp</option> (postprocessing, only |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1121 when it is performing deblock or dering operations), |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1122 <option>spp</option> (another postprocessor to remove MPEG artifacts), |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1123 <option>pullup</option> (inverse telecine), and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1124 <option>softpulldown</option> (for converting soft telecine to hard |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1125 telecine). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1126 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1127 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1128 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1129 In general, you want to do as little filtering as possible to the movie |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1130 in order to remain close to the original DVD source. Cropping is often |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1131 necessary (as described above), but avoid to scale the video. Although |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1132 scaling down is sometimes preferred to using higher quantizers, we want |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1133 to avoid both these things: remember that we decided from the start to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1134 trade bits for quality. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1135 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1136 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1137 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1138 Also, do not adjust gamma, contrast, brightness, etc. What looks good |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1139 on your display may not look good on others. These adjustments should |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1140 be done on playback only. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1141 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1142 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1143 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1144 One thing you might want to do, however, is pass the video through a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1145 very light denoise filter, such as <option>-vf hqdn3d=2:1:2</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1146 Again, it is a matter of putting those bits to better use: why waste them |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1147 encoding noise when you can just add that noise back in during playback? |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1148 Increasing the parameters for <option>hqdn3d</option> will further |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1149 improve compressibility, but if you increase the values too much, you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1150 risk degrading the image visibily. The suggested values above |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1151 (<option>2:1:2</option>) are quite conservative; you should feel free to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1152 experiment with higher values and observe the results for yourself. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1153 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1154 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1155 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1156 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1157 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1158 <sect2 id="menc-feat-dvd-mpeg4-interlacing"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1159 <title>Interlacing and Telecine</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1160 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1161 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1162 Almost all movies are shot at 24 fps. Because NTSC is 30000/1001 fps, some |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1163 processing must be done to this 24 fps video to make it run at the correct |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1164 NTSC framerate. The process is called 3:2 pulldown, commonly referred to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1165 as telecine (because pulldown is often applied during the telecine |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1166 process), and, naively described, it works by slowing the film down to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1167 24000/1001 fps, and repeating every fourth frame. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1168 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1169 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1170 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1171 No special processing, however, is done to the video for PAL DVDs, which |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1172 run at 25 fps. (Technically, PAL can be telecined, called 2:2 pulldown, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1173 but this does not become an issue in practice.) The 24 fps film is simply |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1174 played back at 25 fps. The result is that the movie runs slightly faster, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1175 but unless you are an alien, you probably will not notice the difference. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1176 Most PAL DVDs have pitch-corrected audio, so when they are played back at |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1177 25 fps things will sound right, even though the audio track (and hence the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1178 whole movie) has a running time that is 4% less than NTSC DVDs. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1179 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1180 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1181 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1182 Because the video in a PAL DVD has not been altered, you need not worry |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1183 much about framerate. The source is 25 fps, and your rip will be 25 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1184 fps. However, if you are ripping an NTSC DVD movie, you may need to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1185 apply inverse telecine. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1186 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1187 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1188 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1189 For movies shot at 24 fps, the video on the NTSC DVD is either telecined |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1190 30000/1001, or else it is progressive 24000/1001 fps and intended to be telecined |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1191 on-the-fly by a DVD player. On the other hand, TV series are usually |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1192 only interlaced, not telecined. This is not a hard rule: some TV series |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1193 are interlaced (such as Buffy the Vampire Slayer) whereas some are a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1194 mixture of progressive and interlaced (such as Angel, or 24). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1195 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1196 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1197 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1198 It is highly recommended that you read the section on |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1199 <link linkend="menc-feat-telecine">How to deal with telecine and interlacing in NTSC DVDs</link> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1200 to learn how to handle the different possibilities. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1201 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1202 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1203 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1204 However, if you are mostly just ripping movies, likely you are either |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1205 dealing with 24 fps progressive or telecined video, in which case you can |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1206 use the <option>pullup</option> filter <option>-vf |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1207 pullup,softskip</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1208 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1209 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1210 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1211 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1212 <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
|
1213 <title>Encoding interlaced video</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1214 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1215 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1216 If the movie you want to encode is interlaced (NTSC video or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1217 PAL video), you will need to choose whether you want to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1218 deinterlace or not. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1219 While deinterlacing will make your movie usable on progressive |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1220 scan displays such a computer monitors and projectors, it comes |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1221 at a cost: The fieldrate of 50 or 60000/1001 fields per second |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1222 is halved to 25 or 30000/1001 frames per second, and roughly half of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1223 the information in your movie will be lost during scenes with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1224 significant motion. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1225 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1226 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1227 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1228 Therefore, if you are encoding for high quality archival purposes, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1229 it is recommended not to deinterlace. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1230 You can always deinterlace the movie at playback time when |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1231 displaying it on progressive scan devices, and future players will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1232 be able to deinterlace to full fieldrate, interpolating 50 or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1233 60000/1001 entire frames per second from the interlaced video. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1234 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1235 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1236 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1237 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
|
1238 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1239 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1240 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1241 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1242 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
|
1243 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1244 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1245 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
|
1246 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1247 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1248 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
|
1249 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
|
1250 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
|
1251 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1252 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1253 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1254 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1255 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
|
1256 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1257 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1258 mencoder <replaceable>capture.avi</replaceable> -mc 0 -oac lavc -ovc lavc -lavcopts \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1259 vcodec=mpeg2video:vbitrate=6000:ilme:ildct:acodec=mp2:abitrate=224 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1260 </screen> |
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 Note the <option>ilme</option> and <option>ildct</option> options. |
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 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1265 |
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 <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
|
1268 <title>Notes on Audio/Video synchronization</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1269 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1270 <application>MEncoder</application>'s audio/video synchronization |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1271 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
|
1272 broken sync. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1273 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
|
1274 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
|
1275 (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
|
1276 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
|
1277 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
|
1278 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
|
1279 <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
|
1280 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
|
1281 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
|
1282 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1283 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1284 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
|
1285 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
|
1286 <option>-noskip</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1287 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
|
1288 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
|
1289 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
|
1290 framerate! |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1291 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
|
1292 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1293 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1294 The so-called "three-pass" audio encoding which <application>MEncoder</application> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1295 supports has been reported to cause A/V desync. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1296 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
|
1297 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
|
1298 use three-pass audio mode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1299 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
|
1300 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
|
1301 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
|
1302 even mentioned it! |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1303 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1304 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1305 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
|
1306 with <application>MEncoder</application>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1307 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
|
1308 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1309 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1310 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1311 <sect2 id="menc-feat-dvd-mpeg4-audio"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1312 <title>Audio</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1313 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1314 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1315 Audio is a much simpler problem to solve: if you care about quality, just |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1316 leave it as is. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1317 Even AC3 5.1 streams are at most 448Kbit/s, and they are worth every bit. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1318 You might be tempted to transcode the audio to high quality Vorbis, but |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1319 just because you do not have an A/V receiver for AC3 pass-through today |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1320 does not mean you will not have one tomorrow. Future-proof your DVD rips by |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1321 preserving the AC3 stream. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1322 You can keep the AC3 stream either by copying it directly into the video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1323 stream <link linkend="menc-feat-mpeg4">during the encoding</link>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1324 You can also extract the AC3 stream in order to mux it into containers such |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1325 as NUT or Matroska. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1326 <screen>mplayer <replaceable>source_file.vob</replaceable> -aid 129 -dumpaudio -dumpfile <replaceable>sound.ac3</replaceable></screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1327 will dump into the file <replaceable>sound.ac3</replaceable> the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1328 audio track number 129 from the file |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1329 <replaceable>source_file.vob</replaceable> (NB: DVD VOB files |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1330 usually use a different audio numbering, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1331 which means that the VOB audio track 129 is the 2nd audio track of the file). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1332 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1333 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1334 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1335 But sometimes you truly have no choice but to further compress the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1336 sound so that more bits can be spent on the video. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1337 Most people choose to compress audio with either MP3 or Vorbis audio |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1338 codecs. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1339 While the latter is a very space-efficient codec, MP3 is better supported |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1340 by hardware players, although this trend is changing. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1341 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1342 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1343 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1344 Do <emphasis>not</emphasis> use <option>-nosound</option> when encoding |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1345 a file with audio, even if you will be encoding and muxing audio |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1346 separately later. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1347 Though it may work in ideal cases, using <option>-nosound</option> is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1348 likely to hide some problems in your encoding command line setting. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1349 In other words, having a soundtrack during your encode assures you that, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1350 provided you do not see messages such as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1351 <quote>Too many audio packets in the buffer</quote>, you will be able |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1352 to get proper sync. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1353 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1354 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1355 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1356 You need to have <application>MEncoder</application> process the sound. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1357 You can for example copy the orignal soundtrack during the encode with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1358 <option>-oac copy</option> or convert it to a "light" 4 kHz mono WAV |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1359 PCM with <option>-oac pcm -channels 1 -srate 4000</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1360 Otherwise, in some cases, it will generate a video file that will not sync |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1361 with the audio. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1362 Such cases are when the number of video frames in the source file does |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1363 not match up to the total length of audio frames or whenever there |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1364 are discontinuities/splices where there are missing or extra audio frames. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1365 The correct way to handle this kind of problem is to insert silence or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1366 cut audio at these points. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1367 However <application>MPlayer</application> cannot do that, so if you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1368 demux the AC3 audio and encode it with a separate app (or dump it to PCM with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1369 <application>MPlayer</application>), the splices will be left incorrect |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1370 and the only way to correct them is to drop/dup video frames at the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1371 splice. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1372 As long as <application>MEncoder</application> sees the audio when it is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1373 encoding the video, it can do this dropping/duping (which is usually OK |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1374 since it takes place at full black/scenechange, but if |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1375 <application>MEncoder</application> cannot see the audio, it will just |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1376 process all frames as-is and they will not fit the final audio stream when |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1377 you for example merge your audio and video track into a Matroska file. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1378 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1379 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1380 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1381 First of all, you will have to convert the DVD sound into a WAV file that the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1382 audio codec can use as input. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1383 For example: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1384 <screen>mplayer <replaceable>source_file.vob</replaceable> -ao pcm:file=<replaceable>destination_sound.wav</replaceable> -vc dummy -aid 1 -vo null</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1385 will dump the second audio track from the file |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1386 <replaceable>source_file.vob</replaceable> into the file |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1387 <replaceable>destination_sound.wav</replaceable>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1388 You may want to normalize the sound before encoding, as DVD audio tracks |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1389 are commonly recorded at low volumes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1390 You can use the tool <application>normalize</application> for instance, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1391 which is available in most distributions. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1392 If you are using Windows, a tool such as <application>BeSweet</application> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1393 can do the same job. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1394 You will compress in either Vorbis or MP3. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1395 For example: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1396 <screen>oggenc -q1 <replaceable>destination_sound.wav</replaceable></screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1397 will encode <replaceable>destination_sound.wav</replaceable> with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1398 the encoding quality 1, which is roughly equivalent to 80Kb/s, and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1399 is the minimum quality at which you should encode if you care about |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1400 quality. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1401 Please note that MEncoder currently cannot mux Vorbis audio tracks |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1402 into the output file because it only supports AVI and MPEG |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1403 containers as an output, each of which may lead to audio/video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1404 playback synchronization problems with some players when the AVI file |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1405 contain VBR audio streams such as Vorbis. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1406 Do not worry, this document will show you how you can do that with third |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1407 party programs. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1408 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1409 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1410 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1411 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1412 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1413 <sect2 id="menc-feat-dvd-mpeg4-muxing"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1414 <title>Muxing</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1415 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1416 Now that you have encoded your video, you will most likely want |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1417 to mux it with one or more audio tracks into a movie container, such |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1418 as AVI, MPEG, Matroska or NUT. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1419 <application>MEncoder</application> is currently only able to natively output |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1420 audio and video into MPEG and AVI container formats. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1421 for example: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1422 <screen>mencoder -oac copy -ovc copy -o <replaceable>output_movie.avi</replaceable> -audiofile <replaceable>input_audio.mp2</replaceable> <replaceable>input_video.avi</replaceable></screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1423 This would merge the video file <replaceable>input_video.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1424 and the audio file <replaceable>input_audio.mp2</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1425 into the AVI file <replaceable>output_movie.avi</replaceable>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1426 This command works with MPEG-1 layer I, II and III (more commonly known |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1427 as MP3) audio, WAV and a few other audio formats too. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1428 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1429 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1430 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1431 MEncoder features experimental support for |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1432 <systemitem class="library">libavformat</systemitem>, which is a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1433 library from the FFmpeg project that supports muxing and demuxing |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1434 a variety of containers. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1435 For example: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1436 <screen>mencoder -oac copy -ovc copy -o <replaceable>output_movie.asf</replaceable> -audiofile <replaceable>input_audio.mp2</replaceable> <replaceable>input_video.avi</replaceable> -of lavf -lavfopts format=asf</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1437 This will do the same thing as the previous example, except that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1438 the output container will be ASF. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1439 Please note that this support is highly experimental (but getting |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1440 better every day), and will only work if you compiled |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1441 <application>MPlayer</application> with the support for |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1442 <systemitem class="library">libavformat</systemitem> enabled (which |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1443 means that a pre-packaged binary version will not work in most cases). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1444 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1445 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1446 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1447 <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
|
1448 <title>Improving muxing and A/V sync reliability</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1449 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1450 You may experience some serious A/V sync problems while trying to mux |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1451 your video and some audio tracks, where no matter how you adjust the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1452 audio delay, you will never get proper sync. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1453 That may happen when you use some video filters that will drop or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1454 duplicate some frames, like the inverse telecine filters. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1455 It is strongly encouraged to append the <option>harddup</option> video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1456 filter at the end of the filter chain to avoid this kind of problem. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1457 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1458 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1459 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1460 Without <option>harddup</option>, if <application>MEncoder</application> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1461 wants to duplicate a frame, it relies on the muxer to put a mark on the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1462 container so that the last frame will be displayed again to maintain |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1463 sync while writing no actual frame. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1464 With <option>harddup</option>, <application>MEncoder</application> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1465 will instead just push the last frame displayed again into the filter |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1466 chain. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1467 This means that the encoder receives the <emphasis>exact</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1468 same frame twice, and compresses it. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1469 This will result in a slightly bigger file, but will not cause problems |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1470 when demuxing or remuxing into other container formats. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1471 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1472 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1473 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1474 You may also have no choice but to use <option>harddup</option> with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1475 container formats that are not too tightly linked with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1476 <application>MEncoder</application> such as the ones supported through |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1477 <systemitem class="library">libavformat</systemitem>, which may not |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1478 support frame duplication at the container level. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1479 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1480 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1481 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1482 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1483 <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
|
1484 <title>Limitations of the AVI container</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1485 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1486 Although it is the most widely-supported container format after MPEG-1, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1487 AVI also has some major drawbacks. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1488 Perhaps the most obvious is the overhead. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1489 For each chunk of the AVI file, 24 bytes are wasted on headers and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1490 index. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1491 This translates into a little over 5 MB per hour, or 1-2.5% |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1492 overhead for a 700 MB movie. This may not seem like much, but it could |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1493 mean the difference between being able to use 700 kbit/sec video or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1494 714 kbit/sec, and every bit of quality counts. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1495 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1496 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1497 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1498 In addition this gross inefficiency, AVI also has the following major |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1499 limitations: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1500 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1501 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1502 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1503 <listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1504 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1505 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
|
1506 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
|
1507 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
|
1508 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
|
1509 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
|
1510 fivefold or more and so are not practical. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1511 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1512 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1513 <listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1514 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1515 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
|
1516 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
|
1517 samples). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1518 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
|
1519 either of these requirements. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1520 Therefore, if you plan to store your movie in AVI, you will have to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1521 use a less efficient codec such as MP3 or AC3. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1522 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1523 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1524 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1525 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1526 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1527 Having said all that, <application>MEncoder</application> does not |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1528 currently support variable-fps output or Vorbis encoding. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1529 Therefore, you may not see these as limitations if |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1530 <application>MEncoder</application> is the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1531 only tool you will be using to produce your encodes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1532 However, it is possible to use <application>MEncoder</application> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1533 only for video encoding, and then use external tools to encode |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1534 audio and mux it into another container format. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1535 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1536 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1537 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1538 <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
|
1539 <title>Muxing into the Matroska container</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1540 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1541 Matroska is a free, open standard container format, aiming |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1542 to offer a lot of advanced features, which older containers |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1543 like AVI cannot handle. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1544 For example, Matroska supports variable bitrate audio content |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1545 (VBR), variable framerates (VFR), chapters, file attachments, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1546 error detection code (EDC) and modern A/V Codecs like "Advanced Audio |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1547 Coding" (AAC), "Vorbis" or "MPEG-4 AVC" (H.264), next to nothing |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1548 handled by AVI. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1549 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1550 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1551 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1552 The tools required to create Matroska files are collectively called |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1553 <application>mkvtoolnix</application>, and are available for most |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1554 Unix platforms as well as <application>Windows</application>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1555 Because Matroska is an open standard you may find other |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1556 tools that suit you better, but since mkvtoolnix is the most |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1557 common, and is supported by the Matroska team itself, we will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1558 only cover its usage. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1559 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1560 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1561 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1562 Probably the easiest way to get started with Matroska is to use |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1563 <application>MMG</application>, the graphical frontend shipped with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1564 <application>mkvtoolnix</application>, and follow the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1565 <ulink url="http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html">guide to mkvmerge GUI (mmg)</ulink> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1566 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1567 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1568 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1569 You may also mux audio and video files using the command line: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1570 <screen>mkvmerge -o <replaceable>output.mkv</replaceable> <replaceable>input_video.avi</replaceable> <replaceable>input_audio1.mp3</replaceable> <replaceable>input_audio2.ac3</replaceable></screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1571 This would merge the video file <replaceable>input_video.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1572 and the two audio files <replaceable>input_audio1.mp3</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1573 and <replaceable>input_audio2.ac3</replaceable> into the Matroska |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1574 file <replaceable>output.mkv</replaceable>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1575 Matroska, as mentioned earlier, is able to do much more than that, like |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1576 multiple audio tracks (including fine-tuning of audio/video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1577 synchronization), chapters, subtitles, splitting, etc... |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1578 Please refer to the documentation of those applications for |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1579 more details. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1580 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1581 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1582 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1583 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1584 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1585 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1586 </sect1> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1587 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1588 <sect1 id="menc-feat-telecine"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1589 <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
|
1590 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1591 <sect2 id="menc-feat-telecine-intro"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1592 <title>Introduction</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1593 <formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1594 <title>What is telecine?</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1595 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1596 I suggest you visit this page if you do not understand much of what |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1597 is written in this document: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1598 <ulink url="http://www.divx.com/support/guides/guide.php?gid=10">http://www.divx.com/support/guides/guide.php?gid=10</ulink> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1599 This URL links to an understandable and reasonably comprehensive |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1600 description of what telecine is. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1601 </para></formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1602 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1603 <formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1604 <title>A note about the numbers.</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1605 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1606 Many documents, including the guide linked above, refer to the fields |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1607 per second value of NTSC video as 59.94 and the corresponding frames |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1608 per second values as 29.97 (for telecined and interlaced) and 23.976 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1609 (for progressive). For simplicity, some documents even round these |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1610 numbers to 60, 30, and 24. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1611 </para></formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1612 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1613 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1614 Strictly speaking, all those numbers are approximations. Black and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1615 white NTSC video was exactly 60 fields per second, but 60000/1001 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1616 was later chosen to accomodate color data while remaining compatible |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1617 with contemporary black and white televisions. Digital NTSC video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1618 (such as on a DVD) is also 60000/1001 fields per second. From this, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1619 interlaced and telecined video are derived to be 30000/1001 frames |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1620 per second; progressive video is 24000/1001 frames per second. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1621 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1622 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1623 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1624 Older versions of the <application>MEncoder</application> documentation |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1625 and many archived mailing list posts refer to 59.94, 29.97, and 23.976. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1626 All <application>MEncoder</application> documentation has been updated |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1627 to use the fractional values, and you should use them too. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1628 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1629 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1630 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1631 <option>-ofps 23.976</option> is incorrect. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1632 <option>-ofps 24000/1001</option> should be used instead. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1633 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1634 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1635 <formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1636 <title>How telecine is used.</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1637 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1638 All video intended to be displayed on an NTSC |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1639 television set must be 60000/1001 fields per second. Made-for-TV movies |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1640 4 and shows are often filmed directly at 60000/1001 fields per second, but |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1641 the majority of cinema is filmed at 24 or 24000/1001 frames per |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1642 second. When cinematic movie DVDs are mastered, the video is then |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1643 converted for television using a process called telecine. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1644 </para></formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1645 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1646 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1647 On a DVD, the video is never actually stored as 60000/1001 fields per |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1648 second. For video that was originally 60000/1001, each pair of fields is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1649 combined to form a frame, resulting in 30000/1001 frames per |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1650 second. Hardware DVD players then read a flag embedded in the video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1651 stream to determine whether the odd- or even-numbered lines should |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1652 form the first field. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1653 </para> |
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 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1656 Usually, 24000/1001 frames per second content stays as it is when |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1657 encoded for a DVD, and the DVD player must perform telecining |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1658 on-the-fly. Sometimes, however, the video is telecined |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1659 <emphasis>before</emphasis> being stored on the DVD; even though it |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1660 was originally 24000/1001 frames per second, it becomes 60000/1001 fields per |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1661 second. When it is stored on the DVD, pairs of fields are combined to form |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1662 30000/1001 frames per second. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1663 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1664 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1665 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1666 When looking at individual frames formed from 60000/10001 fields per |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1667 second video, telecined or otherwise, interlacing is clearly visible |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1668 wherever there is any motion, because one field (say, the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1669 even-numbered lines) represents a moment in time 1/(60000/1001) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1670 seconds later than the other. Playing interlaced video on a computer |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1671 looks ugly both because the monitor is higher resolution and because |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1672 the video is shown frame-after-frame instead of field-after-field. |
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 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1676 <title>Notes:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1677 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1678 This section only applies to NTSC DVDs, and not PAL. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1679 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1680 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1681 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
|
1682 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
|
1683 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
|
1684 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
|
1685 <systemitem class="library">libavcodec</systemitem> for maximal |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1686 quality is not within the scope of this document. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1687 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1688 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1689 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
|
1690 <link linkend="menc-feat-telecine-footnotes">[1]</link> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1691 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1692 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1693 </sect2> |
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 <sect2 id="menc-feat-telecine-ident"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1696 <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
|
1697 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1698 <sect3 id="menc-feat-telecine-ident-progressive"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1699 <title>Progressive</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1700 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1701 Progressive video was originally filmed at 24000/1001 fps, and stored |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1702 on the DVD without alteration. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1703 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1704 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1705 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1706 When you play a progressive DVD in <application>MPlayer</application>, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1707 <application>MPlayer</application> will print the following line as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1708 soon as the movie begins to play: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1709 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1710 <screen> demux_mpg: 24000/1001 fps progressive NTSC content detected, switching framerate.</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1711 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1712 From this point forward, demux_mpg should never say it finds |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1713 "30000/1001 fps NTSC content." |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1714 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1715 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1716 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1717 When you watch progressive video, you should never see any |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1718 interlacing. Beware, however, because sometimes there is a tiny bit |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1719 of telecine mixed in where you would not expect. I have encountered TV |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1720 show DVDs that have one second of telecine at every scene change, or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1721 at seemingly random places. I once watched a DVD that had a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1722 progressive first half, and the second half was telecined. If you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1723 want to be <emphasis>really</emphasis> thorough, you can scan the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1724 entire movie: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1725 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1726 <screen>mplayer dvd://1 -nosound -vo null -benchmark</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1727 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1728 Using <option>-benchmark</option> makes |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1729 <application>MPlayer</application> play the movie as quickly as it |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1730 possibly can; still, depending on your hardware, it can take a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1731 while. Every time demux_mpg reports a framerate change, the line |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1732 immediately above will show you the time at which the change |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1733 occurred. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1734 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1735 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1736 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1737 Sometimes progressive video on DVDs is referred to as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1738 "soft-telecine" because it is intended to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1739 be telecined by the DVD player. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1740 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1741 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1742 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1743 <sect3 id="menc-feat-telecine-ident-telecined"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1744 <title>Telecined</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1745 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1746 Telecined video was originally filmed at 24000/1001, but was telecined |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1747 <emphasis>before</emphasis> it was written to the DVD. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1748 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1749 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1750 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1751 <application>MPlayer</application> does not (ever) report any |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1752 framerate changes when it plays telecined video. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1753 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1754 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1755 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1756 Watching a telecined video, you will see interlacing artifacts that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1757 seem to "blink": they repeatedly appear and disappear. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1758 You can look closely at this by |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1759 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1760 <listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1761 <screen>mplayer dvd://1</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1762 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1763 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1764 Seek to a part with motion. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1765 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1766 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1767 Use the <keycap>.</keycap> key to step forward one frame at a time. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1768 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1769 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1770 Look at the pattern of interlaced-looking and progressive-looking |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1771 frames. If the pattern you see is PPPII,PPPII,PPPII,... then the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1772 video is telecined. If you see some other pattern, then the video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1773 may have been telecined using some non-standard method; |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1774 <application>MEncoder</application> cannot losslessly convert |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1775 non-standard telecine to progressive. If you do not see any |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1776 pattern at all, then it is most likely interlaced. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1777 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1778 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1779 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1780 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1781 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1782 Sometimes telecined video on DVDs is referred to as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1783 "hard-telecine". Since hard-telecine is already 60000/1001 fields |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1784 per second, the DVD player plays the video without any manipulation. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1785 </para> |
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> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1788 Another way to tell if your source is telecined or not is to play |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1789 the source with the <option>-vf pullup</option> and <option>-v</option> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1790 command line options to see how <option>pullup</option> matches frames. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1791 If the source is telecined, you should see on the console a 3:2 pattern |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1792 with <systemitem>0+.1.+2</systemitem> and <systemitem>0++1</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1793 alternating. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1794 This technique has the advantage that you do not need to watch the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1795 source to identify it, which could be useful if you wish to automate |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1796 the encoding procedure, or to carry out said procedure remotely via |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1797 a slow connection. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1798 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1799 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1800 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1801 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1802 <sect3 id="menc-feat-telecine-ident-interlaced"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1803 <title>Interlaced</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1804 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1805 Interlaced video was originally filmed at 60000/1001 fields per second, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1806 and stored on the DVD as 30000/1001 frames per second. The interlacing effect |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1807 (often called "combing") is a result of combining pairs of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1808 fields into frames. Each field is supposed to be 1/(60000/1001) seconds apart, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1809 and when they are displayed simultaneously the difference is apparent. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1810 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1811 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1812 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1813 As with telecined video, <application>MPlayer</application> should |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1814 not ever report any framerate changes when playing interlaced content. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1815 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1816 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1817 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1818 When you view an interlaced video closely by frame-stepping with the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1819 <keycap>.</keycap> key, you will see that every single frame is interlaced. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1820 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1821 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1822 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1823 <sect3 id="menc-feat-telecine-ident-mixedpt"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1824 <title>Mixed progressive and telecine</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1825 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1826 All of a "mixed progressive and telecine" video was originally |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1827 24000/1001 frames per second, but some parts of it ended up being telecined. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1828 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1829 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1830 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1831 When <application>MPlayer</application> plays this category, it will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1832 (often repeatedly) switch back and forth between "30000/1001 fps NTSC" |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1833 and "24000/1001 fps progressive NTSC". Watch the bottom of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1834 <application>MPlayer</application>'s output to see these messages. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1835 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1836 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1837 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1838 You should check the "30000/1001 fps NTSC" sections to make sure |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1839 they are actually telecine, and not just interlaced. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1840 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1841 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1842 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1843 <sect3 id="menc-feat-telecine-ident-mixedpi"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1844 <title>Mixed progressive and interlaced</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1845 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1846 In "mixed progressive and interlaced" content, progressive |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1847 and interlaced video have been spliced together. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1848 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1849 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1850 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1851 This category looks just like "mixed progressive and telecine", |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1852 until you examine the 30000/1001 fps sections and see that they do not have the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1853 telecine pattern. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1854 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1855 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1856 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1857 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1858 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1859 <sect2 id="menc-feat-telecine-encode"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1860 <title>How to encode each category</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1861 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1862 As I mentioned in the beginning, example <application>MEncoder</application> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1863 lines below are <emphasis role="bold">not</emphasis> meant to actually be used; |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1864 they only demonstrate the minimum parameters to properly encode each category. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1865 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1866 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1867 <sect3 id="menc-feat-telecine-encode-progressive"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1868 <title>Progressive</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1869 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1870 Progressive video requires no special filtering to encode. The only |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1871 parameter you need to be sure to use is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1872 <option>-ofps 24000/1001</option>. Otherwise, <application>MEncoder</application> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1873 will try to encode at 30000/1001 fps and will duplicate frames. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1874 </para> |
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 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1877 <screen>mencoder dvd://1 -oac copy -ovc lavc -ofps 24000/1001</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1878 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1879 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1880 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1881 It is often the case, however, that a video that looks progressive |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1882 actually has very short parts of telecine mixed in. Unless you are |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1883 sure, it is safest to treat the video as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1884 <link linkend="menc-feat-telecine-encode-mixedpt">mixed progressive and telecine</link>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1885 The performance loss is small |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1886 <link linkend="menc-feat-telecine-footnotes">[3]</link>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1887 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1888 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1889 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1890 <sect3 id="menc-feat-telecine-encode-telecined"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1891 <title>Telecined</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1892 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1893 Telecine can be reversed to retrieve the original 24000/1001 content, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1894 using a process called inverse-telecine. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1895 <application>MPlayer</application> contains several filters to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1896 accomplish this; the best filter, <option>pullup</option>, is described |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1897 in the <link linkend="menc-feat-telecine-encode-mixedpt">mixed |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1898 progressive and telecine</link> section. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1899 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1900 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1901 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1902 <sect3 id="menc-feat-telecine-encode-interlaced"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1903 <title>Interlaced</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1904 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1905 For most practical cases it is not possible to retrieve a complete |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1906 progressive video from interlaced content. The only way to do so |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1907 without losing half of the vertical resolution is to double the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1908 framerate and try to "guess" what ought to make up the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1909 corresponding lines for each field (this has drawbacks - see method |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1910 3). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1911 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1912 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1913 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1914 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1915 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1916 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
|
1917 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
|
1918 <systemitem class="library">libavcodec</systemitem> has two |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1919 parameters specifically for dealing with storing interlaced video a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1920 bit better: <option> ildct</option> and <option>ilme</option>. Also, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1921 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
|
1922 <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
|
1923 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
|
1924 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
|
1925 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1926 <screen>mencoder dvd://1 -oac copy -ovc lavc -lavcopts ildct:ilme:mbd=2</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1927 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1928 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1929 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
|
1930 these filters available to choose from, each with its own advantages |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1931 and disadvantages. Consult <option>mplayer -pphelp</option> to see |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1932 what is available (grep for "deint"), and search the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1933 <ulink url="http://www.mplayerhq.hu/homepage/design6/info.html#mailing_lists"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1934 MPlayer mailing lists</ulink> to find many discussions about the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1935 various filters. Again, the framerate is not changing, so no |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1936 <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
|
1937 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
|
1938 before scaling. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1939 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1940 <screen>mencoder dvd://1 -oac copy -vf pp=lb -ovc lavc</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1941 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1942 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1943 Unfortunately, this option is buggy with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1944 <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
|
1945 <application>MEncoder G2</application>, but that is not here yet. You |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1946 might experience crahes. Anyway, the purpose of <option> -vf |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1947 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
|
1948 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
|
1949 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
|
1950 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
|
1951 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
|
1952 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
|
1953 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
|
1954 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
|
1955 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
|
1956 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
|
1957 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
|
1958 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
|
1959 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
|
1960 <option>tfields</option> you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1961 <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
|
1962 <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
|
1963 framerate of your original source. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1964 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1965 <screen>mencoder dvd://1 -oac copy -vf tfields=2 -ovc lavc -fps 60000/1001 -ofps 60000/1001</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1966 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1967 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1968 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
|
1969 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
|
1970 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
|
1971 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
|
1972 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
|
1973 <option>-vf field</option>, then crop |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1974 <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
|
1975 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
|
1976 compensate for the vertical resolution being halved. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1977 <screen>mencoder dvd://1 -oac copy -vf field=0 -ovc lavc</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1978 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1979 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1980 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1981 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1982 <sect3 id="menc-feat-telecine-encode-mixedpt"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1983 <title>Mixed progressive and telecine</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1984 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1985 In order to turn mixed progressive and telecine video into entirely |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1986 progressive video, the telecined parts have to be |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1987 inverse-telecined. There are three ways to accomplish this, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1988 described below. Note that you should |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1989 <emphasis role="bold">always</emphasis> inverse-telecine before any |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1990 rescaling; unless you really know what you are doing, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1991 inverse-telecine before cropping, too |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1992 <link linkend="menc-feat-telecine-footnotes">[1]</link>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1993 <option>-ofps 24000/1001</option> is needed here because the output video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1994 will be 24000/1001 frames per second. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1995 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1996 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1997 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1998 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
1999 <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
|
2000 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
|
2001 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
|
2002 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
|
2003 else <application>MEncoder</application> will crash. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2004 <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
|
2005 accurate method available for encoding both telecine and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2006 "mixed progressive and telecine". |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2007 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2008 <screen>mencoder dvd://1 -oac copy -vf pullup,softskip -ovc lavc -ofps 24000/1001</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2009 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2010 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2011 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2012 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2013 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2014 An older method |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2015 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
|
2016 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
|
2017 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
|
2018 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
|
2019 softpulldown with either <option>detc</option> or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2020 <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
|
2021 progressive. <option>-ofps 24000/1001</option> is needed. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2022 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2023 <screen>mencoder dvd://1 -oac copy -vf softpulldown,ivtc=1 -ovc lavc -ofps 24000/1001</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2024 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2025 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2026 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2027 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2028 I have not used <option>-vf filmdint</option> myself, but here is what |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2029 D Richard Felker III has to say: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2030 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2031 <blockquote><para>It is OK, but IMO it tries to deinterlace rather |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2032 than doing inverse telecine too often (much like settop DVD |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2033 players & progressive TVs) which gives ugly flickering and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2034 other artifacts. If you are going to use it, you at least need to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2035 spend some time tuning the options and watching the output first |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2036 to make sure it is not messing up.</para></blockquote> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2037 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2038 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2039 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2040 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2041 <sect3 id="menc-feat-telecine-encode-mixedpi"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2042 <title>Mixed progressive and interlaced</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2043 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2044 There are two options for dealing with this category, each of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2045 which is a compromise. You should decide based on the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2046 duration/location of each type. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2047 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2048 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2049 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2050 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2051 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
|
2052 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
|
2053 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
|
2054 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
|
2055 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2056 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2057 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2058 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
|
2059 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
|
2060 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
|
2061 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
|
2062 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
|
2063 fields' duration (3/(60000/1001) seconds), resulting in a flicking |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2064 "jump back in time" effect that looks quite bad. If you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2065 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
|
2066 deinterlacing filter like <option>lb</option> or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2067 <option>l5</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2068 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2069 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2070 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2071 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
|
2072 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
|
2073 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
|
2074 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
|
2075 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
|
2076 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
|
2077 much. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2078 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2079 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2080 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2081 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
|
2082 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
|
2083 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
|
2084 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
|
2085 interlaced. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2086 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2087 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2088 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2089 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2090 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
|
2091 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
|
2092 deinterlacing filters may slightly degrade the progressive parts. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2093 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2094 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2095 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2096 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2097 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2098 </sect2> |
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 <sect2 id="menc-feat-telecine-footnotes"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2101 <title>Footnotes</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2102 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2103 <listitem><formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2104 <title>About cropping:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2105 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2106 Video data on DVDs are stored in a format called YUV 4:2:0. In YUV |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2107 video, luma ("brightness") and chroma ("color") |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2108 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
|
2109 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
|
2110 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
|
2111 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
|
2112 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
|
2113 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
|
2114 <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
|
2115 <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
|
2116 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2117 </formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2118 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2119 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2120 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
|
2121 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
|
2122 <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
|
2123 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
|
2124 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
|
2125 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
|
2126 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
|
2127 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
|
2128 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
|
2129 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
|
2130 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
|
2131 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
|
2132 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2133 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2134 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2135 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
|
2136 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
|
2137 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
|
2138 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
|
2139 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
|
2140 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2141 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2142 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2143 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
|
2144 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
|
2145 field</option> before cropping. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2146 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2147 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2148 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2149 <listitem><formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2150 <title>About encoding parameters and quality:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2151 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2152 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
|
2153 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
|
2154 <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
|
2155 <systemitem class="library">libavcodec</systemitem> options that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2156 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
|
2157 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
|
2158 encoding). There are many other options to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2159 <systemitem class="library">libavcodec</systemitem> that increase |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2160 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
|
2161 the scope of this document. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2162 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2163 </formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2164 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2165 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2166 <listitem><formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2167 <title>About the performance of pullup:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2168 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2169 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
|
2170 </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
|
2171 the source has been definitively verified to be entirely progressive. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2172 The performace loss is small for most cases. On a bare-minimum encode, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2173 <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
|
2174 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
|
2175 </option> overshadows that difference, bringing the performance |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2176 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
|
2177 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2178 </formalpara> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2179 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2180 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2181 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2182 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2183 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2184 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2185 </sect1> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2186 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2187 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2188 <sect1 id="menc-feat-enc-libavcodec"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2189 <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
|
2190 codec family</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2191 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2192 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2193 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2194 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
|
2195 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
|
2196 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2197 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2198 <sect2 id="menc-feat-enc-libavcodec-video-codecs"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2199 <title><systemitem class="library">libavcodec</systemitem>'s video codecs</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2200 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2201 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2202 <informaltable frame="all"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2203 <tgroup cols="2"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2204 <thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2205 <row><entry>Video codec name</entry><entry>Description</entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2206 </thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2207 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2208 <row><entry>mjpeg</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2209 Motion JPEG |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2210 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2211 <row><entry>ljpeg</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2212 lossless JPEG |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2213 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2214 <row><entry>h261</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2215 H.261 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2216 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2217 <row><entry>h263</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2218 H.263 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2219 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2220 <row><entry>h263p</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2221 H.263+ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2222 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2223 <row><entry>mpeg4</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2224 ISO standard MPEG-4 (DivX 5, XviD compatible) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2225 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2226 <row><entry>msmpeg4</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2227 pre-standard MPEG-4 variant by MS, v3 (AKA DivX3) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2228 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2229 <row><entry>msmpeg4v2</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2230 pre-standard MPEG-4 by MS, v2 (used in old ASF files) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2231 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2232 <row><entry>wmv1</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2233 Windows Media Video, version 1 (AKA WMV7) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2234 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2235 <row><entry>wmv2</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2236 Windows Media Video, version 2 (AKA WMV8) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2237 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2238 <row><entry>rv10</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2239 RealVideo 1.0 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2240 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2241 <row><entry>rv20</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2242 RealVideo 2.0 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2243 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2244 <row><entry>mpeg1video</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2245 MPEG-1 video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2246 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2247 <row><entry>mpeg2video</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2248 MPEG-2 video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2249 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2250 <row><entry>huffyuv</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2251 lossless compression |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2252 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2253 <row><entry>asv1</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2254 ASUS Video v1 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2255 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2256 <row><entry>asv2</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2257 ASUS Video v2 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2258 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2259 <row><entry>ffv1</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2260 FFmpeg's lossless video codec |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2261 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2262 <row><entry>svq1</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2263 Sorenson video 1 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2264 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2265 <row><entry>flv</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2266 Sorenson H.263 used in Flash Video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2267 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2268 <row><entry>dvvideo</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2269 Sony Digital Video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2270 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2271 <row><entry>snow</entry><entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2272 FFmpeg's experimental wavelet-based codec |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2273 </entry></row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2274 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2275 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2276 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2277 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2278 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
|
2279 <literal>vcodec</literal> config, like: <option>-lavcopts vcodec=msmpeg4</option> |
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 <informalexample> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2282 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2283 An example with MJPEG compression: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2284 <screen>mencoder dvd://2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -oac copy</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2285 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2286 </informalexample> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2287 </sect2> |
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 <sect2 id="menc-feat-enc-libavcodec-audio-codecs"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2290 <title><systemitem class="library">libavcodec</systemitem>'s audio codecs</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2291 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2292 <informaltable frame="all"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2293 <tgroup cols="2"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2294 <thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2295 <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
|
2296 </thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2297 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2298 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2299 <entry>mp2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2300 <entry>MPEG Layer 2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2301 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2302 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2303 <entry>ac3</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2304 <entry>AC3, AKA Dolby Digital</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2305 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2306 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2307 <entry>adpcm_ima_wav</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2308 <entry>IMA adaptive PCM (4 bits per sample, 4:1 compression)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2309 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2310 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2311 <entry>sonic</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2312 <entry>experimental lossy/lossless codec</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2313 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2314 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2315 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2316 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2317 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2318 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
|
2319 <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
|
2320 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2321 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2322 <informalexample> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2323 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2324 An example with AC3 compression: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2325 <screen>mencoder dvd://2 -o title2.avi -oac lavc -lavcopts acodec=ac3 -ovc copy</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2326 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2327 </informalexample> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2328 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2329 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2330 Contrary to <systemitem class="library">libavcodec</systemitem>'s video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2331 codecs, its audio codecs do not make a wise usage of the bits they are |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2332 given as they lack some minimal psychoacoustic model (if at all) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2333 which most other codec implementations feature. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2334 However, note that all these audio codecs are very fast and work |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2335 out-of-the-box everywhere <application>MEncoder</application> has been |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2336 compiled with <systemitem class="library">libavcodec</systemitem> (which |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2337 is the case most of time), and do not depend on external libraries. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2338 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2339 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2340 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2341 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2342 <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
|
2343 <title>Encoding options of libavcodec</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2344 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2345 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2346 Ideally, you would probably want to be able to just tell the encoder to switch |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2347 into "high quality" mode and move on. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2348 That would probably be nice, but unfortunately hard to implement as different |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2349 encoding options yield different quality results depending on the source material. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2350 That is because compression depends on the visual properties of the video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2351 in question. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2352 For example, anime and live action have very different properties and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2353 thus require different options to obtain optimum encoding. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2354 The good news is that some options should never be left out, like |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2355 <option>mbd=2</option>, <option>trell</option>, and <option>v4mv</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2356 See below for a detailed description of common encoding options. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2357 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2358 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2359 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2360 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2361 <title>Options to adjust:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2362 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2363 <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
|
2364 the movie. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2365 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
|
2366 need to activate closed GOP support, using |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2367 <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
|
2368 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
|
2369 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
|
2370 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2371 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2372 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2373 <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
|
2374 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
|
2375 with vb_strategy=1 helps. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2376 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2377 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2378 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2379 <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
|
2380 and slower. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2381 Negative values are a completely different scale. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2382 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
|
2383 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2384 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2385 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2386 <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
|
2387 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
|
2388 to really be useful. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2389 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2390 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2391 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2392 <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
|
2393 motion estimation. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2394 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
|
2395 distortion). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2396 0 is fastest, and sufficient for precmp. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2397 For cmp and subcmp, 2 is good for anime, and 3 is good for live action. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2398 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
|
2399 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2400 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2401 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2402 <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
|
2403 take from the previous frame. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2404 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
|
2405 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
|
2406 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2407 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2408 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2409 <emphasis role="bold">cbp, mv0</emphasis>: Controls the selection of macroblocks. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2410 Small speed cost for small quality gain. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2411 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2412 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2413 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2414 <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
|
2415 macroblock's complexity. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2416 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
|
2417 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
|
2418 (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
|
2419 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2420 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2421 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2422 <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
|
2423 with qprd. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2424 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
|
2425 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
|
2426 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
|
2427 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
|
2428 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2429 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2430 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2431 <emphasis role="bold">vqcomp</emphasis>: Tweak ratecontrol. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2432 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
|
2433 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
|
2434 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
|
2435 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
|
2436 0.5-0.7). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2437 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2438 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2439 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2440 <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
|
2441 elimination threshold for luminance and chroma planes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2442 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
|
2443 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
|
2444 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
|
2445 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
|
2446 This saves bits and perhaps speeds up encoding. vlelim=-4 and vcelim=9 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2447 seem to be good for live movies, but seem not to help with anime; |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2448 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
|
2449 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2450 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2451 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2452 <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
|
2453 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
|
2454 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
|
2455 stored in the encoded file. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2456 The compression gain/loss depends on the movie, but it is usually not very |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2457 effective on anime. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2458 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
|
2459 practice). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2460 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2461 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2462 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2463 <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
|
2464 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
|
2465 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
|
2466 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2467 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2468 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2469 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2470 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2471 <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
|
2472 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2473 <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
|
2474 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2475 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2476 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2477 <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
|
2478 quantization. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2479 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
|
2480 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
|
2481 subjective. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2482 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2483 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2484 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2485 <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
|
2486 artifacts, but postprocessing is better. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2487 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2488 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2489 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2490 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2491 <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
|
2492 <title>Encoding setting examples</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2493 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2494 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2495 The following settings are examples of different encoding |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2496 option combinations that affect the speed vs quality tradeoff |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2497 at the same target bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2498 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2499 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2500 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2501 All the encoding settings were tested on a 720x448 @30000/1001 fps |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2502 video sample, the target bitrate was 900kbps, and the machine was an |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2503 AMD-64 3400+ at 2400 Mhz in 64 bits mode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2504 Each encoding setting features the measured encoding speed (in |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2505 frames per second) and the PSNR loss (in dB) compared to the "very |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2506 high quality" setting. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2507 Please understand that depending on your source, your machine type |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2508 and development advancements, you may get very different results. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2509 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2510 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2511 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2512 <informaltable frame="all"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2513 <tgroup cols="4"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2514 <thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2515 <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
|
2516 </thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2517 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2518 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2519 <entry>Very high quality</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2520 <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:vme=5:naq:qns=2</option></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2521 <entry>6fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2522 <entry>0dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2523 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2524 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2525 <entry>High quality</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2526 <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
|
2527 <entry>15fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2528 <entry>-0.5dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2529 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2530 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2531 <entry>Fast</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2532 <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
|
2533 <entry>42fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2534 <entry>-0.74dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2535 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2536 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2537 <entry>Realtime</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2538 <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
|
2539 <entry>54fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2540 <entry>-1.21dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2541 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2542 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2543 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2544 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2545 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2546 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2547 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2548 <sect2 id="custommatrices"><title>Custom inter/intra matrices</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2549 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2550 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2551 With this feature of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2552 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2553 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
|
2554 (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
|
2555 <systemitem>mpeg1video</systemitem> and <systemitem>mpeg2video</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2556 are reported as working. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2557 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2558 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2559 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2560 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
|
2561 <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
|
2562 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2563 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2564 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2565 The <emphasis role="bold">KVCD "Notch" Quantization Matrix:</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2566 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2567 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2568 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2569 Intra: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2570 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2571 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
|
2572 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
|
2573 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
|
2574 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
|
2575 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
|
2576 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
|
2577 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
|
2578 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
|
2579 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2580 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2581 Inter: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2582 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2583 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
|
2584 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
|
2585 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
|
2586 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
|
2587 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
|
2588 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
|
2589 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
|
2590 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
|
2591 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2592 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2593 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2594 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2595 Usage: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2596 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2597 $ mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.avi</replaceable> -oac copy -ovc lavc -lavcopts inter_matrix=...:intra_matrix=... |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2598 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2599 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2600 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2601 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2602 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2603 $ mencoder <replaceable>input.avi</replaceable> -ovc lavc -lavcopts |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2604 vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,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
|
2605 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, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2606 29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,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
|
2607 :inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2608 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, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2609 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
|
2610 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2611 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2612 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2613 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2614 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2615 <sect2 id="menc-feat-dvd-mpeg4-example"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2616 <title>Example</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2617 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2618 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2619 So, you have just bought your shiny new copy of Harry Potter and the Chamber |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2620 of Secrets (widescreen edition, of course), and you want to rip this DVD |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2621 so that you can add it to your Home Theatre PC. This is a region 1 DVD, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2622 so it is NTSC. The example below will still apply to PAL, except you will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2623 omit <option>-ofps 24000/1001</option> (because the output framerate is the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2624 same as the input framerate), and of course the crop dimensions will be |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2625 different. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2626 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2627 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2628 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2629 After running <option>mplayer dvd://1</option>, we follow the process |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2630 detailed in the section <link linkend="menc-feat-telecine">How to deal |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2631 with telecine and interlacing in NTSC DVDs</link> and discover that it is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2632 24000/1001 fps progressive video, which means that we need not use an inverse |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2633 telecine filter, such as <option>pullup</option> or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2634 <option>filmdint</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2635 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2636 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2637 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2638 Next, we want to determine the appropriate crop rectangle, so we use the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2639 cropdetect filter: |
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 <screen>mplayer dvd://1 -vf cropdetect</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2642 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2643 Make sure you seek to a fully filled frame (such as a bright scene), and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2644 you will see in <application>MPlayer</application>'s console output: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2645 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2646 <screen>crop area: X: 0..719 Y: 57..419 (-vf crop=720:362:0:58)</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2647 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2648 We then play the movie back with this filter to test its correctness: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2649 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2650 <screen>mplayer dvd://1 -vf crop=720:362:0:58</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2651 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2652 And we see that it looks perfectly fine. Next, we ensure the width and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2653 height are a multiple of 16. The width is fine, however the height is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2654 not. Since we did not fail 7th grade math, we know that the nearest |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2655 multiple of 16 lower than 362 is 352. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2656 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2657 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2658 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2659 We could just use <option>crop=720:352:0:58</option>, but it would be nice |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2660 to take a little off the top and a little off the bottom so that we |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2661 retain the center. We have shrunk the height by 10 pixels, but we do not |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2662 want to increase the y-offset by 5-pixels since that is an odd number and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2663 will adversely affect quality. Instead, we will increase the y-offset by |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2664 4 pixels: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2665 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2666 <screen>mplayer dvd://1 -vf crop=720:352:0:62</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2667 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2668 Another reason to shave pixels from both the top and the bottom is that we |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2669 ensure we have eliminated any half-black pixels if they exist. Note that if |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2670 your video is telecined, make sure the <option>pullup</option> filter (or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2671 whichever inverse telecine filter you decide to use) appears in the filter |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2672 chain before you crop. If it is interlaced, deinterlace before cropping. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2673 (If you choose to preserve the interlaced video, then make sure your |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2674 vertical crop offset is a multiple of 4.) |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2675 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2676 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2677 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2678 If you are really concerned about losing those 10 pixels, you might |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2679 prefer instead to scale the dimensions down to the nearest multiple of 16. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2680 The filter chain would look like: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2681 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2682 <screen>-vf crop=720:362:0:58,scale=720:352</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2683 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2684 Scaling the video down like this will mean that some small amount of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2685 detail is lost, though it probably will not be perceptible. Scaling up will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2686 result in lower quality (unless you increase the bitrate). Cropping |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2687 discards those pixels altogether. It is a tradeoff that you will want to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2688 consider for each circumstance. For example, if the DVD video was made |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2689 for television, you might want to avoid vertical scaling, since the line |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2690 sampling corresponds to the way the content was originally recorded. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2691 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2692 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2693 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2694 On inspection, we see that our movie has a fair bit of action and high |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2695 amounts of detail, so we pick 2400Kbit for our bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2696 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2697 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2698 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2699 We are now ready to do the two pass encode. Pass one: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2700 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2701 <screen>mencoder dvd://1 -ofps 24000/1001 -oac copy -vf crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2702 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=1 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2703 -o Harry_Potter_2.avi</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2704 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2705 And pass two is the same, except that we specify <option>vpass=2</option>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2706 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2707 <screen>mencoder dvd://1 -ofps 24000/1001 -oac copy -vf crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2708 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=2 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2709 -o Harry_Potter_2.avi</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2710 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2711 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2712 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2713 The options <option>v4mv:mbd=2:trell</option> will greatly increase the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2714 quality at the expense of encoding time. There is little reason to leave |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2715 these options out when the primary goal is quality. The options |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2716 <option>cmp=3:subcmp=3:mbcmp=3</option> select a comparison function that |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2717 yields higher quality than the defaults. You might try experimenting with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2718 this parameter (refer to the man page for the possible values) as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2719 different functions can have a large impact on quality depending on the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2720 source material. For example, if you find |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2721 <systemitem class="library">libavcodec</systemitem> produces too much |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2722 blocky artifacting, you could try selecting the experimental NSSE as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2723 comparison function via <option>*cmp=10</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2724 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2725 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2726 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2727 For this movie, the resulting AVI will be 138 minutes long and nearly |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2728 3GB. And because you said that file size does not matter, this is a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2729 perfectly acceptable size. However, if you had wanted it smaller, you |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2730 could try a lower bitrate. Increasing bitrates have diminishing |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2731 returns, so while we might clearly see an improvement from 1800Kbit to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2732 2000Kbit, it might not be so noticeable above 2000Kbit. Feel |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2733 free to experiment until you are happy. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2734 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2735 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2736 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2737 Because we passed the source video through a denoise filter, you may want |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2738 to add some of it back during playback. This, along with the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2739 <option>spp</option> post-processing filter, drastically improves the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2740 perception of quality and helps eliminate blocky artifacts in the video. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2741 With <application>MPlayer</application>'s <option>autoq</option> option, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2742 you can vary the amount of post-processing done by the spp filter |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2743 depending on available CPU. Also, at this point, you may want to apply |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2744 gamma and/or color correction to best suit your display. For example: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2745 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2746 <screen>mplayer Harry_Potter_2.avi -vf spp,noise=9ah:5ah,eq2=1.2 -autoq 3</screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2747 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2748 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2749 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2750 </sect1> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2751 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2752 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2753 <sect1 id="menc-feat-xvid"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2754 <title>Encoding with the <systemitem class="library">XviD</systemitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2755 codec</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2756 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2757 <systemitem class="library">XviD</systemitem> is a free library for |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2758 encoding MPEG-4 ASP video streams. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2759 Before starting to encode, you need to <link linkend="xvid"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2760 set up <application>MEncoder</application> to support it</link>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2761 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2762 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2763 This guide mainly aims at featuring the same kind of information |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2764 as x264's encoding guide. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2765 Therefore, please begin by reading |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2766 <link linkend="menc-feat-x264-encoding-options-intro">the first part</link> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2767 of that guide. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2768 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2769 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2770 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2771 <sect2 id="menc-feat-xvid-intro"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2772 <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
|
2773 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2774 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2775 Please begin by reviewing the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2776 <systemitem class="library">XviD</systemitem> section of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2777 <application>MPlayer</application>'s man page. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2778 This section is intended to be a supplement to the man page. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2779 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2780 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2781 The XviD default settings are already a good tradeoff between |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2782 speed and quality, therefore you can safely stick to them if |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2783 the following section puzzles you. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2784 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2785 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2786 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2787 <sect2 id="menc-feat-xvid-encoding-options"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2788 <title>Encoding options of <systemitem class="library">XviD</systemitem></title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2789 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2790 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2791 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2792 <emphasis role="bold">vhq</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2793 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
|
2794 higher the setting, the wiser the decision. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2795 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
|
2796 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
|
2797 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
|
2798 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
|
2799 closer to the original. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2800 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
|
2801 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
|
2802 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2803 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2804 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2805 <emphasis role="bold">bvhq</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2806 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
|
2807 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
|
2808 (around +0.1dB PSNR). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2809 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2810 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2811 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2812 <emphasis role="bold">max_bframes</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2813 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
|
2814 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
|
2815 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
|
2816 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
|
2817 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
|
2818 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
|
2819 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
|
2820 have to increase quantizers to reach it. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2821 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2822 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2823 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2824 <emphasis role="bold">bf_threshold</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2825 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
|
2826 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
|
2827 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
|
2828 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
|
2829 <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
|
2830 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
|
2831 <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
|
2832 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
|
2833 need them. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2834 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
|
2835 <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
|
2836 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
|
2837 benefit from them, therefore reducing visual quality. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2838 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
|
2839 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
|
2840 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
|
2841 increase compressibility through using B-frames. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2842 </para></listitem> |
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 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2845 <emphasis role="bold">trellis</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2846 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
|
2847 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
|
2848 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
|
2849 raising overall visual quality. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2850 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
|
2851 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
|
2852 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
|
2853 CPU-hungry options to the minimum. |
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 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2856 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2857 <emphasis role="bold">hq_ac</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2858 Activates a better coefficient cost estimation method, which slightly |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2859 reduces filesize by around 0.15 to 0.19% (which corresponds to less |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2860 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
|
2861 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
|
2862 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2863 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2864 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2865 <emphasis role="bold">cartoon</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2866 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
|
2867 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
|
2868 of content. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2869 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2870 |
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">me_quality</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2873 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
|
2874 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
|
2875 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
|
2876 better the resulting clip will capture the original motion. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2877 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2878 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2879 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
|
2880 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
|
2881 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
|
2882 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
|
2883 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
|
2884 resort. |
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 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2887 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2888 <emphasis role="bold">chroma_me</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2889 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
|
2890 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
|
2891 alone only uses luma (grayscale). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2892 This slows down encoding by 5-10% but improves visual quality |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2893 quite a bit by reducing blocking effects and reduces filesize by |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2894 around 1.3%. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2895 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
|
2896 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
|
2897 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2898 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2899 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2900 <emphasis role="bold">chroma_opt</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2901 Is intended to increase chroma image quality around pure |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2902 white/black edges, rather than improving compression. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2903 This can help to reduce the "red stairs" effect. |
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 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2906 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2907 <emphasis role="bold">lumi_mask</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2908 Tries to give less bitrate to part of the picture that the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2909 human eye cannot see very well, which should allow the encoder |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2910 to spend the saved bits on more important parts of the picture. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2911 The quality of the encode yielded by this option highly depends |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2912 on personal preferences and on the type and monitor settings |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2913 used to watch it (typically, it will not look as good if it is |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2914 bright or if it is a TFT monitor). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2915 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2916 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2917 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2918 <emphasis role="bold">qpel</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2919 Raise the number of candidate motion vectors by increasing |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2920 the precision of the motion estimation from halfpel to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2921 quarterpel. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2922 The idea is to find better motion vectors which will in return |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2923 reduce bitrate (hence increasing quality). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2924 However, motion vectors with quarterpel precision require a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2925 few extra bits to code, but the candidate vectors do not always |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2926 give (much) better results. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2927 Quite often, the codec still spends bits on the extra precision, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2928 but little or no extra quality is gained in return. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2929 Unfortunately, there is no way to foresee the possible gains of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2930 <option>qpel</option>, so you need to actually encode with and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2931 without it to know for sure. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2932 </para><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2933 <option>qpel</option> can be almost double encoding time, and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2934 requires as much as 25% more processing power to decode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2935 It is not supported by all standalone players. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2936 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2937 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2938 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2939 <emphasis role="bold">gmc</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2940 Tries to save bits on panning scenes by using a single motion |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2941 vector for the whole frame. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2942 This almost always raises PSNR, but significantly slows down |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2943 encoding (as well as decoding). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2944 Therefore, you should only use it when you have turned |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2945 <option>vhq</option> to the maximum. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2946 <systemitem class="library">XviD</systemitem>'s GMC is more |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2947 sophisticated than DivX's, but is only supported by few |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2948 standalone players. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2949 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2950 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2951 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2952 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2953 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2954 <sect2 id="menc-feat-xvid-encoding-profiles"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2955 <title>Encoding profiles</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2956 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2957 XviD supports encoding profiles through the <option>profile</option> option, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2958 which are used to impose restrictions on the properties of the XviD video |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2959 stream such that it will be playable on anything which supports the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2960 chosen profile. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2961 The restrictions relate to resolutions, bitrates and certain MPEG-4 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2962 features. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2963 The following table shows what each profile supports. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2964 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2965 <informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2966 <tgroup cols="16" align="center"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2967 <colspec colnum="1" colname="col1"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2968 <colspec colnum="2" colname="col2"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2969 <colspec colnum="3" colname="col3"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2970 <colspec colnum="4" colname="col4"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2971 <colspec colnum="5" colname="col5"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2972 <colspec colnum="6" colname="col6"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2973 <colspec colnum="7" colname="col7"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2974 <colspec colnum="8" colname="col8"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2975 <colspec colnum="9" colname="col9"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2976 <colspec colnum="10" colname="col10"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2977 <colspec colnum="11" colname="col11"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2978 <colspec colnum="12" colname="col12"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2979 <colspec colnum="13" colname="col13"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2980 <colspec colnum="14" colname="col14"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2981 <colspec colnum="15" colname="col15"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2982 <colspec colnum="16" colname="col16"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2983 <colspec colnum="17" colname="col17"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2984 <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
|
2985 <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
|
2986 <spanspec spanname="spa12-17" namest="col12" nameend="col17"/> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2987 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2988 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2989 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2990 <entry spanname="spa2-5">Simple</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2991 <entry spanname="spa6-11">Advanced Simple</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2992 <entry spanname="spa12-17">DivX</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2993 </row> |
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>Profile name</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2996 <entry>0</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2997 <entry>1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2998 <entry>2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
2999 <entry>3</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3000 <entry>0</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3001 <entry>1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3002 <entry>2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3003 <entry>3</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3004 <entry>4</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3005 <entry>5</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3006 <entry>Handheld</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3007 <entry>Portable NTSC</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3008 <entry>Portable PAL</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3009 <entry>Home Theater NTSC</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3010 <entry>Home Theater PAL</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3011 <entry>HDTV</entry> |
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 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3014 <entry>Width [pixels]</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3015 <entry>176</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3016 <entry>176</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3017 <entry>352</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3018 <entry>352</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3019 <entry>176</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3020 <entry>176</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3021 <entry>352</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3022 <entry>352</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3023 <entry>352</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3024 <entry>720</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3025 <entry>176</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3026 <entry>352</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3027 <entry>352</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3028 <entry>720</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3029 <entry>720</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3030 <entry>1280</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3031 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3032 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3033 <entry>Height [pixels]</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3034 <entry>144</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3035 <entry>144</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3036 <entry>288</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3037 <entry>288</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3038 <entry>144</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3039 <entry>144</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3040 <entry>288</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3041 <entry>288</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3042 <entry>576</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3043 <entry>576</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3044 <entry>144</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3045 <entry>240</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3046 <entry>288</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3047 <entry>480</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3048 <entry>576</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3049 <entry>720</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3050 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3051 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3052 <entry>Frame rate [fps]</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3053 <entry>15</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3054 <entry>15</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3055 <entry>15</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3056 <entry>15</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3057 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3058 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3059 <entry>15</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3060 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3061 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3062 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3063 <entry>15</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3064 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3065 <entry>25</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3066 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3067 <entry>25</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3068 <entry>30</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3069 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3070 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3071 <entry>Max average bitrate [kbps]</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3072 <entry>64</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3073 <entry>64</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3074 <entry>128</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3075 <entry>384</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3076 <entry>128</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3077 <entry>128</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3078 <entry>384</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3079 <entry>768</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3080 <entry>3000</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3081 <entry>8000</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3082 <entry>537.6</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3083 <entry>4854</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3084 <entry>4854</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3085 <entry>4854</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3086 <entry>4854</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3087 <entry>9708.4</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3088 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3089 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3090 <entry>Peak average bitrate over 3 secs [kbps]</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3091 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3092 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3093 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3094 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3095 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3096 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3097 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3098 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3099 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3100 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3101 <entry>800</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3102 <entry>8000</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3103 <entry>8000</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3104 <entry>8000</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3105 <entry>8000</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3106 <entry>16000</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3107 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3108 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3109 <entry>Max. B-frames</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3110 <entry>0</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3111 <entry>0</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3112 <entry>0</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3113 <entry>0</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3114 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3115 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3116 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3117 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3118 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3119 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3120 <entry>0</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3121 <entry>1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3122 <entry>1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3123 <entry>1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3124 <entry>1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3125 <entry>2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3126 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3127 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3128 <entry>MPEG quantization</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3129 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3130 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3131 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3132 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3133 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3134 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3135 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3136 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3137 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3138 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3139 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3140 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3141 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3142 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3143 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3144 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3145 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3146 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3147 <entry>Adaptive quantization</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3148 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3149 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3150 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3151 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3152 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3153 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3154 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3155 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3156 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3157 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3158 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3159 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3160 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3161 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3162 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3163 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3164 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3165 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3166 <entry>Interlaced encoding</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3167 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3168 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3169 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3170 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3171 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3172 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3173 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3174 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3175 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3176 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3177 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3178 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3179 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3180 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3181 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3182 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3183 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3184 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3185 <entry>Quaterpixel</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3186 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3187 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3188 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3189 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3190 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3191 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3192 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3193 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3194 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3195 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3196 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3197 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3198 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3199 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3200 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3201 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3202 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3203 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3204 <entry>Global motion compensation</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3205 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3206 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3207 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3208 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3209 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3210 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3211 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3212 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3213 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3214 <entry>X</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3215 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3216 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3217 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3218 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3219 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3220 <entry></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3221 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3222 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3223 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3224 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3225 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3226 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3227 <sect2 id="menc-feat-xvid-example-settings"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3228 <title>Encoding setting examples</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3229 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3230 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3231 The following settings are examples of different encoding |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3232 option combinations that affect the speed vs quality tradeoff |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3233 at the same target bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3234 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3235 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3236 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3237 All the encoding settings were tested on a 720x448 @30000/1001 fps |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3238 video sample, the target bitrate was 900kbps, and the machine was an |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3239 AMD-64 3400+ at 2400 Mhz in 64 bits mode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3240 Each encoding setting features the measured encoding speed (in |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3241 frames per second) and the PSNR loss (in dB) compared to the "very |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3242 high quality" setting. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3243 Please understand that depending on your source, your machine type |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3244 and development advancements, you may get very different results. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3245 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3246 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3247 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3248 <informaltable frame="all"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3249 <tgroup cols="4"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3250 <thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3251 <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
|
3252 </thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3253 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3254 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3255 <entry>Very high quality</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3256 <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
|
3257 <entry>16fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3258 <entry>0dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3259 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3260 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3261 <entry>High quality</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3262 <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
|
3263 <entry>18fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3264 <entry>-0.1dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3265 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3266 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3267 <entry>Fast</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3268 <entry><option>turbo:vhq=0</option></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3269 <entry>28fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3270 <entry>-0.69dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3271 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3272 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3273 <entry>Realtime</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3274 <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
|
3275 <entry>38fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3276 <entry>-1.48dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3277 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3278 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3279 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3280 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3281 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3282 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3283 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3284 </sect1> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3285 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3286 <sect1 id="menc-feat-x264"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3287 <title>Encoding with the <systemitem class="library">x264</systemitem> codec</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3288 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3289 <systemitem class="library">x264</systemitem> is a free library for |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3290 encoding H.264/AVC video streams. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3291 Before starting to encode, you need to <link linkend="codec-x264-encode"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3292 set up <application>MEncoder</application> to support it</link>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3293 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3294 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3295 <sect2 id="menc-feat-x264-encoding-options"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3296 <title>Encoding options of x264</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3297 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3298 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3299 Please begin by reviewing the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3300 <systemitem class="library">x264</systemitem> section of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3301 <application>MPlayer</application>'s man page. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3302 This section is intended to be a supplement to the man page. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3303 Here you will find quick hints about which options are most |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3304 likely to interest most people. The man page is more terse, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3305 but also more exhaustive, and it sometimes offers much better |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3306 technical detail. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3307 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3308 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3309 <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
|
3310 <title>Introduction</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3311 <para>This guide considers two major categories of encoding options:</para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3312 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3313 <orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3314 <listitem><para>Options which mainly trade off encoding time vs. quality |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3315 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3316 <listitem><para>Options which may be useful for fulfilling various personal |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3317 preferences and special requirements</para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3318 </orderedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3319 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3320 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3321 Ultimately, only you can decide which options are best for your |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3322 purposes. The decision for the first class of options is the simplest: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3323 you only have to decide whether you think the quality differences |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3324 justify the speed differences. For the second class of options, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3325 preferences may be far more subjective, and more factors may be |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3326 involved. Note that some of the "personal preferences and special |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3327 requirements" options can still have large impacts on speed or quality, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3328 but that is not what they are primarily useful for. A couple of the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3329 "personal preference" options may even cause changes that look better |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3330 to some people, but look worse to others. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3331 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3332 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3333 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3334 Before continuing, you need to understand that this guide uses only one |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3335 quality metric: global PSNR. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3336 For a brief explanation of what PSNR is, see |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3337 <ulink url="http://en.wikipedia.org/wiki/PSNR">the Wikipedia article on PSNR</ulink>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3338 Global PSNR is the last PSNR number reported when you include |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3339 the <option>psnr</option> option in <option>x264encopts</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3340 Any time you read a claim about PSNR, one of the assumptions |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3341 behind the claim is that equal bitrates are used. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3342 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3343 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3344 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3345 Nearly all of this guide's comments assume you are using |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3346 two pass. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3347 When comparing options, there are two major reasons for using |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3348 two pass encoding. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3349 First, using two pass often gains around 1dB PSNR, which is a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3350 very big difference. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3351 Secondly, testing options by doing direct quality comparisons |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3352 with one pass encodes introduces a major confounding |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3353 factor: bitrate often varies significantly with each encode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3354 It is not always easy to tell whether quality changes are due |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3355 mainly to changed options, or if they mostly reflect essentially |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3356 random differences in the achieved bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3357 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3358 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3359 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3360 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3361 <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
|
3362 <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
|
3363 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3364 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3365 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3366 <emphasis role="bold">subq</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3367 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
|
3368 <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
|
3369 by far the most important. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3370 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
|
3371 are the first options you should consider. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3372 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
|
3373 <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
|
3374 strongly. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3375 Experience shows that, with one reference frame, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3376 <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
|
3377 <option>subq=1</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3378 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
|
3379 <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
|
3380 regardless of the number of reference frames. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3381 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
|
3382 PSNR in comparison <option>subq=1</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3383 This is usually enough to be visible. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3384 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3385 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3386 <option>subq=6</option> is the slowest, highest quality mode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3387 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
|
3388 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
|
3389 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
|
3390 <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
|
3391 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
|
3392 </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
|
3393 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
|
3394 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
|
3395 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
|
3396 <option>bframes</option> to something other than zero (see below). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3397 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3398 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3399 <emphasis role="bold">frameref</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3400 <option>frameref</option> is set to 1 by default, but this |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3401 should not be taken to imply that it is reasonable to set it |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3402 to 1. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3403 Merely raising <option>frameref</option> to 2 gains around |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3404 0.15dB PSNR with a 5-10% speed penalty; this seems like a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3405 good tradeoff. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3406 <option>frameref=3</option> gains around 0.25dB PSNR over |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3407 <option>frameref=1</option>, which should be a visible |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3408 difference. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3409 <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
|
3410 <option>frameref=1</option>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3411 Unfortunately, diminishing returns set in rapidly. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3412 <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
|
3413 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
|
3414 15% speed penalty. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3415 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
|
3416 usually very small (although you should keep in mind throughout |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3417 this whole discussion that it can vary quite a lot depending on |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3418 your source). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3419 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
|
3420 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
|
3421 <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
|
3422 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
|
3423 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
|
3424 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
|
3425 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
|
3426 measurable, let alone perceptible. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3427 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3428 <note><title>Note:</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3429 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3430 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
|
3431 <emphasis role="bold">can</emphasis> and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3432 <emphasis role="bold">usually does</emphasis> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3433 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
|
3434 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
|
3435 <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
|
3436 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
|
3437 the possibility altogether. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3438 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3439 </note> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3440 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3441 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
|
3442 <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
|
3443 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
|
3444 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
|
3445 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
|
3446 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
|
3447 However, different values of <option>frameref</option> can |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3448 occasionally affect frametype decision. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3449 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
|
3450 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
|
3451 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
|
3452 occlusions which might force an I-frame. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3453 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
|
3454 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
|
3455 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
|
3456 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
|
3457 <option>frameref</option> to 3 or higher. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3458 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
|
3459 but it does sometimes come up in video game captures. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3460 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3461 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3462 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3463 <emphasis role="bold">me</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3464 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
|
3465 Altering this option provides a straightforward quality-vs-speed |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3466 tradeoff. <option>me=1</option> is only a few percent faster than |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3467 the default search, at a cost of under 0.1dB global PSNR. The |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3468 default setting (<option>me=2</option>) is a reasonable tradeoff |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3469 between speed and quality. <option>me=3</option> gains a little under |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3470 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
|
3471 <option>frameref</option>. At high values of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3472 <option>frameref</option> (e.g. 12 or so), <option>me=3</option> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3473 is about 40% slower than the default <option> me=2</option>. With |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3474 <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
|
3475 25%-30%. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3476 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3477 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3478 <option>me=4</option> uses an exhaustive search that is too slow for |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3479 practical use. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3480 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3481 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3482 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3483 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3484 <emphasis role="bold">4x4mv</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3485 This option enables the use of 8x4, 4x8 and 4x4 subpartitions in |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3486 predicted macroblocks. Enabling it results in a fairly consistent |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3487 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
|
3488 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
|
3489 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
|
3490 about 0.1dB can be expected. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3491 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3492 </listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3493 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3494 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3495 <emphasis role="bold">bframes</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3496 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
|
3497 that B-frames are not always useful. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3498 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
|
3499 types that are possible in B-frames. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3500 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
|
3501 significant PSNR benefit. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3502 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
|
3503 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
|
3504 pass encode if adaptive B-frame decision is turned off. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3505 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3506 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3507 With adaptive B-frame decision turned off |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3508 (<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
|
3509 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
|
3510 <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
|
3511 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
|
3512 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
|
3513 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
|
3514 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
|
3515 setting this option any higher will have little effect. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3516 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3517 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3518 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3519 <emphasis role="bold">b_adapt</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3520 Note: This is on by default. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3521 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3522 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3523 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
|
3524 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
|
3525 might not benefit from them as much. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3526 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
|
3527 the encoder is. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3528 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
|
3529 but so is the potential quality gain. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3530 It usually does not hurt, however. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3531 Note that this only affects speed and frametype decision on the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3532 first pass. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3533 <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
|
3534 effect on subsequent passes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3535 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3536 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3537 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3538 <emphasis role="bold">b_pyramid</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3539 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
|
3540 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
|
3541 speed cost. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3542 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
|
3543 older than about March 5, 2005. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3544 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3545 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3546 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3547 <emphasis role="bold">weight_b</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3548 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
|
3549 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
|
3550 prediction gives rather large bitrate savings. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3551 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
|
3552 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
|
3553 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
|
3554 B-frames. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3555 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
|
3556 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
|
3557 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
|
3558 all else being equal. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3559 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3560 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3561 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
|
3562 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
|
3563 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
|
3564 <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
|
3565 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
|
3566 clip. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3567 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3568 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3569 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3570 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3571 <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
|
3572 <title>Options pertaining to miscellaneous preferences</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3573 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3574 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3575 <emphasis role="bold">Two pass encoding</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3576 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
|
3577 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
|
3578 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
|
3579 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
|
3580 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
|
3581 twice as slow. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3582 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3583 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3584 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
|
3585 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
|
3586 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
|
3587 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
|
3588 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
|
3589 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
|
3590 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
|
3591 that looks good at 300kbps. Suppose you ask for 1400kbps on the theory |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3592 that this is enough to accomodate both scenes. Single pass ratecontrol |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3593 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
|
3594 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
|
3595 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
|
3596 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
|
3597 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
|
3598 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
|
3599 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
|
3600 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
|
3601 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
|
3602 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
|
3603 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
|
3604 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
|
3605 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
|
3606 increase bitrate misprediction. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3607 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3608 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3609 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
|
3610 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
|
3611 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
|
3612 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
|
3613 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
|
3614 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
|
3615 <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
|
3616 allocation to your liking. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3617 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3618 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3619 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
|
3620 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
|
3621 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
|
3622 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
|
3623 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
|
3624 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
|
3625 <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
|
3626 <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
|
3627 higher-quality options: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3628 <option>subq=6:frameref=15:4x4mv:me=3</option> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3629 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3630 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3631 <emphasis role="bold">Three pass encoding</emphasis>? |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3632 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3633 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
|
3634 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
|
3635 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
|
3636 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
|
3637 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
|
3638 a very good base from which to make highly accurate predictions of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3639 framesizes at a chosen quantizer. In practice, the overall quality |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3640 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
|
3641 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
|
3642 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
|
3643 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
|
3644 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
|
3645 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
|
3646 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
|
3647 special cases. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3648 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3649 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3650 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3651 <emphasis role="bold">qcomp</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3652 <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
|
3653 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
|
3654 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
|
3655 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
|
3656 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
|
3657 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
|
3658 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
|
3659 <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
|
3660 (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
|
3661 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
|
3662 (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
|
3663 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
|
3664 <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
|
3665 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
|
3666 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3667 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3668 <emphasis role="bold">keyint</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3669 <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
|
3670 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
|
3671 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
|
3672 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
|
3673 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
|
3674 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
|
3675 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
|
3676 (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
|
3677 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
|
3678 points as long as there are some scene changes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3679 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3680 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3681 <emphasis role="bold">deblockalpha, deblockbeta</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3682 This topic is going to be a bit controversial. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3683 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3684 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3685 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
|
3686 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
|
3687 in question. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3688 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
|
3689 are not deblocked at all. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3690 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
|
3691 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
|
3692 video you are trying to encode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3693 The <option>deblockalpha</option> and <option>deblockbeta</option> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3694 parameters allow you to specify offsets to the preset deblocking |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3695 thresholds. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3696 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3697 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3698 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
|
3699 filter strength by large amounts (say, -3). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3700 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
|
3701 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
|
3702 deblocking works by default. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3703 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3704 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3705 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
|
3706 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
|
3707 PSNR-optimal. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3708 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
|
3709 plus or minus 1. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3710 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
|
3711 guaranteed to hurt PSNR. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3712 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
|
3713 filter will increase the appearance of blockiness. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3714 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3715 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3716 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
|
3717 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
|
3718 of detail or noise). |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3719 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
|
3720 the artifacts that occur. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3721 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
|
3722 are less noticeable. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3723 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
|
3724 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
|
3725 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
|
3726 represented. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3727 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
|
3728 interchangeable. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3729 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
|
3730 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
|
3731 not notice because it confuses the artifacts with detail. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3732 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3733 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3734 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3735 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
|
3736 lowering the deblocking filter strength, however. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3737 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
|
3738 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
|
3739 <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
|
3740 <option>-vf noise=8a:4a</option> should conceal most mild |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3741 artifacting. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3742 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
|
3743 would have gotten just by fiddling with the deblocking filter. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3744 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3745 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3746 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3747 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3748 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3749 <sect2 id="menc-feat-x264-example-settings"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3750 <title>Encoding setting examples</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3751 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3752 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3753 The following settings are examples of different encoding |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3754 option combinations that affect the speed vs quality tradeoff |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3755 at the same target bitrate. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3756 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3757 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3758 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3759 All the encoding settings were tested on a 720x448 @30000/1001 fps |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3760 video sample, the target bitrate was 900kbps, and the machine was an |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3761 AMD-64 3400+ at 2400 Mhz in 64 bits mode. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3762 Each encoding setting features the measured encoding speed (in |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3763 frames per second) and the PSNR loss (in dB) compared to the "very |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3764 high quality" setting. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3765 Please understand that depending on your source, your machine type |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3766 and development advancements, you may get very different results. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3767 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3768 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3769 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3770 <informaltable frame="all"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3771 <tgroup cols="4"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3772 <thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3773 <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
|
3774 </thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3775 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3776 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3777 <entry>Very high quality</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3778 <entry><option>subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b</option></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3779 <entry>6fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3780 <entry>0dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3781 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3782 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3783 <entry>High quality</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3784 <entry><option>subq=5:4x4mv:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b</option></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3785 <entry>13fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3786 <entry>-0.89dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3787 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3788 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3789 <entry>Fast</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3790 <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
|
3791 <entry>17fps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3792 <entry>-1.48dB</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3793 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3794 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3795 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3796 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3797 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3798 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3799 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3800 </sect1> |
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 <sect1 id="menc-feat-vcd-dvd"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3803 <title>Using MEncoder to create VCD/SVCD/DVD-compliant files.</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3804 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3805 <sect2 id="menc-feat-vcd-dvd-constraints"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3806 <title>Format Constraints</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3807 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3808 <application>MEncoder</application> is capable of creating VCD, SCVD |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3809 and DVD format MPEG files using the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3810 <systemitem class="library">libavcodec</systemitem> library. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3811 These files can then be used in conjunction with |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3812 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3813 or |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3814 <ulink url="http://dvdauthor.sourceforge.net/">dvdauthor</ulink> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3815 to create discs that will play on a standard set-top player. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3816 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3817 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3818 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3819 The DVD, SVCD, and VCD formats are subject to heavy constraints. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3820 Only a small selection of encoded picture sizes and aspect ratios are |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3821 available. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3822 If your movie does not already meet these requirements, you may have |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3823 to scale,crop or add black borders to the picture to make it |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3824 compliant. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3825 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3826 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3827 <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
|
3828 <title>Format Constraints</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3829 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3830 <informaltable frame="all"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3831 <tgroup cols="9"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3832 <thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3833 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3834 <entry>Format</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3835 <entry>Resolution</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3836 <entry>V. Codec</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3837 <entry>V. Bitrate</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3838 <entry>Sample Rate</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3839 <entry>A. Codec</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3840 <entry>A. Bitrate</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3841 <entry>FPS</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3842 <entry>Aspect</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3843 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3844 </thead> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3845 <tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3846 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3847 <entry>NTSC DVD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3848 <entry>720x480, 704x480, 352x480, 352x240</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3849 <entry>MPEG-2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3850 <entry>9800 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3851 <entry>48000 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3852 <entry>AC3,PCM</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3853 <entry>1536 kbps (max)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3854 <entry>30000/1001, 24000/1001</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3855 <entry>4:3, 16:9 (only for 720x480)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3856 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3857 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3858 <entry>NTSC DVD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3859 <entry>352x240<footnote id='fn-rare-resolutions'><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3860 These resolutions are rarely used for DVDs because |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3861 they are fairly low quality.</para></footnote></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3862 <entry>MPEG-1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3863 <entry>1856 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3864 <entry>48000 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3865 <entry>AC3,PCM</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3866 <entry>1536 kbps (max)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3867 <entry>30000/1001, 24000/1001</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3868 <entry>4:3, 16:9</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3869 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3870 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3871 <entry>NTSC SVCD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3872 <entry>480x480</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3873 <entry>MPEG-2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3874 <entry>2600 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3875 <entry>44100 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3876 <entry>MP2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3877 <entry>384 kbps (max)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3878 <entry>30000/1001</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3879 <entry>4:3</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3880 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3881 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3882 <entry>NTSC VCD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3883 <entry>352x240</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3884 <entry>MPEG-1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3885 <entry>1150 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3886 <entry>44100 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3887 <entry>MP2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3888 <entry>224 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3889 <entry>24000/1001, 30000/1001</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3890 <entry>4:3</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3891 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3892 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3893 <entry>PAL DVD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3894 <entry>720x576, 704x576, 352x576, 352x288</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3895 <entry>MPEG-2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3896 <entry>9800 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3897 <entry>48000 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3898 <entry>MP2,AC3,PCM</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3899 <entry>1536 kbps (max)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3900 <entry>25</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3901 <entry>4:3, 16:9 (only for 720x576)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3902 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3903 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3904 <entry>PAL DVD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3905 <entry>352x288<footnoteref linkend='fn-rare-resolutions'/></entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3906 <entry>MPEG-1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3907 <entry>1856 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3908 <entry>48000 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3909 <entry>MP2,AC3,PCM</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3910 <entry>1536 kbps (max)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3911 <entry>25</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3912 <entry>4:3, 16:9</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3913 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3914 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3915 <entry>PAL SVCD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3916 <entry>480x576</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3917 <entry>MPEG-2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3918 <entry>2600 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3919 <entry>44100 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3920 <entry>MP2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3921 <entry>384 kbps (max)</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3922 <entry>25</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3923 <entry>4:3</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3924 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3925 <row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3926 <entry>PAL VCD</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3927 <entry>352x288</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3928 <entry>MPEG-1</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3929 <entry>1152 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3930 <entry>44100 Hz</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3931 <entry>MP2</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3932 <entry>224 kbps</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3933 <entry>25</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3934 <entry>4:3</entry> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3935 </row> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3936 </tbody> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3937 </tgroup> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3938 </informaltable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3939 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3940 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3941 If your movie has 2.35:1 aspect (most recent action movies), you will |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3942 have to add black borders or crop the movie down to 16:9 to make a DVD |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3943 or VCD. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3944 If you add black borders, try to align them at 16-pixel boundaries in |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3945 order to minimize the impact on encoding performance. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3946 Thankfully DVD has sufficiently excessive bitrate that you do not have |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3947 to worry too much about encoding efficiency, but SVCD and VCD are |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3948 highly bitrate-starved and require effort to obtain acceptable quality. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3949 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3950 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3951 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3952 <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
|
3953 <title>GOP Size Constraints</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3954 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3955 DVD, VCD, and SVCD also constrain you to relatively low |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3956 GOP (Group of Pictures) sizes. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3957 For 30 fps material the largest allowed GOP size is 18. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3958 For 25 or 24 fps, the maximum is 15. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3959 The GOP size is set using the <option>keyint</option> option. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3960 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3961 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3962 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3963 <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
|
3964 <title>Bitrate Constraints</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3965 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3966 VCD video is required to be CBR at 1152 kbps. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3967 This highly limiting constraint also comes along with an extremly low vbv |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3968 buffer size of 327 kilobits. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3969 SVCD allows varying video bitrates up to 2500 kbps, and a somewhat less |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3970 restrictive vbv buffer size of 917 kilobits is allowed. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3971 DVD video bitrates may range anywhere up to 9800 kbps (though typical |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3972 bitrates are about half that), and the vbv buffer size is 1835 kilobits. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3973 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3974 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3975 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3976 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3977 <sect2 id="menc-feat-vcd-dvd-output"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3978 <title>Output Options</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3979 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3980 <application>MEncoder</application> has options to control the output |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3981 format. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3982 Using these options we can instruct it to create the correct type of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3983 file. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3984 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3985 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3986 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3987 The options for VCD and SVCD are called xvcd and xsvcd, because they |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3988 are extended formats. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3989 They are not strictly compliant, mainly because the output does not |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3990 contain scan offsets. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3991 If you need to generate an SVCD image, you should pass the output file |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3992 to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3993 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3994 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3995 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3996 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3997 VCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3998 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
3999 -of mpeg -mpegopts format=xvcd |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4000 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4001 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4002 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4003 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4004 SVCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4005 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4006 -of mpeg -mpegopts format=xsvcd |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4007 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4008 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4009 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4010 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4011 DVD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4012 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4013 -of mpeg -mpegopts format=dvd |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4014 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4015 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4016 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4017 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4018 DVD with NTSC Pullup: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4019 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4020 -of mpeg -mpegopts format=dvd:telecine -ofps 24000/1001 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4021 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4022 This allows 24000/1001 fps progressive content to be encoded at 30000/1001 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4023 fps whilst maintaing DVD-compliance. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4024 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4025 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4026 <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
|
4027 <title>Aspect Ratio</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4028 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4029 The aspect argument of <option>-lavcopts</option> is used to encode |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4030 the aspect ratio of the file. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4031 During playback the aspect ratio is used to restore the video to the |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4032 correct size. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4033 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4034 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4035 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4036 16:9 or "Widescreen" |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4037 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4038 -lavcopts aspect=16/9 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4039 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4040 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4041 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4042 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4043 4:3 or "Fullscreen" |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4044 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4045 -lavcopts aspect=4/3 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4046 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4047 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4048 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4049 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4050 2.35:1 or "Cinemascope" NTSC |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4051 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4052 -vf scale=720:368,expand=720:480 -lavcopts aspect=16/9 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4053 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4054 To calculate the correct scaling size, use the expanded NTSC width of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4055 854/2.35 = 368 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4056 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4057 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4058 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4059 2.35:1 or "Cinemascope" PAL |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4060 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4061 -vf scale="720:432,expand=720:576 -lavcopts aspect=16/9 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4062 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4063 To calculate the correct scaling size, use the expanded PAL width of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4064 1024/2.35 = 432 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4065 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4066 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4067 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4068 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4069 <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
|
4070 <title>Sample Rate Conversion</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4071 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4072 If the audio sample rate in the original file is not the same as |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4073 required by the target format, sample rate conversion is required. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4074 This is achieved using the <option>-srate</option> option and |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4075 the <option>-af lavcresample</option> audio filter together. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4076 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4077 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4078 DVD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4079 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4080 -srate 48000 -af lavcresample=48000 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4081 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4082 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4083 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4084 VCD and SVCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4085 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4086 -srate 44100 -af lavcresample=44100 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4087 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4088 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4089 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4090 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4091 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4092 <sect2 id="menc-feat-vcd-dvd-lavc"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4093 <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
|
4094 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4095 <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
|
4096 <title>Introduction</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4097 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4098 <systemitem class="library">libavcodec</systemitem> can be used to |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4099 create VCD/SVCD/DVD compliant video by using the appropriate options. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4100 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4101 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4102 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4103 <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
|
4104 <title>lavcopts</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4105 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4106 This is a list of fields in <option>-lavcopts</option> that you may |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4107 be required to change in order to make a complaint movie for VCD, SVCD, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4108 or DVD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4109 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4110 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4111 <itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4112 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4113 <emphasis role="bold">acodec</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4114 <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
|
4115 <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
|
4116 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
|
4117 space. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4118 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
|
4119 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
|
4120 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4121 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4122 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4123 <emphasis role="bold">abitrate</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4124 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
|
4125 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
|
4126 sound. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4127 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4128 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4129 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4130 <emphasis role="bold">vcodec</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4131 <option>mpeg1video</option> for VCD; |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4132 <option>mpeg2video</option> for SVCD; |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4133 <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
|
4134 <option>mpeg1video</option> for CIF resolutions. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4135 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4136 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4137 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4138 <emphasis role="bold">keyint</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4139 Used to set the GOP size. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4140 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
|
4141 Commercial producers seem to prefer keyframe intervals of 12. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4142 It is possible to make this much larger and still retain compatibility |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4143 with most players. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4144 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
|
4145 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4146 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4147 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4148 <emphasis role="bold">vrc_buf_size</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4149 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
|
4150 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4151 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4152 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4153 <emphasis role="bold">vrc_minrate</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4154 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
|
4155 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4156 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4157 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4158 <emphasis role="bold">vrc_maxrate</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4159 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
|
4160 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
|
4161 own personal preferences and requirements. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4162 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4163 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4164 <listitem><para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4165 <emphasis role="bold">vbitrate</emphasis>: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4166 1152 for VCD; |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4167 up to 2500 for SVCD; |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4168 up to 9800 for DVD. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4169 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
|
4170 preference. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4171 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
|
4172 could use vbitrate=400. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4173 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
|
4174 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
|
4175 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
|
4176 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
|
4177 </para></listitem> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4178 </itemizedlist> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4179 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4180 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4181 <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
|
4182 <title>Examples</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4183 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4184 This is a typical minimum set of <option>-lavcopts</option> for |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4185 encoding video: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4186 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4187 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4188 VCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4189 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4190 -lavcopts vcodec=mpeg1video:vrc_buf_size=327:vrc_minrate=1152:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4191 vrc_maxrate=1152:vbitrate=1152:keyint=15:acodec=mp2 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4192 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4193 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4194 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4195 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4196 SVCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4197 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4198 -lavcopts vcodec=mpeg2video:vrc_buf_size=917:vrc_maxrate=2500:vbitrate=1800:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4199 keyint=15:acodec=mp2 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4200 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4201 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4202 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4203 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4204 DVD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4205 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4206 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4207 keyint=15:acodec=ac3 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4208 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4209 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4210 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4211 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4212 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4213 <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
|
4214 <title>Advanced Options</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4215 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4216 For higher quality encoding, you may also wish to add quality-enhancing |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4217 options to lavcopts, such as <option>trell</option>, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4218 <option>mbd=2</option>, and others. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4219 Note that <option>qpel</option> and <option>v4mv</option>, while often |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4220 useful with MPEG-4, are not usable with MPEG-1 or MPEG-2. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4221 Also, if you are trying to make a very high quality DVD encode, it may |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4222 be useful to add <option>dc=10</option> to lavcopts. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4223 Doing so may help reduce the appearance of blocks in flat-colored areas. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4224 Putting it all together, this is an example of a set of lavcopts for a |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4225 higher quality DVD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4226 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4227 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4228 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4229 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4230 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4231 keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4232 vqmin=1:lmin=1:dc=10 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4233 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4234 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4235 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4236 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4237 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4238 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4239 <sect2 id="menc-feat-vcd-dvd-audio"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4240 <title>Encoding Audio</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4241 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4242 VCD and SVCD support MPEG-1 layer II audio, using one of |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4243 <systemitem class="library">toolame</systemitem>, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4244 <systemitem class="library">twolame</systemitem>, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4245 or <systemitem class="library">libavcodec</systemitem>'s MP2 encoder. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4246 The libavcodec MP2 is far from being as good as the other two libraries, |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4247 however it should always be available to use. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4248 VCD only supports constant bitrate audio (CBR) whereas SVCD supports |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4249 variable bitrate (VBR), too. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4250 Be careful when using VBR because some bad standalone players might not |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4251 support it too well. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4252 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4253 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4254 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4255 For DVD audio, <systemitem class="library">libavcodec</systemitem>'s |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4256 AC3 codec is used. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4257 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4258 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4259 <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
|
4260 <title>toolame</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4261 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4262 For VCD and SVCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4263 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4264 -oac toolame -toolameopts br=224 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4265 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4266 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4267 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4268 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4269 <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
|
4270 <title>twolame</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4271 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4272 For VCD and SVCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4273 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4274 -oac twolame -twolameopts br=224 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4275 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4276 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4277 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4278 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4279 <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
|
4280 <title>libavcodec</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4281 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4282 For DVD with 2 channel sound: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4283 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4284 -oac lavc -lavcopts acodec=ac3:abitrate=192 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4285 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4286 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4287 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4288 For DVD with 5.1 channel sound: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4289 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4290 -channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=384 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4291 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4292 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4293 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4294 For VCD and SVCD: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4295 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4296 -oac lavc -lavcopts acodec=mp2:abitrate=224 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4297 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4298 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4299 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4300 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4301 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4302 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4303 <sect2 id="menc-feat-vcd-dvd-all"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4304 <title>Putting it all Together</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4305 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4306 This section shows some complete commands for creating VCD/SVCD/DVD |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4307 compliant videos. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4308 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4309 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4310 <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
|
4311 <title>PAL DVD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4312 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4313 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4314 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4315 harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4316 vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4317 abitrate=192:aspect=16/9 -ofps 25 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4318 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4319 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4320 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4321 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4322 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4323 <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
|
4324 <title>NTSC DVD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4325 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4326 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4327 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4328 harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4329 vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4330 abitrate=192:aspect=16/9 -ofps 30000/1001 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4331 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4332 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4333 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4334 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4335 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4336 <sect3 id="menc-feat-vcd-dvd-all-pal-ac3-copy"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4337 <title>PAL AVI Containing AC3 Audio to DVD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4338 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4339 If the source already has AC3 audio, use -oac copy instead of re-encoding it. |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4340 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4341 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4342 harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4343 vbitrate=5000:keyint=15:aspect=16/9 -ofps 25 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4344 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4345 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4346 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4347 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4348 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4349 <sect3 id="menc-feat-vcd-dvd-all-ntsc-ac3-copy"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4350 <title>NTSC AVI Containing AC3 Audio to DVD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4351 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4352 If the source already has AC3 audio, and is NTSC @ 24000/1001 fps: |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4353 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4354 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:telecine \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4355 -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4356 vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9 -ofps 24000/1001 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4357 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4358 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4359 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4360 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4361 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4362 <sect3 id="menc-feat-vcd-dvd-all-pal-svcd"> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4363 <title>PAL SVCD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4364 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4365 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4366 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4367 scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4368 vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minrate=600:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4369 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 25 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4370 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4371 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4372 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4373 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4374 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4375 <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
|
4376 <title>NTSC SVCD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4377 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4378 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4379 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4380 scale=480:480,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4381 vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4382 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 30000/1001 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4383 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4384 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4385 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4386 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4387 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4388 <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
|
4389 <title>PAL VCD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4390 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4391 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4392 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4393 scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4394 vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4395 vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4396 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4397 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4398 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4399 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4400 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4401 <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
|
4402 <title>NTSC VCD</title> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4403 <para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4404 <screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4405 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4406 scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4407 vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:\ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4408 vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 \ |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4409 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4410 </screen> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4411 </para> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4412 </sect3> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4413 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4414 </sect2> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4415 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4416 </sect1> |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4417 |
45b8400e8e87
- incomplete but we probably need this (because we updated mencoder.xml already)
boskicinek
parents:
diff
changeset
|
4418 </chapter> |