Mercurial > mplayer.hg
comparison DOCS/xml/en/encoding-guide.xml @ 16535:5c8e764daa25
Document lavc audio codecs
author | gpoirier |
---|---|
date | Mon, 19 Sep 2005 22:29:36 +0000 |
parents | af5a9bd1663e |
children | 15563bd0874a |
comparison
equal
deleted
inserted
replaced
16534:cf10f859d829 | 16535:5c8e764daa25 |
---|---|
2219 You can encode to the following codecs (more or less up to date): | 2219 You can encode to the following codecs (more or less up to date): |
2220 | 2220 |
2221 <informaltable frame="all"> | 2221 <informaltable frame="all"> |
2222 <tgroup cols="2"> | 2222 <tgroup cols="2"> |
2223 <thead> | 2223 <thead> |
2224 <row><entry>Codec name</entry><entry>Description</entry></row> | 2224 <row><entry>Video codec name</entry><entry>Description</entry></row> |
2225 </thead> | 2225 </thead> |
2226 <tbody> | 2226 <tbody> |
2227 <row><entry>mjpeg</entry><entry> | 2227 <row><entry>mjpeg</entry><entry> |
2228 Motion JPEG | 2228 Motion JPEG |
2229 </entry></row> | 2229 </entry></row> |
2288 </tgroup> | 2288 </tgroup> |
2289 </informaltable> | 2289 </informaltable> |
2290 | 2290 |
2291 The first column contains the codec names that should be passed after the | 2291 The first column contains the codec names that should be passed after the |
2292 <literal>vcodec</literal> config, like: <option>-lavcopts vcodec=msmpeg4</option> | 2292 <literal>vcodec</literal> config, like: <option>-lavcopts vcodec=msmpeg4</option> |
2293 | |
2294 | |
2295 <informaltable frame="all"> | |
2296 <tgroup cols="2"> | |
2297 <thead> | |
2298 <row><entry>Audio codec name</entry><entry>Description</entry></row> | |
2299 </thead> | |
2300 <tbody> | |
2301 <row> | |
2302 <entry>mp2</entry> | |
2303 <entry>MPEG Layer 2</entry> | |
2304 </row> | |
2305 <row> | |
2306 <entry>ac3</entry> | |
2307 <entry>AC3, aka Dolby Digital</entry> | |
2308 </row> | |
2309 <row> | |
2310 <entry>adpcm_ima_wav</entry> | |
2311 <entry>IMA Adaptive PCM (4bits per sample, 4:1 compression)</entry> | |
2312 </row> | |
2313 <row> | |
2314 <entry>sonic</entry> | |
2315 <entry>Experimental lossy/lossless codec</entry> | |
2316 </row> | |
2317 </tbody> | |
2318 </tgroup> | |
2319 </informaltable> | |
2320 | |
2321 The first column contains the codec names that should be passed after the | |
2322 <literal>acodec</literal> config, like: <option>-lavcopts acodec=ac3</option> | |
2323 </para> | |
2324 | |
2325 <para> | |
2326 Contrary to <systemitem class="library">libavcodec</systemitem>'s video | |
2327 codecs, its audio codecs do not make a wise usage of the bits they are | |
2328 been given as they lack some minimal psychoacoustic model (if at all) | |
2329 which most other codec implementations feature. | |
2330 However, note that all these audio codecs are very fast and work | |
2331 out-of-the-box everywhere <application>MEncoder</application> has been | |
2332 compiled with <systemitem class="library">libavcodec</systemitem> (which | |
2333 is the case most of time), and do not depend on external libraries. | |
2293 </para> | 2334 </para> |
2294 | 2335 |
2295 <informalexample> | 2336 <informalexample> |
2296 <para> | 2337 <para> |
2297 An example, with MJPEG compression: | 2338 An example, with MJPEG compression: |