annotate DOCS/Italian/encoding.html @ 5994:dcc6dde0d168

uptated to english version
author frodone
date Mon, 06 May 2002 00:37:52 +0000
parents 70264cc9ade0
children 97ac297c649a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
1 <HTML>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
2
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
3 <HEAD>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
4 <STYLE>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
5 .text
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
6 {font-family : Verdana, Arial, Helvetica, sans-serif;
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
7 font-size : 14px;}
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
8 </STYLE>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
9 </HEAD>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
10
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
11 <BODY BGCOLOR=white>
2729796fb896 Italian translation
frodone
parents:
diff changeset
12
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
13 <FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
14
2729796fb896 Italian translation
frodone
parents:
diff changeset
15 <P><B><A NAME=2.4>2.4. Codificare con MEncoder</A></B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
16
2729796fb896 Italian translation
frodone
parents:
diff changeset
17 <P><B><A NAME=2.4.1>2.4.1. Generale</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
18
2729796fb896 Italian translation
frodone
parents:
diff changeset
19 <P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder, Codificatore Filmati di MPlayer) è un semplice encoder,
2729796fb896 Italian translation
frodone
parents:
diff changeset
20 studiato per codificare i filmati leggibili da MPlayer
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
21 (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET</B>) in altri formati leggibili da MPlayer
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
22 (vedi sotto). Può usare vari codec, come <B>DivX4</B> (1 o
4961
c8a3e58a43d8 corrected typos and bad italian...
frodone
parents: 4939
diff changeset
23 2 passaggi), libavcodec, audio <B>PCM</B>/<B>MP3</B>/<B>VBRMP3</B>. Ha anche la
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
24 capacità di copiare da stream e di ridimensionare i video.</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
25
2729796fb896 Italian translation
frodone
parents:
diff changeset
26 <P><B><A NAME=2.4.2>2.4.2. Compilazione</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
27
2729796fb896 Italian translation
frodone
parents:
diff changeset
28 <P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
29 <UL>
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
30 <LI><B>OPZIONALE</B> - leggi le istruzioni di compilazione di <B>MPlayer</B>.
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
31 <LI><B>OPZIONALE (SOLO PER LINUX)</B> - scarica le librerie <B>DivX4linux</B> più recenti
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
32 da <A HREF="http://avifile.sourceforge.net/download.htm">avifile.sourceforge.net</A>,
2729796fb896 Italian translation
frodone
parents:
diff changeset
33 e installale CORRETTAMENTE. Ti servono se vuoi codificare in DivX4
2729796fb896 Italian translation
frodone
parents:
diff changeset
34 (1/2 passaggi).</LI>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
35 <LI><B>OPTIONAL</B> - <A HREF="codecs.html#2.2.1.9">scarica e installa
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
36 <B>XViD</B></A>. Molto utile su sistemi non-Linux, e/o se hai bisogno
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
37 di una codifica più veloce del DivX4, con approssimativamente la stessa qualità.</LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
38 <LI><B>OPZIONALE</B> - per il supporto libavcodec, installa libavcodec come
2729796fb896 Italian translation
frodone
parents:
diff changeset
39 descritto nella <A HREF="codecs.html#2.2.1.2">sezione libavcodec</A>.</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
40 <LI><B>OPZIONALE</B> - scarica e compila <B>libmp3lame</B> (da lame 3.89beta o lame CVS).<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
41 <B>ATTENZIONE : NON COMPILARE LAME CON <U>GCC 2.96</U> ! Non funzionerà
2729796fb896 Italian translation
frodone
parents:
diff changeset
42 propriamente !</B><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
43 Questo
2729796fb896 Italian translation
frodone
parents:
diff changeset
44 è necessario per la possibilità di codificare audio CBR/VBR MP3. Nota che il singolo binario di
2729796fb896 Italian translation
frodone
parents:
diff changeset
45 <CODE>lame</CODE> non è sufficiente. Comunque: meno ottimizzazione usi
2729796fb896 Italian translation
frodone
parents:
diff changeset
46 per lame, migliore sarà la qualità. Puoi testare la
2729796fb896 Italian translation
frodone
parents:
diff changeset
47 qualità eseguendo <CODE>make test</CODE> dopo aver finito il processo di compilazione di
2729796fb896 Italian translation
frodone
parents:
diff changeset
48 lame. Il numero risultante dovrebbe essere minore di <B>30</B>. Non ti spaventare
2729796fb896 Italian translation
frodone
parents:
diff changeset
49 se è <B>400</B> o comunque alto, non dovresti sentire una diminuzione di
2729796fb896 Italian translation
frodone
parents:
diff changeset
50 qualità. Oh, e se il tuo compilatore non esegue nemmeno <CODE>make test</CODE> ...
2729796fb896 Italian translation
frodone
parents:
diff changeset
51 Bhe, cancella quel <B>GCC 2.96</B>.</LI>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
52 <LI><B>OPZIONALE</B> - <CODE>libjpeg</CODE> e <CODE>libpng</CODE> -
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
53 come descritto nella sezione <A HREF="documentation.html#1.3">Installazione</A>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
54 </LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
55 </UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
56 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
57
2729796fb896 Italian translation
frodone
parents:
diff changeset
58 <P>Sei pronto. Come forse saprai, altri strumenti per la codifica necessitano installata
2729796fb896 Italian translation
frodone
parents:
diff changeset
59 la libreria <I>avifile</I>. <B>MEncoder</B> non ne ha per niente bisogno.</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
60
2729796fb896 Italian translation
frodone
parents:
diff changeset
61 <P><B><A NAME=2.4.3>2.4.3. Caratteristiche di MEncoder</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
62
2729796fb896 Italian translation
frodone
parents:
diff changeset
63 <P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
64 <UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
65 <LI>codifica dall'ampia scelta di formati file e decoder di <B>MPlayer</B></LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
66 <LI>codifica in tutti i codec del
4961
c8a3e58a43d8 corrected typos and bad italian...
frodone
parents: 4939
diff changeset
67 <A HREF=codecs.html#2.2.1.2>libavcodec</A> di ffmpeg</LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
68 <LI>codifica video da <B>sintonizzatori TV compatibili con V4L</B></LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
69 <LI>codifica/multiplexing a file AVI intervallati con un indice corretto</LI>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
70 <LI>creazione di file da flusso audio esterno</LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
71 <LI>1, 2 o 3 passaggi video <B>DivX4</B></LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
72 <LI>Audio MP3 <B>VBR</B> - <B>NOTA IMPORTANTE</B> : l'audio MP3 VBR non sempre
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
73 viene letto bene da i lettori di windows! D'altra parte, attualmente
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
74 la codifica CBR di <B>MEncoder</B> non funziona coi lettori win32 :)</LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
75 <LI>Audio PCM</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
76 <LI>copia da stream</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
77 <LI>sincronizzazione dell'input A/V (basata su PTS, può essere disabilitata con l'opzione -mc 0)</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
78 <LI>correzione FPS con l'opzione <CODE>-ofps</CODE> (utile quando si codifica
2729796fb896 Italian translation
frodone
parents:
diff changeset
79 un VOB a 29.97fps in un AVI a 24fps)</LI>
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
80 <LI>usa il nostro potente sistema a plugin (taglia, espandi, capovolgi, post-processa,
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
81 ruota, ridimensiona, conversione rgb/yuv)</LI>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
82 <LI>può codificare DVD/VOBsub <B>E</B> il testo dei sottotitoli nel file di output</LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
83 </UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
84 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
85
2729796fb896 Italian translation
frodone
parents:
diff changeset
86 <P><B><I>Caratteristiche programmate</I></B> :
2729796fb896 Italian translation
frodone
parents:
diff changeset
87 <UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
88 <LI>ancora più ampia scelta disponibile di formati/codec di (de)codifica
2729796fb896 Italian translation
frodone
parents:
diff changeset
89 (creare file VOB con flussi DivX4/Indeo5/VIVO :)</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
90 <LI>codifica audio da v4l</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
91 </UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
92 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
93
2729796fb896 Italian translation
frodone
parents:
diff changeset
94 <P><B><A NAME=2.4.3.1>2.4.3.1. Codificare DivX4 in 2 o 3 passaggi</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
95
2729796fb896 Italian translation
frodone
parents:
diff changeset
96 <P><U><B>codifica a 2 passaggi :</B></U> il nome deriva dal fatto che questo metodo codifica il file <I>due volte</I>.
2729796fb896 Italian translation
frodone
parents:
diff changeset
97 La prima codifica (<I>passaggio</I> doppiato) crea dei file temporanei (*.log) con una grandezza
2729796fb896 Italian translation
frodone
parents:
diff changeset
98 di pochi megabyte, non cancellarli ancora (puoi cancellare l' AVI). Nel secondo passaggio, viene creato il
2729796fb896 Italian translation
frodone
parents:
diff changeset
99 file di output, usando i dati sul bitrate dei file temporanei. Il file risultante avrà una
2729796fb896 Italian translation
frodone
parents:
diff changeset
100 migliore qualità d'immagine. Se questa è la prima volta che ne senti parlare,
2729796fb896 Italian translation
frodone
parents:
diff changeset
101 dovresti consultare alcune guide disponibili in rete.</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
102
2729796fb896 Italian translation
frodone
parents:
diff changeset
103 <P>Questo esempio mostra come codificare un DVD in un AVI DivX4 a 2 passaggi. Bisogna dare solo
2729796fb896 Italian translation
frodone
parents:
diff changeset
104 due comandi :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
105 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - rimuovi questo file che può essere rimasto
2729796fb896 Italian translation
frodone
parents:
diff changeset
106 da una precedente codifica a 3 passaggi (interferisce col processo attuale)<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
107 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -divx4opts br=1100
2729796fb896 Italian translation
frodone
parents:
diff changeset
108 -o movie.avi -pass 1<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
109 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -divx4opts br=1100 -o movie.avi -pass 2</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
110
2729796fb896 Italian translation
frodone
parents:
diff changeset
111 <P><U><B>codifica a 3 passaggi :</B></U> questa è un' estensione della codifica a 2 passaggi,
2729796fb896 Italian translation
frodone
parents:
diff changeset
112 dove la codifica audio avviene in un passaggio separato. Questo metodo abilita la
2729796fb896 Italian translation
frodone
parents:
diff changeset
113 stima del bitrate video raccomandato per far stare il file risultante in un CD. In più,
2729796fb896 Italian translation
frodone
parents:
diff changeset
114 l'audio è codificato solo una volta, diversamente dalla modalità in 2 passaggi. Schema :</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
115
2729796fb896 Italian translation
frodone
parents:
diff changeset
116 <P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
117 <TABLE>
2729796fb896 Italian translation
frodone
parents:
diff changeset
118 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
119 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
120 <CODE>rm frameno.avi</CODE></TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
121 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
122 <B>rimuovi il file temporaneo che va in conflitto</B></TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
123 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
124 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
125 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
126 <CODE>mencoder &lt;file/DVD&gt; -ovc frameno -o
2729796fb896 Italian translation
frodone
parents:
diff changeset
127 frameno.avi</CODE></TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
128 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
129 <B><U>Primo passaggio</U> : sarà creato un file avi di solo audio, contenente SOLO
2729796fb896 Italian translation
frodone
parents:
diff changeset
130 il flusso audio richiesto. Non dimenticare <CODE>-lameopts</CODE>, se ne
2729796fb896 Italian translation
frodone
parents:
diff changeset
131 hai bisogno. Se stai codificando un filmato lungo, MEncoder da
2729796fb896 Italian translation
frodone
parents:
diff changeset
132 i valori di bitrate consigliati per dimensioni di destinazione di 650Mb, 700Mb, e 800Mb,
2729796fb896 Italian translation
frodone
parents:
diff changeset
133 dopo la fine di questo passaggio.</B></TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
134 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
135 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
136 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
137 <CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 1
2729796fb896 Italian translation
frodone
parents:
diff changeset
138 -divx4opts br=&lt;bitrate&gt;</CODE></TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
139 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
140 <B><U>Secondo passaggio</U> : cioè il primo passaggio della codifica del video DivX4.
2729796fb896 Italian translation
frodone
parents:
diff changeset
141 Puoi specificare il bitrate video dato da MEncoder alla fine del precedente
2729796fb896 Italian translation
frodone
parents:
diff changeset
142 passaggio.</B></TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
143 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
144 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
145 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
146 <CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 2
2729796fb896 Italian translation
frodone
parents:
diff changeset
147 -divx4opts br=&lt;bitrate&gt;</CODE></TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
148 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
149 <B><U>Terzo passaggio</U> : cioè il secondo passaggio della codifica video DivX4.
2729796fb896 Italian translation
frodone
parents:
diff changeset
150 Puoi specificare il bitrate video dato da MEncoder alla fine del precedente
2729796fb896 Italian translation
frodone
parents:
diff changeset
151 passaggio. In questo passaggio, l'audio da <CODE>frameno.avi</CODE> sarà inserito
2729796fb896 Italian translation
frodone
parents:
diff changeset
152 nel file di destinazione.. ed è tutto pronto!</B></TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
153 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
154 </TABLE>
2729796fb896 Italian translation
frodone
parents:
diff changeset
155 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
156
2729796fb896 Italian translation
frodone
parents:
diff changeset
157 <P><B>Esempio di codifica a 3 passaggi :</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
158
2729796fb896 Italian translation
frodone
parents:
diff changeset
159 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - rimuovi questo file,
2729796fb896 Italian translation
frodone
parents:
diff changeset
160 che può essere rimasto da una precedente codifica a 3 passaggi (interferisce con quella attuale)<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
161
2729796fb896 Italian translation
frodone
parents:
diff changeset
162 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno
2729796fb896 Italian translation
frodone
parents:
diff changeset
163 -o frameno.avi<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
164 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
2729796fb896 Italian translation
frodone
parents:
diff changeset
165 -divx4opts br=1100 -oac copy -o movie.avi -pass 1<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
166 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
2729796fb896 Italian translation
frodone
parents:
diff changeset
167 -divx4opts br=1100 -oac copy -o movie.avi -pass 2</CODE>
2729796fb896 Italian translation
frodone
parents:
diff changeset
168 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
169
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
170 <P><U><B>Codifica a 2 o 3 passaggi usando il controller interno di libavcodec</B></U> :
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
171 Opzionalmente puoi usare la modalità interna a 2 o 3 passaggi di libavcodec, può risoltare
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
172 una migliore accuratezza del frame rate che usando il controller esterno, ispirato a DivX4
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
173 con libavcodec.<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
174 <UL>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
175 <B>codifica a 2 passaggi</B> :<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
176 <CODE>rm -f lavc_stats.txt<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
177 mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 (opzioni audio) -o movie.avi<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
178 mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 (opzioni audio) -o movie.avi</CODE><BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
179 <BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
180 <B>codifica a 3 passaggi</B> :<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
181 <CODE>rm -f frameno.avi lavc_stats.txt<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
182 mencoder -dvd 2 -ovc frameno (opzioni audio) -o frameno.avi<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
183 mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 -oac copy -o movie.avi<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
184 mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 -oac copy -o movie.avi</CODE><BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
185 </UL>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
186 </P>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
187
2729796fb896 Italian translation
frodone
parents:
diff changeset
188 <P><B><A NAME=2.4.3.2>2.4.3.2. Ridimensionare i filmati</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
189
2729796fb896 Italian translation
frodone
parents:
diff changeset
190 <P>Spesso emerge l'esigenza di ridimensionare le immagini del filmato. Le ragioni possono essere molte,
2729796fb896 Italian translation
frodone
parents:
diff changeset
191 come diminuire la grandezza del file di output, codificare SVCD in DivX. I DVD "rippati"
2729796fb896 Italian translation
frodone
parents:
diff changeset
192 sono spesso da ridimensionare, per esempio un DVD in scala 4:3 dovrebbe essere in 640x480, specialmente se vuoi
2729796fb896 Italian translation
frodone
parents:
diff changeset
193 che entri in 1 CD, e avere una buona qualità allo stesso tempo.
2729796fb896 Italian translation
frodone
parents:
diff changeset
194 Gli SVCD hanno dimensione di 480x480, e la loro intestazione contiene le proporzioni
2729796fb896 Italian translation
frodone
parents:
diff changeset
195 che il lettore dovrebbe usare (Es.: 480x480 + 4:3 = 640x480). Però quando codifichi
2729796fb896 Italian translation
frodone
parents:
diff changeset
196 un file AVI (DivX), devi fare attenzione che l'intestazione dell'AVI non includa
2729796fb896 Italian translation
frodone
parents:
diff changeset
197 questo valore. Quindi, l'unica soluzione è ridimensionare.</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
198
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
199 <P>Il processo di ridimensionamento è gestito dal filtro video <I>'scale'</I>:
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
200 <CODE>-vop scale=X:Y</CODE>. La qualità può essere impostata tramite l'opzione
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
201 <CODE>-sws</CODE>. Se non specificata, <B>MEncoder</B> userà il valore 0 :
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
202 bilineare veloce.</P>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
203
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
204 <P>Utilizzo :<BR>
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
205 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder esempio-svcd.mpg -divx4opts br=1300 -vop scale=640:480 -sws 2 -o output.avi</CODE></P>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
206
2729796fb896 Italian translation
frodone
parents:
diff changeset
207
2729796fb896 Italian translation
frodone
parents:
diff changeset
208 <P><B><A NAME=2.4.3.3>2.4.3.3. Copia da stream</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
209
2729796fb896 Italian translation
frodone
parents:
diff changeset
210 <P><B>MEncoder</B> può gestire i flussi in entrata in due modi : <B>codificandoli</B> o
2729796fb896 Italian translation
frodone
parents:
diff changeset
211 <B>copiandoli</B>. Questa sezione tratta la <B>copia</B>.</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
212
2729796fb896 Italian translation
frodone
parents:
diff changeset
213 <P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
214 <UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
215 <LI><B>Flusso video</B> (opzione <CODE>-ovc copy</CODE>) : si possono fare tante belle cose :)<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
216 Come, mettere (non convertire!) video FLI o VIVO o MPEG1 in un file AVI !
2729796fb896 Italian translation
frodone
parents:
diff changeset
217 Naturalmente solo <B>MPlayer</B> può leggere tali file :) E probabilmente non ha
2729796fb896 Italian translation
frodone
parents:
diff changeset
218 alcuna utilità nella vita reale. Seriamente : la copia del flusso video può essere utile per esempio
2729796fb896 Italian translation
frodone
parents:
diff changeset
219 quando si vuole codificare solo il flusso audio (come, PCM non compresso
2729796fb896 Italian translation
frodone
parents:
diff changeset
220 in MP3).</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
221
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
222 <LI><B>Flusso audio</B> (opzione <CODE>-oac copy</CODE>) : semplice da capire.
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
223 E' possibile prendere un file audio esterno (MP3, AC3, Vorbis) e mixarlo
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
224 nel flusso di output. Usa l'opzione <CODE>-audiofile &lt;filename&gt;</CODE>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
225 per farlo.</LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
226 </UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
227 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
228
2729796fb896 Italian translation
frodone
parents:
diff changeset
229
2729796fb896 Italian translation
frodone
parents:
diff changeset
230 <P><B><A NAME=2.4.3.4>2.4.3.4. Correggere gli AVI con indice o intervallo malformati</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
231
2729796fb896 Italian translation
frodone
parents:
diff changeset
232 <P>La cosa più semplice. Copiamo semplicemente i flussi audio e video, e
2729796fb896 Italian translation
frodone
parents:
diff changeset
233 <B>MEncoder</B> genera l'indice. Naturalmente questo non può correggere possibili bug
4961
c8a3e58a43d8 corrected typos and bad italian...
frodone
parents: 4939
diff changeset
234 nei flussi video e/o audio. Corregge anche i file mal intervallati,
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
235 così non sarà più necessaria l'opzione <CODE>-ni</CODE> per leggerli.</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
236
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
237 <P>Comando : <CODE>mencoder -idx input.avi -ovc copy -oac copy -o output.avi</CODE></P>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
238
2729796fb896 Italian translation
frodone
parents:
diff changeset
239
2729796fb896 Italian translation
frodone
parents:
diff changeset
240 <P><B><A NAME=2.4.3.5>2.4.3.5. Codificare con le famiglia di codec <I>libavcodec</I></B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
241
2729796fb896 Italian translation
frodone
parents:
diff changeset
242 <P><A HREF="codecs.html#2.2.1.2">libavcodec</A> fornisce una semplice codifica in
2729796fb896 Italian translation
frodone
parents:
diff changeset
243 molti interessanti formati video e audio (al momento i suoi codec audio non sono
2729796fb896 Italian translation
frodone
parents:
diff changeset
244 supportati). Puoi codificare i seguenti codec :</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
245
2729796fb896 Italian translation
frodone
parents:
diff changeset
246 <P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
247 <UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
248 <LI>mjpeg - Motion JPEG</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
249 <LI>h263 - H263</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
250 <LI>h263p - H263 Plus</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
251 <LI>mpeg4 - DivX4</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
252 <LI>msmpeg4 - il vecchio DivX</LI>
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
253 <LI>msmpeg4v2 - Micro$oft MPEG4 V2 (predecessore del DivX alias MP43)</LI>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
254 <LI>rv10 - un vecchio codec RealVideo</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
255 <LI>mpeg1video - video MPEG1 :)</LI>
2729796fb896 Italian translation
frodone
parents:
diff changeset
256 </UL>
2729796fb896 Italian translation
frodone
parents:
diff changeset
257 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
258
2729796fb896 Italian translation
frodone
parents:
diff changeset
259 <P>La prima colonna contiene i nomi dei codec che devono essere passati dopo l'opzione
2729796fb896 Italian translation
frodone
parents:
diff changeset
260 <CODE>vcodec</CODE>, come : <CODE>-lavcopts vcodec=msmpeg4</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
261
2729796fb896 Italian translation
frodone
parents:
diff changeset
262 <P>Un esempio, con la compressione MJPEG :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
263 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
264
2729796fb896 Italian translation
frodone
parents:
diff changeset
265
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
266 <P><B><A NAME=2.4.3.6>2.4.3.6. Codificare da file di immagine multipli (JPEG o PNG)</B></P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
267
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
268 <P><B>MEncoder</B> è in grado di creare filmati a partire da uno o più file JPEG o PNG.
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
269 Con un semplice framecopy può creare file MJPEG (Motion JPEG) o MPNG
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
270 (Motion PNG).</P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
271
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
272 <P><B><I>Spiegazione del processo</I></B></P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
273
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
274 <P><B>MEncoder</B> <I>decodifica</I> le immagini in input con un codec video MJPEG
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
275 disponibile (per i PNG, usa <B>libpng</B>).
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
276 </P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
277
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
278 <P><B>MEncoder</B> quindi passa l' immagine decodificata al compressore video scelto
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
279 (DivX4, Xvid, ffmpeg msmpeg4, ecc...). Attenzione al decoder PNG, dato che
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
280 attualmente può fornire in output solo formati RGB, quindi non può essere usato con i codec
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
281 che richiedono un input YUV, come il DivX4 o l' msmpeg4 di ffmpeg.</P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
282
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
283 <P><B><I>Esempi</I></B></P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
284
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
285 <P>La spiegazione dell'opzione <CODE>-mf</CODE> si trova più sotto nella sezione
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
286 delle <A HREF=#2.4.5>Opzioni</A> generali e nella pagina di man.</P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
287
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
288 <P><I>Creare un file DivX4 da tutti i file JPEG presenti nella directory attuale :</I><BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
289 &nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
290 output.avi</CODE></P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
291
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
292 <P><I>Creare un file DivX4 da alcuni dei file JPEG presenti nella directory attuale :</I><BR>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
293 &nbsp;&nbsp;<CODE>mencoder frame001.jpg,frame002.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
294 output.avi</CODE></P>
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
295
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
296 <P><I>Creare un file Motion JPEG (MJPEG) da tutti i file JPEG presenti nella directory attuale :</I><BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
297 &nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc copy
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
298 -o output.avi</CODE></P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
299
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
300 <P><I>Creare un file non compresso da tutti i file PNG presenti nella directory attuale :</I><BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
301 &nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc raw -o
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
302 output.avi</CODE></P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
303
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
304 <P><I>Creare un file Motion PNG (MPNG) da tutti i file PNG presenti nella directory attuale :</I><BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
305 &nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc copy
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
306 -o output.avi</CODE></P>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
307
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
308
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
309 <P><B><A NAME=2.4.4>2.4.4. Sintassi</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
310
2729796fb896 Italian translation
frodone
parents:
diff changeset
311 <P>&nbsp;&nbsp;<CODE>mencoder [opzioni] [file di input] [opzioni] ...</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
312
2729796fb896 Italian translation
frodone
parents:
diff changeset
313
2729796fb896 Italian translation
frodone
parents:
diff changeset
314 <P><B><A NAME=2.4.5>2.4.5. Opzioni disponibili</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
315
2729796fb896 Italian translation
frodone
parents:
diff changeset
316 <P>NOTA : per tutte le opzioni disponibili, <B>leggi la pagina di man !</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
317
2729796fb896 Italian translation
frodone
parents:
diff changeset
318 <P>
4961
c8a3e58a43d8 corrected typos and bad italian...
frodone
parents: 4939
diff changeset
319 Dato che <B>MEncoder</B> è costruito sullo stesso codice di <B>MPlayer</B>, ci sono
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
320 molte opzioni di <B>MPlayer</B> che hanno funzioni anche in <B>MEncoder</B>!
2729796fb896 Italian translation
frodone
parents:
diff changeset
321 Vedi, puoi usare <CODE>-sid</CODE> per "rippare" un DVD con i sottotitoli, o
2729796fb896 Italian translation
frodone
parents:
diff changeset
322 <CODE>-noidx</CODE> per ignorare in input l'indice malformato di un AVI. <B>Sii sveglio!</B>
2729796fb896 Italian translation
frodone
parents:
diff changeset
323 </P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
324
2729796fb896 Italian translation
frodone
parents:
diff changeset
325 <TABLE BORDER=1>
2729796fb896 Italian translation
frodone
parents:
diff changeset
326 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
327 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
328 <I>-ss</I> tempo</TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
329 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
330 comincia a codificare dal tempo dato (può partire solo dai frame chiave !)
2729796fb896 Italian translation
frodone
parents:
diff changeset
331 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
332 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
333 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
334 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
335 <I>-endpos</I> tempo</TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
336 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
337 smetti di codificare al tempo dato. Vedi la pagina di man per esempi !
2729796fb896 Italian translation
frodone
parents:
diff changeset
338 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
339 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
340 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
341 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
342 <I>-o</I> nomefile</TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
343 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
344 specifica il nome del file di output
2729796fb896 Italian translation
frodone
parents:
diff changeset
345 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
346 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
347 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
348 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
349 <I>-sws</I> 0-2</TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
350 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
351 metodo di ridimensionamento<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
352 &nbsp;&nbsp;0 - bilineare veloce<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
353 &nbsp;&nbsp;1 - bilineare<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
354 &nbsp;&nbsp;2 - bicubico (migliore qualità)<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
355 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
356 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
357 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
358 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
359 <I>-ovc</I> nomecodec</TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
360 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
361 Codifica col codec dato (i nomi dei codec sono quelli presenti in codecs.conf). Esempi:<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
362 &nbsp;&nbsp;<B>help</B> - ottieni una lista dei codec disponibili<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
363 &nbsp;&nbsp;<B>rawrgb</B> - ?<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
364 &nbsp;&nbsp;<B>copy</B> - nessuna codifica, copia il flusso (solo da AVI/ASF per ora)<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
365 &nbsp;&nbsp;<B>divx4</B> - codifica in DivX4<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
366 &nbsp;&nbsp;<B>lavc</B> - codifica con un codec di libavcodec<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
367 &nbsp;&nbsp;<B>vfw</B> - codifica con una DLL Windows<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
368 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
369 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
370 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
371 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
372 <I>-oac</I> nomecodec</TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
373 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
374 Codifica col codec dato (i nomi dei codec sono quelli presenti in codecs.conf). Esempi:<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
375 &nbsp;&nbsp;<B>help</B> - ottieni una lista dei codec disponibili<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
376 &nbsp;&nbsp;<B>copy</B> - nessuna codifica, copia il flusso (solo da AVI/ASF per ora)<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
377 &nbsp;&nbsp;<B>pcm</B> - codifica in un PCM non compresso<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
378 &nbsp;&nbsp;<B>mp3lame</B> - codifica in MP3 (usando Lame)<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
379 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
380 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
381 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
382 <TD><FONT CLASS="text">
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
383 <I>-mf</I> opzioni multifile</TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
384 <TD><FONT CLASS="text">
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
385 Usate per codificare da file JPEG multipli. Le sue sotto-opzioni sono:<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
386 &nbsp;&nbsp;<B>on</B> - abilita il supporto multifile<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
387 &nbsp;&nbsp;<B>w</B>=&lt;valore&gt; - larghezza del file di output<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
388 &nbsp;&nbsp;<B>h</B>=&lt;valore&gt; - altezza del file di output<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
389 &nbsp;&nbsp;<B>fps</B>=&lt;valore&gt; - fps del file di output<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
390 &nbsp;&nbsp;<B>type</B>=&lt;valore&gt; - tipo di file in input (tipi disponibili : <CODE>jpeg</CODE>, <CODE>png</CODE>)<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
391 </TD>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
392 </TR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
393
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
394 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
395 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
396 <I>-divx4opts</I></TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
397 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
398 Se codifichi in DivX4, puoi specificare i sui parametri qui, come:<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
399 &nbsp;&nbsp;<CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
400 Opzioni comuni: <B>(per la lista completa leggi la pagina di man!)</B><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
401 &nbsp;&nbsp;<B>help</B> - ottieni l'aiuto<BR>
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
402 &nbsp;&nbsp;<B>br</B>=&lt;valore&gt; - specifica il bitrate in kbit &lt;4-16000&gt; o bit &lt;16001-24000000&gt;<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
403 &nbsp;&nbsp;<B>q</B>=&lt;valore&gt; - qualità (1-veloce, 5-migliore - predefinito 5)<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
404 &nbsp;&nbsp;<B>key</B>=&lt;valore&gt; - intervallo tra i frame chiave<BR>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
405 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
406 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
407 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
408 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
409 <I>-lavcopts</I></TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
410 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
411 Se codifichi in libavcodec, puoi specificare i sui parametri qui, come:<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
412 &nbsp;&nbsp;<CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
413 Opzioni comuni: <B>(per la lista completa leggi la pagina di man!)</B><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
414 &nbsp;&nbsp;<B>help</B> - ottieni l'aiuto<BR>
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
415 &nbsp;&nbsp;<B>vcodec</B>=&lt;valore&gt; - seleziona il codec video (per la lista completa, vedi la sezione libavcodec sopra)<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
416 &nbsp;&nbsp;<B>vbitrate</B>=&lt;valore&gt; - specifica il bitrate in kbit &lt;4-16000&gt; o bit &lt;16001-24000000&gt;<BR>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
417 &nbsp;&nbsp;<B>vhq</B> - alta qualità<BR>
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
418 &nbsp;&nbsp;<B>keyint</B>=&lt;valore&gt; - intervallo tra i frame chiave<BR>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
419 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
420 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
421 <TR>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
422 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
423 <I>-lameopts</I></TD>
5583
70264cc9ade0 updated to english version
frodone
parents: 4961
diff changeset
424 <TD><FONT CLASS="text">
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
425 Se codifichi in MP3 con libmp3lame, puoi specificare i sui parametri qui, come:<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
426 &nbsp;&nbsp;<CODE>-lameopts q=3</CODE><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
427 &nbsp;&nbsp;<CODE>-lameopts br=192:cbr</CODE><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
428 Opzioni comuni: <B>(per la lista completa leggi la pagina di man!)</B><BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
429 &nbsp;&nbsp;<B>help</B> - ottieni l'aiuto<BR>
4961
c8a3e58a43d8 corrected typos and bad italian...
frodone
parents: 4939
diff changeset
430 &nbsp;&nbsp;<B>cbr</B> - seleziona MP3 <B>CBR</B> (il default è <B>VBR</B>)<BR>
4939
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
431 &nbsp;&nbsp;<B>br</B>=&lt;valore&gt; - specifica il bitrate in kbit &lt;0-1024&gt; (solo per <B>CBR</B>!)<BR>
0b4e8f3e0f4a updated to english version
frodone
parents: 4867
diff changeset
432 &nbsp;&nbsp;<B>q</B>=&lt;valore&gt; - qualità (0-alta, 9-veloce - predefinito 0) (solo per <B>VBR</B>!)<BR>
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
433 &nbsp;&nbsp;<B>vbr</B>=&lt;valore&gt; - sotto-modalità VBR (3-ABR, migliore qualità/velocità) (solo per <B>VBR</B>!)<BR>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
434 </TD>
2729796fb896 Italian translation
frodone
parents:
diff changeset
435 </TR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
436 </TABLE>
2729796fb896 Italian translation
frodone
parents:
diff changeset
437
2729796fb896 Italian translation
frodone
parents:
diff changeset
438 <P><B><A NAME=2.4.6>2.4.6. Esempi</B></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
439
2729796fb896 Italian translation
frodone
parents:
diff changeset
440 <P>Usare <B>MEncoder</B> è la cosa più facile della Terra. Vedi il seguito :</P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
441
2729796fb896 Italian translation
frodone
parents:
diff changeset
442 <P>Codificare da DVD, titolo 2 :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
443 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
444
2729796fb896 Italian translation
frodone
parents:
diff changeset
445 <P>Lo stesso, ma con la famiglia libavcodec, compressione MJPEG :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
446 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
447
2729796fb896 Italian translation
frodone
parents:
diff changeset
448 <P>Codifica da DVD, titolo 2, con ridimensionamento :<BR>
5994
dcc6dde0d168 uptated to english version
frodone
parents: 5583
diff changeset
449 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -vop scale=640:480 -sws 2 -o titolo2.avi</CODE></P>
4867
2729796fb896 Italian translation
frodone
parents:
diff changeset
450
2729796fb896 Italian translation
frodone
parents:
diff changeset
451 <P>Codifica da HTTP :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
452 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder http://mplayer.hq/example.avi -o example.avi</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
453
2729796fb896 Italian translation
frodone
parents:
diff changeset
454 <P>Codifica da pipe :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
455 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- -</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
456
2729796fb896 Italian translation
frodone
parents:
diff changeset
457 <P>Codificare file *.vob multipli :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
458 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;cat *.vob | mencoder &lt;opzioni&gt; -</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
459
2729796fb896 Italian translation
frodone
parents:
diff changeset
460 <P>Codifica da sintonizzatore TV (per le opzioni <A HREF="documentation.html#2.5">vedi la sezione input TV !</A>) :<BR>
2729796fb896 Italian translation
frodone
parents:
diff changeset
461 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -tv on:driver=v4l:width=640:height=480 &lt;opzioni&gt;</CODE></P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
462
2729796fb896 Italian translation
frodone
parents:
diff changeset
463 <P>Per tutte le opzioni disponibili, <B><I>controlla la pagina man di MEncoder !</I></B>
2729796fb896 Italian translation
frodone
parents:
diff changeset
464 <P>
2729796fb896 Italian translation
frodone
parents:
diff changeset
465 </FONT>
2729796fb896 Italian translation
frodone
parents:
diff changeset
466 </BODY>
2729796fb896 Italian translation
frodone
parents:
diff changeset
467 </HTML>