[MPlayer-DOCS] CVS: main/DOCS/xml/en encoding-guide.xml,1.25,1.26
Guillaume Poirier CVS
syncmail at mplayerhq.hu
Sun Sep 25 18:44:01 CEST 2005
CVS change done by Guillaume Poirier CVS
Update of /cvsroot/mplayer/main/DOCS/xml/en
In directory mail:/var2/tmp/cvs-serv15931/en
Modified Files:
encoding-guide.xml
Log Message:
Adds encoding setting examples for lavc and XviD.
Remove the references to constant quant in x264 section (Jeff did not like that :-) ).
Put all examples in a table so that it they are easier to read.
Index: encoding-guide.xml
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/en/encoding-guide.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- encoding-guide.xml 23 Sep 2005 06:47:07 -0000 1.25
+++ encoding-guide.xml 25 Sep 2005 16:43:59 -0000 1.26
@@ -2507,6 +2507,62 @@
</itemizedlist>
</sect2>
+<sect2 id="menc-feat-mpeg4-lavc-example-settings">
+<title>Encoding settings examples</title>
+
+<para>
+ The following settings are examples of different encoding
+ options combinations that affect the speed VS quality tradeoff
+ given the same target bitrate.
+</para>
+
+<para>
+ All the encoding settings were tested on a 720x448 @30000/1001 fps
+ video sample, the target bitrate was 900kbps, and the machine was an
+ AMD-64 3400+ at 2400 Mhz in 64 bits mode.
+ Each encoding setting features the measured the encoding speed (in
+ frames per seconds) and the PSNR loss (in dB) compared to the "Very
+ high quality" setting.
+ Please understand that depending on your source, your machine type
+ and the development breakthrough, you may get very different results.
+</para>
+
+<para>
+<informaltable frame="all">
+<tgroup cols="4">
+<thead>
+<row><entry>Description</entry><entry>Encoding options</entry><entry>speed (in fps)</entry><entry>Relative PSNR loss (in dB)</entry></row>
+</thead>
+<tbody>
+<row>
+ <entry>Very high quality</entry>
+ <entry><option>vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:vme=5:naq:qns=2</option></entry>
+ <entry>6fps</entry>
+ <entry>0dB</entry>
+</row>
+<row>
+ <entry>High quality</entry>
+ <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo:psnr</option></entry>
+ <entry>15fps</entry>
+ <entry>-0.5dB</entry>
+</row>
+<row>
+ <entry>Fast</entry>
+ <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:turbo:psnr</option></entry>
+ <entry>42fps</entry>
+ <entry>-0.74dB</entry>
+</row>
+<row>
+ <entry>Realtime</entry>
+ <entry><option>vcodec=mpeg4:mbd=2:turbo:psnr</option></entry>
+ <entry>54fps</entry>
+ <entry>-1.21dB</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+</para>
+</sect2>
<sect2 id="custommatrices"><title>Custom inter/intra matrices</title>
@@ -3186,6 +3242,64 @@
</tgroup>
</informaltable>
</sect2>
+
+<sect2 id="menc-feat-xvid-example-settings">
+<title>Encoding settings examples</title>
+
+<para>
+ The following settings are examples of different encoding
+ options combinations that affect the speed VS quality tradeoff
+ given the same target bitrate.
+</para>
+
+<para>
+ All the encoding settings were tested on a 720x448 @30000/1001 fps
+ video sample, the target bitrate was 900kbps, and the machine was an
+ AMD-64 3400+ at 2400 Mhz in 64 bits mode.
+ Each encoding setting features the measured the encoding speed (in
+ frames per seconds) and the PSNR loss (in dB) compared to the "Very
+ high quality" setting.
+ Please understand that depending on your source, your machine type
+ and the development breakthrough, you may get very different results.
+</para>
+
+<para>
+<informaltable frame="all">
+<tgroup cols="4">
+<thead>
+<row><entry>Description</entry><entry>Encoding options</entry><entry>speed (in fps)</entry><entry>Relative PSNR loss (in dB)</entry></row>
+</thead>
+<tbody>
+<row>
+ <entry>Very high quality</entry>
+ <entry><option>chroma_opt:vhq=4:bvhq=1:quant_type=mpeg</option></entry>
+ <entry>16fps</entry>
+ <entry>0dB</entry>
+</row>
+<row>
+ <entry>High quality</entry>
+ <entry><option>vhq=2:bvhq=1:psnr:chroma_opt:quant_type=mpeg:psnr</option></entry>
+ <entry>18fps</entry>
+ <entry>-0.1dB</entry>
+</row>
+<row>
+ <entry>Fast</entry>
+ <entry><option>turbo:vhq=0:psnr</option></entry>
+ <entry>28fps</entry>
+ <entry>-0.69dB</entry>
+</row>
+<row>
+ <entry>Realtime</entry>
+ <entry><option>turbo:nochroma_me:notrellis:max_bframes=0:vhq=0:psnr</option></entry>
+ <entry>38fps</entry>
+ <entry>-1.48dB</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+</para>
+</sect2>
+
</sect1>
<sect1 id="menc-feat-x264">
@@ -3658,40 +3772,48 @@
The following settings are examples of different encoding
options combinations that affect the speed VS quality tradeoff
given the same target bitrate.
-
- If you are aiming at perfect quality without too much thinking and
- no size limitation, a low constant quantizer encode (like with
- <option>qp_constant=18</option>) with no B-frames
- (<option>bframes=0</option>) will probably look very good, but
- will needlessly spend lots of bits to encode details that could be
- coded more wisely using some advanced settings.
</para>
<para>
All the encoding settings were tested on a 720x448 @30000/1001 fps
video sample, the target bitrate was 900kbps, and the machine was an
AMD-64 3400+ at 2400 Mhz in 64 bits mode.
- Each encoding setting is followed by the encoding speed (in frames
- per seconds), the compression efficiency loss (in percent of bitrate)
- compared to the "very high quality" setting, and the PSNR loss (in dB).
- Please understand that depending on your source your machine type
+ Each encoding setting features the measured the encoding speed (in
+ frames per seconds) and the PSNR loss (in dB) compared to the "Very
+ high quality" setting.
+ Please understand that depending on your source, your machine type
and the development breakthrough, you may get very different results.
</para>
-<itemizedlist>
-<listitem><para><emphasis role="bold">Very high quality:</emphasis>
-<option>subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b</option>
-6fps, 0%, 0dB.
-</para></listitem>
-<listitem><para><emphasis role="bold">High quality:</emphasis>
-<option>subq=5:4x4mv:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:psnr</option>
-13fps, -13%, -0.89dB.
-</para></listitem>
-<listitem><para><emphasis role="bold">Fast:</emphasis>
-<option>subq=4:bframes=2:b_pyramid:weight_b:psnr</option>
-17fps, -20%, -1.48dB.
-</para></listitem>
-</itemizedlist>
+<para>
+<informaltable frame="all">
+<tgroup cols="4">
+<thead>
+<row><entry>Description</entry><entry>Encoding options</entry><entry>speed (in fps)</entry><entry>Relative PSNR loss (in dB)</entry></row>
+</thead>
+<tbody>
+<row>
+ <entry>Very high quality</entry>
+ <entry><option>subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b</option></entry>
+ <entry>6fps</entry>
+ <entry>0dB</entry>
+</row>
+<row>
+ <entry>High quality</entry>
+ <entry><option>subq=5:4x4mv:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:psnr</option></entry>
+ <entry>13fps</entry>
+ <entry>-0.89dB</entry>
+</row>
+<row>
+ <entry>Fast</entry>
+ <entry><option>subq=4:bframes=2:b_pyramid:weight_b:psnr</option></entry>
+ <entry>17fps</entry>
+ <entry>-1.48dB</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+</para>
</sect2>
</sect1>
More information about the MPlayer-DOCS
mailing list