annotate DOCS/Italian/encoding.html @ 7180:28677d779205

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