~ubuntu-branches/debian/squeeze/mplayer/squeeze

« back to all changes in this revision

Viewing changes to DOCS/HTML/it/menc-feat-mpeg.html

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2010-07-31 23:44:52 UTC
  • mfrom: (1.1.4 upstream) (8.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100731234452-j7yyrgsh1wustazr
Tags: 2:1.0~rc3++final.dfsg1-1
* upload to unstable
* enable mencoder and mplayer-gui package
* build again against the system FFmpeg 0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>9.5. Codificare in formato MPEG</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="MPlayer - Il Visualizzatore di film"><link rel="up" href="mencoder.html" title="Capitolo 9. Utilizzo base di MEncoder"><link rel="prev" href="menc-feat-handheld-psp.html" title="9.4. Codificare nel formato video per Sony PSP"><link rel="next" href="menc-feat-rescale.html" title="9.6. Ridimensionare filmati"><link rel="preface" href="howtoread.html" title="Come leggere questa documentazione"><link rel="chapter" href="intro.html" title="Capitolo 1. Introduzione"><link rel="chapter" href="install.html" title="Capitolo 2. Installazione"><link rel="chapter" href="usage.html" title="Capitolo 3. Utilizzo"><link rel="chapter" href="cd-dvd.html" title="Capitolo 4. Utilizzo CD/DVD"><link rel="chapter" href="tv.html" title="Capitolo 5. TV"><link rel="chapter" href="radio.html" title="Capitolo 6. Radio"><link rel="chapter" href="video.html" title="Capitolo 7. Dispositivi di uscita video"><link rel="chapter" href="ports.html" title="Capitolo 8. Ports"><link rel="chapter" href="mencoder.html" title="Capitolo 9. Utilizzo base di MEncoder"><link rel="chapter" href="encoding-guide.html" title="Capitolo 10. La codifica con MEncoder"><link rel="chapter" href="faq.html" title="Capitolo 11. Frequently Asked Questions"><link rel="appendix" href="bugreports.html" title="Appendice A. Come segnalare i bug (errori)"><link rel="appendix" href="skin.html" title="Appendice B. MPlayer skin format"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">9.5. Codificare in formato MPEG</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="menc-feat-handheld-psp.html">Indietro</a> </td><th width="60%" align="center">Capitolo 9. Utilizzo base di <span class="application">MEncoder</span></th><td width="20%" align="right"> <a accesskey="n" href="menc-feat-rescale.html">Avanti</a></td></tr></table><hr></div><div class="sect1" title="9.5. Codificare in formato MPEG"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="menc-feat-mpeg"></a>9.5. Codificare in formato MPEG</h2></div></div></div><p>
 
2
<span class="application">MEncoder</span> può generare file nel formato di output
 
3
MPEG (MPEG-PS).
 
4
Di solito, quando stai usando video MPEG-1 o MPEG-2, è perché stai codificando
 
5
per un formato vincolato come SVCD, VCD, o DVD.
 
6
Le richieste specifiche per questi formati sono spiegate nella sezione
 
7
<a class="link" href="menc-feat-vcd-dvd.html" title="10.8. Using MEncoder to create VCD/SVCD/DVD-compliant files">creazione di VCD e DVD</a>.
 
8
</p><p>
 
9
Per modificare il formato file di uscita di <span class="application">MEncoder</span>,
 
10
usa l'opzione <tt class="option">-of mpeg</tt>.
 
11
</p><div class="informalexample"><p>
 
12
Esempio:
 
13
</p><pre class="screen">
 
14
mencoder <em class="replaceable"><code>input.avi</code></em> -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video \
 
15
    -oac copy <em class="replaceable"><code>altre_opzioni</code></em> -o <em class="replaceable"><code>output.mpg</code></em>
 
16
</pre><p>
 
17
Creare un file MPEG-1 che possa essere riprodotto da sistemi con un supporto
 
18
multimediale minimale, come l'installazione di default di Windows:
 
19
</p><pre class="screen">
 
20
mencoder <em class="replaceable"><code>input.avi</code></em> -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 \
 
21
    -o <em class="replaceable"><code>output.mpg</code></em> -oac lavc -lavcopts acodec=mp2:abitrate=224 -ovc lavc \
 
22
    -lavcopts vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3
 
23
</pre><p>
 
24
Lo stesso, ma usando il muxer MPEG di
 
25
<code class="systemitem">libavformat</code>:
 
26
</p><pre class="screen">
 
27
mencoder <em class="replaceable"><code>input.avi</code></em> -o <em class="replaceable"><code>VCD.mpg</code></em> -ofps 25 -vf scale=352:288,harddup -of lavf \
 
28
    -lavfopts format=mpg -oac lavc -lavcopts acodec=mp2:abitrate=224 -ovc lavc \
 
29
    -lavcopts vcodec=mpeg1video:vrc_buf_size=327:keyint=15:vrc_maxrate=1152:vbitrate=1152:vmax_b_frames=0
 
30
</pre><p>
 
31
</p></div><div class="note" title="Consiglio:" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Consiglio:</h3><p>
 
32
Se per qualche motivo la qualità video del secondo passaggio non ti soddisfa,
 
33
puoi rilanciare la tua codifica video con un diverso bitrate di uscita,
 
34
sempre che tu abbia tenuto i file con le statistiche del passaggio precedente.
 
35
Questo è possbilie dato che l'obiettivo principale del file delle statistiche
 
36
è registrarsi la complessità di ciascun frame, che non dipende direttamente
 
37
dal bitrate. Dovresti tuttavia essere consapevole che otterrai i risultati
 
38
migliori se tutti i passaggi sono eseguiti con bitrate non troppo diversi tra
 
39
loro.
 
40
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="menc-feat-handheld-psp.html">Indietro</a> </td><td width="20%" align="center"><a accesskey="u" href="mencoder.html">Risali</a></td><td width="40%" align="right"> <a accesskey="n" href="menc-feat-rescale.html">Avanti</a></td></tr><tr><td width="40%" align="left" valign="top">9.4. Codificare nel formato video per Sony PSP </td><td width="20%" align="center"><a accesskey="h" href="index.html">Partenza</a></td><td width="40%" align="right" valign="top"> 9.6. Ridimensionare filmati</td></tr></table></div></body></html>