annotate DOCS/xml/it/encoding-guide.xml @ 34201:079e40110dad

configure: merge DOCS/xml/configure into top-level configure
author diego
date Thu, 03 Nov 2011 14:23:14 +0000
parents acca18850841
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2 <!-- 44% synced with r22753 (row 2377) -->
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3 <chapter id="encoding-guide">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4 <title>La codifica con <application>MEncoder</application></title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
6 <sect1 id="menc-feat-dvd-mpeg4">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
7 <title>Produrre un rip di un film da DVD in un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
8 MPEG-4 ("DivX") di alta qualità</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
9
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
10 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
11 Una domanda frequente è "Come posso generare il rip con la migliore qualità
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
12 per una dimensione data?". Un'altra domanda è "Come posso fare il rip da DVD
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
13 migliore in assoluto? Non mi interessa la dimensione del file, voglio solo la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
14 più alta qualità."
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
15 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
16
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
17 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
18 L'ultima domanda è perlomeno forse posta malamente. Dopo tutto, se non ti
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
19 interessa la dimensione del file, perché non ti copi semplicemente l'intero
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
20 flusso video MPEG-2 dal DVD? Certo, avrai un AVI di 5GB, prendere o lasciare,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
21 ma se vuoi la miglior qualità e non ti importa della dimensione, è
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
22 sicuramente la scelta migliore.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
23 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
24
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
25 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
26 Invero, la ragione per cui vuoi codificare un DVD in MPEG-4 è proprio perché
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
27 ti interessa <emphasis role="bold">davvero</emphasis> la dimensione del file.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
28 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
29
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
30 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
31 E' difficile offrire una ricetta da libro su come generare un rip da DVD in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
32 qualità molto alta. Bisogna considerare vari fattori, e dovresti comprendere
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
33 questi dettagli, altrimenti alla fine probabilmente sarai insoddisfatto del
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
34 risultato. Più sotto evidenziamo alcuni di questi argomenti e poi passiamo ad
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
35 esaminare un esempio. Partiamo dal principio che per codificare il video tu
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
36 stia usando <systemitem class="library">libavcodec</systemitem> anche se la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
37 teoria si applica allo stesso modo agli altri codec.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
38 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
39
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
40 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
41 Se questo ti sembra troppo, dovresti probabilmente usare una delle belle
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
42 interfacce elencate nella
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
43 <ulink url="http://www.mplayerhq.hu/design7/projects.html#mencoder_frontends">sezione su MEncoder</ulink>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
44 nella pagina dei progetti collegati (related projects).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
45 In tal modo riuscirai ad ottenere rip di alta qualità senza pensarci troppo,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
46 dato che la maggior parte di questi strumenti sono progettati per prendere
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
47 decisioni sagge al tuo posto.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
48 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
49
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
50 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
51
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
52 <sect2 id="menc-feat-dvd-mpeg4-preparing-encode">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
53 <title>Prepararsi alla codifica: identificare il materiale sorgente e la frequenza fotogrammi (framerate)</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
54
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
55 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
56 Prima ancora di pensare a codificare un film, devi fare alcuni passi
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
57 preliminari.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
58 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
59
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
60 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
61 Il primo e più importante passo prima della codifica dovrebbe essere
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
62 determinare il tipo di contenuto che stai trattando.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
63 Se il tuo materiale di partenza arriva da un DVD o da TV in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
64 broadcast/via cavo/satellite, sarà salvato in uno dei due formati: NTSC per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
65 il Nord America e il Giappone, PAL per l'Europa, etc...
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
66 E' importante tuttavia comprendere che questo è solo il formato per la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
67 trasmissione in televisione, e spesso <emphasis role="bold">non</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
68 corrisponde al formato originario del film.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
69 L'esperienza insegna che il materiale NTSC è molto più difficile da
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
70 codificare, perché ci sono più elementi da identificare nel sorgente.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
71 Per generare una codifica adeguata, devi sapere il formato originario.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
72 Il non tenerne conto porterà a molti __flaws__ nella tua codifica, inclusi
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
73 artefatti orrendi __combing__ (interlacing) e fotogrammi duplicati o addirittura
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
74 perduti.
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
75 Oltre ad essere brutti, gli artefatti influenzano negativamente l'efficienza
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
76 della codifica: otterrai una peggior qualità a parità di bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
77 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
78
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
79
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
80 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-fps">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
81 <title>Identificare la frequenza fotogrammi (framerate) del sorgente</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
82
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
83 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
84 C'è qui un elenco di tipi comuni di materiale sorgente, dove facilmente si
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
85 trovano e le loro proprietà:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
86 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
87
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
88 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
89 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
90 <emphasis role="bold">Film standard</emphasis>: prodotti per la visione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
91 su schermi da cinema a 24fps.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
92 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
93 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
94 <emphasis role="bold">Video PAL</emphasis>: registrati con una videocamera
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
95 PAL a 50 campi al secondo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
96 Un campo è composto dalle sole linee pari o dispari di un fotogramma.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
97 La televisione è stata progettata per aggiornarle alternativamente come un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
98 metodo economico di compressione analogica.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
99 L'occhio umano teoricamente compensa la cosa, ma una volta che capisci come
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
100 funziona l'interlacciatura imparerai a vederla anche in TV e non ti piacerà
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
101 più la TV.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
102 Due campi <emphasis role="bold">non</emphasis> fanno un fotogramma intero,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
103 poiché sono registrati a 1/50 di secondo di distanza nel tempo e quindi non
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
104 si allineano a meno che non ci sia movimento alcuno.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
105 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
106 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
107 <emphasis role="bold">Video NTSC</emphasis>: registrati con una videocamera
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
108 NTSC a 60000/1001 campi al secondi, o 60 campi al secondo nell'era precedente
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
109 al colore.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
110 Per il resto sono simili ai PAL.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
111 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
112 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
113 <emphasis role="bold">Animazione</emphasis>: solitamente disegnati a 24fps,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
114 ma se ne trovano anche in tipologie con frequenza di fotogrammi mista.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
115 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
116 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
117 <emphasis role="bold">Computer Graphics (CG)</emphasis>: possono essere con
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
118 qualsiasi frequenza di fotogrammi, ma alcuni sono più comuni di altri;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
119 sono tipici 24 e 30 fotogrammi al secondo per NTSC e 25fps per PAL.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
120 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
121 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
122 <emphasis role="bold">Vecchi Film</emphasis>: varie e più basse frequenze di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
123 fotogrammi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
124 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
125 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
126 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
127
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
128
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
129 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-material">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
130 <title>Identificare il materiale sorgente</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
131
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
132 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
133 I film composti da fotogrammi sono indicati come "progressivi", mentre quelli
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
134 composti da campi indipendenti sono chiamati "interlacciati" o video - anche se
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
135 quest'ultimo termine è ambiguo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
136 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
137
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
138 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
139 Per complicare ulteriormente le cose, alcuni film possono essere un misto di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
140 molti dei suddetti.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
141 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
142
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
143 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
144 La più importante distinzione da farsi tra tutti questi formati è che alcuni
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
145 sono basati su fotogrammi mentre gli altri sono basati su campi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
146 <emphasis role="bold">Ogniqualvolta</emphasis> un film viene preparato per la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
147 visualizzazione in televisione (DVD inclusi), viene convertito in un formato
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
148 basato su campi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
149 I vari metodi con cui si può fare sono conosciuti nel loro insieme come
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
150 "telecine", di cui il tristemente famoso "3:2 pulldown" NTSC è una tipologia.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
151 A meno che il materiale originale sia anch'esso basato su campi (e con la stessa
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
152 frequenza di campi) otterrai un filmato in un formato diverso da quello che è
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
153 in origine.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
154 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
155
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
156 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
157 <title>Ci sono vari tipi usuali di "pulldown":</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
158 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
159 <emphasis role="bold">Pulldown PAL 2:2</emphasis>: il più bello di tutti.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
160 Ciascun fotogramma viene mostrato per la durata di due campi, estraendo le
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
161 linee pari e dispari e mostrandole alternativamente.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
162 Se il materiale di origine è a 24fps questo processo velocizza il filmato
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
163 del 4%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
164 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
165 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
166 <emphasis role="bold">Pulldown PAL 2:2:2:2:2:2:2:2:2:2:2:3</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
167 Ogni dodicesimo fotogramma viene mostrato per la durata di tre campi, invece
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
168 che solamente per due.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
169 Questo evita il problema dell'aumento del 4% di velocità, ma rende il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
170 processo molto più difficile da __reversare__.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
171 Solitamente viene usato nelle produzioni musicali, dove modificare del 4% la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
172 velocità rovinerebbe pesantemente la colonna sonora.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
173 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
174 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
175 <emphasis role="bold">Telecine NTSC 3:2</emphasis>: i fotogrammi vengono
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
176 mostrati alternativamente per la durata di 3 o 2 campi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
177 Questo porta ad una frequenza di campi di 2.5 volte la frequenza orginaria.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
178 Il risultato viene anche leggermente rallentato da 60 campi al secondo fino a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
179 60000/1001 campi al secondo, per mantenere la frequenza dei campi di NTSC.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
180 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
181 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
182 <emphasis role="bold">Pulldown NTSC 2:2</emphasis>: utilizzato per mostrare
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
183 materiale a 30fps su NTSC.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
184 Carino, proprio come il pulldown PAL 2:2.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
185 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
186 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
187
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
188 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
189 Ci sono anche alcuni metodi per convertire tra video NTSC e PAL, ma gli
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
190 arogmenti relativi non sono obiettivo di questa guida.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
191 Se ti trovi di fronte a un film di questo genere e lo vuoi codificare, la tua
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
192 scelta migliore è cercarne una copia nel formato originale.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
193 La conversione tra questi due formati è altamente distruttiva e non può
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
194 essere __reversed__ in maniera pulita, perciò la tua codifica __soffrirà__
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
195 molto se eseguita da una sorgente convertita.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
196 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
197
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
198 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
199 Quando il video viene salvato du un DVD, coppie consecutive di campi sono
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
200 raggruppati in un fotogramma, anche se non sono pensati per esser mostrati
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
201 nello stesso momento.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
202 Lo standard MPEG-2 usato sui DVD e per la TV digitale fornisce un modo sia per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
203 codificare i fotogrammi progressivi originali, che uno per memorizzare
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
204 nell'intestazione del fotogramma il numero dei campi per cui il fotogramma
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
205 stesso debba essere mostrato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
206 Se viene usato questo metodo il filmato verrà spesso indicato come
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
207 "soft telecine", visto che il procedimento indica semplicemente al lettore DVD
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
208 di applicare il pulldown al film, invece che modificare il film stesso.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
209 Questa situazione è decisamente preferibile, dato che può essere facilmente
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
210 __reversed__ (__actually ignored__) dal condificatore, e dato che mantiene la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
211 massima qualità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
212 Tuttavia, molti studi di produzione DVD e di trasmissione non usano tecniche di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
213 codifica appropriate, ma al contrario producono filmati con "hard telecine", in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
214 cui i campi sono sotanzialmente duplicati nell'MPEG-2 codificato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
215 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
216
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
217 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
218 Le modalità per gestire questi casi verranno descritte
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
219 <link linkend="menc-feat-telecine">più avanti in questa guida</link>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
220 Per adesso ti lasciamo alcune indicazioni su come identificare il tipo di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
221 materiale che stai trattando:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
222 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
223
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
224 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
225 <title>Regioni NTSC:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
226 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
227 Se <application>MPlayer</application> dice che la frequenza fotogrammi passa
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
228 a 24000/1001 durante la visione del film e non ritorna come prima, è quasi
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
229 sicuramente un qualche contenuto progressivo che è stato modificato in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
230 "soft telecine".
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
231 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
232 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
233 Se <application>MPlayer</application> dice che la frequenza fotogrammi va
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
234 avanti e indietro tra 24000/1001 e 30000/1001 e ogni tanto vedi delle "righe",
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
235 allora ci sono varie possibilità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
236 Le parti a 24000/1001 fps sono quasi certamente contenuto progressivo, in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
237 "soft telecine", ma le parti a 30000/1001 fps possono essere sia contenuto in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
238 "hard telecine" a 24000/1001 fps che video NTSC a 60000/1001 campi al secondo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
239 Usa le stesse linee guida dei due casi seguenti per determinare quale.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
240 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
241 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
242 Se <application>MPlayer</application> non mostra mai una modifica alla
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
243 frequenza dei fotogrammi e ogni singolo fotogramma con del movimento appare
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
244 "rigato", il tuo filmato è video NTSC a 60000/1001 campi al secondo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
245 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
246 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
247 Se <application>MPlayer</application> non mostra mai una modifica alla
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
248 frequenza dei fotogrammi e due fotogrammi ogni cinque sono "rigati", il tuo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
249 film è contenuto a 24000/1001fps in "hard telecine".
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
250 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
251 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
252
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
253 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
254 <title>Regioni PAL:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
255 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
256 Se non vedi mai alcuna "riga", il tuo film è pulldown 2:2.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
257 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
258 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
259 Se vedi delle "righe" che vanno e vengono ogni mezzo secondo,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
260 allora il tuo film è pulldown 2:2:2:2:2:2:2:2:2:2:2:3.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
261 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
262 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
263 Se vedi sempre "righe" durante il movimento, allora il tuo film è video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
264 PAL a 50 campi al secondo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
265 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
266 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
267
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
268 <note><title>Consiglio:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
269 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
270 <application>MPlayer</application> può rallentare la riproduzione del film
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
271 con l'opzione -speed o riprodurlo fotogramma per fotogramma.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
272 Prova ad usare <option>-speed</option> 0.2 per guardare molto lentamente il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
273 film o premi ripetutamente il tasto "<keycap>.</keycap>" per riprodurre un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
274 fotogramma per volta ed identificare la sequenza, se non riesci a vederla a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
275 velocità normale.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
276 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
277 </note>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
278 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
279 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
280
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
281 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
282
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
283 <sect2 id="menc-feat-dvd-mpeg4-2pass">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
284 <title>Quantizzatore costante vs. multipassaggio</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
285
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
286 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
287 E' possibile codificare il filmato in un'ampia gamma di qualità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
288 Con i codificatori video moderni e un pelo di compressione pre-codec
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
289 (ridimensionando e ripulendo), è possibile raggiungere una qualità molto
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
290 buona in 700 MB, per un film di 90-110 minuti in widescreen.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
291 Inoltre tutti i film tranne i più lunghi possono essere codificati con una
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
292 qualità pressoché perfetta in 1400 MB.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
293 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
294
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
295 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
296 Ci sono tre approcci per codificare il video: bitrate costante (CBR),
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
297 quantizzatore costante, e multipassaggio (ABR, o bitrate medio).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
298 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
299
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
300 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
301 La complessità dei fotogrammi di un filmato, e di conseguenza il numero di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
302 bit necessari per comprimerli, può variare molto da una scena ad un'altra.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
303 I codificatori video moderni possono adattarsi via via a queste necessità
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
304 e cambiare il bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
305 In modalità semplici come CBR, tuttavia, i codificatori non sanno il bitrate
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
306 necessario alle scene venture e perciò non possono stare sopra al bitrate
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
307 richiesto per lunghi periodi di tempo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
308 Modalità più avanzate, come la codifica in multipassaggio, possono tener
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
309 conto delle statistiche del passo precedente; questo corregge il problema
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
310 suddetto.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
311 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
312
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
313 <note><title>Nota:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
314 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
315 La maggior parte dei codec che gestisce la codifica in ABR può usare solo la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
316 codifica a due passaggi mentre altri come
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
317 <systemitem class="library">x264</systemitem>,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
318 <systemitem class="library">Xvid</systemitem> e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
319 <systemitem class="library">libavcodec</systemitem> gestiscono il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
320 multipassaggio, che migliora leggermente la qualità ad ogni passo, anche se
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
321 tale moglioramento non è più misurabile né visibile veramente oltre il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
322 quarto passo o giù di lì.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
323 Perciò in questa sezione due passaggi e multipassaggio avranno lo stesso
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
324 significato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
325 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
326 </note>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
327
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
328 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
329 In ambedue i modi, il codec video (come
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
330 <systemitem class="library">libavcodec</systemitem>) spezza il fotogramma video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
331 in macroblocchi da 16x16 pixel e poi applica un quantizzatore a ciascun
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
332 macroblocco. Più basso è il quantizzatore, migliore sarà la qualità e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
333 più alto il bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
334 Il metodo usato dal codificatore del filmato per determinare quale quantizzatore
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
335 utilizzare per un dato macroblocco varia ed è altamente configurabile.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
336 (Questa è una semplificazione estrema del vero processo, ma il concetto di base
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
337 è comodo per capire.)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
338 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
339
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
340 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
341 Quando specifichi un bitrate constante, il codec video codificherà il video,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
342 scartando dettagli tanto quanto è necessario e il meno possibile, in modo da
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
343 rimanere al di sotto del bitrate voluto. Se non ti interessa davvero la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
344 dimensione del file, potresti anche usare CBR e specificare un bitrate
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
345 infinito. (In pratica, questo significa un valore abbastanza alto da non porre
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
346 limiti, come 10000Kbit.) Con nessun limite sul bitrate, il risultato è che il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
347 codec userà il quantizzatore più basso possibile per ciascun macroblocco
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
348 (come specificato da <option>vqmin</option> per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
349 <systemitem class="library">libavcodec</systemitem>, che è 2 di default).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
350 Appena specifichi un bitrate abbastanza basso tale che il codec venga forzato
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
351 ad utilizzare un quantizzatore più alto, allora stai sicuramente diminuendo la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
352 qualità del tuo video.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
353 Per evitarlo, dovresti probabilmente ridurre la dimensione del tuo video,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
354 seguendo il metodo descritto più avanti in questa guida.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
355 In generale dovresti evitare del tutto CBR se ti interessa la qualità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
356 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
357
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
358 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
359 Con il quantizzatore costante, il codec utilizza lo stesso quantizzatore per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
360 ogni macroblocco, come specificato dall'opzione <option>vqscale</option> (per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
361 <systemitem class="library">libavcodec</systemitem>).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
362 Se vuoi la più alta qualità possibile di rip, sempre ignorantdo il bitrate,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
363 puoi usare <option>vqscale=2</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
364 Ciò porterà gli stessi bitrate e PSNR (peak signal-to-noise ratio) come CBR
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
365 con <option>vbitrate</option>=infinito e <option>vqmin</option> di default a 2.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
366 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
367
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
368 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
369 Il problema con la quantizzazione costante è che usa il quantizzatore indicato
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
370 sia che il macroblocco ne abbia bisogno o no. Perciò è possibile che venga
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
371 usato un quantizzatore più alto su un macroblocco senza sacrificare la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
372 qualità visiva. Perché sprecare i bit di un quantizzatore basso che non
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
373 serve? La tua CPU ha tanti cicli fin quando c'è tempo, ma c'è solo un certo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
374 numero di bit sul tuo disco rigido.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
375 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
376
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
377 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
378 Con una codifica a due passi, il primo codificherà il filmato come se fosse
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
379 CBR, ma manterrà una registrazione delle caratteristiche di ogni fotogramma.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
380 Questi dati sono poi utilizzati durante il secondo passo in modo da effettuare
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
381 scelte intelligenti su quale quantizzatore usare. Durante le scene con azione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
382 veloce o molti dettagliate, verrano usati più probabilmente quantizzatori più
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
383 alti, e durante scene lente o con pochi dettagli, verranno usati quantizzatori
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
384 più bassi. Solitamente è molto più importante la quantità di movimento
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
385 che la quantità di dettagli.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
386 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
387
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
388 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
389 Se usi <option>vqscale=2</option>, allora stai sprecando dei bit. Se usi
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
390 <option>vqscale=3</option>, allora non stai ottenendo la miglior qualità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
391 Supponi di rippare un DVD a <option>vqscale=3</option> e che il risultato sia
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
392 1800Kbit. Se fai una codifica a due passi con <option>vbitrate=1800</option> il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
393 video risultante avrà una <emphasis role="bold">qualità superiore</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
394 a <emphasis role="bold">parità di bitrate</emphasis>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
395 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
396
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
397 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
398 Dato che ora sei convinto che i due passaggi siano la strada da percorrere, la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
399 vera domanda adesso è quale bitrate usare? La risposta à che non c'è una
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
400 risposta definitiva. Idealmente vuoi scegliere un bitrate che porti al miglior
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
401 equilibrio tra qualità e dimensione del file. Tutto ciò varia in dipendenza
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
402 del video di origine.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
403 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
404
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
405 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
406 Se la dimensione non è importante, un buon punto di partenza per un rip di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
407 qualità molto elevata è intorno a 2000Kbit più o meno 200Kbit.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
408 Per video con scene di azione veloce o con molti dettagli, oppure se
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
409 semplicemente hai l'occhio critico, potresti scegliere 2400 o 2600.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
410 Per alcuni DVD potresti non notare alcuna differenza a 1400Kbit. Sperimentare
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
411 con alcune scene a vari bitrate è una buona idea per farsi un'opinione.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
412 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
413
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
414 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
415 Se punti a una data dimensione, dovrai calcolare il bitrate in un qualche modo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
416 Prima di farlo, però, devi sapere quanto spazio devi riservare per la traccia
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
417 (le tracce) audio, per cui devi dapprima fare il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
418 <link linkend="menc-feat-dvd-mpeg4-audio">rip di queste</link>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
419 Puoi calcolare il bitrate con l'equazione che segue:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
420 <systemitem>bitrate = (dimensione_voluta_in_Mbytes - dimensione_audio_in_Mbytes)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
421 * 1024 * 1024 / lunghezza_in_secondi * 8 / 1000</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
422 Per esempio, per far stare un film di due ore su un CD da 702MB, con 60MB di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
423 traccia audio, il bitrate video diventerà:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
424 <systemitem>(702 - 60) * 1024 * 1024 / (120*60) * 8 / 1000
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
425 = 740kbps</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
426 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
427 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
428
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
429 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
430
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
431 <sect2 id="menc-feat-dvd-mpeg4-constraints">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
432 <title>Vincoli per una codifica efficiente</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
433
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
434 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
435 A causa della natura del tipo di compressione MPEG, ci sono alcuni vincoli da
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
436 seguire per avere la massima qualità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
437 L'MPEG divide il video in quadrati da 16x16 chiamati macroblocchi, ciascuno di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
438 essi composto da blocchi 4x4 con informazioni sulla luminanza (intensità) e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
439 due blocchi da 8x8 a metà risoluzione per la crominanza (colore) (uno per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
440 l'asse rosso-ciano e l'altro per l'asse blu-giallo).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
441 Anche se la larghezza e l'altezza del tuo filmato non sono multipli di 16 il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
442 codificatore userà tanti macroblocchi 16x16 in modo da coprire tutta la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
443 superficie dell'immagine, e lo spazio in esubero sarà sprecato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
444 Indi, per migliorare la qualità a una dimensione prefissata è una brutta
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
445 idea utilizzare dimensioni che non siano multiple di 16.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
446 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
447
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
448 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
449 La maggior parte dei DVD ha anche alcune con bordi neri sui lati. Lasciarli lì
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
450 avrà un'influenza <emphasis role="bold">molto</emphasis> negativa sulla
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
451 qualità in svariati modi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
452 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
453
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
454 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
455 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
456 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
457 Il tipo di compressione MPEG è pesantemente dipendente dalle trasformazioni
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
458 di dominio frequenti, in particolare la "trasformazione discreta del coseno"
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
459 (Discrete Cosine Transform (DCT)), che xxièe' simile alla trasformazione di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
460 Fourier. Quest'approccio di codifica è efficiente nella rappresentazione di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
461 motivi e transizioni delicate, ma trova difficoltà con spigoli più
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
462 definiti. Per codificarli deve usare molti più bit oppure apparirà un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
463 artefatto conosciuto come 'ringing'.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
464 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
465
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
466 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
467 La trasformazione di frequenza (DCT) prende luogo separatemente in ogni
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
468 macroblocco (praticamente in ogni blocco) perciò questo problema si applica
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
469 solo quando lo spigolo definito è dentro a un blocco. Se il bordo nero inizia
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
470 esattamente sul lato di un multiplo di 16, questo non e' un problema.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
471 Tuttavia i bordi neri sui DVD difficilmente sono ben allineati, perciò
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
472 nella realtà dovrai sempre tagliarli via per evitare questi problemi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
473 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
474 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
475 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
476
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
477 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
478 Oltre alle trasformazioni del dominio di frequenza, il tipo di compressione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
479 MPEG usa dei vettori di movimento per rappresetare le variazioni da un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
480 fotogramma al successivo. Naturalmente i vettori di movimento funzionano molto
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
481 meno bene per i nuovi contenuti che arrivano dai bordi dell'immagine, dato che
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
482 non erano presenti nel fotogramma precedente. Fintanto che l'immagine arriva
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
483 fino al bordo dell'area codificata, i vettori di movimento non incontrano
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
484 alcun problema con li contenuto che esce dall'immagine. Tuttavia ci possono
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
485 esser problemi quando ci sono dei bordi neri:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
486 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
487
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
488 <orderedlist continuation="continues">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
489 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
490 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
491 Per ogni macroblocco il tipo di compressione MPEG memorizza un vettore, che
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
492 identifica quale parte del fotogramma precedente debba essere copiata nel
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
493 macroblocco stesso, come base per predire il fotogramma successivo. Serve
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
494 codificare solo le differenze restanti. Se un macroblocco oltrepassa il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
495 bordo dell'immagine e contiene parte del bordo nero, allora i vettori di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
496 movimento provenienti da altre zone dell'immagine ricopriranno il bordo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
497 nero. Questo significa che si devono utilizzare molti bit o per riannerire il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
498 bordo che è stato ricoperto, oppure (più verosimilmente) un vettore di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
499 movimento non sarà proprio usato e tutti i cambiamenti in questo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
500 macroblocco dovranno venir esplicitamente codificate. In un modo o nell'altro
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
501 si ricuce di gran lunga l'efficienza della codifica.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
502 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
503
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
504 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
505 Inoltre questo problema si applica solo se i bordi neri non sono allinati
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
506 su limiti di multipli di 16.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
507 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
508 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
509
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
510 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
511 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
512 Immagina infine di avere un macroblocco all'interno dell'immagine, ed un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
513 oggetto che passa da questo blocco verso il bordo dell'immagine. La
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
514 codifica MPEG non può dire "copia la parte che è dentro all'immagine, ma
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
515 non il bordo nero". Perciò anche il bordo nero vi verrà copiato
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
516 all'interno, e molti bit saranno sprecati codificando l'immagine che si
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
517 suppone stia lì.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
518 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
519
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
520 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
521 Se l'immagine arriva al limite della superficie codificata, l'MPEG ha una
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
522 particolare ottimizzazione che consta nel copiare ripetutamente i pixel sul
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
523 bordo dell'immagine quando un vettore di movimento arriva dall'esterno della
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
524 superficie codificata. Questa funzionalità diventa inutile quando il film
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
525 ha dei bordi neri. Diversamente dai problemi 1 e 2, allineare i bordi a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
526 multipli di 16 in questo caso non aiuta.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
527 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
528 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
529
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
530 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
531 A dispetto del fatto che i bordi siano completamente neri e non cambino mai,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
532 c'è perlomeno un piccolo spreco nell'avere più macroblocchi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
533 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
534 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
535
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
536 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
537 Per tutte queste ragioni si consiglia di tagliar via completamente i bordi neri.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
538 Inoltre, se c'è una zona di rumore/distorsione sui bordi dell'immagine,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
539 tagliarla migliorerà ancora l'efficienza di codifica. I puristi videofili che
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
540 vogliono mantenere il più possibile l'originale potrebbero obiettare su questo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
541 taglio, ma a meno di non codificare a una quantizzazione costante, la qualità
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
542 guadagnata tagliando sorpasserà di gran lunga la quantità di informazioni
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
543 perse sui bordi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
544 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
545 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
546
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
547 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
548
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
549 <sect2 id="menc-feat-dvd-mpeg4-crop">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
550 <title>Tagliare e Ridimensionare</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
551
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
552 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
553 Ricorda dalla sezione precedente che la dimensione finale dell'immagine che
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
554 codifichi dovrebbe essere un multiplo di 16 (sia in larghezza che altezza).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
555 Si può ottenere ciò tagliando, ridimensionando o combinando le due cose.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
556 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
557
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
558 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
559 Quando tagli, ci sono alcune linee guida che si devono seguire per evitare di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
560 rovinare il tuo filmato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
561 Il formato YUV abituale, 4:2:0, memorizza le informazioni sulla crominanza
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
562 (colore) sottocampionate, per es. la crominanza viene campionata in ogni
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
563 direzione solo la metà di quanto venga la luminanza (intensità).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
564 Osserva questo diagramma, dove L indica i punti di campionamente della
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
565 luminanza e C quelli della crominanza.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
566 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
567
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
568 <informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
569 <?dbhtml table-width="40%" ?>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
570 <?dbfo table-width="40%" ?>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
571 <tgroup cols="8" align="center">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
572 <colspec colnum="1" colname="col1"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
573 <colspec colnum="2" colname="col2"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
574 <colspec colnum="3" colname="col3"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
575 <colspec colnum="4" colname="col4"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
576 <colspec colnum="5" colname="col5"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
577 <colspec colnum="6" colname="col6"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
578 <colspec colnum="7" colname="col7"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
579 <colspec colnum="8" colname="col8"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
580 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
581 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
582 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
583 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
584 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
585 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
586 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
587 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
588 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
589 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
590 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
591 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
592 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
593 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
594 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
595 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
596 <entry spanname="spa1-2">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
597 <entry spanname="spa3-4">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
598 <entry spanname="spa5-6">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
599 <entry spanname="spa7-8">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
600 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
601 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
602 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
603 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
604 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
605 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
606 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
607 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
608 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
609 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
610 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
611 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
612 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
613 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
614 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
615 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
616 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
617 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
618 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
619 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
620 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
621 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
622 <entry spanname="spa1-2">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
623 <entry spanname="spa3-4">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
624 <entry spanname="spa5-6">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
625 <entry spanname="spa7-8">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
626 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
627 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
628 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
629 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
630 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
631 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
632 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
633 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
634 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
635 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
636 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
637 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
638 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
639 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
640
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
641 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
642 Come puoi vedere, le righe e le colonne dell'immagine vengono sempre a coppie.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
643 Quindi i tuoi valori di spostamento e dimensione <emphasis>devono</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
644 essere numeri pari.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
645 Se non lo sono la crominanza non sarà più allineata correttamente con la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
646 luminanza.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
647 In teoria è possibile tagliare con uno spostamento dispari, ma richiede che la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
648 crominanza venga ricampionata, il che potenzialmente è un'operazione in perdita
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
649 e non è gestita dal filtro crop.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
650 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
651
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
652 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
653 Inoltre, il video interlacciato viene campionato come segue:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
654 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
655
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
656 <informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
657 <?dbhtml table-width="80%" ?>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
658 <?dbfo table-width="80%" ?>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
659 <tgroup cols="16" align="center">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
660 <colspec colnum="1" colname="col1"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
661 <colspec colnum="2" colname="col2"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
662 <colspec colnum="3" colname="col3"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
663 <colspec colnum="4" colname="col4"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
664 <colspec colnum="5" colname="col5"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
665 <colspec colnum="6" colname="col6"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
666 <colspec colnum="7" colname="col7"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
667 <colspec colnum="8" colname="col8"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
668 <colspec colnum="9" colname="col9"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
669 <colspec colnum="10" colname="col10"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
670 <colspec colnum="11" colname="col11"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
671 <colspec colnum="12" colname="col12"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
672 <colspec colnum="13" colname="col13"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
673 <colspec colnum="14" colname="col14"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
674 <colspec colnum="15" colname="col15"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
675 <colspec colnum="16" colname="col16"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
676 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
677 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
678 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
679 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
680 <spanspec spanname="spa9-10" namest="col9" nameend="col10"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
681 <spanspec spanname="spa11-12" namest="col11" nameend="col12"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
682 <spanspec spanname="spa13-14" namest="col13" nameend="col14"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
683 <spanspec spanname="spa15-16" namest="col15" nameend="col16"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
684 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
685 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
686 <entry namest="col1" nameend="col8">Campo superiore</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
687 <entry namest="col9" nameend="col16">Campo inferiore</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
688 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
689 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
690 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
691 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
692 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
693 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
694 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
695 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
696 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
697 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
698 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
699 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
700 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
701 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
702 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
703 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
704 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
705 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
706 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
707 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
708 <entry spanname="spa1-2">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
709 <entry spanname="spa3-4">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
710 <entry spanname="spa5-6">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
711 <entry spanname="spa7-8">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
712 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
713 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
714 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
715 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
716 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
717 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
718 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
719 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
720 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
721 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
722 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
723 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
724 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
725 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
726 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
727 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
728 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
729 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
730 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
731 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
732 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
733 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
734 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
735 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
736 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
737 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
738 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
739 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
740 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
741 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
742 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
743 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
744 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
745 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
746 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
747 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
748 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
749 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
750 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
751 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
752 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
753 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
754 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
755 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
756 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
757 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
758 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
759 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
760 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
761 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
762 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
763 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
764 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
765 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
766 <entry spanname="spa9-10">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
767 <entry spanname="spa11-12">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
768 <entry spanname="spa13-14">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
769 <entry spanname="spa15-16">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
770 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
771 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
772 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
773 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
774 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
775 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
776 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
777 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
778 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
779 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
780 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
781 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
782 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
783 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
784 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
785 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
786 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
787 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
788 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
789 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
790 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
791 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
792 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
793 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
794 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
795 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
796 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
797 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
798 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
799 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
800 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
801 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
802 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
803 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
804 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
805 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
806 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
807 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
808 <entry spanname="spa1-2">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
809 <entry spanname="spa3-4">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
810 <entry spanname="spa5-6">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
811 <entry spanname="spa7-8">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
812 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
813 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
814 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
815 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
816 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
817 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
818 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
819 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
820 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
821 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
822 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
823 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
824 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
825 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
826 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
827 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
828 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
829 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
830 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
831 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
832 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
833 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
834 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
835 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
836 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
837 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
838 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
839 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
840 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
841 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
842 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
843 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
844 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
845 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
846 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
847 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
848 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
849 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
850 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
851 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
852 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
853 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
854 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
855 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
856 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
857 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
858 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
859 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
860 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
861 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
862 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
863 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
864 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
865 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
866 <entry spanname="spa9-10">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
867 <entry spanname="spa11-12">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
868 <entry spanname="spa13-14">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
869 <entry spanname="spa15-16">C</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
870 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
871 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
872 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
873 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
874 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
875 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
876 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
877 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
878 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
879 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
880 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
881 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
882 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
883 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
884 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
885 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
886 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
887 <entry>L</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
888 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
889 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
890 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
891 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
892
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
893 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
894 Come puoi notare, il motivo non si ripete fino a dopo 4 linee.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
895 Quindi per il video interlacciato, il tuo spostamento sull'asse y e l'altezza
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
896 devono essere multipli di 4.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
897 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
898
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
899 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
900 La risoluzione nativa DVD è 720x480 per NTSC e 720x576 per PAL, ma c'è un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
901 flag per l'aspetto che indica se è full-screen (4:3) o wide-screen (16:9).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
902 Molti (se non quasi tutti) i DVD in widescreen non sono esattamente 16:9 e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
903 possono essere sia 1.85:1 o 2.35:1 (cinescope). Questo significa che nel video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
904 ci saranno bordi neri che bisogna tagliare via.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
905 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
906
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
907 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
908 <application>MPlayer</application> fornisce un filtro che rileva i valori di
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
909 taglio e fornisce il rettangolo per crop (<option>-vf cropdetect</option>).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
910 Esegui <application>MPlayer</application> con <option>-vf cropdetect</option> ed
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
911 emetterà le impostazioni di taglio per crop al fine di rimuovere i bordi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
912 Dovresti lasciare andare avanti il film abbastanza da ottenere valori di taglio
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
913 precisi.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
914 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
915
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
916 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
917 Dopodiché prova con <application>MPlayer</application> i valori ottenuti usando
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
918 la linea comando emessa da <option>cropdetect</option>, e correggi il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
919 rettangolo se e come serve.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
920 Il filtro <option>rectangle</option> può esserti di aiuto, dato che ti
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
921 permette di impostare interattivamente la posizione del rettangolo di taglio
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
922 sopra al filmato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
923 Ricordati di seguire le linee guida sui multipli in modo da non disallineare
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
924 i piani di crominanza.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
925 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
926
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
927 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
928 In talune occasioni, il ridimensionamento può essere indesiderabile.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
929 Il ridimensionamento sulla direzione verticale è difficoltoso con video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
930 interlacciato e se vuoi mantenere l'interlacciamento, dovresti evitare il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
931 ridimensionamento.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
932 Se non ridimensionerai, ma vuoi comunque usare dimensioni multiple di 16,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
933 dovrai tagliare di più.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
934 Evita di tagliare di meno, dato che i bordi neri sono un male per la codifica!
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
935 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
936
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
937 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
938 Dato che MPEG-4 usa macroblocchi 16x16 vorrai esser sicuro che ambedue le
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
939 dimensioni del video che stai per codificare siano multiple di 16, altrimenti
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
940 perderai in qualità, soprattutto a bitrate più bassi. Puoi farlo abbassando
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
941 la larghezza e l'altezza del rettangolo di taglio al multiplo di 16 più vicino.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
942 Come detto precedentemente, quando tagli, vorrai aumentare lo scostamento Y
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
943 della metà della differenza tra la nuova e la vecchia altezza, in modo che il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
944 video risultante sia preso dal centro del fotogramma. Inoltre, a causa del modo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
945 in cui il video DVD viene campionato, assicurati che lo scostamento sia un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
946 numero pari. (Infatti, come regola, non utilizzare mai valori dispari per alcun
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
947 parametro quando tagli e ridimensioni un video.) Se non ti va di scartare dei
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
948 pixel in più, potresti piuttosto preferire il ridimensionamento del video.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
949 Prenderemo in esame questa situazione più avanti.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
950 Puoi in verità lasciare che tutte le considerazioni suddette vengano fatte
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
951 dal filtro <option>cropdetect</option>, visto che ha un parametro
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
952 <option>round</option> facoltativo, che è impostato a 16 di default.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
953 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
954
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
955 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
956 Fai anche attenzione ai pixel "mezzi neri" sui bordi. Assicurati di tagliare
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
957 anch'essi, altrimenti sprecherai bit più utili altrove.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
958 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
959
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
960 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
961 Dopo aver detto e fatto tutto ciò, probabilmente avrei un vide i cui pixel
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
962 non saranno proprio 1.85:1 o 2.35:1, ma piuttosto un valore vicino. Potresti
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
963 calcolare a mano il nuovo rapporto di aspetto, ma
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
964 <application>MEncoder</application> ha un'opzione per <systemitem
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
965 class="library">libavcodec</systemitem> chiamata <option>autoaspect</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
966 che lo farà per te. Non aumentare assolutamente le dimensioni del video per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
967 avere i pixel quadrati, a meno che tu non voglia sprecare il tuo spazio disco.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
968 Il ridimensionamento dovrebbe essere eseguito in riproduzione, e per definire
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
969 la risoluzione giusta il riproduttore userà l'aspetto memorizzato nell'AVI.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
970 Sfortunatamente non tutti i riproduttori verificano l'informazione sul rapporto
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
971 perciò potresti voler comunque effettuare il ridimensionamento.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
972 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
973 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
974
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
975 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
976
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
977 <sect2 id="menc-feat-dvd-mpeg4-resolution-bitrate">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
978 <title>Scegliere la risoluzione e il bitrate</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
979
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
980 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
981 A meno che tu non stia per codificare con quantizzazione costante devi
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
982 impostare un bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
983 La logica del bitrate è abbastanza semplice.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
984 Normalmente il bitrate viene misurato in kilobit (1000 bit) al secondo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
985 La dimensione del filmato sul disco è il bitrate moltiplicato per la durata
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
986 del filmato, più un piccolo quantitativo in "surplus" (vedi per esempio la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
987 sezione sul
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
988 <link linkend="menc-feat-dvd-mpeg4-muxing-avi-limitations">contenitore AVI</link>).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
989 Altri parametri come ridimensionamento, taglio, etc...
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
990 <emphasis role="bold">non</emphasis> influiscono sulla dimensione del file a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
991 meno che tu non cambi anche il bitrate!
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
992 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
993
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
994 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
995 Il bitrate <emphasis role="bold">non</emphasis> è direttamente proporzionale
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
996 alla risoluzione.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
997 Tanto per capirci, un file 320x240 a 200 kbit/sec non avrà la stessa qualità
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
998 dello stesso filmato a 640x480 e 800 kbit/sec!
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
999 Ci sono due ragioni per ciò:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1000 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1001 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1002 <emphasis role="bold">Percettiva</emphasis>: noti di più gli artefatti MPEG
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1003 quando sono più grandi!
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1004 Gli artefatti appaiono a livello dei blocchi (8x8).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1005 Il tuo occhio non noterà errori in 4800 piccoli blocchi tanti quanti ne
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1006 vedrà in 1200 grossi blocchi (assumendo che tu li stia ridimensionando tutti
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1007 e due a schermo intero).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1008 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1009 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1010 <emphasis role="bold">Teorica</emphasis> : quando rimpicciolisci un immagine
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1011 ma usi la stessa dimensione dei blocchi (8x8) per la trasformazione spaziale
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1012 della frequenza, hai più dati nelle bande ad alta frequenza. In parole
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1013 povere, ogni pixel contiene più dettagli di quanti ne contenesse prima.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1014 Quindi anche se la tua immagine rimpicciolita contiene 1/4 delle informazioni
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1015 sulle direzioni spaziali, potrebbe ancora contenere una gran parte delle
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1016 informazioni nel dominio delal frequenza (assumendo che le alte frequenze
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1017 siano sotto-utilizzate nell'immagine di origine a 640x480).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1018 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1019 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1020 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1021
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1022 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1023 Guide precendenti hanno consigliato di scegliere un bitrate e una risoluzione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1024 in base ad un approccio "bit al secondo", ma di solito ciò non è valido a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1025 causa delle ragioni suddette.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1026 Una stima migliore pare essere che il bitrate è proporzionale alla radice
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1027 quadrata della risoluzione, per cui 320x240 e 400 kbit/sec sarà
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1028 paragonabile a 640x480 a 800 kbit/sec.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1029 Tuttavia ciò non è stato verificato con certezza empirica o teorica.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1030 Inoltre, dato che i filmati hanno diversi livelli di disturbo, dettaglio, angoli
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1031 di movimento, etc..., è vano dare consigli generici su bit per lunghezza della
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1032 diagonale (analogamente a bit per pixel, usando la radice quadrata).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1033 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1034 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1035 Finora abbiamo parlato della difficoltà nel scegliere un bitrate e una
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1036 risoluzione.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1037 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1038
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1039
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1040 <sect3 id="menc-feat-dvd-mpeg4-resolution-bitrate-compute">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1041 <title>Calcolare la risoluzione</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1042
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1043 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1044 I passaggi seguenti ti guideranno nel calcolo della risoluzione per la tua
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1045 codifica senza distorcere troppo il video, tenendo in considerazione vari tipo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1046 di informazioni riguardo la sorgente video.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1047 Per prima cosa dovresti calcolare il rapporto di aspetto codificato:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1048 <systemitem>ARc = (Wc x (ARa / PRdvd )) / Hc</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1049
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1050 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1051 <title>dove:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1052 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1053 Wc e Hc sono la larghezza e l'altezza del video tagliato,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1054 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1055 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1056 ARa è il rapporto di aspetto mostrato, che di solito è 4/3 o 16/9,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1057 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1058 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1059 PRdvd à il rapporto del pixel del DVD che è uguale a 1.25=(720/576) per DVD
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1060 PAL e 1.5=(720/480) per DVD NTSC.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1061 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1062 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1063 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1064
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1065 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1066 Dopo puoi calcolare la risoluzione X e Y, basandoti su un dato fattore
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1067 di qualità di compressione (Compression Quality, CQ):
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1068 <systemitem>ResY = INT(SQRT( 1000*Bitrate/25/ARc/CQ )/16) * 16</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1069 and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1070 <systemitem>ResX = INT( ResY * ARc / 16) * 16</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1071 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1072
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1073 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1074 Okay, ma cos'è la CQ?
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1075 Il CQ rappresenta il numero di bit per pixel e per fotogramma in codifica.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1076 Parlando più semplicemente, più alto è la CQ, più difficilmente si vedranno
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1077 codificati degli artefatti.
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1078 Tuttavia, se desideri una particolare dimensione per il tuo film (per esempio
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1079 1 o 2 CD), hai un numero limitato di bit da utilizzare; devi quindi trovare un
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1080 buon compromesso tra compressione e qualità.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1081 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1082
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1083 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1084 La CQ dipende dal bitrate, dall'efficienza del codec video e dalla risoluzione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1085 del filmato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1086 Per alzare la CQ, di solito dovrai rimpicciolire il filmato visto che il bitrate
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1087 viene calcolato in funzione della dimensione voluta e della lunghezza del
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1088 filmato, che sono delle costanti.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1089 Con codec MPEG-4 ASP come <systemitem class="library">Xvid</systemitem> e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1090 <systemitem class="library">libavcodec</systemitem>, una CQ inferiore a 0.18
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1091 solitamente genera un'immagine abbastanza squadrettata, perché non ci sono
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1092 abbastanza bit per codificare l'informazione di ogni macroblocco. (MPEG4, come
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1093 molti altri codec, ragruppa i pixel in blocchi di pixel per comprimere
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1094 l'immagine; se non ci sono abbastanza bit, si vedono i bordi dei blocchi.)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1095 E' saggio anche prendere una CQ compresa tra 0.20 e 0.22 per un rip a 1 CD,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1096 e 0.26-0.28 per un rip a 2 CD con impostazioni standard di codifica.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1097 Opzioni più evolute di codifica come quelle qui indicate per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1098 <link linkend="menc-feat-mpeg4-lavc-example-settings"><systemitem class="library">libavcodec</systemitem></link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1099 e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1100 <link linkend="menc-feat-xvid-example-settings"><systemitem class="library">Xvid</systemitem></link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1101 dovrebbero permetterti di ottenere la stessa qualità con CQ compresa tra
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1102 0.18 e 0.20 per un rip da 1 CD, e da 0.24 a 0.26 per 2 CD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1103 Con codec MPEG-4 AVC come <systemitem class="library">x264</systemitem>,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1104 puoi usare una CQ che varia da 0.14 a 0.16 con opzioni standard di codifica, e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1105 dovresti riuscire a scendere tra 0.10 e 0.12 con <link linkend="menc-feat-x264-example-settings">impostazioni avanzate di codifica
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1106 <systemitem class="library">x264</systemitem></link>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1107 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1108
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1109 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1110 Prendi per favore nota che CQ è solo un valore indicativo, dato che dipende dal
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1111 contenuto che viene codificato, una CQ di 0.18 può andar bene per un Bergman,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1112 mentre per un film come Matrix, che contiene molte scene ad alta velocità, no.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1113 D'altro canto è inutile portare la CQ oltre 0.30 dato che sprecherai dei bit
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1114 senza avere alcun guadagno visibile in qualità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1115 Nota anche che come detto precedentemente in questa guida, per video a bassa
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1116 risoluzione serve una CQ più alta (in rapporto, per esempio, alla risoluzione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1117 DVD) perché si vedano bene.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1118 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1119 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1120 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1121
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1122 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1123
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1124 <sect2 id="menc-feat-dvd-mpeg4-filtering">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1125 <title>Filtraggio</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1126
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1127 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1128 Imparare come usare i filtri video di <application>MEncoder</application> è
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1129 essenziale per produrre delle buone codfiche.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1130 Tutta l'elaborazione video è eseguita attraverso i filtri -- taglio,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1131 ridimensionamento, aggiustamento del colore, rimozione del disturbo, rilevamento
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1132 margini, deinterlacciatura, telecine, telecine inverso, e deblocco, solo per
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1133 nominarne qualcuno.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1134 Insieme con la vasta gamma di formati di entrata gestiti, la varietà dei
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1135 filtri disponibili in <application>MEncoder</application> è uno dei suoi
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1136 più grandi vantaggi sugli altri programmi similari.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1137 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1138
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1139 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1140 I filtri vengono caricati in catena usando l'opzione -vf:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1141
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1142 <screen>-vf filtro1=opzioni,filtro2=opzioni,...</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1143
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1144 La maggior parte dei filtri riceve alcune opzioni numeriche separate da due
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1145 punti, ma la sintassi per le opzioni cambia da filtro a filtro, indi leggiti la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1146 pagina man per i dettagli sul filtro che desideri usare.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1147 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1148
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1149 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1150 I filtri lavorano sul video nell'ordine in cui vengono caricati.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1151 Per esempio la catena seguente:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1152
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1153 <screen>-vf crop=688:464:12:4,scale=640:464</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1154
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1155 dapprima taglia la zona 688x464 dell'immagine con uno scostamento dall'alto a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1156 sinistra di (12,4), e poi ridimensiona il risultato a 640x464.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1157 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1158
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1159 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1160 Taluni filtri devono essere caricati all'inizio o vicino all'inizio della
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1161 catena di filtri, in modo da trarre vantaggio dalle informazioni che arrivano
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1162 dal decoder video, che potrebbero essere perse o invalidate da altri filtri.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1163 Gli esempi principali sono <option>pp</option> (post elaborazione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1164 (postprocessing), solo quando esegue operazioni di deblock o dering),
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1165 <option>spp</option> (un altra post elaborazione per eliminare artefatti MPEG),
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1166 <option>pullup</option> (telecine inverso), e <option>softpulldown</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1167 (per passare da telecine soft a hard).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1168 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1169
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1170 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1171 In generale vorrai filtrare il meno possibile in modo da rimaner fedele alla
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1172 sorgente DVD originale. Il taglio è spesso necessario (com detto sopra), ma
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1173 evita di ridimensionare il video. Anche se alcune volte si preferisce
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1174 rimpicciolire per poter usare quantizzatori più alti, vogliamo evitare ciò:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1175 ricorda che abbiamo sin dall'inizio deciso di investire bit in qualità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1176 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1177
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1178 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1179 In più, non reimpostare la gamma, il contrasto, la luminosità, etc...
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1180 Quello che si vede bene sul tuo schermo potrebbe non vedersi bene su altro.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1181 Queste modifiche dovrebbero esser fatte solo durante la riproduzione.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1182 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1183
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1184 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1185 Una cosa che voresti però fare è tuttavia far passare il video attraverso un
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1186 leggero filtro di rimozione disturbo, come <option>-vf hqdn3d=2:1:2</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1187 Ancora, è una questione di poter meglio utilizzare quei bit: perché sprecarli
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1188 codificando disturbo mentre puoi semplicemente aggiungerlo di nuovo durante la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1189 riproduzione? Alzando i parametri per <option>hqdn3d</option> aumenterà
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1190 ancora la compressione, ma se aumenti troppo i valori, rischi un degrado pesante
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1191 dell'immagine. I valori sopra consigliati (<option>2:1:2</option>) sono
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1192 abbastanza conservativi; sentiti libero di sperimentare con valori più alti e
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1193 verificare da solo il risultato.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1194 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1195 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1196
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1197 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1198
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1199 <sect2 id="menc-feat-dvd-mpeg4-interlacing">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1200 <title>Interlacciamento e Telecine</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1201
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1202 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1203 Quasi tutti i film vengono ripresi a 24 fps. Dato che NTSC è 30000/1001 fps,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1204 si devono eseguire alcune elaborazioni affinché questo video a 24 fps sia
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1205 letto al giusto framerate NTSC. Il processo è chiamato "3:2 pulldown", meglio
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1206 conosciuto come "telecine" (poiché pulldown viene spesso applicato durante il
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1207 processo di telecine), e descritto rozzamente, agisce rallentando il film a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1208 24000/1001 fps, e ripetendo ogni quarto fotogramma.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1209 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1210
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1211 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1212 Non viene invece eseguita alcuna elaborazione sul video per i DVD PAL, che
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1213 girano a 25 fps. (Tecnicamente, PAL può subire il telecine, chiamato
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1214 "2:2 pulldown", ma non è usanza abituale.) Il film a 24 fps viene
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1215 semplicemente riprodotto a 25 fps. Il risultato è che il filmato è leggermente
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1216 più veloce, ma a meno che tu non sia un alieno, probabilmente non noterai la
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1217 differenza.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1218 La maggior parte dei DVD PAL hanno audio corretto ai picchi, in modo che quando
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1219 siano riprodotti a 25 fps le cose suonino giuste, anche se la traccia audio
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1220 (e quindi tutto il filmato) ha un tempo di riproduzione che è il 4% inferiore
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1221 ai DVD NTSC.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1222 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1223
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1224 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1225 A causa del fatto che il video nei DVD PAL non è stato alterato, non dovrai
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1226 preoccuperti molto della frequenza fotogrammi. La sorgente è 25 fps, e il tuo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1227 rip sarà a 25 fps. Tuttavia, se stai codificando un film da DVD NTSC,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1228 potresti dover applicare il telecine inverso.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1229 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1230
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1231 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1232 Per film ripresi a 24 fps, il video sul DVD NTSC è o con telecine a 30000/1001,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1233 oppure è progressivo a 24000/1001 fps e destinato a subire il telecine al volo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1234 da un lettore DVD. D'altro canto le serie TV sono solitamente solo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1235 interlacciate, senza telecine. Questa non è una regola ferrea: alcune serie TV
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1236 sono interlacciate (come Buffy the Vampire Slayer) mentre alcune sono un misto
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1237 di progressivo e interlacciato (come Angel, o 24).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1238 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1239
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1240 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1241 Si consiglia vivamente di leggere la sezione su
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1242 <link linkend="menc-feat-telecine">Come trattare il telecine e l'interlacciamento nei DVD NTSC</link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1243 per imparare come gestire le varie possibilità.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1244 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1245
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1246 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1247 Ciononostante, se stai principalmente rippando solo film, solitamente ti
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1248 troverai di fronte a video a 24 fps progressivo o con telecine, nel qual caso
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1249 puoi usare il filtro <option>pullup</option> <option>-vf
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1250 pullup,softskip</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1251 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1252 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1253
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1254 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1255
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1256 <sect2 id="menc-feat-dvd-mpeg4-encoding-interlaced">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1257 <title>Codificare video interlacciato</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1258
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1259 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1260 Se il film che vuoi codificare è interlacciato (video NTSC o PAL) dovrai
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1261 scegliere se vuoi de-interlacciare o no.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1262 Se da un lato de-interlacciare renderà il tuo filmato utilizzabile su
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1263 schermi a scansione progressiva come monitor di computer o proiettori, porta
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1264 con sé un costo: la frequenza dei campi di 50 o 60000/1001 campi al secondo
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1265 viene dimezzata a 25 o 30000/1001 fotogrammi al secondo, e circa la metà delle
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1266 informazioni nel tuo film saranno perdute, in scene con movimento significativo.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1267 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1268
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1269 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1270 Per di più, se stai codificando puntando ad alta qualità di archiviazione.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1271 si consiglia di non de-interlacciare.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1272 Puoi sempre de-interlacciare il film durante la riproduzione attraverso
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1273 dispositivi a scansione progressiva.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1274 La potenza dei computer attuali forza per i riproduttori l'utilizzo di un filtro
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1275 di de-interlacciamento, che porta un leggero degrado dell'immagine.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1276 Ma i lettori del futuro saranno in grado di simulare lo schermo di una TV,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1277 de-interlacciando a piena frequenza di campi e interpolando 50 o 60000/1001
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1278 fotogrammi interi al secondo dal video interlacciato
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1279 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1280
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1281 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1282 Bisogna porre speciale attenzione quando si lavora con video interlacciato:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1283 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1284
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1285 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1286 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1287 Altezza e scostamento del taglio devono essere multipli di 4.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1288 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1289 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1290 Qualsiasi ridimensionamento verticale va fatto in modalità interlacciata.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1291 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1292 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1293 I filtri di post elaborazione e di rimozione disturbo potrebbero non
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1294 funzionare come ci si aspetta a meno che tu non ponga particolare attenzione
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1295 per farli lavorare su un campo per volta, e possono rovinare il video quando
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1296 usati in modo non corretto.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1297 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1298 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1299
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1300 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1301 Tenendo a mente queste cose, ecco il nostro primo esempio:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1302 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1303 mencoder <replaceable>capture.avi</replaceable> -mc 0 -oac lavc -ovc lavc -lavcopts \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1304 vcodec=mpeg2video:vbitrate=6000:ilme:ildct:acodec=mp2:abitrate=224
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1305 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1306 Nota le opzioni <option>ilme</option> e <option>ildct</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1307 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1308 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1309
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1310 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1311
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1312 <sect2 id="menc-feat-dvd-mpeg4-av-sync">
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1313 <title>Note sulla sincronizzazione Audio/Video</title>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1314
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1315 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1316 Gli algoritmi di sincronizzazione audio/video di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1317 <application>MEncoder</application> sono stati progettati con l'intento di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1318 recuperare file con sincronia danneggiata.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1319 In alcuni casi tuttavia, possono generare inutili duplicazioni o scarti di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1320 fotogrammi, e possibilmente leggera desincronia A/V quando vengono usati con
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1321 sorgenti buone (i problemi di sincronizzazione A/V accadono solo se elabori o
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1322 copi la traccia audio mentre transcodifichi il video, il che è decisamente
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1323 consigliato).
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1324 Perciò potresti dover passare ad una sincronizzazione di base con l'opzione
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1325 <option>-mc 0</option>, o metterla nel tuo file di configurazione
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1326 <systemitem>~/.mplayer/mencoder</systemitem>, sempre che tu stia lavorando con
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1327 buone sorgenti (DVD, acquisizione TV, rip MPEG-4 ad alta qualità, etc) e non
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1328 con file ASF/RM/MOV rovinati.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1329 </para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1330
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1331 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1332 Se vuoi proteggerti ulteriormente da strani salti e duplicazioni di fotogrammi,
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1333 puoi usare sia <option>-mc 0</option> che <option>-noskip</option>.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1334 Questo disabiliterà <emphasis>tutte</emphasis> le sincronizzazioni A/V, e
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1335 copierà i fotogrammi uno ad uno, perciò è inutilizzabile se stai usando dei
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1336 filtri che aggiungono o rimuovono arbitrariamente fotogrammi, ovvero se il
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1337 tuo file sorgente ha una frequenza fotogrammi non costante!
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1338 Quindi l'utilizzo di <option>-noskip</option> in linea di massima si sconsiglia.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1339 </para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1340
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1341 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1342 Si sa che la cosiddetta codifica audio in "tre passi", che
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1343 <application>MEncoder</application> gestisce, può causare desincronizzazione
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1344 A/V.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1345 Il che capiterà prontamente se viene usata insieme con alcuni filtri, per cui
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1346 si consiglia di <emphasis>non</emphasis> usare la modalità audio a tre passi.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1347 Questa caratteristica viene lasciata solo per finalità di compatibilità e
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1348 per utenti esperti che sanno quando sia adeguato usarla e quando no.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1349 Se non hai mai sentito parlar prima della modalità a tre passi, dimenticati
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1350 di averla anche solo sentita nominare!
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1351 </para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1352
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1353 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1354 Ci sono anche stati rapporti di desincronia A/V codificando con
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1355 <application>MEncoder</application> da stdin.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1356 Non farlo! Usa sempre come ingresso un file o un dispositivo CD/DVD/etc.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1357 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1358 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1359
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1360 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1361
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1362 <sect2 id="menc-feat-dvd-mpeg4-codec">
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1363 <title>Scegliere il codec video</title>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1364
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1365 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1366 Quale possa esere il miglior codec video dipende da molti fattori, come
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1367 dimensione, qualità, possibilita di farne lo streaming, usabilit, diffusione,
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1368 alcuni dei quali dipendono fortemente dai gusti personali e dalle variabili
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1369 tecniche in gioco.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1370 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1371 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1372 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1373 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1374 E' abbastanza facile da capire che i codec più recenti sono fatti per
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1375 aumentare qualità e compressione.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1376 Quindi gli autori di questa guida e moltra altra gente suggeriscono che non
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1377 potete sbagliare
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1378 <footnote id='fn-menc-feat-dvd-mpeg4-codec-cpu'><para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1379 Fai comunque attenzione: la decodifica di video MPEG-4 AVC a risoluzione DVD
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1380 richiede una macchina veloce (per es. un Pentium 4 oltre 1.5GHz o un Pentium
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1381 M superiore a 1GHz).
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1382 </para></footnote>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1383 quando scegliete un qualche codec MPEG-4 AVC come
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1384 <systemitem class="library">x264</systemitem> piuttosto che un codec MPEG-4
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1385 ASP come l'MPEG-4 di <systemitem class="library">libavcodec</systemitem> o
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1386 <systemitem class="library">Xvid</systemitem>.
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1387 (Per sviluppatori avenzati di codec potrebbe essere interessante leggere
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1388 l'opinione di Michael Niedermayer sul
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1389 "<ulink url="http://guru.multimedia.cx/?p=10">perché MPEG-4 ASP faccia schifo</ulink>"
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1390 (in inglese).)
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1391 Analogamente dovresti ottenere una miglior qualità usando MPEG-4 ASP rispetto
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1392 a quella ottenuta con codec MPEG-2.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1393 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1394
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1395 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1396 Tuttavia, i codec più recenti che sono sotto pesante sviluppo possono avere
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1397 problemi che non sono ancora stati scoperti, e che possono rovinare una
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1398 codifica.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1399 Questo è semplicemente il contrappasso per usare la tecnologia di punta.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1400 </para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
1401
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1402 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1403 Inoltre iniziare ad utilizzare un codec nuovo richiede l'utilizzo di un po'
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1404 di tempo per familiarizzare con le sue opzioni, affinché tu sappia cosa
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1405 impostare per ottenere la qualità dell'immagine voluta.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1406 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1407 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1408
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1409 <listitem><para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1410 <emphasis role="bold">Compatibilità Hardware</emphasis>:
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1411 Solitamente ci va un po' di tempo prima che i lettori da tavolo incomincino ad
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1412 includere il supporto per il video codec più recente.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1413 Il risultato è che la maggior parte legge MPEG-1 (come i VCD, XVCD e KVCD),
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1414 MPEG-2 (come DVD, SVCD e KVCD) e MPEG-4 ASP (come DivX,
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1415 LMP4 di <systemitem class="library">libavcodec</systemitem> e
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1416 <systemitem class="library">Xvid</systemitem>)
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1417 (attenzione: solitamente non sono gestite tutte le caratteristiche
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1418 MPEG-4 ASP).
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1419 Fai per favore riferimento alle specifiche tecniche del tuo lettore (ove
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1420 disponibili) o cerca su internet per ulteriori informazioni.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1421 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1422
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1423 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1424 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1425 <emphasis role="bold">Miglior qualità per tempo di codifica</emphasis>:
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1426 Codec che sono in giro da parecchio tempo (come MPEG-4 di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1427 <systemitem class="library">libavcodec</systemitem> e
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1428 <systemitem class="library">Xvid</systemitem>) sono spesso molto ottimizzati
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1429 con ogni tipo di algoritmo furbo e codice SIMD in assembly.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1430 Per questo tendono a fornire il miglior rapporto tra qualità e tempo di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1431 codifica. Tuttavia, possono avere delle opzioni avanzate che, quando
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1432 abilitate, rendono la codifica molto lenta fornendo poco guadagno.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1433 </para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
1434
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1435 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1436 Se stai cercando di incrementare la velocità dovresti cercare di non
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1437 modificare troppo le impostazioni di default del codec video (anche se
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1438 dovresti comunque provare le altre opzioni che sono citate in altre sezioni
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1439 di questa guida).
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1440 </para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
1441
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1442 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1443 Puoi tenere in considerazione anche la scelta di un codec che possa eseguire
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1444 elaborazioni multi-thread, anche se ciò è utile solo per utenti di macchine
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1445 con più di una CPU.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1446 MPEG-4 di <systemitem class="library">libavcodec</systemitem> lo permette,
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1447 ma il guadagno in velocità è limitato, e c'è un leggere effetto negativo
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1448 sulla qualità dell'immagine.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1449 La codifica multi-thread di <systemitem class="library">Xvid</systemitem>,
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1450 attivata dall'opzione <option>threads</option>, può essere usata per
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1451 accelerare la velocità di codifica &mdash; tipicamente di circa il 40-60%
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1452 &mdash; con poco se non nessun degrado dell'immagine.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1453 Anche <systemitem class="library">x264</systemitem> permette la codifica in
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1454 multi-thread, la quale attualmente velocizza la codifica del 94% per core di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1455 CPU mentre abbassa il PSNR tra 0.005dB e 0.01dB, con impostazioni tipiche.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1456 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1457 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1458
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1459 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1460 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1461 <emphasis role="bold">Gusto personale</emphasis>:
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1462 Qui è dove capita l'irrazionale: per la stessa ragione per cui alcuni
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1463 restano attaccati a DivX&nbsp;3 per anni, mentre nuovi codec stanno
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1464 facendo meraviglie, alcuni personaggi preferiranno
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1465 <systemitem class="library">Xvid</systemitem> o MPEG-4 di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1466 <systemitem class="library">libavcodec</systemitem> a
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1467 <systemitem class="library">x264</systemitem>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1468 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1469 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1470 Dovresti prendere le tue decisioni; non prendere consigli da gente che
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1471 fanno giuramenti su un codec.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1472 Prendi alcuni pezzi di esempio da sorgenti grezze e compara le diverse
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1473 opzioni di codifica e di codec per trovare quello che ti garba di più.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1474 Il miglior codec è quello che riesci a gestire al meglio, e quello che ai
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1475 tuoi occhi e sul tuo schermo si vede meglio.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1476 <footnote id='fn-menc-feat-dvd-mpeg4-codec-playback'><para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1477 La stessa codifica potrebbe non apparire uguale sullo schermo di qualcun
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1478 altro o se riprodotta con un decodificatore differente, perciò controlla
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1479 i tuoi risultati riproducendoli in diverse condizioni.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1480 </para></footnote>!
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1481 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1482 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1483 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1484
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1485 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1486 Fai per favore riferimento alla sezione
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1487 <link linkend="menc-feat-selecting-codec">selezionare codec e formati contenitore</link>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1488 per avere un elenco dei codec usabili.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1489 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1490 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1491
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1492 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1493
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1494 <sect2 id="menc-feat-dvd-mpeg4-audio">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1495 <title>Audio</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1496
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1497 <para>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1498 L'audio è un problema di decisamente più facile soluzione: se ti interessa la
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1499 qualità, lascialo semplicemente com'è.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1500 Anche i flussi AC-3 5.1 sono al massimo a 448Kbit/s, e ne valgono ogni bit.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1501 Potresti esser tentato di trascodificare l'audio in Vorbis ad alta qualità, ma
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1502 solo perché a tutt'oggi non hai un decodificatore AC-3 pass-through ciò non
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1503 significa che non ne avrai uno in futuro. Assicura un futuro ai tuoi rip da DVD
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1504 preservando il flusso in AC-3.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1505 Puoi mantenere il flusso AC-3 anche copiandolo direttamente nel flusso video
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1506 <link linkend="menc-feat-mpeg4">durante la codifica</link>.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1507 Puoi anche estrarre il flusso AC-3 al fine di farne il mux in contenitori come
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1508 NUT o Matroska.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1509 <screen>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1510 mplayer <replaceable>file_sorgente.vob</replaceable> -aid 129 -dumpaudio -dumpfile <replaceable>suono.ac3</replaceable>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1511 </screen>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1512 effettuerà il dump della traccia audio numero 129 dal file
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1513 <replaceable>file_sorgente.vob</replaceable> nel file
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1514 <replaceable>suono.ac3</replaceable> (NB: i file VOB da DVD spesso usano una
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1515 numerazione dell'audio diversa, il che significa che la traccia audio 129 è la
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1516 seconda traccia del file).
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1517 </para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1518
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1519 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1520 Alcune volte invece, non hai davvero altra scelta se non comprimere
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1521 ulteriormente il suono per poter usare più bit per il video.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1522 La maggior parte delle persone sceglie di comprimere l'audio con i codec MP3
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1523 ovvero Vorbis.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1524 Mentre quest'ultimo è un codec decisamente efficiente per lo spazio, MP3 è
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1525 meglio supportato dai lettori da tavolo, anche se la situazione sta cambiando.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1526 </para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1527
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1528 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1529 <emphasis>Non</emphasis> usare <option>-nosound</option> mentre codifichi un
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1530 file con dell'audio, anche se farai la codifica e il mux dell'audio
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1531 separatamente in seguito.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1532 Anche se potesse andar bene in casi ideali, facilmente usare
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1533 <option>-nosound</option> nasconderà alcuni problemi nelle tue impostazioni di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1534 codifica sulla riga comando.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1535 In altre parole mantenere la colonna sonora durante la codifica ti assicura,
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1536 a patto che tu non veda messaggi del tipo
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1537 <quote>Troppi pacchetti audio nel buffer</quote>, di ottenere un'adeguata
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1538 sincronizzazione.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1539 </para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1540
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1541 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1542 Devi fare in modo che <application>MEncoder</application> processi il suono.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1543 Puoi per esempio copiare la colonna sonora originaria durante la codifica con
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1544 <option>-oac copy</option>, o convertirla in un "leggero" PCM WAV mono a 4 kHz
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1545 con <option>-oac pcm -channels 1 -srate 4000</option>.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1546 In caso contrario in alcuni casi verrà generato un file video che sarà
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1547 desincronizzato con l'audio.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1548 Casi del genere sono quelli in cui il numero dei fotogrammi video nel file di
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1549 origine non corrisponde alla lunghezza totale dei fotogrammi audio oppure
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1550 ogniqualvolta vi siano delle discontinuità/splice in cui mancano o ci sono
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1551 fotogrammi audio in più.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1552 Il modo giusto di gestire questo tipo di problemi è inserire del silenzio o
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1553 tagliare l'audio in quei punti.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1554 Tuttavia <application>MPlayer</application> non è in grado di farlo, per cui se
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1555 fai il demux dell'audio AC-3 e lo codifichi con un'altro programma (o ne fai il
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1556 dump in PCM con <application>MPlayer</application>), gli splice rimarranno
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1557 sbagliati e l'unico modo per correggerli è scartare/duplicare fotogrammi video
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1558 nel punto di splice.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1559 Fintantochè <application>MEncoder</application> vede l'audio mentre codifica il
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1560 video, può eseguire questo scarto/duplicazione (che solitamente è OK, dato che
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1561 capita con scene nere o cambi scena), ma se <application>MEncoder</application>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1562 non vede l'audio, processerà i fotogrammi così come sono e alla fine non
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1563 corrisponderanno al flusso audio finale quando per esempio inserirai i flussi
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1564 audio e video dentro a un file Matroska.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1565 </para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1566
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1567 <para>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1568 Prima di tutto dovrai convertire l'audio DVD in un file WAV che il codec audio
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1569 possa usare come ingresso.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1570 Per esempio:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1571 <screen>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1572 mplayer <replaceable>file_sorgente.vob</replaceable> -ao pcm:file=<replaceable>suono_destinazione.wav</replaceable> \
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1573 -vc dummy -aid 1 -vo null
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1574 </screen>
25449
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1575 eseguirà il dump della seconda traccia audio dal file
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1576 <replaceable>file_sorgente.vob</replaceable> sul file
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1577 <replaceable>suono_destinazione.wav</replaceable>.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1578 Potresti voler normalizzare il suono prima della codifica, visto che le tracce
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1579 audio dei DVD spesso sono registrate a volumi bassi.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1580 Puoi usare per esempio lo strumento <application>normalize</application>, che
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1581 è disponibile nella maggior parte delle distribuzioni.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1582 Se stai usando Windows, lo stesso mestiere lo può fare uno strumento tipo
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1583 <application>BeSweet</application>.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1584 Effettuerai la compressione in Vorbis ovvero in MP3.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1585
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1586 Per esempio:
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1587 <screen>oggenc -q1 <replaceable>suono_destinazione.wav</replaceable></screen>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1588 codificherà <replaceable>suono_destinazione.wav</replaceable> con qualità
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1589 di codifica 1, che equivale circa a 80Kb/s, ed è la qualità minima in cui
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1590 dovresti codificare se ti interessa la qualità.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1591 Fai per favore attenzione che attualmente <application>MEncoder</application>
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1592 non è in grado di fare il mux di tracce audio Vorbis nel file di uscita,
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1593 perché gestisce solo contenitori AVI e MPEG in uscita, ognuno dei quali può
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1594 portare a problemi di sincronizzazione audio/video durante la riproduzione con
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1595 alcuni lettori quando il file AVI contiene flussi audio VBR come Vorbis.
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1596 Non preoccuparti, questa documentazione ti mostrerà come tu possa farlo
136ee4a91f00 30% synced with r22753
ptt
parents: 25279
diff changeset
1597 comunque con programmi di terze parti.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1598 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1599 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1600
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1601 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1602
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1603 <sect2 id="menc-feat-dvd-mpeg4-muxing">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1604 <title>Muxing</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1605
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1606 <para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1607 Ora che hai codificato il tuo video, vorrai verosimilmente farne il mux in un
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1608 contenitore di filmati con una o più tracce audio, come AVI, MPEG, Matroska o
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1609 NUT.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1610 <application>MEncoder</application> è attualmente in grado di generare in modo
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1611 nativo solo video in formati contenitore MPEG o AVI.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1612 Per esempio:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1613 <screen>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1614 mencoder -oac copy -ovc copy -o <replaceable>film_in_uscita.avi</replaceable> \
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1615 -audiofile <replaceable>audio_in_ingresso.mp2</replaceable> <replaceable>video_in_ingresso.avi</replaceable>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1616 </screen>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1617 Questo miscelerà i file video <replaceable>video_in_ingresso.avi</replaceable>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1618 e audio <replaceable>audio_in_ingresso.mp2</replaceable> nel file AVI
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1619 <replaceable>film_in_uscita.avi</replaceable>.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1620 Questo comando funziona con audio MPEG-1 layer I, II e III (più comunemente
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1621 conosciuto come MP3), WAV e qualche altro formato audio.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1622 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1623
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1624 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1625 <application>MEncoder</application> vanta un supporto sperimentale per
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1626 <systemitem class="library">libavformat</systemitem>, che è una libreria del
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1627 progetto FFmpeg che può fare il mux e il demux di svariati contenitori.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1628 Per esempio:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1629 <screen>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1630 mencoder -oac copy -ovc copy -o <replaceable>film_di_uscita.asf</replaceable> -audiofile <replaceable>audio_in_ingresso.mp2</replaceable> \
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1631 <replaceable>video_in_ingresso.avi</replaceable> -of lavf -lavfopts format=asf
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1632 </screen>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1633 Questo farà la stessa cosa dell'esempio precedente, trannce che il contenitore
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1634 di uscita sarà ASF.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1635 Per favore nota che questo supporto è altamente sperimentale (ma migliora di
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1636 giorno in giorno), e funzionerà solo se hai compilato
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1637 <application>MPlayer</application> con il supporto per
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1638 <systemitem class="library">libavformat</systemitem> abilitato (il che
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1639 significa che una versione precompilata nella maggior parte dei casi non
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1640 funzionerà).
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1641 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1642
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1643
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1644 <sect3 id="menc-feat-dvd-mpeg4-muxing-filter-issues">
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1645 <title>Migliorare il mux e l'affidabilità di sincronizzazione A/V</title>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1646
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1647 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1648 Potresti avere dei seri problemi di sincronizzazione cercando di fare il mux
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1649 del tuo video con alcune tracce audio, indipendentemente da come tu corregga il
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1650 ritardo audio, non otterrai mai una sincronia corretta.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1651 Ciò potrebbe succedere quando usi un qualche filtro video che scarti o duplichi
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1652 alcuni fotogrammi, come il filtro di telecine inverso.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1653 Si consiglia vivamente di appendere il filtro video <option>harddup</option>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1654 alla fine della catena dei filtri, per evitare questo tipo di problema.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1655 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1656
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1657 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1658 Senza <option>harddup</option>, se <application>MEncoder</application> vuole
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1659 duplicare un fotogramma, chiede al muxer di mettere un segno sul contenitore
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1660 affinché l'ultimo fotogramma venga mostrato di nuovo per mantenere la
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1661 sincronia, senza scriverne effettivamente alcuno.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1662 Con <option>harddup</option>, <application>MEncoder</application> farà
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1663 semplicemente passare di nuovo l'ultimo fotogramma nella catena di filtri.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1664 Questo significa che il codificatore riceve <emphasis>esattamente</emphasis> lo
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1665 stesso fotogramma due volte, e lo comprime.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1666 Ciò genera un file leggermente più grosso, ma non causerà problemi
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1667 effettuando il demux o il remux in altri formati contenitore.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1668 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1669
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1670 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1671 Potresti non avere altra scelta che usare <option>harddup</option> con formati
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1672 contenitore che non siano così legati a <application>MEncoder</application>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1673 come quelli gestiti attraverso
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1674 <systemitem class="library">libavformat</systemitem>, e che possano non gestire
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1675 la duplicazione fotogrammi a livello contenitore.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1676 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1677 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1678
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1679
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1680 <sect3 id="menc-feat-dvd-mpeg4-muxing-avi-limitations">
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1681 <title>Limitazioni del contenitore AVI</title>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1682
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1683 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1684 Anche se AVI è il formato contenitore più ampiamente gestito dopo MPEG-1, ha
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1685 anche molti gravi inconvenienti.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1686 Forse il più ovvio è lo spreco di banda.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1687 Per ogni blocco del file AVI, 24 byte sono sprecati per intestazione e indice.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1688 Questo porta a poco più di 5 MB per ora, o 1-2.5% di dimensione supplementare
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1689 per un film da 700 MB. Potrebbe non sembrare poi così tanto, ma potrebbe far
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1690 la differenza tra poter utilizzare 700 oppure 714 kbit/sec per il video, e ogni
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1691 bit è importante per la qualità.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1692 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1693
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1694 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1695 Oltre a questa grave inefficenza, AVI ha anche le grandi limitazioni che
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1696 seguono:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1697 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1698
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1699 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1700 <listitem><para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1701 Può essere immagazzinato solo contenuto a fps costanti. Questo è decisamente
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1702 limitante se il materiale di origine che vuoi codificare è contenuto misto,
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1703 per esempio un misto di video NTSC e film.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1704 Ci sono invero alcuni trucchi che possono essere usati per salvare negli AVI
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1705 contenuto a frequenza di fotogrammi mista, ma aumentano il (già immenso)
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1706 spreco di banda di cinque volte o giù di lì e quindi non sono pratici.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1707 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1708 <listitem><para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1709 L'audio nei file AVI deve essere a bitrate costante (CBR) o a dimensione di
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1710 fotogramma fissa (per es. tutti i fotogrammi decodificano lo stesso numero di
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1711 campioni).
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1712 Sfortunatamente, il codec più efficente, Vorbis, non ha alcuna delle suddette
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1713 caratteristiche.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1714 Se decidi di salvare il tuo film in AVI, dovrai perciò usare un codec meno
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1715 efficente, come MP3 o AC-3.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1716 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1717 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1718
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1719 <para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1720 Detto tutto ciò, <application>MEncoder</application> non gestisce attualmente
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1721 la codifica in uscita a fps variabile o la codifica in Vorbis.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1722 Quindi non noterai le limitazioni su citate se
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1723 <application>MEncoder</application> è l'unico strumento che userai per produrre
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1724 le tue codifiche.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1725 Tuttavia è possibile usare <application>MEncoder</application> solo per la
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1726 codifica del video, e poi utilizzare strumenti di terze parti per codificare
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1727 l'audio e farne il mux in un altro formato contenitore.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1728 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1729 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1730
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1731
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1732 <sect3 id="menc-feat-dvd-mpeg4-muxing-matroska">
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1733 <title>Mux nel contenitore Matroska</title>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1734
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1735 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1736 Matroska è un formato contenitore libero, a standard aperti, che punta ad
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1737 offrire molte caratteristiche avanzate, che contenitori più vecchi come AVI non
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1738 sono in grado di manipolare.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1739 Per esempio Matroska supporta contenuto audio a bitrate variabile (VBR),
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1740 frequenza fotogrammi variabile (VFR), capitoli, file allegati, codice di
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1741 gestione errori (EDC) e Codec A/V moderni come "Advanced Audio Coding" (AAC),
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1742 "Vorbis" or "MPEG-4 AVC" (H.264), comparato al nulla gestito da AVI.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1743 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1744
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1745 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1746 Gli strumenti necessari per creare file Matroska sono chiamati nel loro insieme
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1747 <application>mkvtoolnix</application> e sono disponibili per la maggior parte
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1748 delle piattaforme Unix, così come per <application>Windows</application>.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1749 Dato che Matroska è uno standard aperto, potresti trovare altri strumenti che
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1750 ti tornino più utili, ma dato che mkvtoolnix è il più diffuso, ed è
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1751 supportato dal team stesso di Matroska, illustreremo il suo solo utilizzo.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1752 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1753
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1754 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1755 Probabilmente il modo più semplice di avvicinarsi a Matroska è utilizzare
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1756 <application>MMG</application>, il frontend grafico fornito con
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1757 <application>mkvtoolnix</application>, e seguire la <ulink url="http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html">guida della GUI di mkvmerge (mmg)</ulink>.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1758 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1759
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1760 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1761 Puoi anche fare il mux dei file audio e video usando la riga comando:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1762 <screen>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1763 mkvmerge -o <replaceable>destinazione.mkv</replaceable> <replaceable>video_sorgente.avi</replaceable> <replaceable>audio_sorgente1.mp3</replaceable> <replaceable>audio_sorgente2.ac3</replaceable>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1764 </screen>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1765 Questo unirà il file video <replaceable>video_sorgente.avi</replaceable> e i
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1766 due file audio <replaceable>audio_sorgente1.mp3</replaceable> e
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1767 <replaceable>audio_sorgente2.ac3</replaceable> nel file Matroska
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1768 <replaceable>destinazione.mkv</replaceable>.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1769 Matroska, come detto precedentemente, è in grado di far molto più di questo,
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1770 come tracce audio multiple (inclusa una fine sincronia audio/video), capitoli,
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1771 sottotitoli, salti, etc...
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1772 Fai per favore riferimento alla documentazione di queste applicazioni per
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1773 maggiori delucidazioni.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1774 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1775 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1776 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1777 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1778
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1779
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1780 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1781
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1782
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1783 <sect1 id="menc-feat-telecine">
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1784 <title>Come trattare telecine e interlacciamento nei DVD NTSC</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1785
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1786 <sect2 id="menc-feat-telecine-intro">
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1787 <title>Introduzione</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1788
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1789 <formalpara>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1790 <title>Cos'è telecine?</title>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1791 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1792 Se non comprendi molto quello che è scritto in questo documento, leggi la
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1793 <ulink url="http://en.wikipedia.org/wiki/Telecine">definizione di telecine su Wikipedia</ulink>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1794 (<ulink url="http://en.wikipedia.org/wiki/Telecine">pagina inglese</ulink>).
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1795 E' una descrizione comprensibile e ragionevolmente completa di cosa si indichi
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1796 con telecine.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1797 </para></formalpara>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1798
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1799 <formalpara>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1800 <title>Una nota riguardo i numeri.</title>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1801 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1802 Molti documenti, inclusa la guida su indicata, fanno riferimento al valore dei
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1803 campi per secondo del video NTSC come 59.94 e i valori corrispondenti di
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1804 fotogrammi al secondo come 29.97 (con telecine e interlacciamento) e 23.976
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1805 (per il progressivo). Per semplicità alcune documentazioni arrotondano tali
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1806 cifre a 60, 30 e 24.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1807 </para></formalpara>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1808
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1809 <para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1810 Strettamente parlando, tutti questi numeri sono approssimati. Il video NTSC in
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1811 bianco e nero era esattamente 60 campi al secondo, ma successivamente venne
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1812 scelto 60000/1001 per incastrare i dati del colore e rimanere compatibili con
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1813 le televisioni bianco e nero contemporanee. Anche il video NTSC digitale (come
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1814 quello sui DVD) è a 60000/1001 campi al secondo. Da ciò discende che il video
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1815 interlacciato e telecine è 30000/1001 fotogrammi al secondo; il video
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1816 progressivo è 24000/1001 fotogrammi al secondo.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1817 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1818
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1819 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1820 Precedenti versioni della documentazioni di <application>MEncoder</application>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1821 a molti post archiviati della mailig list fanno riferimento a 59.94, 29.97 e
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1822 23.976.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1823 Tutta la documentazioni di <application>MEncoder</application> è stata
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1824 aggiornata per usare i valori in frazione, e anche tu dovresti usare questi.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1825 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1826
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1827 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1828 <option>-ofps 23.976</option> è sbagliato.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1829 <option>-ofps 24000/1001</option> dovrebbe invece essere usato.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1830 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1831
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1832 <formalpara>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1833 <title>Come viene usato telecine.</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1834 <para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1835 Tutto il video pensato per essere riprodotto su televisione NTSC deve essere a
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1836 60000/1001 campi al secondo. I film per la TV e gli spettacoli sono spesso
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1837 registrati direttamente a 60000/1001 campi al secondo, ma la stragrande
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1838 maggioranzna dei film per cinema è filmata a 24 o 24000/1001 fotogrammi al
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1839 secondo. Quando i film da cinema vengono masterizzati su DVD, il video viene
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1840 quindi convertito per la televisione usando un processo chiamato telecine
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1841 (o telecinema).
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1842 </para></formalpara>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1843
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1844 <para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1845 Su un DVD il video non è praticamente mai memorizzato con 60000/1001 campi al
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1846 secondo. Per un video che originariamente era 60000/1001, ogni coppia di campi
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1847 viene combinata in un fotogramma, risultando in 30000/1001 fotogrammi al
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1848 secondo. I lettori DVD hardware leggono quindi un parametro codificato nel
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1849 flusso video pe rdeterminare se le linee pari o quelle dispari debbano formare
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1850 il primo campo.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1851 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1852
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1853 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1854 Solitamente il contenuto a 24000/1001 fotogrammi per secondi resta così com'è
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1855 quando viene codificato per un DVD, e il lettore DVD deve eseguire il telecine
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1856 al momento. Alcune volte invece, il video subisce il telecine
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1857 <emphasis>prima</emphasis> di essere scritto su DVD; anche se in origine era a
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1858 24000/1001 fotogrammi al secondi, diventa 60000/1001 campi al secondo. Quando
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1859 viene memorizzato su DVD, le coppie di campi vengono assemblate per formare
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1860 30000/1001 fotogrammi al secondo.
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1861 </para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1862
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1863 <para>
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1864 Guardando i singoli fotogrammi generati da video a 60000/1001 campi al secondo,
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1865 che sia telecine o no, l'interlacciamento è chiaramente visibile ovunque vi sia
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1866 del movimento, dato che un campo (diciamo le linee pari) rappresenta un istante
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1867 nel tempo 1/(60000/1001) secondi dopo l'altro. Riprodurre video interlacciato
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1868 su un computer risulta brutto sia perché il monitor ha una risoluzione maggiore
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1869 sia perché il video viene mostrato un fotogramma dopo l'altro invece che un
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1870 campo dopo l'altro.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1871 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1872
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1873 <itemizedlist>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1874 <title>Note:</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1875 <listitem><para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1876 Questa sezione si applica solo ai DVD NTSC, e non a quelli PAL.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1877 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1878 <listitem><para>
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1879 Le righe di esempio per <application>MEncoder</application> proposte nella
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1880 documentazione <emphasis role="bold">non</emphasis> sono pensate per un
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1881 utilizzo reale. Sono solo quelle minimali richieste per codificare la
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1882 relativa categoria di video. Come fare buoni rip di DVD o configurare bene
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1883 <systemitem class="library">libavcodec</systemitem> per la massima qualità
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1884 non è lo scopo di questa documentazione.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1885 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1886 <listitem><para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
1887 Ci sono alcune note a piè di pagina specifiche di questa guida, così
26192
53a8a63ee7e6 34% synced with r22753
ptt
parents: 25449
diff changeset
1888 indicate:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1889 <link linkend="menc-feat-telecine-footnotes">[1]</link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1890 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1891 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1892 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1893
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1894 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1895
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1896 <sect2 id="menc-feat-telecine-ident">
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1897 <title>Come scoprire il tipo di video che possiedi</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1898
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1899 <sect3 id="menc-feat-telecine-ident-progressive">
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
1900 <title>Progressivo</title>
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1901
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1902 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1903 Il video progressivo è stato originariamente filmato a 24000/1001 fps, e
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1904 memorizzato sul DVD senza modifica alcuna.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1905 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1906
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1907 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1908 Quando riproduci un DVD progressivo con <application>MPlayer</application>,
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1909 <application>MPlayer</application> emette la riga seguente appena il video
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1910 inizia la riproduzione:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1911 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1912 demux_mpg: 24000/1001 fps progressive NTSC content detected, switching framerate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1913 </screen>
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1914 Da qui in poi, demux_mpg non dovrebbe mai comunicare di aver trovato
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1915 "30000/1001 fps NTSC content" (contenuto NTSC a 30000/1001 fps).
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1916 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1917
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1918 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1919 Quando guardi video progressivo, non dovresti mai vedere alcuna interlacciatura.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1920 Fai tuttavia attenzione, poiché alcune volte c'è una piccola parte in telecine
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1921 infilata dove non te la aspetteresti. Ho trovato alcuni DVD di spettacoli
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1922 televisivi che hanno un secondo di telecine ad ogni cambio di scena, o anche in
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1923 momenti casuali. Una volta ho guardato un DVD che aveva una prima parte
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1924 progressiva e la seconda in telecine. Se vuoi esserne
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1925 <emphasis>davvero</emphasis> certo, devi controllare tutto il video:
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1926 <screen>mplayer dvd://1 -nosound -vo null -benchmark</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1927 Using <option>-benchmark</option> makes
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1928 L'utilizzo di <option>-benchmark</option> fa sì che
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1929 <application>MPlayer</application> riproduca il filmato il più velocemente
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1930 possibile; tuttavia, in dipendenza dal tuo hardware, può metterci un po'.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1931 Ogni volta che demux_mpg segnala un cambio nella frequenza fotogrammi
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1932 (framerate), la linea immediatamente sopra ti dirà il tempo ove è cambiata.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1933 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1934
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1935 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1936 Alcune volte il video progressivo sui DVD viene indicato come "soft-telecine"
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1937 perché è fatto in modo che il lettore DVD esegua il telecine.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1938 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1939 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1940
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1941
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1942 <sect3 id="menc-feat-telecine-ident-telecined">
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1943 <title>Telecine</title>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1944
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1945 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1946 Il video in telecine è stato filmato in origine a 24000/1001, ma ha subito il
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1947 telecine <emphasis>prima</emphasis> di essere scritto sul DVD.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1948 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1949
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1950 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1951 Quando <application>MPlayer</application> riproduce video in telecine non
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1952 segnala (mai) alcun cambio di framerate.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1953 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1954
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1955 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1956 Guardado un video in telecine, noterai artefatti che sembrano "lampeggiare":
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1957 appaiono e scompaiono ripetutamente.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1958 Puoi notarlo meglio facendo quello che segue
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1959 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1960 <listitem><screen>mplayer dvd://1</screen></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1961 <listitem><para>
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1962 Ricerca una parte con movimento.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1963 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1964 <listitem><para>
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1965 Usa il tasto <keycap>.</keycap> per avanzare di un fotogramma per volta.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1966 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1967 <listitem><para>
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1968 Guarda il pattern dei fotogrammi che paiono interlacciati e di quelli
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1969 progressivi. Se il pattern che vedi è PPPII,PPPII,PPPII,... allora il video
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1970 è in telecine. Se vedi qualche altro pattern, allora il video può aver
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1971 subito il telecine attraverso qualche metodo strano;
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1972 <application>MEncoder</application> può effettuare la conversione senza
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1973 perdita da telecine non standard a progressivo. Se non vedi alcun pattern,
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1974 allora molto probabilmente è interlacciato.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1975 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1976 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1977 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1978
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1979 <para>
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1980 Alcune volte il video in telecine sui DVD viene indicato come "hard-telecine".
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1981 Dato che l'hard-telecine è già a 60000/1001 campi al secondi, il lettore DVD
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1982 riproduce il video senza elaborazione alcuna.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1983 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1984
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1985 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1986 Un altro modo per scoprire se la tua sorgente è in telecine o no è riprodurla
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1987 con le opzioni <option>-vf pullup</option> e <option>-v</option> da riga
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1988 comando per vedere come <option>pullup</option> relaziona i fotogrammi.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1989 Se la sorgente è in telecine, dovresti vedere sulla console un pattern 3:2 con
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1990 <systemitem>0+.1.+2</systemitem> e <systemitem>0++1</systemitem> che si
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1991 alternano.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1992 Questa tecnica ha il vantaggio di evitare di guardare la sorgente per doverla
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1993 identificare, il che può tornare utile se vuoi automatizzare la procedura di
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1994 codifica ovvero se vuoi eseguire tale procedura in remoto su una connessione
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
1995 lenta.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1996 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1997 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1998
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
1999
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2000 <sect3 id="menc-feat-telecine-ident-interlaced">
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2001 <title>Interlacciato</title>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2002
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2003 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2004 Il video interlacciato è stato filmato in origine a 60000/1001 campi al
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2005 secondo ed è memorizzato sul DVD a 30000/1001 fotogrammi al secondo. L'effetto
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2006 di interlacciatura (spesso chimato "combing") è un risultato di coppie di
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2007 campi che vengono combinate in fotogrammi. Ogni campo è spostato di
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2008 1/(60000/1001) secondi e quando vengono mostrati contemporaneamente la
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2009 differenza si nota.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2010 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2011
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2012 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2013 Come per il video in telecine, <application>MPlayer</application> non dovrebbe
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2014 mai segnalare alcun cambio di framerete, riproducendo contenuto interlacciato.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2015 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2016
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2017 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2018 Quando guardi attentamente un video interlacciato avanzando fotogramma per
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2019 fotogramma col tasto <keycap>.</keycap>, noterai che ogni singolo fotogramma è
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2020 interlacciato.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2021 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2022 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2023
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2024
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2025 <sect3 id="menc-feat-telecine-ident-mixedpt">
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2026 <title>Progressivo e telecine mescolati</title>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2027
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2028 <para>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2029 Tutto il contenuto di un video "progressivo e telecine mescolati" è stato
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2030 in origine filmato a 24000/1001 fotogrammi al secondo, ma alcune parti alla
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2031 fine hanno subito il telecine.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2032 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2033
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2034 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2035 Quando <application>MPlayer</application> riproduce questa tipologia di video
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2036 salta (spesso ripetutamente) avanti e indietro tra "30000/1001 fps NTSC" e
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2037 "24000/1001 fps progressive NTSC". Controlla le ultime righe dell'emissione di
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2038 <application>MPlayer</application> per vedere questi messaggi.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2039 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2040
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2041 <para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2042 Dovresti controllare le sezioni "30000/1001 fps NTSC" per assicurarti che siano
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2043 davvero in telecine e non solamente interlacciate.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2044 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2045 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2046
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2047
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2048 <sect3 id="menc-feat-telecine-ident-mixedpi">
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2049 <title>Progressivo e interlacciato mescolati</title>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2050
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2051 <para>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2052 Nei contenuti con video "progressivo e interlacciato mescolati", il video
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2053 progressivo e interlacciato sono mescolati tra loro.
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2054 </para>
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2055
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2056 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2057 Questa categoria è decisamente simile a "progressivo e telecine mescolati",
26253
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2058 fino a quando non controlli le parti a 30000/1001 fps e scopri che non hanno
114c217e8652 38% synced with r22753
ptt
parents: 26197
diff changeset
2059 il pattern del telecine.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2060 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2061 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2062 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2063
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2064 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2065
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2066 <sect2 id="menc-feat-telecine-encode">
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2067 <title>Come codificare ciascuna categoria</title>
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2068 <para>
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2069 Come menzionato all'inizio, le linee di esempio qui sotto per
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2070 <application>MEncoder</application> <emphasis role="bold">non</emphasis> sono
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2071 pensate per essere usate davvero; dimostrano solamente i parametri minimi per
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2072 codificare correttamente ciascuna categoria.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2073 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2074
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2075
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2076 <sect3 id="menc-feat-telecine-encode-progressive">
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2077 <title>Progressivo</title>
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2078 <para>
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2079 Il video progressivo non richiede particolari filtri per la codifica. L'unico
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2080 parametrioche devi assicurarti di usare è <option>-ofps 24000/1001</option>.
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2081 Se non lo usi, <application>MEncoder</application> cercherà di codificare a
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2082 30000/1001 fps e duplicherà i fotogrammi.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2083 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2084
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2085 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2086 <screen>mencoder dvd://1 -oac copy -ovc lavc -ofps 24000/1001</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2087 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2088
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2089 <para>
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2090 Spesso e volentieri capita che un video che sembra progressivo contenga anche
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2091 alcune brevi parti di telecine mescolate. A meno che tu non sia sicuro,
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
2092 conviene trattare il video come
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2093 <link linkend="menc-feat-telecine-encode-mixedpt">progressivo e telecine mescolati</link>.
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2094 Il calo di prestazioni è piccolo
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2095 <link linkend="menc-feat-telecine-footnotes">[3]</link>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2096 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2097 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2098
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2099
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2100 <sect3 id="menc-feat-telecine-encode-telecined">
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2101 <title>Telecine</title>
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2102
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2103 <para>
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2104 Il telecine può essere invertito per ricavare il contenuto originario a
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2105 24000/1001 usando un processo conosciuto come telecine-inverso.
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2106 <application>MPlayer</application> include vari filtri per ottenere ciò;
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2107 il filtro migliore, <option>pullup</option>, è descritto nella sezione
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2108 <link linkend="menc-feat-telecine-encode-mixedpt">progressivo e telecine
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2109 mescolati</link>.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2110 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2111 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2112
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2113
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2114 <sect3 id="menc-feat-telecine-encode-interlaced">
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2115 <title>Interlacciato</title>
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2116
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2117 <para>
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2118 Nella maggior parte dei casi reali non è possibile ricavare un video
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2119 progressivo completo da contenuto interlacciato. L'unico modo di farlo senza
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2120 perdere metà della risoluzione verticale è raddoppiare il framerate e provare
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2121 ad "indovinare" quello che forma le linee corrispondenti per ogni campo
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2122 (questo ha delle controindicazioni - vedi il metodo 3).
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2123 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2124
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2125 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2126 <listitem><para>
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2127 Codifica il video in forma interlacciata. Normalmente l'interlacciatura fa a
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2128 pugni con l'abilità del codificatore di comprimere bene, ma
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2129 <systemitem class="library">libavcodec</systemitem> ha due parametri
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2130 appositamente per gestire un pochino meglio il video interlacciato:
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2131 <option>ildct</option> e <option>ilme</option>. Inoltre viene caldamente
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2132 consigliato l'utilizzo di <option>mbd=2</option>
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2133 <link linkend="menc-feat-telecine-footnotes">[2] </link> poiché
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2134 codificherà i macroblocchi come non interlacciati in posti dove non c'è
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2135 movimento. Nota che <option>-ofps</option> qui NON serve.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2136 <screen>mencoder dvd://1 -oac copy -ovc lavc -lavcopts ildct:ilme:mbd=2</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2137 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2138 <listitem><para>
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2139 Usa un filtro di de-interlacciatura prima della codifica. Ci sono vari filtri
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2140 disponibili tra cui scegliere, ognuno dei quali con i suoi pro e i suoi
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2141 contro. Controlla <option>mplayer -pphelp</option> e
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2142 <option>mplayer -vf help</option> per vedere cosa c'è disponibile
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2143 (fa in grep per "deint"), leggi il <ulink url="http://guru.multimedia.cx/deinterlacing-filters/">confronto tra filtri di deinterlacciatura
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2144 (Deinterlacing filters comparison)</ulink> di Michael Niedermayer, e cerca
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2145 nelle <ulink url="http://www.mplayerhq.hu/design7/mailing_lists.html">
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2146 mailing list di MPlayer</ulink> per trovare discussioni riguardanti i vari
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2147 filtri.
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2148 Di nuovo il framerate non cambia, indi niente <option>-ofps</option>.
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2149 Inoltre, la deinterlacciatura dovrebbe essere eseguita dopo il ritaglio
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2150 <link linkend="menc-feat-telecine-footnotes">[1]</link> e prima del
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2151 ridimensionamento.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2152 <screen>mencoder dvd://1 -oac copy -vf yadif -ovc lavc</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2153 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2154 <listitem><para>
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2155 Sfortunatamente, quest'opzione non funziona bene con
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2156 <application>MEncoder</application>; dovrebbe funzionar bene con
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2157 <application>MEncoder G2</application>, ma ancora non esiste. Puoi subire
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2158 dei crash. Tuttavia l'obiettivo di <option>-vf tfields</option> è di
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2159 generare un fotogramma completo da ogni campo, portando il framerate a
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2160 60000/1001. Il vantaggio di questo approccio è che non viene mai perso alcun
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2161 dato; d'altro canto, dato che ogni fotogramma deriva da un solo campo, le
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2162 righe mancanti devono essere interpolate in qualche modo. Non ci sono metodi
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2163 veramente validi per ricreare i dati mancanti, quindi il risultato apparirà
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2164 molto simile a quando vengono usati dei filtri di deinterlacciatura.
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2165 La generazione delle righe che mancano è foriera di altri problemi,
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2166 solamente per il fatto che i dati sono raddoppiati. Conseguentemente per
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2167 mantenere la qualità si rendono necessari bitrate più elevati e viene usata
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2168 una maggior potenza di CPU sia per la codifica che la decodifica.
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2169 tfields ha varie opzioni su come generare le righe mancanti di ogni
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2170 fotogramma. Se usi questo metodo, fai riferimento al manuale, e scegli
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2171 l'opzione che può andar meglio per il tuo materiale sorgente. Fai attenzione
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2172 che usando <option>tfields</option> <emphasis role="bold">devi</emphasis>
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2173 specificare sia <option>-fps</option> che <option>-ofps</option> pari al
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2174 doppio della sorgente originaria.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2175 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2176 mencoder dvd://1 -oac copy -vf tfields=2 -ovc lavc \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2177 -fps 60000/1001 -ofps 60000/1001<!--
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2178 --></screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2179 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2180 <listitem><para>
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2181 Se conti di ridurre drasticamente le dimensioni puoi estrarre e decodificare
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2182 sono uno dei due campi. Perderai di sicuro metà della risoluzione verticale,
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2183 ma se pensi di ridurla almeno a 1/2 dell'originale, la perdità non sarà poi
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2184 molta. Il risultato sarà un file progressivo a 30000/1001 fotogrammi per
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2185 secondo. La procedura è utilizzare <option>-vf field</option>, poi crop
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2186 <link linkend="menc-feat-telecine-footnotes">[1]</link> e scale in modo
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2187 corretto. Ricorda che dovrai correggere scale per compensare la risoluzione
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2188 verticale dimezzata.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2189 <screen>mencoder dvd://1 -oac copy -vf field=0 -ovc lavc</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2190 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2191 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2192 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2193
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2194
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2195 <sect3 id="menc-feat-telecine-encode-mixedpt">
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2196 <title>Progressivo e telecine mescolati</title>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2197
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2198 <para>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2199 Per poter portare un video progressivo e telecine mescolati in un video
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2200 completamente progressivo, le parti in telecine devono essere passate in
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2201 telecine inverso. Ci son tre modi per ottenere ciò, e sono descritti qui sotto.
26811
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2202 Nota che dovresti <emphasis role="bold">sempre</emphasis> effettuare il
efc90a2bfb15 left an english phrase in, removed.
ptt
parents: 26254
diff changeset
2203 telecine inverso prima di ogni ridimensionamento; a meno che tu non sappia
26827
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2204 davvero cosa tu stia facendo, applica il telecine inverso anche prima del ritaglio (crop)
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2205 <link linkend="menc-feat-telecine-footnotes">[1]</link>.
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2206 In questo caso serve <option>-ofps 24000/1001</option> perché il video in
6dab33cd8b71 little fixes
ptt
parents: 26811
diff changeset
2207 uscita sarà a 24000/1001 fotogrammi al secondo.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2208 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2209
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2210 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2211 <listitem><para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2212 <option>-vf pullup</option> è studiata per togliere il telecine da materiale
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2213 in telecine lasciando stare le parti in progressivo. Per poter funzionare
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2214 correttamente, <option>pullup</option> <emphasis role="bold">deve</emphasis>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2215 essere seguita dal filtro <option>softskip</option> altrimenti
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2216 <application>MEncoder</application> andrà in crash.
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2217 <option>pullup</option> è tuttavia il modo migliore e più preciso disponibile
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2218 per codificare sia telecine che "progressivo e telecine mescolati".
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2219 <screen>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
2220 mencoder dvd://1 -oac copy -vf pullup,softskip
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2221 -ovc lavc -ofps 24000/1001<!--
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2222 --></screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2223 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2224 <listitem><para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2225 Un metodo più vecchio, invece di togliere il telecine dove c'è, è portare
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2226 in telecine le parti che non lo sono e dopo invertire il telecine su tutto il
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2227 video. Sembra incasinato? softpulldown è un filtro che prende tutto il video
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2228 e lo porta in telecine. Se facciamo seguire a softpulldown
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2229 <option>detc</option> oppure <option>ivtc</option>, il risultato finale sarà
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2230 completamente progressivo. Serve <option>-ofps 24000/1001</option>.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2231 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2232 mencoder dvd://1 -oac copy -vf softpulldown,ivtc=1 -ovc lavc -ofps 24000/1001
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2233 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2234 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2235
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2236 <listitem><para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2237 Non ho usato <option>-vf filmdint</option>, ma questa è l'opinione che ne ha
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2238 D Richard Felker III:
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2239
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2240 <blockquote><para>E' OK, ma IMO cerca troppo spesso di deinterlacciare
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2241 piuttosto che invertire il telecine (come molti lettori DVD da tavolo &amp;
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2242 televisioni progressive), il che porta orrendi sfarfallii e altri
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2243 artefatti. Se vuoi utilizzarlo devi perlomeno spendere un po' di tempo ad
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2244 impostare le opzioni e controllare i risultati prima di esser certo che non
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2245 faccia danni.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2246 </para></blockquote>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2247 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2248 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2249 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2250
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2251
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2252 <sect3 id="menc-feat-telecine-encode-mixedpi">
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2253 <title>Progressivo e interlacciato mescolati</title>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2254
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2255 <para>
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2256 Ci sono due opzioni per gestire questa categoria, ognuna delle quali è un
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2257 compromesso. Dovresti decidere basandoti sulla lunghezza/durata di uno dei due
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2258 tipi.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2259 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2260
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2261 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2262 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2263 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2264 Trattarlo come progressivo. Le parti interlacciate sembreranno interlacciate,
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2265 e alcuni dei campi interlacciati dovranno essere scartati, apportando un
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2266 pelino di saltellamenti impari. Se vuoi puoi utilizzare un filtro di
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2267 postelaborazione, ma potrebbe leggermente inficiare le parti progressive.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2268 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2269
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2270 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2271 Questa opzione non sarebbe decisamente da usare se casomai ti interessi
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2272 riprodurre il video su un dispositivo interlacciato (con una sche da TV, per
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2273 esempio). Se hai fotogrammi interlacciati in un video a 24000/1001 fotogrammi
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2274 al secondo, verranno messi in telecine con i fotogrammi progressivi.
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2275 Metà dei "fotogrammi" interlacciati saranno mostrati per la durata di tre
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2276 campi (3/(60000/1001) secondi), risultando in un effetto alla "salto indietro
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2277 nel tempo" che è bruttino. Se solo provi a far in questo modo,
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2278 <emphasis role="bold">devi</emphasis> usare in filtro di deinterlacciamento
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2279 come <option>lb</option> o <option>l5</option>.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2280 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2281
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2282 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2283 Può anche essere una brutta idea per un display progressivo. Scarterà coppie
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2284 di campi interlacciati consecutivi, dando una discontinuità che si vede
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2285 maggiormente con il secondo metodo, che mostra per due volte alcuni
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2286 fotogrammi progressivi. Il video interlacciato a 30000/1001 fotogrammi per
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2287 secondo è di suo un pochino zoppo dato che sarebbe da mostrare a 60000/1001
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2288 campi al secondo, quindi i fotogrammi duplicati non si notano così tanto.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2289 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2290
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2291 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2292 In ogni modo è meglio tenere in considerazione il tuo contenuto e come
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2293 intendi riprodurlo. Se il tuo video è al 90% progressivo e non pensi di
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2294 riprodurlo mai su una TV, dovresti propendere per l'approccio progressivo.
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2295 Se è progressivo solo per metà, probabilmente ti converrà codificarlo come
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2296 se fosse interlacciato.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2297 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2298 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2299
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2300 <listitem><para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2301 Trattarlo come interlacciato. Alcuni fotogrammi delle parti progressive
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2302 verranno duplicati, portando saltelli impari. Ancora, i filtri di
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2303 deinterlacciamento potrebbero inficiare le parti progressive.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2304 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2305 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2306 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2307 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2308
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2309 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2310
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2311 <sect2 id="menc-feat-telecine-footnotes">
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2312 <title>Note a pie' pagina</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2313
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2314 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2315 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2316 <formalpara>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2317 <title>Riguardo il taglio (crop):</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2318 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2319 I dati video sui DVD sono memorizzati in un formato conosciuto come YUV 4:2:0.
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2320 In un video YUV, la luminosità ("luma") e il colore ("chroma") vengono
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2321 salvati separatamente. Dato che l'occhio umano è in qualche modo meno
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2322 sensibile al colore che alla luminosità, in un'immagine YUV 4:2:0 c'è solo
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2323 un pixel chroma ogni quattro pixel luma. In un'immagine progressiva, ogni
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2324 quadrato di quattro pixel luma (due per lato) ha in comune un pixel chroma.
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2325 Devi prima ridimensionare lo YUV 4:2:0 progressivo a una risoluzione pari, e
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2326 anche utilizzare lo scostamento. Per esempio,
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2327 <option>crop=716:380:2:26</option> è OK ma
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2328 <option>crop=716:380:3:26 </option> non lo è.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2329 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2330 </formalpara>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2331
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2332 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2333 Quando gestisci YUV 4:2:0 interlacciato, la situazione è un pelo più
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2334 complessa. Invece di avere quattro pixel luma nel
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2335 <emphasis>fotogramma</emphasis> che condividono un pixel chroma, quattro
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2336 pixel in ogni <emphasis>campo</emphasis> condividono un pixel chroma.
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2337 Quando i campi vengono interlacciati per formare un fotogramma, ogni
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2338 "scanline" è alta un pixel. Ora, invece di avere tutti i quattro pixel luma
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2339 in un quadrato, ci sono due pixel affiancati, e gli altri due pixel sono
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2340 affiancati due scanline più sotto. I due pixel luma nella scanline di mezzo
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2341 sono di un altro campo, e quindi condividono un pixel chroma differente con
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2342 due pixel due scanline dopo. Tutta questa confusione rende necessario avere
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2343 dimensione verticale pari e lo scostamento deve essere un multiplo di quattro.
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2344 La dimensione orizzontale può rimanere dispari.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2345 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2346
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2347 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2348 Per video in telecine, si consiglia di effettuare il taglio dopo l'inversione
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2349 del telecine. Una volta che il video è progressivo ti serve solo tagliare di
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2350 numeri dispari. Se davvero vuoi ottenere il piccolo aumento di velocità che
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2351 puoi avere tagliando prima, devi prima tagliare in verticale di multipli di
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2352 quattro, altrimenti il filtro di telecine inverso non riceverà dati corretti.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2353 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2354
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2355 <para>
27851
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2356 Per video interlacciato (non in telecine), devi sempre tagliare
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2357 verticalmente di multipli di quattro a meno che tu non stia usando
dc0d56d55a71 44% synced with r22753 (going on... ;))
ptt
parents: 27831
diff changeset
2358 <option>-vf field</option> prima del taglio.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2359 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2360 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2361
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2362 <listitem><formalpara>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2363 <title>Riguardo i parameti di codifica e la qualità:</title>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2364 <para>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2365 Il fatto che qui venga cosigliata <option>mbd=2</option> non significa che
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2366 non si debba usare altrimenti. Insieme con <option>trell</option>,
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2367 <option>mbd=2</option> è una delle due opzioni di
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2368 <systemitem class="library">libavcodec</systemitem> che ottimizzano al
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2369 meglio la qualità e sarebbero sempre da utilizzare entrambe a meno che
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2370 l'aumento della velocità di codifica sua proibitivo (ad es. per la codifica
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2371 in tempo reale (realtime)). Ci sono molte altre opzioni di
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2372 <systemitem class="library">libavcodec</systemitem> che aumentano la
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2373 qualità (e rallentano la codifica), ma questo non è l'obiettivo di
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2374 questa documentaziione.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2375 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2376 </formalpara></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2377
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2378 <listitem><formalpara>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2379 <title>About the performance of pullup:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2380 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2381 It is safe to use <option>pullup</option> (along with <option>softskip
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2382 </option>) on progressive video, and is usually a good idea unless
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2383 the source has been definitively verified to be entirely progressive.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2384 The performace loss is small for most cases. On a bare-minimum encode,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2385 <option>pullup</option> causes <application>MEncoder</application> to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2386 be 50% slower. Adding sound processing and advanced <option>lavcopts
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2387 </option> overshadows that difference, bringing the performance
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2388 decrease of using <option>pullup</option> down to 2%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2389 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2390 </formalpara></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2391 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2392 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2393 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2394
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2395
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2396 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2397
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2398
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2399 <sect1 id="menc-feat-enc-libavcodec">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2400 <title>Encoding with the <systemitem class="library">libavcodec</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2401 codec family</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2402
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2403 <para>
27831
0b11c4f3367d linking corrections
ptt
parents: 27821
diff changeset
2404 <systemitem class="library">libavcodec</systemitem>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2405 provides simple encoding to a lot of interesting video and audio formats.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2406 You can encode to the following codecs (more or less up to date):
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2407 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2408
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2409 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2410
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2411 <sect2 id="menc-feat-enc-libavcodec-video-codecs">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2412 <title><systemitem class="library">libavcodec</systemitem>'s
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2413 video codecs</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2414
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2415 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2416 <informaltable frame="all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2417 <tgroup cols="2">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2418 <thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2419 <row><entry>Video codec name</entry><entry>Description</entry></row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2420 </thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2421 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2422 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2423 <entry>mjpeg</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2424 <entry>Motion JPEG</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2425 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2426 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2427 <entry>ljpeg</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2428 <entry>lossless JPEG</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2429 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2430 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2431 <entry>jpegls</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2432 <entry>JPEG LS</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2433 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2434 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2435 <entry>targa</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2436 <entry>Targa image</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2437 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2438 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2439 <entry>gif</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2440 <entry>GIF image</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2441 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2442 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2443 <entry>bmp</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2444 <entry>BMP image</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2445 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2446 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2447 <entry>png</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2448 <entry>PNG image</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2449 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2450 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2451 <entry>h261</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2452 <entry>H.261</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2453 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2454 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2455 <entry>h263</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2456 <entry>H.263 </entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2457 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2458 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2459 <entry>h263p</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2460 <entry>H.263+</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2461 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2462 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2463 <entry>mpeg4</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2464 <entry>ISO standard MPEG-4 (DivX, Xvid compatible)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2465 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2466 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2467 <entry>msmpeg4</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2468 <entry>pre-standard MPEG-4 variant by MS, v3 (AKA DivX3)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2469 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2470 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2471 <entry>msmpeg4v2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2472 <entry>pre-standard MPEG-4 by MS, v2 (used in old ASF files)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2473 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2474 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2475 <entry>wmv1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2476 <entry>Windows Media Video, version 1 (AKA WMV7)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2477 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2478 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2479 <entry>wmv2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2480 <entry>Windows Media Video, version 2 (AKA WMV8)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2481 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2482 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2483 <entry>rv10</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2484 <entry>RealVideo 1.0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2485 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2486 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2487 <entry>rv20</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2488 <entry>RealVideo 2.0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2489 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2490 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2491 <entry>mpeg1video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2492 <entry>MPEG-1 video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2493 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2494 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2495 <entry>mpeg2video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2496 <entry>MPEG-2 video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2497 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2498 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2499 <entry>huffyuv</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2500 <entry>lossless compression</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2501 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2502 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2503 <entry>ffvhuff</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2504 <entry>FFmpeg modified huffyuv lossless</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2505 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2506 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2507 <entry>asv1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2508 <entry>ASUS Video v1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2509 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2510 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2511 <entry>asv2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2512 <entry>ASUS Video v2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2513 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2514 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2515 <entry>ffv1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2516 <entry>FFmpeg's lossless video codec</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2517 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2518 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2519 <entry>svq1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2520 <entry>Sorenson video 1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2521 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2522 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2523 <entry>flv</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2524 <entry>Sorenson H.263 used in Flash Video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2525 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2526 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2527 <entry>flashsv</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2528 <entry>Flash Screen Video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2529 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2530 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2531 <entry>dvvideo</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2532 <entry>Sony Digital Video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2533 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2534 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2535 <entry>snow</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2536 <entry>FFmpeg's experimental wavelet-based codec</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2537 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2538 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2539 <entry>zbmv</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2540 <entry>Zip Blocks Motion Video</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2541 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2542 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2543 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2544 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2545
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2546 The first column contains the codec names that should be passed after the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2547 <literal>vcodec</literal> config,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2548 like: <option>-lavcopts vcodec=msmpeg4</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2549 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2550
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2551 <informalexample><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2552 An example with MJPEG compression:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2553 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2554 mencoder dvd://2 -o <replaceable>title2.avi</replaceable> -ovc lavc -lavcopts vcodec=mjpeg -oac copy
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2555 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2556 </para></informalexample>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2557 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2558
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2559 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2560
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2561 <sect2 id="menc-feat-enc-libavcodec-audio-codecs">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2562 <title><systemitem class="library">libavcodec</systemitem>'s
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2563 audio codecs</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2564
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2565 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2566 <informaltable frame="all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2567 <tgroup cols="2">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2568 <thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2569 <row><entry>Audio codec name</entry><entry>Description</entry></row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2570 </thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2571 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2572 <row>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2573 <entry>ac3</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2574 <entry>Dolby Digital (AC-3)</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2575 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2576 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2577 <entry>adpcm_*</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2578 <entry>Adaptive PCM formats - see supplementary table</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2579 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2580 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2581 <entry>flac</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2582 <entry>Free Lossless Audio Codec (FLAC)</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2583 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2584 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2585 <entry>g726</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2586 <entry>G.726 ADPCM</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2587 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2588 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2589 <entry>libfaac</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2590 <entry>Advanced Audio Coding (AAC) - using FAAC</entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2591 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2592 <row>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2593 <entry>libgsm</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2594 <entry>ETSI GSM 06.10 full rate</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2595 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2596 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2597 <entry>libgsm_ms</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2598 <entry>Microsoft GSM</entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2599 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2600 <row>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2601 <entry>libmp3lame</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2602 <entry>MPEG-1 audio layer 3 (MP3) - using LAME</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2603 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2604 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2605 <entry>mp2</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2606 <entry>MPEG-1 audio layer 2 (MP2)</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2607 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2608 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2609 <entry>pcm_*</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2610 <entry>PCM formats - see supplementary table</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2611 </row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2612 <row>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2613 <entry>roq_dpcm</entry>
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2614 <entry>Id Software RoQ DPCM</entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2615 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2616 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2617 <entry>sonic</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2618 <entry>experimental FFmpeg lossy codec</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2619 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2620 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2621 <entry>sonicls</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2622 <entry>experimental FFmpeg lossless codec</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2623 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2624 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2625 <entry>vorbis</entry>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2626 <entry>Vorbis</entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2627 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2628 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2629 <entry>wmav1</entry>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2630 <entry>Windows Media Audio v1</entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2631 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2632 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2633 <entry>wmav2</entry>
30939
1eb76f19daae updated table of libavcodec's audio codecs
ptt
parents: 29263
diff changeset
2634 <entry>Windows Media Audio v2</entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2635 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2636 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2637 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2638 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2639
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2640 The first column contains the codec names that should be passed after the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2641 <literal>acodec</literal> option, like: <option>-lavcopts acodec=ac3</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2642 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2643
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2644 <informalexample><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2645 An example with AC-3 compression:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2646 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2647 mencoder dvd://2 -o <replaceable>title2.avi</replaceable> -oac lavc -lavcopts acodec=ac3 -ovc copy
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2648 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2649 </para></informalexample>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2650
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2651 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2652 Contrary to <systemitem class="library">libavcodec</systemitem>'s video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2653 codecs, its audio codecs do not make a wise usage of the bits they are
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2654 given as they lack some minimal psychoacoustic model (if at all)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2655 which most other codec implementations feature.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2656 However, note that all these audio codecs are very fast and work
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2657 out-of-the-box everywhere <application>MEncoder</application> has been
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2658 compiled with <systemitem class="library">libavcodec</systemitem> (which
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2659 is the case most of time), and do not depend on external libraries.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2660 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2661 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2662
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2663 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2664
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2665 <sect2 id="menc-feat-dvd-mpeg4-lavc-encoding-options">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2666 <title>Encoding options of libavcodec</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2667
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2668 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2669 Ideally, you would probably want to be able to just tell the encoder to switch
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2670 into "high quality" mode and move on.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2671 That would probably be nice, but unfortunately hard to implement as different
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2672 encoding options yield different quality results depending on the source
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2673 material. That is because compression depends on the visual properties of the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2674 video in question.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2675 For example, anime and live action have very different properties and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2676 thus require different options to obtain optimum encoding.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2677 The good news is that some options should never be left out, like
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2678 <option>mbd=2</option>, <option>trell</option>, and <option>v4mv</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2679 See below for a detailed description of common encoding options.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2680 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2681
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2682 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2683 <title>Options to adjust:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2684 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2685 <emphasis role="bold">vmax_b_frames</emphasis>: 1 or 2 is good, depending on
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2686 the movie.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2687 Note that if you need to have your encode be decodable by DivX5, you
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2688 need to activate closed GOP support, using
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2689 <systemitem class="library">libavcodec</systemitem>'s <option>cgop</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2690 option, but you need to deactivate scene detection, which
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2691 is not a good idea as it will hurt encode efficiency a bit.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2692 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2693 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2694 <emphasis role="bold">vb_strategy=1</emphasis>: helps in high-motion scenes.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2695 On some videos, vmax_b_frames may hurt quality, but vmax_b_frames=2 along
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2696 with vb_strategy=1 helps.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2697 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2698 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2699 <emphasis role="bold">dia</emphasis>: motion search range. Bigger is better
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2700 and slower.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2701 Negative values are a completely different scale.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2702 Good values are -1 for a fast encode, or 2-4 for slower.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2703 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2704 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2705 <emphasis role="bold">predia</emphasis>: motion search pre-pass.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2706 Not as important as dia. Good values are 1 (default) to 4. Requires preme=2
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2707 to really be useful.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2708 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2709 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2710 <emphasis role="bold">cmp, subcmp, precmp</emphasis>: Comparison function for
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2711 motion estimation.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2712 Experiment with values of 0 (default), 2 (hadamard), 3 (dct), and 6 (rate
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2713 distortion).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2714 0 is fastest, and sufficient for precmp.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2715 For cmp and subcmp, 2 is good for anime, and 3 is good for live action.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2716 6 may or may not be slightly better, but is slow.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2717 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2718 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2719 <emphasis role="bold">last_pred</emphasis>: Number of motion predictors to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2720 take from the previous frame.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2721 1-3 or so help at little speed cost.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2722 Higher values are slow for no extra gain.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2723 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2724 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2725 <emphasis role="bold">cbp, mv0</emphasis>: Controls the selection of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2726 macroblocks. Small speed cost for small quality gain.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2727 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2728 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2729 <emphasis role="bold">qprd</emphasis>: adaptive quantization based on the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2730 macroblock's complexity.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2731 May help or hurt depending on the video and other options.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2732 This can cause artifacts unless you set vqmax to some reasonably small value
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2733 (6 is good, maybe as low as 4); vqmin=1 should also help.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2734 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2735 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2736 <emphasis role="bold">qns</emphasis>: very slow, especially when combined
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2737 with qprd.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2738 This option will make the encoder minimize noise due to compression
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2739 artifacts instead of making the encoded video strictly match the source.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2740 Do not use this unless you have already tweaked everything else as far as it
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2741 will go and the results still are not good enough.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2742 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2743 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2744 <emphasis role="bold">vqcomp</emphasis>: Tweak ratecontrol.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2745 What values are good depends on the movie.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2746 You can safely leave this alone if you want.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2747 Reducing vqcomp puts more bits on low-complexity scenes, increasing it puts
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2748 them on high-complexity scenes (default: 0.5, range: 0-1. recommended range:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2749 0.5-0.7).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2750 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2751 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2752 <emphasis role="bold">vlelim, vcelim</emphasis>: Sets the single coefficient
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2753 elimination threshold for luminance and chroma planes.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2754 These are encoded separately in all MPEG-like algorithms.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2755 The idea behind these options is to use some good heuristics to determine
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2756 when the change in a block is less than the threshold you specify, and in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2757 such a case, to just encode the block as "no change".
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2758 This saves bits and perhaps speeds up encoding. vlelim=-4 and vcelim=9
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2759 seem to be good for live movies, but seem not to help with anime;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2760 when encoding animation, you should probably leave them unchanged.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2761 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2762 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2763 <emphasis role="bold">qpel</emphasis>: Quarter pixel motion estimation.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2764 MPEG-4 uses half pixel precision for its motion search by default,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2765 therefore this option comes with an overhead as more information will be
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2766 stored in the encoded file.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2767 The compression gain/loss depends on the movie, but it is usually not very
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2768 effective on anime.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2769 qpel always incurs a significant cost in CPU decode time (+25% in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2770 practice).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2771 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2772 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2773 <emphasis role="bold">psnr</emphasis>: does not affect the actual encoding,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2774 but writes a log file giving the type/size/quality of each frame, and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2775 prints a summary of PSNR (Peak Signal to Noise Ratio) at the end.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2776 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2777 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2778
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2779 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2780 <title>Options not recommended to play with:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2781 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2782 <emphasis role="bold">vme</emphasis>: The default is best.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2783 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2784 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2785 <emphasis role="bold">lumi_mask, dark_mask</emphasis>: Psychovisual adaptive
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2786 quantization.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2787 You do not want to play with those options if you care about quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2788 Reasonable values may be effective in your case, but be warned this is very
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2789 subjective.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2790 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2791 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2792 <emphasis role="bold">scplx_mask</emphasis>: Tries to prevent blocky
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2793 artifacts, but postprocessing is better.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2794 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2795 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2796 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2797
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2798 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2799
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2800 <sect2 id="menc-feat-mpeg4-lavc-example-settings">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2801 <title>Encoding setting examples</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2802
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2803 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2804 The following settings are examples of different encoding
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2805 option combinations that affect the speed vs quality tradeoff
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2806 at the same target bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2807 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2808
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2809 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2810 All the encoding settings were tested on a 720x448 @30000/1001 fps
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2811 video sample, the target bitrate was 900kbps, and the machine was an
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2812 AMD-64 3400+ at 2400 MHz in 64 bits mode.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2813 Each encoding setting features the measured encoding speed (in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2814 frames per second) and the PSNR loss (in dB) compared to the "very
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2815 high quality" setting.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2816 Please understand that depending on your source, your machine type
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2817 and development advancements, you may get very different results.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2818 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2819
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2820 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2821 <informaltable frame="all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2822 <tgroup cols="4">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2823 <thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2824 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2825 <entry>Description</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2826 <entry>Encoding options</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2827 <entry>speed (in fps)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2828 <entry>Relative PSNR loss (in dB)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2829 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2830 </thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2831 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2832 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2833 <entry>Very high quality</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2834 <entry><option>vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2835 <entry>6fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2836 <entry>0dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2837 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2838 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2839 <entry>High quality</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2840 <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>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2841 <entry>15fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2842 <entry>-0.5dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2843 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2844 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2845 <entry>Fast</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2846 <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:turbo</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2847 <entry>42fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2848 <entry>-0.74dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2849 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2850 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2851 <entry>Realtime</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2852 <entry><option>vcodec=mpeg4:mbd=2:turbo</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2853 <entry>54fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2854 <entry>-1.21dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2855 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2856 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2857 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2858 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2859 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2860 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2861
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2862 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2863
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2864 <sect2 id="custommatrices">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2865 <title>Custom inter/intra matrices</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2866
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2867 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2868 With this feature of
27831
0b11c4f3367d linking corrections
ptt
parents: 27821
diff changeset
2869 <systemitem class="library">libavcodec</systemitem>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2870 you are able to set custom inter (I-frames/keyframes) and intra
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2871 (P-frames/predicted frames) matrices. It is supported by many of the codecs:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2872 <systemitem>mpeg1video</systemitem> and <systemitem>mpeg2video</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2873 are reported as working.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2874 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2875
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2876 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2877 A typical usage of this feature is to set the matrices preferred by the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2878 <ulink url="http://www.kvcd.net/">KVCD</ulink> specifications.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2879 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2880
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2881 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2882 The <emphasis role="bold">KVCD "Notch" Quantization Matrix:</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2883 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2884
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2885 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2886 Intra:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2887 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2888 8 9 12 22 26 27 29 34
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2889 9 10 14 26 27 29 34 37
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2890 12 14 18 27 29 34 37 38
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2891 22 26 27 31 36 37 38 40
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2892 26 27 29 36 39 38 40 48
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2893 27 29 34 37 38 40 48 58
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2894 29 34 37 38 40 48 58 69
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2895 34 37 38 40 48 58 69 79
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2896 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2897
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2898 Inter:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2899 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2900 16 18 20 22 24 26 28 30
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2901 18 20 22 24 26 28 30 32
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2902 20 22 24 26 28 30 32 34
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2903 22 24 26 30 32 32 34 36
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2904 24 26 28 32 34 34 36 38
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2905 26 28 30 32 34 36 38 40
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2906 28 30 32 34 36 38 42 42
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2907 30 32 34 36 38 40 42 44
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2908 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2909 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2910
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2911 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2912 Usage:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2913 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2914 mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.avi</replaceable> -oac copy -ovc lavc \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2915 -lavcopts inter_matrix=...:intra_matrix=...
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2916 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2917 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2918
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2919 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2920 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2921 mencoder <replaceable>input.avi</replaceable> -ovc lavc -lavcopts \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2922 vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2923 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,\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2924 29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2925 :inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2926 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,\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2927 36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 -oac copy -o svcd.mpg
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2928 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2929 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2930 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2931
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2932 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2933
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2934 <sect2 id="menc-feat-dvd-mpeg4-example">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2935 <title>Example</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2936
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2937 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2938 So, you have just bought your shiny new copy of Harry Potter and the Chamber
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2939 of Secrets (widescreen edition, of course), and you want to rip this DVD
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2940 so that you can add it to your Home Theatre PC. This is a region 1 DVD,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2941 so it is NTSC. The example below will still apply to PAL, except you will
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2942 omit <option>-ofps 24000/1001</option> (because the output framerate is the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2943 same as the input framerate), and of course the crop dimensions will be
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2944 different.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2945 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2946
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2947 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2948 After running <option>mplayer dvd://1</option>, we follow the process
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2949 detailed in the section <link linkend="menc-feat-telecine">How to deal
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2950 with telecine and interlacing in NTSC DVDs</link> and discover that it is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2951 24000/1001 fps progressive video, which means that we need not use an inverse
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2952 telecine filter, such as <option>pullup</option> or
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2953 <option>filmdint</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2954 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2955
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2956 <para id="menc-feat-dvd-mpeg4-example-crop">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2957 Next, we want to determine the appropriate crop rectangle, so we use the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2958 cropdetect filter:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2959 <screen>mplayer dvd://1 -vf cropdetect</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2960 Make sure you seek to a fully filled frame (such as a bright scene,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2961 past the opening credits and logos), and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2962 you will see in <application>MPlayer</application>'s console output:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2963 <screen>crop area: X: 0..719 Y: 57..419 (-vf crop=720:362:0:58)</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2964 We then play the movie back with this filter to test its correctness:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2965 <screen>mplayer dvd://1 -vf crop=720:362:0:58</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2966 And we see that it looks perfectly fine. Next, we ensure the width and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2967 height are a multiple of 16. The width is fine, however the height is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2968 not. Since we did not fail 7th grade math, we know that the nearest
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2969 multiple of 16 lower than 362 is 352.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2970 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2971
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2972 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2973 We could just use <option>crop=720:352:0:58</option>, but it would be nice
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2974 to take a little off the top and a little off the bottom so that we
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2975 retain the center. We have shrunk the height by 10 pixels, but we do not
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2976 want to increase the y-offset by 5-pixels since that is an odd number and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2977 will adversely affect quality. Instead, we will increase the y-offset by
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2978 4 pixels:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2979 <screen>mplayer dvd://1 -vf crop=720:352:0:62</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2980 Another reason to shave pixels from both the top and the bottom is that we
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2981 ensure we have eliminated any half-black pixels if they exist. Note that if
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2982 your video is telecined, make sure the <option>pullup</option> filter (or
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2983 whichever inverse telecine filter you decide to use) appears in the filter
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2984 chain before you crop. If it is interlaced, deinterlace before cropping.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2985 (If you choose to preserve the interlaced video, then make sure your
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2986 vertical crop offset is a multiple of 4.)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2987 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2988
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2989 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2990 If you are really concerned about losing those 10 pixels, you might
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2991 prefer instead to scale the dimensions down to the nearest multiple of 16.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2992 The filter chain would look like:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2993 <screen>-vf crop=720:362:0:58,scale=720:352</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2994 Scaling the video down like this will mean that some small amount of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2995 detail is lost, though it probably will not be perceptible. Scaling up will
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2996 result in lower quality (unless you increase the bitrate). Cropping
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2997 discards those pixels altogether. It is a tradeoff that you will want to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2998 consider for each circumstance. For example, if the DVD video was made
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
2999 for television, you might want to avoid vertical scaling, since the line
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3000 sampling corresponds to the way the content was originally recorded.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3001 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3002
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3003 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3004 On inspection, we see that our movie has a fair bit of action and high
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3005 amounts of detail, so we pick 2400Kbit for our bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3006 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3007
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3008 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3009 We are now ready to do the two pass encode. Pass one:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3010 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3011 mencoder dvd://1 -ofps 24000/1001 -oac copy -o <replaceable>Harry_Potter_2.avi</replaceable> -ovc lavc \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3012 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:vpass=1 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3013 -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3014 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3015 And pass two is the same, except that we specify <option>vpass=2</option>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3016 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3017 mencoder dvd://1 -ofps 24000/1001 -oac copy -o <replaceable>Harry_Potter_2.avi</replaceable> -ovc lavc \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3018 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:vpass=2 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3019 -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3020 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3021 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3022
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3023 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3024 The options <option>v4mv:mbd=2:trell</option> will greatly increase the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3025 quality at the expense of encoding time. There is little reason to leave
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3026 these options out when the primary goal is quality. The options
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3027 <option>cmp=3:subcmp=3</option> select a comparison function that
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3028 yields higher quality than the defaults. You might try experimenting with
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3029 this parameter (refer to the man page for the possible values) as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3030 different functions can have a large impact on quality depending on the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3031 source material. For example, if you find
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3032 <systemitem class="library">libavcodec</systemitem> produces too much
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3033 blocky artifacting, you could try selecting the experimental NSSE as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3034 comparison function via <option>*cmp=10</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3035 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3036
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3037 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3038 For this movie, the resulting AVI will be 138 minutes long and nearly
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3039 3GB. And because you said that file size does not matter, this is a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3040 perfectly acceptable size. However, if you had wanted it smaller, you
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3041 could try a lower bitrate. Increasing bitrates have diminishing
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3042 returns, so while we might clearly see an improvement from 1800Kbit to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3043 2000Kbit, it might not be so noticeable above 2000Kbit. Feel
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3044 free to experiment until you are happy.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3045 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3046
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3047 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3048 Because we passed the source video through a denoise filter, you may want
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3049 to add some of it back during playback. This, along with the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3050 <option>spp</option> post-processing filter, drastically improves the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3051 perception of quality and helps eliminate blocky artifacts in the video.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3052 With <application>MPlayer</application>'s <option>autoq</option> option,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3053 you can vary the amount of post-processing done by the spp filter
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3054 depending on available CPU. Also, at this point, you may want to apply
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3055 gamma and/or color correction to best suit your display. For example:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3056 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3057 mplayer <replaceable>Harry_Potter_2.avi</replaceable> -vf spp,noise=9ah:5ah,eq2=1.2 -autoq 3
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3058 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3059 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3060 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3061 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3062
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3063
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3064 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3065
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3066
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3067 <sect1 id="menc-feat-xvid">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3068 <title>Encoding with the <systemitem class="library">Xvid</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3069 codec</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3070
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3071 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3072 <systemitem class="library">Xvid</systemitem> is a free library for
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3073 encoding MPEG-4 ASP video streams.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3074 Before starting to encode, you need to <link linkend="xvid">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3075 set up <application>MEncoder</application> to support it</link>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3076 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3077
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3078 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3079 This guide mainly aims at featuring the same kind of information
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3080 as x264's encoding guide.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3081 Therefore, please begin by reading
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3082 <link linkend="menc-feat-x264-encoding-options-intro">the first part</link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3083 of that guide.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3084 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3085
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3086 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3087
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3088 <sect2 id="menc-feat-xvid-intro">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3089 <title>What options should I use to get the best results?</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3090
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3091 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3092 Please begin by reviewing the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3093 <systemitem class="library">Xvid</systemitem> section of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3094 <application>MPlayer</application>'s man page.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3095 This section is intended to be a supplement to the man page.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3096 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3097
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3098 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3099 The Xvid default settings are already a good tradeoff between
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3100 speed and quality, therefore you can safely stick to them if
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3101 the following section puzzles you.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3102 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3103 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3104
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3105 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3106
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3107 <sect2 id="menc-feat-xvid-encoding-options">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3108 <title>Encoding options of <systemitem class="library">Xvid</systemitem></title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3109
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3110 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3111 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3112 <emphasis role="bold">vhq</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3113 This setting affects the macroblock decision algorithm, where the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3114 higher the setting, the wiser the decision.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3115 The default setting may be safely used for every encode, while
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3116 higher settings always help PSNR but are significantly slower.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3117 Please note that a better PSNR does not necessarily mean
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3118 that the picture will look better, but tells you that it is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3119 closer to the original.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3120 Turning it off will noticeably speed up encoding; if speed is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3121 critical for you, the tradeoff may be worth it.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3122 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3123 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3124 <emphasis role="bold">bvhq</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3125 This does the same job as vhq, but does it on B-frames.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3126 It has a negligible impact on speed, and slightly improves quality
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3127 (around +0.1dB PSNR).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3128 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3129 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3130 <emphasis role="bold">max_bframes</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3131 A higher number of consecutive allowed B-frames usually improves
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3132 compressibility, although it may also lead to more blocking artifacts.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3133 The default setting is a good tradeoff between compressibility and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3134 quality, but you may increase it up to 3 if you are bitrate-starved.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3135 You may also decrease it to 1 or 0 if you are aiming at perfect
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3136 quality, though in that case you should make sure your
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3137 target bitrate is high enough to ensure that the encoder does not
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3138 have to increase quantizers to reach it.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3139 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3140 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3141 <emphasis role="bold">bf_threshold</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3142 This controls the B-frame sensitivity of the encoder, where a higher
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3143 value leads to more B-frames being used (and vice versa).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3144 This setting is to be used together with <option>max_bframes</option>;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3145 if you are bitrate-starved, you should increase both
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3146 <option>max_bframes</option> and <option>bf_threshold</option>,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3147 while you may increase <option>max_bframes</option> and reduce
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3148 <option>bf_threshold</option> so that the encoder may use more
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3149 B-frames in places that only <emphasis role="bold">really</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3150 need them.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3151 A low number of <option>max_bframes</option> and a high value of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3152 <option>bf_threshold</option> is probably not a wise choice as it
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3153 will force the encoder to put B-frames in places that would not
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3154 benefit from them, therefore reducing visual quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3155 However, if you need to be compatible with standalone players that
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3156 only support old DivX profiles (which only supports up to 1
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3157 consecutive B-frame), this would be your only way to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3158 increase compressibility through using B-frames.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3159 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3160 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3161 <emphasis role="bold">trellis</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3162 Optimizes the quantization process to get an optimal tradeoff
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3163 between PSNR and bitrate, which allows significant bit saving.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3164 These bits will in return be spent elsewhere on the video,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3165 raising overall visual quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3166 You should always leave it on as its impact on quality is huge.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3167 Even if you are looking for speed, do not disable it until you
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3168 have turned down <option>vhq</option> and all other more
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3169 CPU-hungry options to the minimum.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3170 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3171 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3172 <emphasis role="bold">hq_ac</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3173 Activates a better coefficient cost estimation method, which slightly
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3174 reduces filesize by around 0.15 to 0.19% (which corresponds to less
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3175 than 0.01dB PSNR increase), while having a negligible impact on speed.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3176 It is therefore recommended to always leave it on.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3177 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3178 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3179 <emphasis role="bold">cartoon</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3180 Designed to better encode cartoon content, and has no impact on
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3181 speed as it just tunes the mode decision heuristics for this type
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3182 of content.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3183 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3184 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3185 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3186 <emphasis role="bold">me_quality</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3187 This setting is to control the precision of the motion estimation.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3188 The higher <option>me_quality</option>, the more
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3189 precise the estimation of the original motion will be, and the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3190 better the resulting clip will capture the original motion.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3191 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3192 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3193 The default setting is best in all cases;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3194 thus it is not recommended to turn it down unless you are
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3195 really looking for speed, as all the bits saved by a good motion
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3196 estimation would be spent elsewhere, raising overall quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3197 Therefore, do not go any lower than 5, and even that only as a last
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3198 resort.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3199 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3200 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3201 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3202 <emphasis role="bold">chroma_me</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3203 Improves motion estimation by also taking the chroma (color)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3204 information into account, whereas <option>me_quality</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3205 alone only uses luma (grayscale).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3206 This slows down encoding by 5-10% but improves visual quality
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3207 quite a bit by reducing blocking effects and reduces filesize by
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3208 around 1.3%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3209 If you are looking for speed, you should disable this option before
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3210 starting to consider reducing <option>me_quality</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3211 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3212 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3213 <emphasis role="bold">chroma_opt</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3214 Is intended to increase chroma image quality around pure
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3215 white/black edges, rather than improving compression.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3216 This can help to reduce the "red stairs" effect.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3217 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3218 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3219 <emphasis role="bold">lumi_mask</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3220 Tries to give less bitrate to part of the picture that the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3221 human eye cannot see very well, which should allow the encoder
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3222 to spend the saved bits on more important parts of the picture.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3223 The quality of the encode yielded by this option highly depends
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3224 on personal preferences and on the type and monitor settings
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3225 used to watch it (typically, it will not look as good if it is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3226 bright or if it is a TFT monitor).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3227 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3228 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3229 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3230 <emphasis role="bold">qpel</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3231 Raise the number of candidate motion vectors by increasing
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3232 the precision of the motion estimation from halfpel to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3233 quarterpel.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3234 The idea is to find better motion vectors which will in return
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3235 reduce bitrate (hence increasing quality).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3236 However, motion vectors with quarterpel precision require a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3237 few extra bits to code, but the candidate vectors do not always
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3238 give (much) better results.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3239 Quite often, the codec still spends bits on the extra precision,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3240 but little or no extra quality is gained in return.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3241 Unfortunately, there is no way to foresee the possible gains of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3242 <option>qpel</option>, so you need to actually encode with and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3243 without it to know for sure.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3244 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3245 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3246 <option>qpel</option> can be almost double encoding time, and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3247 requires as much as 25% more processing power to decode.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3248 It is not supported by all standalone players.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3249 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3250 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3251 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3252 <emphasis role="bold">gmc</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3253 Tries to save bits on panning scenes by using a single motion
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3254 vector for the whole frame.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3255 This almost always raises PSNR, but significantly slows down
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3256 encoding (as well as decoding).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3257 Therefore, you should only use it when you have turned
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3258 <option>vhq</option> to the maximum.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3259 <systemitem class="library">Xvid</systemitem>'s GMC is more
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3260 sophisticated than DivX's, but is only supported by few
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3261 standalone players.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3262 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3263 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3264 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3265
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3266 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3267
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3268 <sect2 id="menc-feat-xvid-encoding-profiles">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3269 <title>Encoding profiles</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3270
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3271 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3272 Xvid supports encoding profiles through the <option>profile</option> option,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3273 which are used to impose restrictions on the properties of the Xvid video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3274 stream such that it will be playable on anything which supports the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3275 chosen profile.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3276 The restrictions relate to resolutions, bitrates and certain MPEG-4
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3277 features.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3278 The following table shows what each profile supports.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3279 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3280
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3281 <informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3282 <tgroup cols="16" align="center">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3283 <colspec colnum="1" colname="col1"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3284 <colspec colnum="2" colname="col2"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3285 <colspec colnum="3" colname="col3"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3286 <colspec colnum="4" colname="col4"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3287 <colspec colnum="5" colname="col5"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3288 <colspec colnum="6" colname="col6"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3289 <colspec colnum="7" colname="col7"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3290 <colspec colnum="8" colname="col8"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3291 <colspec colnum="9" colname="col9"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3292 <colspec colnum="10" colname="col10"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3293 <colspec colnum="11" colname="col11"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3294 <colspec colnum="12" colname="col12"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3295 <colspec colnum="13" colname="col13"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3296 <colspec colnum="14" colname="col14"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3297 <colspec colnum="15" colname="col15"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3298 <colspec colnum="16" colname="col16"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3299 <colspec colnum="17" colname="col17"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3300 <spanspec spanname="spa2-5" namest="col2" nameend="col5"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3301 <spanspec spanname="spa6-11" namest="col6" nameend="col11"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3302 <spanspec spanname="spa12-17" namest="col12" nameend="col17"/>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3303 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3304 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3305 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3306 <entry spanname="spa2-5">Simple</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3307 <entry spanname="spa6-11">Advanced Simple</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3308 <entry spanname="spa12-17">DivX</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3309 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3310 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3311 <entry>Profile name</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3312 <entry>0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3313 <entry>1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3314 <entry>2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3315 <entry>3</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3316 <entry>0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3317 <entry>1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3318 <entry>2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3319 <entry>3</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3320 <entry>4</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3321 <entry>5</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3322 <entry>Handheld</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3323 <entry>Portable NTSC</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3324 <entry>Portable PAL</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3325 <entry>Home Theater NTSC</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3326 <entry>Home Theater PAL</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3327 <entry>HDTV</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3328 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3329 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3330 <entry>Width [pixels]</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3331 <entry>176</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3332 <entry>176</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3333 <entry>352</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3334 <entry>352</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3335 <entry>176</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3336 <entry>176</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3337 <entry>352</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3338 <entry>352</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3339 <entry>352</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3340 <entry>720</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3341 <entry>176</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3342 <entry>352</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3343 <entry>352</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3344 <entry>720</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3345 <entry>720</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3346 <entry>1280</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3347 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3348 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3349 <entry>Height [pixels]</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3350 <entry>144</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3351 <entry>144</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3352 <entry>288</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3353 <entry>288</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3354 <entry>144</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3355 <entry>144</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3356 <entry>288</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3357 <entry>288</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3358 <entry>576</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3359 <entry>576</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3360 <entry>144</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3361 <entry>240</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3362 <entry>288</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3363 <entry>480</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3364 <entry>576</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3365 <entry>720</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3366 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3367 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3368 <entry>Frame rate [fps]</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3369 <entry>15</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3370 <entry>15</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3371 <entry>15</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3372 <entry>15</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3373 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3374 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3375 <entry>15</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3376 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3377 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3378 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3379 <entry>15</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3380 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3381 <entry>25</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3382 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3383 <entry>25</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3384 <entry>30</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3385 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3386 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3387 <entry>Max average bitrate [kbps]</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3388 <entry>64</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3389 <entry>64</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3390 <entry>128</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3391 <entry>384</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3392 <entry>128</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3393 <entry>128</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3394 <entry>384</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3395 <entry>768</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3396 <entry>3000</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3397 <entry>8000</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3398 <entry>537.6</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3399 <entry>4854</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3400 <entry>4854</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3401 <entry>4854</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3402 <entry>4854</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3403 <entry>9708.4</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3404 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3405 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3406 <entry>Peak average bitrate over 3 secs [kbps]</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3407 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3408 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3409 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3410 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3411 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3412 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3413 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3414 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3415 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3416 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3417 <entry>800</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3418 <entry>8000</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3419 <entry>8000</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3420 <entry>8000</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3421 <entry>8000</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3422 <entry>16000</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3423 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3424 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3425 <entry>Max. B-frames</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3426 <entry>0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3427 <entry>0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3428 <entry>0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3429 <entry>0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3430 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3431 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3432 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3433 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3434 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3435 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3436 <entry>0</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3437 <entry>1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3438 <entry>1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3439 <entry>1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3440 <entry>1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3441 <entry>2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3442 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3443 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3444 <entry>MPEG quantization</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3445 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3446 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3447 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3448 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3449 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3450 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3451 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3452 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3453 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3454 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3455 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3456 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3457 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3458 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3459 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3460 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3461 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3462 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3463 <entry>Adaptive quantization</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3464 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3465 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3466 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3467 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3468 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3469 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3470 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3471 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3472 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3473 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3474 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3475 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3476 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3477 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3478 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3479 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3480 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3481 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3482 <entry>Interlaced encoding</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3483 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3484 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3485 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3486 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3487 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3488 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3489 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3490 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3491 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3492 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3493 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3494 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3495 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3496 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3497 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3498 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3499 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3500 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3501 <entry>Quaterpixel</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3502 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3503 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3504 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3505 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3506 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3507 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3508 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3509 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3510 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3511 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3512 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3513 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3514 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3515 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3516 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3517 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3518 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3519 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3520 <entry>Global motion compensation</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3521 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3522 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3523 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3524 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3525 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3526 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3527 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3528 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3529 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3530 <entry>X</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3531 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3532 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3533 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3534 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3535 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3536 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3537 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3538 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3539 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3540 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3541 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3542
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3543 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3544
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3545 <sect2 id="menc-feat-xvid-example-settings">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3546 <title>Encoding setting examples</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3547
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3548 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3549 The following settings are examples of different encoding
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3550 option combinations that affect the speed vs quality tradeoff
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3551 at the same target bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3552 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3553
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3554 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3555 All the encoding settings were tested on a 720x448 @30000/1001 fps
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3556 video sample, the target bitrate was 900kbps, and the machine was an
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3557 AMD-64 3400+ at 2400 MHz in 64 bits mode.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3558 Each encoding setting features the measured encoding speed (in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3559 frames per second) and the PSNR loss (in dB) compared to the "very
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3560 high quality" setting.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3561 Please understand that depending on your source, your machine type
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3562 and development advancements, you may get very different results.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3563 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3564
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3565 <informaltable frame="all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3566 <tgroup cols="4">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3567 <thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3568 <row><entry>Description</entry><entry>Encoding options</entry><entry>speed (in fps)</entry><entry>Relative PSNR loss (in dB)</entry></row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3569 </thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3570 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3571 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3572 <entry>Very high quality</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3573 <entry><option>chroma_opt:vhq=4:bvhq=1:quant_type=mpeg</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3574 <entry>16fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3575 <entry>0dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3576 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3577 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3578 <entry>High quality</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3579 <entry><option>vhq=2:bvhq=1:chroma_opt:quant_type=mpeg</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3580 <entry>18fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3581 <entry>-0.1dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3582 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3583 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3584 <entry>Fast</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3585 <entry><option>turbo:vhq=0</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3586 <entry>28fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3587 <entry>-0.69dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3588 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3589 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3590 <entry>Realtime</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3591 <entry><option>turbo:nochroma_me:notrellis:max_bframes=0:vhq=0</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3592 <entry>38fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3593 <entry>-1.48dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3594 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3595 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3596 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3597 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3598 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3599 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3600
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3601
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3602 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3603
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3604
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3605 <sect1 id="menc-feat-x264">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3606 <title>Encoding with the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3607 <systemitem class="library">x264</systemitem> codec</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3608
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3609 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3610 <systemitem class="library">x264</systemitem> is a free library for
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3611 encoding H.264/AVC video streams.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3612 Before starting to encode, you need to
28476
01466cb526ce Sync x264 section renaming.
diego
parents: 27851
diff changeset
3613 <link linkend="x264">set up <application>MEncoder</application> to support it</link>.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3614 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3615
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3616 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3617
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3618 <sect2 id="menc-feat-x264-encoding-options">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3619 <title>Encoding options of x264</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3620
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3621 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3622 Please begin by reviewing the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3623 <systemitem class="library">x264</systemitem> section of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3624 <application>MPlayer</application>'s man page.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3625 This section is intended to be a supplement to the man page.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3626 Here you will find quick hints about which options are most
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3627 likely to interest most people. The man page is more terse,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3628 but also more exhaustive, and it sometimes offers much better
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3629 technical detail.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3630 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3631
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3632
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3633 <sect3 id="menc-feat-x264-encoding-options-intro">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3634 <title>Introduction</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3635
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3636 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3637 This guide considers two major categories of encoding options:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3638 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3639
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3640 <orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3641 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3642 Options which mainly trade off encoding time vs. quality
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3643 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3644 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3645 Options which may be useful for fulfilling various personal
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3646 preferences and special requirements
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3647 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3648 </orderedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3649
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3650 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3651 Ultimately, only you can decide which options are best for your
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3652 purposes. The decision for the first class of options is the simplest:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3653 you only have to decide whether you think the quality differences
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3654 justify the speed differences. For the second class of options,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3655 preferences may be far more subjective, and more factors may be
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3656 involved. Note that some of the "personal preferences and special
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3657 requirements" options can still have large impacts on speed or quality,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3658 but that is not what they are primarily useful for. A couple of the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3659 "personal preference" options may even cause changes that look better
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3660 to some people, but look worse to others.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3661 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3662
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3663 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3664 Before continuing, you need to understand that this guide uses only one
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3665 quality metric: global PSNR.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3666 For a brief explanation of what PSNR is, see
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3667 <ulink url="http://en.wikipedia.org/wiki/PSNR">the Wikipedia article on PSNR</ulink>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3668 Global PSNR is the last PSNR number reported when you include
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3669 the <option>psnr</option> option in <option>x264encopts</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3670 Any time you read a claim about PSNR, one of the assumptions
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3671 behind the claim is that equal bitrates are used.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3672 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3673
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3674 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3675 Nearly all of this guide's comments assume you are using two pass.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3676 When comparing options, there are two major reasons for using
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3677 two pass encoding.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3678 First, using two pass often gains around 1dB PSNR, which is a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3679 very big difference.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3680 Secondly, testing options by doing direct quality comparisons
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3681 with one pass encodes introduces a major confounding
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3682 factor: bitrate often varies significantly with each encode.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3683 It is not always easy to tell whether quality changes are due
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3684 mainly to changed options, or if they mostly reflect essentially
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3685 random differences in the achieved bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3686 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3687 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3688
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3689
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3690 <sect3 id="menc-feat-x264-encoding-options-speedvquality">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3691 <title>Options which primarily affect speed and quality</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3692
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3693 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3694 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3695 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3696 <emphasis role="bold">subq</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3697 Of the options which allow you to trade off speed for quality,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3698 <option>subq</option> and <option>frameref</option> (see below) are usually
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3699 by far the most important.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3700 If you are interested in tweaking either speed or quality, these
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3701 are the first options you should consider.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3702 On the speed dimension, the <option>frameref</option> and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3703 <option>subq</option> options interact with each other fairly
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3704 strongly.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3705 Experience shows that, with one reference frame,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3706 <option>subq=5</option> (the default setting) takes about 35% more time than
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3707 <option>subq=1</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3708 With 6 reference frames, the penalty grows to over 60%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3709 <option>subq</option>'s effect on PSNR seems fairly constant
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3710 regardless of the number of reference frames.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3711 Typically, <option>subq=5</option> achieves 0.2-0.5 dB higher global
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3712 PSNR in comparison <option>subq=1</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3713 This is usually enough to be visible.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3714 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3715 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3716 <option>subq=6</option> is slower and yields better quality at a reasonable
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3717 cost.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3718 In comparison to <option>subq=5</option>, it usually gains 0.1-0.4 dB
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3719 global PSNR with speed costs varying from 25%-100%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3720 Unlike other levels of <option>subq</option>, the behavior of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3721 <option>subq=6</option> does not depend much on <option>frameref</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3722 and <option>me</option>. Instead, the effectiveness of <option>subq=6
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3723 </option> depends mostly upon the number of B-frames used. In normal
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3724 usage, this means <option>subq=6</option> has a large impact on both speed
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3725 and quality in complex, high motion scenes, but it may not have much effect
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3726 in low-motion scenes. Note that it is still recommended to always set
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3727 <option>bframes</option> to something other than zero (see below).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3728 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3729 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3730 <option>subq=7</option> is the slowest, highest quality mode.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3731 In comparison to <option>subq=6</option>, it usually gains 0.01-0.05 dB
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3732 global PSNR with speed costs varying from 15%-33%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3733 Since the tradeoff encoding time vs. quality is quite low, you should
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3734 only use it if you are after every bit saving and if encoding time is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3735 not an issue.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3736 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3737 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3738 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3739 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3740 <emphasis role="bold">frameref</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3741 <option>frameref</option> is set to 1 by default, but this
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3742 should not be taken to imply that it is reasonable to set it to 1.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3743 Merely raising <option>frameref</option> to 2 gains around
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3744 0.15dB PSNR with a 5-10% speed penalty; this seems like a good tradeoff.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3745 <option>frameref=3</option> gains around 0.25dB PSNR over
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3746 <option>frameref=1</option>, which should be a visible difference.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3747 <option>frameref=3</option> is around 15% slower than
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3748 <option>frameref=1</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3749 Unfortunately, diminishing returns set in rapidly.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3750 <option>frameref=6</option> can be expected to gain only
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3751 0.05-0.1 dB over <option>frameref=3</option> at an additional
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3752 15% speed penalty.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3753 Above <option>frameref=6</option>, the quality gains are
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3754 usually very small (although you should keep in mind throughout
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3755 this whole discussion that it can vary quite a lot depending on your source).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3756 In a fairly typical case, <option>frameref=12</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3757 will improve global PSNR by a tiny 0.02dB over
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3758 <option>frameref=6</option>, at a speed cost of 15%-20%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3759 At such high <option>frameref</option> values, the only really
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3760 good thing that can be said is that increasing it even further will
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3761 almost certainly never <emphasis role="bold">harm</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3762 PSNR, but the additional quality benefits are barely even
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3763 measurable, let alone perceptible.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3764 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3765 <note><title>Note:</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3766 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3767 Raising <option>frameref</option> to unnecessarily high values
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3768 <emphasis role="bold">can</emphasis> and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3769 <emphasis role="bold">usually does</emphasis>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3770 hurt coding efficiency if you turn CABAC off.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3771 With CABAC on (the default behavior), the possibility of setting
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3772 <option>frameref</option> "too high" currently seems too remote
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3773 to even worry about, and in the future, optimizations may remove
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3774 the possibility altogether.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3775 </para></note>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3776 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3777 If you care about speed, a reasonable compromise is to use low
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3778 <option>subq</option> and <option>frameref</option> values on
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3779 the first pass, and then raise them on the second pass.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3780 Typically, this has a negligible negative effect on the final
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3781 quality: You will probably lose well under 0.1dB PSNR, which
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3782 should be much too small of a difference to see.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3783 However, different values of <option>frameref</option> can
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3784 occasionally affect frametype decision.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3785 Most likely, these are rare outlying cases, but if you want to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3786 be pretty sure, consider whether your video has either
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3787 fullscreen repetitive flashing patterns or very large temporary
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3788 occlusions which might force an I-frame.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3789 Adjust the first-pass <option>frameref</option> so it is large
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3790 enough to contain the duration of the flashing cycle (or occlusion).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3791 For example, if the scene flashes back and forth between two images
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3792 over a duration of three frames, set the first pass
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3793 <option>frameref</option> to 3 or higher.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3794 This issue is probably extremely rare in live action video material,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3795 but it does sometimes come up in video game captures.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3796 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3797 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3798 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3799 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3800 <emphasis role="bold">me</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3801 This option is for choosing the motion estimation search method.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3802 Altering this option provides a straightforward quality-vs-speed
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3803 tradeoff. <option>me=dia</option> is only a few percent faster than
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
3804 the default search, at a cost of under 0.1dB global PSNR. The
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3805 default setting (<option>me=hex</option>) is a reasonable tradeoff
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3806 between speed and quality. <option>me=umh</option> gains a little under
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3807 0.1dB global PSNR, with a speed penalty that varies depending on
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3808 <option>frameref</option>. At high values of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3809 <option>frameref</option> (e.g. 12 or so), <option>me=umh</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3810 is about 40% slower than the default <option> me=hex</option>. With
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3811 <option>frameref=3</option>, the speed penalty incurred drops to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3812 25%-30%.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3813 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3814 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3815 <option>me=esa</option> uses an exhaustive search that is too slow for
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3816 practical use.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3817 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3818 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3819 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3820 <emphasis role="bold">partitions=all</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3821 This option enables the use of 8x4, 4x8 and 4x4 subpartitions in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3822 predicted macroblocks (in addition to the default partitions).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3823 Enabling it results in a fairly consistent
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3824 10%-15% loss of speed. This option is rather useless in source
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3825 containing only low motion, however in some high-motion source,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3826 particularly source with lots of small moving objects, gains of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3827 about 0.1dB can be expected.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3828 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3829 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3830 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3831 <emphasis role="bold">bframes</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3832 If you are used to encoding with other codecs, you may have found
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3833 that B-frames are not always useful.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3834 In H.264, this has changed: there are new techniques and block
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3835 types that are possible in B-frames.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3836 Usually, even a naive B-frame choice algorithm can have a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3837 significant PSNR benefit.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3838 It is interesting to note that using B-frames usually speeds up
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3839 the second pass somewhat, and may also speed up a single
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3840 pass encode if adaptive B-frame decision is turned off.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3841 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3842 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3843 With adaptive B-frame decision turned off
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3844 (<option>x264encopts</option>'s <option>nob_adapt</option>),
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3845 the optimal value for this setting is usually no more than
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3846 <option>bframes=1</option>, or else high-motion scenes can suffer.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3847 With adaptive B-frame decision on (the default behavior), it is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3848 safe to use higher values; the encoder will reduce the use of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3849 B-frames in scenes where they would hurt compression.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3850 The encoder rarely chooses to use more than 3 or 4 B-frames;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3851 setting this option any higher will have little effect.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3852 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3853 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3854 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3855 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3856 <emphasis role="bold">b_adapt</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3857 Note: This is on by default.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3858 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3859 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3860 With this option enabled, the encoder will use a reasonably fast
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3861 decision process to reduce the number of B-frames used in scenes that
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3862 might not benefit from them as much.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3863 You can use <option>b_bias</option> to tweak how B-frame-happy
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3864 the encoder is.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3865 The speed penalty of adaptive B-frames is currently rather modest,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3866 but so is the potential quality gain.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3867 It usually does not hurt, however.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3868 Note that this only affects speed and frametype decision on the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3869 first pass.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3870 <option>b_adapt</option> and <option>b_bias</option> have no
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3871 effect on subsequent passes.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3872 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3873 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3874 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3875 <emphasis role="bold">b_pyramid</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3876 You might as well enable this option if you are using >=2 B-frames;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3877 as the man page says, you get a little quality improvement at no
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3878 speed cost.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3879 Note that these videos cannot be read by libavcodec-based decoders
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3880 older than about March 5, 2005.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3881 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3882 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3883 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3884 <emphasis role="bold">weight_b</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3885 In typical cases, there is not much gain with this option.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3886 However, in crossfades or fade-to-black scenes, weighted
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3887 prediction gives rather large bitrate savings.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3888 In MPEG-4 ASP, a fade-to-black is usually best coded as a series
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3889 of expensive I-frames; using weighted prediction in B-frames
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3890 makes it possible to turn at least some of these into much smaller
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3891 B-frames.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3892 Encoding time cost is minimal, as no extra decisions need to be made.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3893 Also, contrary to what some people seem to guess, the decoder
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3894 CPU requirements are not much affected by weighted prediction,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3895 all else being equal.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3896 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3897 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3898 Unfortunately, the current adaptive B-frame decision algorithm
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3899 has a strong tendency to avoid B-frames during fades.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3900 Until this changes, it may be a good idea to add
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3901 <option>nob_adapt</option> to your x264encopts, if you expect
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3902 fades to have a large effect in your particular video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3903 clip.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3904 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3905 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3906 <listitem id="menc-feat-x264-encoding-options-speedvquality-threads">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3907 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3908 <emphasis role="bold">threads</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3909 This option allows to spawn threads to encode in parallel on multiple CPUs.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3910 You can manually select the number of threads to be created or, better, set
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3911 <option>threads=auto</option> and let
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3912 <systemitem class="library">x264</systemitem> detect how many CPUs are
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3913 available and pick an appropriate number of threads.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3914 If you have a multi-processor machine, you should really consider using it
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3915 as it can to increase encoding speed linearly with the number of CPU cores
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3916 (about 94% per CPU core), with very little quality reduction (about 0.005dB
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3917 for dual processor, about 0.01dB for a quad processor machine).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3918 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3919 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3920 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3921 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3922
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3923
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3924 <sect3 id="menc-feat-x264-encoding-options-misc-preferences">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3925 <title>Options pertaining to miscellaneous preferences</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3926
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3927 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3928 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3929 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3930 <emphasis role="bold">Two pass encoding</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3931 Above, it was suggested to always use two pass encoding, but there
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3932 are still reasons for not using it. For instance, if you are capturing
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3933 live TV and encoding in realtime, you are forced to use single-pass.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3934 Also, one pass is obviously faster than two passes; if you use the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3935 exact same set of options on both passes, two pass encoding is almost
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3936 twice as slow.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3937 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3938 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3939 Still, there are very good reasons for using two pass encoding. For
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3940 one thing, single pass ratecontrol is not psychic, and it often makes
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3941 unreasonable choices because it cannot see the big picture. For example,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3942 suppose you have a two minute long video consisting of two distinct
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3943 halves. The first half is a very high-motion scene lasting 60 seconds
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3944 which, in isolation, requires about 2500kbps in order to look decent.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3945 Immediately following it is a much less demanding 60-second scene
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3946 that looks good at 300kbps. Suppose you ask for 1400kbps on the theory
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3947 that this is enough to accomodate both scenes. Single pass ratecontrol
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3948 will make a couple of "mistakes" in such a case. First of all, it
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3949 will target 1400kbps in both segments. The first segment may end up
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3950 heavily overquantized, causing it to look unacceptably and unreasonably
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3951 blocky. The second segment will be heavily underquantized; it may look
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3952 perfect, but the bitrate cost of that perfection will be completely
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3953 unreasonable. What is even harder to avoid is the problem at the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3954 transition between the two scenes. The first seconds of the low motion
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3955 half will be hugely over-quantized, because the ratecontrol is still
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3956 expecting the kind of bitrate requirements it met in the first half
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3957 of the video. This "error period" of heavily over-quantized low motion
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3958 will look jarringly bad, and will actually use less than the 300kbps
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3959 it would have taken to make it look decent. There are ways to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3960 mitigate the pitfalls of single-pass encoding, but they may tend to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3961 increase bitrate misprediction.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3962 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3963 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3964 Multipass ratecontrol can offer huge advantages over a single pass.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3965 Using the statistics gathered from the first pass encode, the encoder
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3966 can estimate, with reasonable accuracy, the "cost" (in bits) of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3967 encoding any given frame, at any given quantizer. This allows for
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3968 a much more rational, better planned allocation of bits between the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3969 expensive (high-motion) and cheap (low-motion) scenes. See
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3970 <option>qcomp</option> below for some ideas on how to tweak this
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3971 allocation to your liking.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3972 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3973 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3974 Moreover, two passes need not take twice as long as one pass. You can
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3975 tweak the options in the first pass for higher speed and lower quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3976 If you choose your options well, you can get a very fast first pass.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3977 The resulting quality in the second pass will be slightly lower because size
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3978 prediction is less accurate, but the quality difference is normally much
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3979 too small to be visible. Try, for example, adding
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3980 <option>subq=1:frameref=1</option> to the first pass
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3981 <option>x264encopts</option>. Then, on the second pass, use slower,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3982 higher-quality options:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3983 <option>subq=6:frameref=15:partitions=all:me=umh</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3984 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3985 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3986 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3987 <emphasis role="bold">Three pass encoding</emphasis>?
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3988 x264 offers the ability to make an arbitrary number of consecutive
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3989 passes. If you specify <option>pass=1</option> on the first pass,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3990 then use <option>pass=3</option> on a subsequent pass, the subsequent
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3991 pass will both read the statistics from the previous pass, and write
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3992 its own statistics. An additional pass following this one will have
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3993 a very good base from which to make highly accurate predictions of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3994 framesizes at a chosen quantizer. In practice, the overall quality
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3995 gain from this is usually close to zero, and quite possibly a third
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3996 pass will result in slightly worse global PSNR than the pass before
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3997 it. In typical usage, three passes help if you get either bad bitrate
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3998 prediction or bad looking scene transitions when using only two passes.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
3999 This is somewhat likely to happen on extremely short clips. There are
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4000 also a few special cases in which three (or more) passes are handy
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4001 for advanced users, but for brevity, this guide omits discussing those
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4002 special cases.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4003 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4004 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4005 <emphasis role="bold">qcomp</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4006 <option>qcomp</option> trades off the number of bits allocated
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4007 to "expensive" high-motion versus "cheap" low-motion frames. At
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4008 one extreme, <option>qcomp=0</option> aims for true constant
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4009 bitrate. Typically this would make high-motion scenes look completely
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4010 awful, while low-motion scenes would probably look absolutely
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4011 perfect, but would also use many times more bitrate than they
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4012 would need in order to look merely excellent. At the other extreme,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4013 <option>qcomp=1</option> achieves nearly constant quantization parameter
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4014 (QP). Constant QP does not look bad, but most people think it is more
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4015 reasonable to shave some bitrate off of the extremely expensive scenes
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4016 (where the loss of quality is not as noticeable) and reallocate it to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4017 the scenes that are easier to encode at excellent quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4018 <option>qcomp</option> is set to 0.6 by default, which may be slightly
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4019 low for many peoples' taste (0.7-0.8 are also commonly used).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4020 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4021 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4022 <emphasis role="bold">keyint</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4023 <option>keyint</option> is solely for trading off file seekability against
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4024 coding efficiency. By default, <option>keyint</option> is set to 250. In
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4025 25fps material, this guarantees the ability to seek to within 10 seconds
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4026 precision. If you think it would be important and useful to be able to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4027 seek within 5 seconds of precision, set <option>keyint=125</option>;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4028 this will hurt quality/bitrate slightly. If you care only about quality
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4029 and not about seekability, you can set it to much higher values
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4030 (understanding that there are diminishing returns which may become
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4031 vanishingly low, or even zero). The video stream will still have seekable
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4032 points as long as there are some scene changes.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4033 </para></listitem>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4034 <listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4035 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4036 <emphasis role="bold">deblock</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4037 This topic is going to be a bit controversial.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4038 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4039 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4040 H.264 defines a simple deblocking procedure on I-blocks that uses
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4041 pre-set strengths and thresholds depending on the QP of the block
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4042 in question.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4043 By default, high QP blocks are filtered heavily, and low QP blocks
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4044 are not deblocked at all.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4045 The pre-set strengths defined by the standard are well-chosen and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4046 the odds are very good that they are PSNR-optimal for whatever
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4047 video you are trying to encode.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4048 The <option>deblock</option> allow you to specify offsets to the preset
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4049 deblocking thresholds.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4050 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4051 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4052 Many people seem to think it is a good idea to lower the deblocking
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4053 filter strength by large amounts (say, -3).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4054 This is however almost never a good idea, and in most cases,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4055 people who are doing this do not understand very well how
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4056 deblocking works by default.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4057 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4058 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4059 The first and most important thing to know about the in-loop
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4060 deblocking filter is that the default thresholds are almost always
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4061 PSNR-optimal.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4062 In the rare cases that they are not optimal, the ideal offset is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4063 plus or minus 1.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4064 Adjusting deblocking parameters by a larger amount is almost
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4065 guaranteed to hurt PSNR.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4066 Strengthening the filter will smear more details; weakening the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4067 filter will increase the appearance of blockiness.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4068 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4069 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4070 It is definitely a bad idea to lower the deblocking thresholds if
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4071 your source is mainly low in spacial complexity (i.e., not a lot
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4072 of detail or noise).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4073 The in-loop filter does a rather excellent job of concealing
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4074 the artifacts that occur.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4075 If the source is high in spacial complexity, however, artifacts
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4076 are less noticeable.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4077 This is because the ringing tends to look like detail or noise.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4078 Human visual perception easily notices when detail is removed,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4079 but it does not so easily notice when the noise is wrongly
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4080 represented.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4081 When it comes to subjective quality, noise and detail are somewhat
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4082 interchangeable.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4083 By lowering the deblocking filter strength, you are most likely
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4084 increasing error by adding ringing artifacts, but the eye does
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4085 not notice because it confuses the artifacts with detail.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4086 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4087 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4088 This <emphasis role="bold">still</emphasis> does not justify
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4089 lowering the deblocking filter strength, however.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4090 You can generally get better quality noise from postprocessing.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4091 If your H.264 encodes look too blurry or smeared, try playing with
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4092 <option>-vf noise</option> when you play your encoded movie.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4093 <option>-vf noise=8a:4a</option> should conceal most mild
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4094 artifacting.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4095 It will almost certainly look better than the results you
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4096 would have gotten just by fiddling with the deblocking filter.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4097 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4098 </listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4099 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4100 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4101 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4102
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4103 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4104
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4105 <sect2 id="menc-feat-x264-example-settings">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4106 <title>Encoding setting examples</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4107
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4108 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4109 The following settings are examples of different encoding
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4110 option combinations that affect the speed vs quality tradeoff
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4111 at the same target bitrate.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4112 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4113
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4114 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4115 All the encoding settings were tested on a 720x448 @30000/1001 fps
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4116 video sample, the target bitrate was 900kbps, and the machine was an
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4117 AMD-64 3400+ at 2400 MHz in 64 bits mode.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4118 Each encoding setting features the measured encoding speed (in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4119 frames per second) and the PSNR loss (in dB) compared to the "very
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4120 high quality" setting.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4121 Please understand that depending on your source, your machine type
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4122 and development advancements, you may get very different results.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4123 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4124
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4125 <informaltable frame="all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4126 <tgroup cols="4">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4127 <thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4128 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4129 <entry>Description</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4130 <entry>Encoding options</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4131 <entry>speed (in fps)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4132 <entry>Relative PSNR loss (in dB)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4133 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4134 </thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4135 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4136 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4137 <entry>Very high quality</entry>
33805
acca18850841 manual: fix description of b_pyramid x264 option
diego
parents: 30939
diff changeset
4138 <entry><option>subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid=normal:weight_b</option></entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4139 <entry>6fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4140 <entry>0dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4141 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4142 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4143 <entry>High quality</entry>
33805
acca18850841 manual: fix description of b_pyramid x264 option
diego
parents: 30939
diff changeset
4144 <entry><option>subq=5:8x8dct:frameref=2:bframes=3:b_pyramid=normal:weight_b</option></entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4145 <entry>13fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4146 <entry>-0.89dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4147 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4148 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4149 <entry>Fast</entry>
33805
acca18850841 manual: fix description of b_pyramid x264 option
diego
parents: 30939
diff changeset
4150 <entry><option>subq=4:bframes=2:b_pyramid=normal:weight_b</option></entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4151 <entry>17fps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4152 <entry>-1.48dB</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4153 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4154 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4155 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4156 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4157 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4158 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4159
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4160
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4161 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4162
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4163
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4164 <sect1 id="menc-feat-video-for-windows">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4165 <title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4166 Encoding with the <systemitem class="library">Video For Windows</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4167 codec family
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4168 </title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4169
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4170 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4171 Video for Windows provides simple encoding by means of binary video codecs.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4172 You can encode with the following codecs (if you have more, please tell us!)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4173 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4174
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4175 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4176 Note that support for this is very experimental and some codecs may not work
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4177 correctly. Some codecs will only work in certain colorspaces, try
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4178 <option>-vf format=bgr24</option> and <option>-vf format=yuy2</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4179 if a codec fails or gives wrong output.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4180 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4181
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4182 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4183
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4184 <sect2 id="menc-feat-enc-vfw-video-codecs">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4185 <title>Video for Windows supported codecs</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4186
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4187 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4188 <informaltable frame="all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4189 <tgroup cols="4">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4190 <thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4191 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4192 <entry>Video codec file name</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4193 <entry>Description (FourCC)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4194 <entry>md5sum</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4195 <entry>Comment</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4196 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4197 </thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4198 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4199 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4200 <entry>aslcodec_vfw.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4201 <entry>Alparysoft lossless codec vfw (ASLC)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4202 <entry>608af234a6ea4d90cdc7246af5f3f29a</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4203 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4204 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4205 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4206 <entry>avimszh.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4207 <entry>AVImszh (MSZH)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4208 <entry>253118fe1eedea04a95ed6e5f4c28878</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4209 <entry>needs <option>-vf format</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4210 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4211 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4212 <entry>avizlib.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4213 <entry>AVIzlib (ZLIB)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4214 <entry>2f1cc76bbcf6d77d40d0e23392fa8eda</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4215 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4216 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4217 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4218 <entry>divx.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4219 <entry>DivX4Windows-VFW</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4220 <entry>acf35b2fc004a89c829531555d73f1e6</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4221 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4222 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4223 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4224 <entry>huffyuv.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4225 <entry>HuffYUV (lossless) (HFYU)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4226 <entry>b74695b50230be4a6ef2c4293a58ac3b</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4227 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4228 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4229 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4230 <entry>iccvid.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4231 <entry>Cinepak Video (cvid)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4232 <entry>cb3b7ee47ba7dbb3d23d34e274895133</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4233 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4234 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4235 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4236 <entry>icmw_32.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4237 <entry>Motion Wavelets (MWV1)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4238 <entry>c9618a8fc73ce219ba918e3e09e227f2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4239 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4240 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4241 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4242 <entry>jp2avi.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4243 <entry>ImagePower MJPEG2000 (IPJ2)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4244 <entry>d860a11766da0d0ea064672c6833768b</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4245 <entry><option>-vf flip</option></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4246 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4247 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4248 <entry>m3jp2k32.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4249 <entry>Morgan MJPEG2000 (MJ2C)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4250 <entry>f3c174edcbaef7cb947d6357cdfde7ff</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4251 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4252 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4253 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4254 <entry>m3jpeg32.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4255 <entry>Morgan Motion JPEG Codec (MJPG)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4256 <entry>1cd13fff5960aa2aae43790242c323b1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4257 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4258 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4259 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4260 <entry>mpg4c32.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4261 <entry>Microsoft MPEG-4 v1/v2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4262 <entry>b5791ea23f33010d37ab8314681f1256</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4263 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4264 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4265 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4266 <entry>tsccvid.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4267 <entry>TechSmith Camtasia Screen Codec (TSCC)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4268 <entry>8230d8560c41d444f249802a2700d1d5</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4269 <entry>shareware error on windows</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4270 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4271 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4272 <entry>vp31vfw.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4273 <entry>On2 Open Source VP3 Codec (VP31)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4274 <entry>845f3590ea489e2e45e876ab107ee7d2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4275 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4276 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4277 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4278 <entry>vp4vfw.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4279 <entry>On2 VP4 Personal Codec (VP40)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4280 <entry>fc5480a482ccc594c2898dcc4188b58f</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4281 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4282 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4283 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4284 <entry>vp6vfw.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4285 <entry>On2 VP6 Personal Codec (VP60)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4286 <entry>04d635a364243013898fd09484f913fb</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4287 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4288 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4289 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4290 <entry>vp7vfw.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4291 <entry>On2 VP7 Personal Codec (VP70)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4292 <entry>cb4cc3d4ea7c94a35f1d81c3d750bc8d</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4293 <entry>wrong FourCC?</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4294 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4295 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4296 <entry>ViVD2.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4297 <entry>SoftMedia ViVD V2 codec VfW (GXVE)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4298 <entry>a7b4bf5cac630bb9262c3f80d8a773a1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4299 <entry></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4300 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4301 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4302 <entry>msulvc06.DLL</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4303 <entry>MSU Lossless codec (MSUD)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4304 <entry>294bf9288f2f127bb86f00bfcc9ccdda</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4305 <entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4306 Decodable by <application>Window Media Player</application>,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4307 not <application>MPlayer</application> (yet).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4308 </entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4309 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4310 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4311 <entry>camcodec.dll</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4312 <entry>CamStudio lossless video codec (CSCD)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4313 <entry>0efe97ce08bb0e40162ab15ef3b45615</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4314 <entry>sf.net/projects/camstudio</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4315 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4316 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4317 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4318 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4319
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4320 The first column contains the codec names that should be passed after the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4321 <literal>codec</literal> parameter,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4322 like: <option>-xvfwopts codec=divx.dll</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4323 The FourCC code used by each codec is given in the parentheses.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4324 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4325
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4326 <informalexample>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4327 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4328 An example to convert an ISO DVD trailer to a VP6 flash video file
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4329 using compdata bitrate settings:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4330 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4331 mencoder -dvd-device <replaceable>zeiram.iso</replaceable> dvd://7 -o <replaceable>trailer.flv</replaceable> \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4332 -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -oac mp3lame \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4333 -lameopts cbr:br=64 -af lavcresample=22050 -vf yadif,scale=320:240,flip \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4334 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4335 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4336 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4337 </informalexample>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4338 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4339
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4340 <sect2 id="menc-feat-video-for-windows-bitrate-settings">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4341 <title>Using vfw2menc to create a codec settings file.</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4342
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4343 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4344 To encode with the Video for Windows codecs, you will need to set bitrate
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4345 and other options. This is known to work on x86 on both *NIX and Windows.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4346 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4347 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4348 First you must build the <application>vfw2menc</application> program.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4349 It is located in the <filename class="directory">TOOLS</filename> subdirectory
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4350 of the MPlayer source tree.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4351 To build on Linux, this can be done using <application>Wine</application>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4352 <screen>winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4353
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4354 To build on Windows in <application>MinGW</application> or
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4355 <application>Cygwin</application> use:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4356 <screen>gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4357
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4358 To build on <application>MSVC</application> you will need getopt.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4359 Getopt can be found in the original <application>vfw2menc</application>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4360 archive available at:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4361 The <ulink url="http://oss.netfarm.it/mplayer-win32.php">MPlayer on win32</ulink> project.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4362 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4363 <informalexample>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4364 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4365 Below is an example with the VP6 codec.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4366 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4367 vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4368 </screen>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4369 This will open the VP6 codec dialog window.
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4370 Repeat this step for the second pass
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4371 and use <option>-s <replaceable>secondpass.mcf</replaceable></option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4372 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4373 </informalexample>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4374 <para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4375 Windows users can use
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4376 <option>-xvfwopts codec=vp6vfw.dll:compdata=dialog</option> to have
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4377 the codec dialog display before encoding starts.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4378 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4379 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4380 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4381
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4382
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4383 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4384
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4385
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4386 <sect1 id="menc-feat-quicktime-7">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4387 <title>Using <application>MEncoder</application> to create
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4388 <application>QuickTime</application>-compatible files</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4389
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4390
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4391 <sect2 id="menc-feat-quicktime-7-why-use-it">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4392 <title>Why would one want to produce <application>QuickTime</application>-compatible Files?</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4393
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4394 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4395 There are several reasons why producing
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4396 <application>QuickTime</application>-compatible files can be desirable.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4397 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4398 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4399 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4400 You want any computer illiterate to be able to watch your encode on
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4401 any major platform (Windows, Mac OS X, Unices &hellip;).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4402 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4403 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4404 <application>QuickTime</application> is able to take advantage of more
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4405 hardware and software acceleration features of Mac OS X than
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4406 platform-independent players like <application>MPlayer</application>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4407 or <application>VLC</application>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4408 That means that your encodes have a chance to be played smoothly by older
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4409 G4-powered machines.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4410 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4411 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4412 <application>QuickTime</application> 7 supports the next-generation codec H.264,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4413 which yields significantly better picture quality than previous codec
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4414 generations (MPEG-2, MPEG-4 &hellip;).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4415 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4416 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4417 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4418
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4419 <sect2 id="menc-feat-quicktime-7-constraints">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4420 <title><application>QuickTime</application> 7 limitations</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4421
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4422 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4423 <application>QuickTime</application> 7 supports H.264 video and AAC audio,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4424 but it does not support them muxed in the AVI container format.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4425 However, you can use <application>MEncoder</application> to encode
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4426 the video and audio, and then use an external program such as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4427 <application>mp4creator</application> (part of the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4428 <ulink url="http://mpeg4ip.sourceforge.net/">MPEG4IP suite</ulink>)
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4429 to remux the video and audio tracks into an MP4 container.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4430 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4431
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4432 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4433 <application>QuickTime</application>'s support for H.264 is limited,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4434 so you will need to drop some advanced features.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4435 If you encode your video with features that
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4436 <application>QuickTime</application> 7 does not support,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4437 <application>QuickTime</application>-based players will show you a pretty
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4438 white screen instead of your expected video.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4439 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4440
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4441 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4442 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4443 <emphasis role="bold">B-frames</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4444 <application>QuickTime</application> 7 supports a maximum of 1 B-frame, i.e.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4445 <option>-x264encopts bframes=1</option>. This means that
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4446 <option>b_pyramid</option> and <option>weight_b</option> will have no
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4447 effect, since they require <option>bframes</option> to be greater than 1.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4448 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4449 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4450 <emphasis role="bold">Macroblocks</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4451 <application>QuickTime</application> 7 does not support 8x8 DCT macroblocks.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4452 This option (<option>8x8dct</option>) is off by default, so just be sure
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4453 not to explicitly enable it. This also means that the <option>i8x8</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4454 option will have no effect, since it requires <option>8x8dct</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4455 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4456 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4457 <emphasis role="bold">Aspect ratio</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4458 <application>QuickTime</application> 7 does not support SAR (sample
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4459 aspect ratio) information in MPEG-4 files; it assumes that SAR=1. Read
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4460 <link linkend="menc-feat-quicktime-7-scale">the section on scaling</link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4461 for a workaround.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4462 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4463 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4464
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4465 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4466
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4467 <sect2 id="menc-feat-quicktime-7-crop">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4468 <title>Cropping</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4469 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4470 Suppose you want to rip your freshly bought copy of "The Chronicles of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4471 Narnia". Your DVD is region 1,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4472 which means it is NTSC. The example below would still apply to PAL,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4473 except you would omit <option>-ofps 24000/1001</option> and use slightly
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4474 different <option>crop</option> and <option>scale</option> dimensions.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4475 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4476
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4477 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4478 After running <option>mplayer dvd://1</option>, you follow the process
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4479 detailed in the section <link linkend="menc-feat-telecine">How to deal
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4480 with telecine and interlacing in NTSC DVDs</link> and discover that it is
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4481 24000/1001 fps progressive video. This simplifies the process somewhat,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4482 since you do not need to use an inverse telecine filter such as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4483 <option>pullup</option> or a deinterlacing filter such as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4484 <option>yadif</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4485 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4486
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4487 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4488 Next, you need to crop out the black bars from the top and bottom of the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4489 video, as detailed in <link linkend="menc-feat-dvd-mpeg4-example-crop">this</link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4490 previous section.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4491 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4492
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4493 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4494
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4495 <sect2 id="menc-feat-quicktime-7-scale">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4496 <title>Scaling</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4497
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4498 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4499 The next step is truly heartbreaking.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4500 <application>QuickTime</application> 7 does not support MPEG-4 videos
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4501 with a sample aspect ratio other than 1, so you will need to upscale
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4502 (which wastes a lot of disk space) or downscale (which loses some
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4503 details of the source) the video to square pixels.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4504 Either way you do it, this is highly inefficient, but simply cannot
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4505 be avoided if you want your video to be playable by
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4506 <application>QuickTime</application> 7.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4507 <application>MEncoder</application> can apply the appropriate upscaling
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4508 or downscaling by specifying respectively <option>-vf scale=-10:-1</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4509 or <option>-vf scale=-1:-10</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4510 This will scale your video to the correct width for the cropped height,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4511 rounded to the closest multiple of 16 for optimal compression.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4512 Remember that if you are cropping, you should crop first, then scale:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4513
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4514 <screen>-vf crop=720:352:0:62,scale=-10:-1</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4515 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4516
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4517 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4518
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4519 <sect2 id="menc-feat-quicktime-7-avsync">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4520 <title>A/V sync</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4521
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4522 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4523 Because you will be remuxing into a different container, you should
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4524 always use the <option>harddup</option> option to ensure that duplicated
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4525 frames are actually duplicated in the video output. Without this option,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4526 <application>MEncoder</application> will simply put a marker in the video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4527 stream that a frame was duplicated, and rely on the client software to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4528 show the same frame twice. Unfortunately, this "soft duplication" does
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4529 not survive remuxing, so the audio would slowly lose sync with the video.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4530 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4531
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4532 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4533 The final filter chain looks like this:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4534 <screen>-vf crop=720:352:0:62,scale=-10:-1,harddup</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4535 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4536
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4537 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4538
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4539 <sect2 id="menc-feat-quicktime-7-bitrate">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4540 <title>Bitrate</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4541
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4542 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4543 As always, the selection of bitrate is a matter of the technical properties
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4544 of the source, as explained
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4545 <link linkend="menc-feat-dvd-mpeg4-resolution-bitrate">here</link>, as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4546 well as a matter of taste.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4547 This movie has a fair bit of action and lots of detail, but H.264 video
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4548 looks good at much lower bitrates than XviD or other MPEG-4 codecs.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4549 After much experimentation, the author of this guide chose to encode
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4550 this movie at 900kbps, and thought that it looked very good.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4551 You may decrease bitrate if you need to save more space, or increase
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4552 it if you need to improve quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4553 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4554
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4555 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4556
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4557 <sect2 id="menc-feat-quicktime-7-example">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4558 <title>Encoding example</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4559
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4560 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4561 You are now ready to encode the video. Since you care about
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4562 quality, of course you will be doing a two-pass encode. To shave off
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4563 some encoding time, you can specify the <option>turbo</option> option
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4564 on the first pass; this reduces <option>subq</option> and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4565 <option>frameref</option> to 1. To save some disk space, you can
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4566 use the <option>ss</option> option to strip off the first few seconds
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4567 of the video. (I found that this particular movie has 32 seconds of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4568 credits and logos.) <option>bframes</option> can be 0 or 1.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4569 The other options are documented in <link
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4570 linkend="menc-feat-x264-encoding-options-speedvquality">Encoding with
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4571 the <systemitem class="library">x264</systemitem> codec</link> and
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4572 the man page.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4573
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4574 <screen>mencoder dvd://1 -o /dev/null -ss 32 -ovc x264 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4575 -x264encopts pass=1:turbo:bitrate=900:bframes=1:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4576 me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4577 -vf crop=720:352:0:62,scale=-10:-1,harddup \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4578 -oac faac -faacopts br=192:mpeg=4:object=1 -channels 2 -srate 48000 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4579 -ofps 24000/1001</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4580
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4581 If you have a multi-processor machine, don't miss the opportunity to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4582 dramatically speed-up encoding by enabling
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4583 <link linkend="menc-feat-x264-encoding-options-speedvquality-threads">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4584 <systemitem class="library">x264</systemitem>'s multi-threading mode</link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4585 by adding <option>threads=auto</option> to your <option>x264encopts</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4586 command-line.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4587 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4588
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4589 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4590 The second pass is the same, except that you specify the output file
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4591 and set <option>pass=2</option>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4592
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4593 <screen>mencoder dvd://1 <emphasis role="bold">-o narnia.avi</emphasis> -ss 32 -ovc x264 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4594 -x264encopts <emphasis role="bold">pass=2</emphasis>:turbo:bitrate=900:frameref=5:bframes=1:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4595 me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4596 -vf crop=720:352:0:62,scale=-10:-1,harddup \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4597 -oac faac -faacopts br=192:mpeg=4:object=1 -channels 2 -srate 48000 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4598 -ofps 24000/1001</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4599 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4600
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4601 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4602 The resulting AVI should play perfectly in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4603 <application>MPlayer</application>, but of course
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4604 <application>QuickTime</application> can not play it because it does
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4605 not support H.264 muxed in AVI.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4606 So the next step is to remux the video into an MP4 container.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4607 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4608 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4609
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4610 <sect2 id="menc-feat-quicktime-7-remux">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4611 <title>Remuxing as MP4</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4612
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4613 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4614 There are several ways to remux AVI files to MP4. You can use
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4615 <application>mp4creator</application>, which is part of the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4616 <ulink url="http://mpeg4ip.sourceforge.net/">MPEG4IP suite</ulink>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4617 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4618
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4619 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4620 First, demux the AVI into separate audio and video streams using
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4621 <application>MPlayer</application>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4622
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4623 <screen>mplayer narnia.avi -dumpaudio -dumpfile narnia.aac
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4624 mplayer narnia.avi -dumpvideo -dumpfile narnia.h264</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4625
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4626 The filenames are important; <application>mp4creator</application>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4627 requires that AAC audio streams be named <systemitem>.aac</systemitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4628 and H.264 video streams be named <systemitem>.h264</systemitem>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4629 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4630
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4631 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4632 Now use <application>mp4creator</application> to create a new
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4633 MP4 file out of the audio and video streams.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4634
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4635 <screen>mp4creator -create=narnia.aac narnia.mp4
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4636 mp4creator -create=narnia.h264 -rate=23.976 narnia.mp4</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4637
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4638 Unlike the encoding step, you must specify the framerate as a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4639 decimal (such as 23.976), not a fraction (such as 24000/1001).
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4640 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4641
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4642 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4643 This <systemitem>narnia.mp4</systemitem> file should now be playable
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4644 with any <application>QuickTime</application> 7 application, such as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4645 <application>QuickTime Player</application> or
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4646 <application>iTunes</application>. If you are planning to view the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4647 video in a web browser with the <application>QuickTime</application>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4648 plugin, you should also hint the movie so that the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4649 <application>QuickTime</application> plugin can start playing it
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4650 while it is still downloading. <application>mp4creator</application>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4651 can create these hint tracks:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4652
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4653 <screen>mp4creator -hint=1 narnia.mp4
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4654 mp4creator -hint=2 narnia.mp4
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4655 mp4creator -optimize narnia.mp4</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4656
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4657 You can check the final result to ensure that the hint tracks were
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4658 created successfully:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4659
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4660 <screen>mp4creator -list narnia.mp4</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4661
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4662 You should see a list of tracks: 1 audio, 1 video, and 2 hint tracks.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4663
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4664 <screen>Track Type Info
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4665 1 audio MPEG-4 AAC LC, 8548.714 secs, 190 kbps, 48000 Hz
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4666 2 video H264 Main@5.1, 8549.132 secs, 899 kbps, 848x352 @ 23.976001 fps
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4667 3 hint Payload mpeg4-generic for track 1
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4668 4 hint Payload H264 for track 2
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4669 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4670 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4671
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4672 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4673
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4674 <sect2 id="menc-feat-quicktime-7-metadata">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4675 <title>Adding metadata tags</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4676
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4677 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4678 If you want to add tags to your video that show up in iTunes, you can use
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4679 <ulink url="http://atomicparsley.sourceforge.net/">AtomicParsley</ulink>.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4680
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4681 <screen>AtomicParsley narnia.mp4 --metaEnema --title "The Chronicles of Narnia" --year 2005 --stik Movie --freefree --overWrite</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4682
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4683 The <option>--metaEnema</option> option removes any existing metadata
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4684 (<application>mp4creator</application> inserts its name in the
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4685 "encoding tool" tag), and <option>--freefree</option> reclaims the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4686 space from the deleted metadata.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4687 The <option>--stik</option> option sets the type of video (such as Movie
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4688 or TV Show), which iTunes uses to group related video files.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4689 The <option>--overWrite</option> option overwrites the original file;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4690 without it, <application>AtomicParsley</application> creates a new
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4691 auto-named file in the same directory and leaves the original file
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4692 untouched.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4693 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4694
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4695 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4696
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4697 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4698
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4699
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4700 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4701
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4702
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4703 <sect1 id="menc-feat-vcd-dvd">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4704 <title>Using <application>MEncoder</application>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4705 to create VCD/SVCD/DVD-compliant files</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4706
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4707 <sect2 id="menc-feat-vcd-dvd-constraints">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4708 <title>Format Constraints</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4709
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4710 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4711 <application>MEncoder</application> is capable of creating VCD, SCVD
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4712 and DVD format MPEG files using the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4713 <systemitem class="library">libavcodec</systemitem> library.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4714 These files can then be used in conjunction with
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4715 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4716 or
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4717 <ulink url="http://dvdauthor.sourceforge.net/">dvdauthor</ulink>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4718 to create discs that will play on a standard set-top player.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4719 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4720
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4721 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4722 The DVD, SVCD, and VCD formats are subject to heavy constraints.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4723 Only a small selection of encoded picture sizes and aspect ratios are
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4724 available.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4725 If your movie does not already meet these requirements, you may have
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4726 to scale, crop or add black borders to the picture to make it
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4727 compliant.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4728 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4729
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4730
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4731 <sect3 id="menc-feat-vcd-dvd-constraints-resolution">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4732 <title>Format Constraints</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4733
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4734 <informaltable frame="all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4735 <tgroup cols="9">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4736 <thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4737 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4738 <entry>Format</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4739 <entry>Resolution</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4740 <entry>V. Codec</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4741 <entry>V. Bitrate</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4742 <entry>Sample Rate</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4743 <entry>A. Codec</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4744 <entry>A. Bitrate</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4745 <entry>FPS</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4746 <entry>Aspect</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4747 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4748 </thead>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4749 <tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4750 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4751 <entry>NTSC DVD</entry>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4752 <entry>720x480, 704x480, 352x480, 352x240</entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4753 <entry>MPEG-2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4754 <entry>9800 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4755 <entry>48000 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4756 <entry>AC-3,PCM</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4757 <entry>1536 kbps (max)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4758 <entry>30000/1001, 24000/1001</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4759 <entry>4:3, 16:9 (only for 720x480)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4760 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4761 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4762 <entry>NTSC DVD</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4763 <entry>352x240<footnote id='fn-rare-resolutions'><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4764 These resolutions are rarely used for DVDs because
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4765 they are fairly low quality.</para></footnote></entry>
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4766 <entry>MPEG-1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4767 <entry>1856 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4768 <entry>48000 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4769 <entry>AC-3,PCM</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4770 <entry>1536 kbps (max)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4771 <entry>30000/1001, 24000/1001</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4772 <entry>4:3, 16:9</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4773 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4774 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4775 <entry>NTSC SVCD</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4776 <entry>480x480</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4777 <entry>MPEG-2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4778 <entry>2600 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4779 <entry>44100 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4780 <entry>MP2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4781 <entry>384 kbps (max)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4782 <entry>30000/1001</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4783 <entry>4:3</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4784 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4785 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4786 <entry>NTSC VCD</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4787 <entry>352x240</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4788 <entry>MPEG-1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4789 <entry>1150 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4790 <entry>44100 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4791 <entry>MP2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4792 <entry>224 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4793 <entry>24000/1001, 30000/1001</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4794 <entry>4:3</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4795 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4796 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4797 <entry>PAL DVD</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4798 <entry>720x576, 704x576, 352x576, 352x288</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4799 <entry>MPEG-2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4800 <entry>9800 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4801 <entry>48000 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4802 <entry>MP2,AC-3,PCM</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4803 <entry>1536 kbps (max)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4804 <entry>25</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4805 <entry>4:3, 16:9 (only for 720x576)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4806 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4807 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4808 <entry>PAL DVD</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4809 <entry>352x288<footnoteref linkend='fn-rare-resolutions'/></entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4810 <entry>MPEG-1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4811 <entry>1856 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4812 <entry>48000 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4813 <entry>MP2,AC-3,PCM</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4814 <entry>1536 kbps (max)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4815 <entry>25</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4816 <entry>4:3, 16:9</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4817 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4818 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4819 <entry>PAL SVCD</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4820 <entry>480x576</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4821 <entry>MPEG-2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4822 <entry>2600 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4823 <entry>44100 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4824 <entry>MP2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4825 <entry>384 kbps (max)</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4826 <entry>25</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4827 <entry>4:3</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4828 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4829 <row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4830 <entry>PAL VCD</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4831 <entry>352x288</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4832 <entry>MPEG-1</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4833 <entry>1152 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4834 <entry>44100 Hz</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4835 <entry>MP2</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4836 <entry>224 kbps</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4837 <entry>25</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4838 <entry>4:3</entry>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4839 </row>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4840 </tbody>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4841 </tgroup>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4842 </informaltable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4843
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4844 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4845 If your movie has 2.35:1 aspect (most recent action movies), you will
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4846 have to add black borders or crop the movie down to 16:9 to make a DVD or VCD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4847 If you add black borders, try to align them at 16-pixel boundaries in
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4848 order to minimize the impact on encoding performance.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4849 Thankfully DVD has sufficiently excessive bitrate that you do not have
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4850 to worry too much about encoding efficiency, but SVCD and VCD are
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4851 highly bitrate-starved and require effort to obtain acceptable quality.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4852 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4853 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4854
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4855
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4856 <sect3 id="menc-feat-vcd-dvd-constraints-gop">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4857 <title>GOP Size Constraints</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4858
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4859 <para>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4860 DVD, VCD, and SVCD also constrain you to relatively low
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4861 GOP (Group of Pictures) sizes.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4862 For 30 fps material the largest allowed GOP size is 18.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4863 For 25 or 24 fps, the maximum is 15.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4864 The GOP size is set using the <option>keyint</option> option.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4865 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4866 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4867
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4868
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4869 <sect3 id="menc-feat-vcd-dvd-constraints-bitrate">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4870 <title>Bitrate Constraints</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4871
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4872 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4873 VCD video is required to be CBR at 1152 kbps.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4874 This highly limiting constraint also comes along with an extremly low vbv
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4875 buffer size of 327 kilobits.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4876 SVCD allows varying video bitrates up to 2500 kbps, and a somewhat less
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4877 restrictive vbv buffer size of 917 kilobits is allowed.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4878 DVD video bitrates may range anywhere up to 9800 kbps (though typical
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4879 bitrates are about half that), and the vbv buffer size is 1835 kilobits.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4880 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4881 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4882 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4883
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4884 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4885
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4886 <sect2 id="menc-feat-vcd-dvd-output">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4887 <title>Output Options</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4888
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4889 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4890 <application>MEncoder</application> has options to control the output
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4891 format.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4892 Using these options we can instruct it to create the correct type of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4893 file.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4894 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4895
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4896 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4897 The options for VCD and SVCD are called xvcd and xsvcd, because they
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4898 are extended formats.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4899 They are not strictly compliant, mainly because the output does not
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4900 contain scan offsets.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4901 If you need to generate an SVCD image, you should pass the output file to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4902 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4903 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4904
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4905 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4906 VCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4907 <screen>-of mpeg -mpegopts format=xvcd</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4908 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4909
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4910 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4911 SVCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4912 <screen>-of mpeg -mpegopts format=xsvcd</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4913 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4914
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4915 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4916 DVD (with timestamps on every frame, if possible):
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4917 <screen>-of mpeg -mpegopts format=dvd:tsaf</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4918 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4919
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4920 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4921 DVD with NTSC Pullup:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4922 <screen>-of mpeg -mpegopts format=dvd:tsaf:telecine -ofps 24000/1001</screen>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4923 This allows 24000/1001 fps progressive content to be encoded at 30000/1001
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4924 fps whilst maintaing DVD-compliance.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4925 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4926
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4927
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4928 <sect3 id="menc-feat-vcd-dvd-output-aspect">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4929 <title>Aspect Ratio</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4930
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4931 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4932 The aspect argument of <option>-lavcopts</option> is used to encode
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4933 the aspect ratio of the file.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4934 During playback the aspect ratio is used to restore the video to the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4935 correct size.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4936 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4937
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4938 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4939 16:9 or "Widescreen"
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4940 <screen>-lavcopts aspect=16/9</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4941 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4942
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4943 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4944 4:3 or "Fullscreen"
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4945 <screen>-lavcopts aspect=4/3</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4946 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4947
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4948 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4949 2.35:1 or "Cinemascope" NTSC
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4950 <screen>-vf scale=720:368,expand=720:480 -lavcopts aspect=16/9</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4951 To calculate the correct scaling size, use the expanded NTSC width of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4952 854/2.35 = 368
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4953 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4954
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4955 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4956 2.35:1 or "Cinemascope" PAL
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4957 <screen>-vf scale=720:432,expand=720:576 -lavcopts aspect=16/9</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4958 To calculate the correct scaling size, use the expanded PAL width of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4959 1024/2.35 = 432
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4960 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4961 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4962
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4963
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4964 <sect3 id="menc-feat-vcd-dvd-a-v-sync">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4965 <title>Maintaining A/V sync</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4966
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4967 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4968 In order to maintain audio/video synchronization throughout the encode,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4969 <application>MEncoder</application> has to drop or duplicate frames.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4970 This works rather well when muxing into an AVI file, but is almost
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4971 guaranteed to fail to maintain A/V sync with other muxers such as MPEG.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4972 This is why it is necessary to append the
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4973 <option>harddup</option> video filter at the end of the filter chain
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4974 to avoid this kind of problem.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4975 You can find more technical information about <option>harddup</option>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4976 in the section
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4977 <link linkend="menc-feat-dvd-mpeg4-muxing-filter-issues">Improving muxing and A/V sync reliability</link>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4978 or in the manual page.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4979 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4980 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4981
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4982
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4983 <sect3 id="menc-feat-vcd-dvd-output-srate">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4984 <title>Sample Rate Conversion</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4985
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4986 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4987 If the audio sample rate in the original file is not the same as
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4988 required by the target format, sample rate conversion is required.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
4989 This is achieved using the <option>-srate</option> option and
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4990 the <option>-af lavcresample</option> audio filter together.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4991 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4992
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4993 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4994 DVD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4995 <screen>-srate 48000 -af lavcresample=48000</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4996 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4997
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4998 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
4999 VCD and SVCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5000 <screen>-srate 44100 -af lavcresample=44100</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5001 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5002 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5003 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5004
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5005 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5006
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5007 <sect2 id="menc-feat-vcd-dvd-lavc">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5008 <title>Using libavcodec for VCD/SVCD/DVD Encoding</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5009
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5010 <sect3 id="menc-feat-vcd-dvd-lavc-intro">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5011 <title>Introduction</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5012
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5013 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5014 <systemitem class="library">libavcodec</systemitem> can be used to
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5015 create VCD/SVCD/DVD compliant video by using the appropriate options.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5016 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5017 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5018
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5019
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5020 <sect3 id="menc-feat-vcd-dvd-lavc-options">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5021 <title>lavcopts</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5022
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5023 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5024 This is a list of fields in <option>-lavcopts</option> that you may
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5025 be required to change in order to make a complaint movie for VCD, SVCD,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5026 or DVD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5027 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5028
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5029 <itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5030 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5031 <emphasis role="bold">acodec</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5032 <option>mp2</option> for VCD, SVCD, or PAL DVD;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5033 <option>ac3</option> is most commonly used for DVD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5034 PCM audio may also be used for DVD, but this is mostly a big waste of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5035 space.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5036 Note that MP3 audio is not compliant for any of these formats, but
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5037 players often have no problem playing it anyway.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5038 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5039 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5040 <emphasis role="bold">abitrate</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5041 224 for VCD; up to 384 for SVCD; up to 1536 for DVD, but commonly
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5042 used values range from 192 kbps for stereo to 384 kbps for 5.1 channel
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5043 sound.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5044 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5045 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5046 <emphasis role="bold">vcodec</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5047 <option>mpeg1video</option> for VCD;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5048 <option>mpeg2video</option> for SVCD;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5049 <option>mpeg2video</option> is usually used for DVD but you may also use
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5050 <option>mpeg1video</option> for CIF resolutions.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5051 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5052 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5053 <emphasis role="bold">keyint</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5054 Used to set the GOP size.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5055 18 for 30fps material, or 15 for 25/24 fps material.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5056 Commercial producers seem to prefer keyframe intervals of 12.
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28476
diff changeset
5057 It is possible to make this much larger and still retain compatibility
25279
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5058 with most players.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5059 A <option>keyint</option> of 25 should never cause any problems.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5060 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5061 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5062 <emphasis role="bold">vrc_buf_size</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5063 327 for VCD, 917 for SVCD, and 1835 for DVD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5064 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5065 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5066 <emphasis role="bold">vrc_minrate</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5067 1152, for VCD. May be left alone for SVCD and DVD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5068 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5069 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5070 <emphasis role="bold">vrc_maxrate</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5071 1152 for VCD; 2500 for SVCD; 9800 for DVD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5072 For SVCD and DVD, you might wish to use lower values depending on your
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5073 own personal preferences and requirements.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5074 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5075 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5076 <emphasis role="bold">vbitrate</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5077 1152 for VCD;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5078 up to 2500 for SVCD;
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5079 up to 9800 for DVD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5080 For the latter two formats, vbitrate should be set based on personal
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5081 preference.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5082 For instance, if you insist on fitting 20 or so hours on a DVD, you
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5083 could use vbitrate=400.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5084 The resulting video quality would probably be quite bad.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5085 If you are trying to squeeze out the maximum possible quality on a DVD,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5086 use vbitrate=9800, but be warned that this could constrain you to less
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5087 than an hour of video on a single-layer DVD.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5088 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5089 <listitem><para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5090 <emphasis role="bold">vstrict</emphasis>:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5091 <option>vstrict</option>=0 should be used to create DVDs.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5092 Without this option, <application>MEncoder</application> creates a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5093 stream that cannot be correctly decoded by some standalone DVD
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5094 players.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5095 </para></listitem>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5096 </itemizedlist>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5097 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5098
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5099
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5100 <sect3 id="menc-feat-vcd-dvd-lavc-examples">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5101 <title>Examples</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5102
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5103 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5104 This is a typical minimum set of <option>-lavcopts</option> for
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5105 encoding video:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5106 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5107 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5108 VCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5109 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5110 -lavcopts vcodec=mpeg1video:vrc_buf_size=327:vrc_minrate=1152:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5111 vrc_maxrate=1152:vbitrate=1152:keyint=15:acodec=mp2
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5112 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5113 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5114
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5115 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5116 SVCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5117 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5118 -lavcopts vcodec=mpeg2video:vrc_buf_size=917:vrc_maxrate=2500:vbitrate=1800:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5119 keyint=15:acodec=mp2
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5120 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5121 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5122
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5123 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5124 DVD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5125 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5126 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5127 keyint=15:vstrict=0:acodec=ac3
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5128 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5129 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5130 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5131
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5132
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5133 <sect3 id="menc-feat-vcd-dvd-lavc-advanced">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5134 <title>Advanced Options</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5135
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5136 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5137 For higher quality encoding, you may also wish to add quality-enhancing
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5138 options to lavcopts, such as <option>trell</option>,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5139 <option>mbd=2</option>, and others.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5140 Note that <option>qpel</option> and <option>v4mv</option>, while often
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5141 useful with MPEG-4, are not usable with MPEG-1 or MPEG-2.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5142 Also, if you are trying to make a very high quality DVD encode, it may
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5143 be useful to add <option>dc=10</option> to lavcopts.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5144 Doing so may help reduce the appearance of blocks in flat-colored areas.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5145 Putting it all together, this is an example of a set of lavcopts for a
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5146 higher quality DVD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5147 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5148
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5149 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5150 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5151 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5152 keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5153 vqmin=1:lmin=1:dc=10:vstrict=0
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5154 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5155 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5156 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5157 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5158
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5159 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5160
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5161 <sect2 id="menc-feat-vcd-dvd-audio">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5162 <title>Encoding Audio</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5163
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5164 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5165 VCD and SVCD support MPEG-1 layer II audio, using one of
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5166 <systemitem class="library">toolame</systemitem>,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5167 <systemitem class="library">twolame</systemitem>,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5168 or <systemitem class="library">libavcodec</systemitem>'s MP2 encoder.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5169 The libavcodec MP2 is far from being as good as the other two libraries,
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5170 however it should always be available to use.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5171 VCD only supports constant bitrate audio (CBR) whereas SVCD supports
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5172 variable bitrate (VBR), too.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5173 Be careful when using VBR because some bad standalone players might not
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5174 support it too well.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5175 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5176
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5177 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5178 For DVD audio, <systemitem class="library">libavcodec</systemitem>'s
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5179 AC-3 codec is used.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5180 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5181
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5182
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5183 <sect3 id="menc-feat-vcd-dvd-audio-toolame">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5184 <title>toolame</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5185
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5186 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5187 For VCD and SVCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5188 <screen>-oac toolame -toolameopts br=224</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5189 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5190 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5191
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5192
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5193 <sect3 id="menc-feat-vcd-dvd-audio-twolame">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5194 <title>twolame</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5195
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5196 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5197 For VCD and SVCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5198 <screen>-oac twolame -twolameopts br=224</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5199 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5200 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5201
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5202
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5203 <sect3 id="menc-feat-vcd-dvd-audio-lavc">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5204 <title>libavcodec</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5205
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5206 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5207 For DVD with 2 channel sound:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5208 <screen>-oac lavc -lavcopts acodec=ac3:abitrate=192</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5209 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5210
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5211 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5212 For DVD with 5.1 channel sound:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5213 <screen>-channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=384</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5214 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5215
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5216 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5217 For VCD and SVCD:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5218 <screen>-oac lavc -lavcopts acodec=mp2:abitrate=224</screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5219 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5220 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5221 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5222
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5223 <!-- ********** -->
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5224
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5225 <sect2 id="menc-feat-vcd-dvd-all">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5226 <title>Putting it all Together</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5227
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5228 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5229 This section shows some complete commands for creating VCD/SVCD/DVD
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5230 compliant videos.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5231 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5232
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5233
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5234 <sect3 id="menc-feat-vcd-dvd-all-pal-dvd">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5235 <title>PAL DVD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5236
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5237 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5238 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5239 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5240 -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5241 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5242 keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5243 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5244 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5245 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5246 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5247
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5248
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5249 <sect3 id="menc-feat-vcd-dvd-all-ntsc-dvd">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5250 <title>NTSC DVD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5251
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5252 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5253 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5254 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5255 -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5256 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5257 keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5258 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5259 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5260 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5261 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5262
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5263
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5264 <sect3 id="menc-feat-vcd-dvd-all-pal-ac3-copy">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5265 <title>PAL AVI Containing AC-3 Audio to DVD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5266
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5267 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5268 If the source already has AC-3 audio, use -oac copy instead of re-encoding it.
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5269 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5270 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5271 -vf scale=720:576,harddup -ofps 25 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5272 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5273 keyint=15:vstrict=0:aspect=16/9 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5274 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5275 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5276 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5277
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5278
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5279 <sect3 id="menc-feat-vcd-dvd-all-ntsc-ac3-copy">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5280 <title>NTSC AVI Containing AC-3 Audio to DVD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5281
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5282 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5283 If the source already has AC-3 audio, and is NTSC @ 24000/1001 fps:
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5284 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5285 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf:telecine \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5286 -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5287 vrc_maxrate=9800:vbitrate=5000:keyint=15:vstrict=0:aspect=16/9 -ofps 24000/1001 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5288 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5289 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5290 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5291 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5292
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5293
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5294 <sect3 id="menc-feat-vcd-dvd-all-pal-svcd">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5295 <title>PAL SVCD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5296
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5297 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5298 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5299 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5300 scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5301 vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minrate=600:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5302 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 25 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5303 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5304 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5305 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5306 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5307
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5308
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5309 <sect3 id="menc-feat-vcd-dvd-all-ntsc-svcd">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5310 <title>NTSC SVCD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5311
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5312 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5313 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5314 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5315 scale=480:480,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5316 vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5317 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 30000/1001 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5318 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5319 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5320 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5321 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5322
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5323
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5324 <sect3 id="menc-feat-vcd-dvd-all-pal-vcd">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5325 <title>PAL VCD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5326
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5327 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5328 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5329 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5330 scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5331 vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5332 vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5333 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5334 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5335 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5336 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5337
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5338
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5339 <sect3 id="menc-feat-vcd-dvd-all-ntsc-vcd">
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5340 <title>NTSC VCD</title>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5341
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5342 <para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5343 <screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5344 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5345 scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5346 vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:\
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5347 vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 \
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5348 -o <replaceable>movie.mpg</replaceable> <replaceable>movie.avi</replaceable>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5349 </screen>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5350 </para>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5351 </sect3>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5352 </sect2>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5353 </sect1>
2838dc7a68f3 initial submit for revision... 24% synced with r22753
ptt
parents:
diff changeset
5354 </chapter>