comparison DOCS/xml/en/encoding-guide.xml @ 17103:9722eecad127

fixes suggested by The Wanderer and Corey
author gpoirier
date Mon, 05 Dec 2005 19:20:48 +0000
parents e2340cf00456
children 64decafd9108
comparison
equal deleted inserted replaced
17102:85a668c410ec 17103:9722eecad127
1043 <sect3 id="menc-feat-dvd-mpeg4-resolution-bitrate-compute"> 1043 <sect3 id="menc-feat-dvd-mpeg4-resolution-bitrate-compute">
1044 <title>Computing the resolution</title> 1044 <title>Computing the resolution</title>
1045 <para> 1045 <para>
1046 The following steps will guide you in computing the resolution of your 1046 The following steps will guide you in computing the resolution of your
1047 encode without distorting the video too much, by taking into account several 1047 encode without distorting the video too much, by taking into account several
1048 information about the souce video. 1048 types of information about the source video.
1049 First, you should compute the encoded aspect ratio: 1049 First, you should compute the encoded aspect ratio:
1050 <systemitem>ARc = (Wc x (ARa / PRdvd )) / Hc</systemitem> 1050 <systemitem>ARc = (Wc x (ARa / PRdvd )) / Hc</systemitem>
1051 <itemizedlist> 1051 <itemizedlist>
1052 <title>where:</title> 1052 <title>where:</title>
1053 <listitem><para> 1053 <listitem><para>
1093 are not enough bits to code the information of each macroblock. (MPEG4, like 1093 are not enough bits to code the information of each macroblock. (MPEG4, like
1094 many other codecs, groups pixels by blocks of several pixels to compress the 1094 many other codecs, groups pixels by blocks of several pixels to compress the
1095 image; if there are not enough bits, the edges of those blocks are 1095 image; if there are not enough bits, the edges of those blocks are
1096 visible.) 1096 visible.)
1097 It is therefore wise to take a CQ ranging from 0.20 to 0.22 for a 1 CD rip, 1097 It is therefore wise to take a CQ ranging from 0.20 to 0.22 for a 1 CD rip,
1098 and 0.26-0.28 for 2 CDs with standard encoding options. 1098 and 0.26-0.28 for 2 CDs rip with standard encoding options.
1099 More advanced encoding options such as those listed here for 1099 More advanced encoding options such as those listed here for
1100 <link linkend="menc-feat-mpeg4-lavc-example-settings"><systemitem class="library">libavcodec</systemitem></link> 1100 <link linkend="menc-feat-mpeg4-lavc-example-settings"><systemitem class="library">libavcodec</systemitem></link>
1101 and 1101 and
1102 <link linkend="menc-feat-xvid-example-settings"><systemitem class="library">XviD</systemitem></link> 1102 <link linkend="menc-feat-xvid-example-settings"><systemitem class="library">XviD</systemitem></link>
1103 should make it possible to get the same quality with CQ ranging from 1103 should make it possible to get the same quality with CQ ranging from
1104 0.18 to 0.20 for a 1 CD rip, and 0.24-0.26 for 2 CDs 1104 0.18 to 0.20 for a 1 CD rip, and 0.24-0.26 for 2 CDs rip.
1105 With MPEG-4 ASP codecs such as <systemitem class="library">x264</systemitem>, 1105 With MPEG-4 ASP codecs such as <systemitem class="library">x264</systemitem>,
1106 you can use a CQ ranging from 0.14 to 0.16 with standard encoding options, 1106 you can use a CQ ranging from 0.14 to 0.16 with standard encoding options,
1107 and should be able to go as low as 0.10 to 0.12 with 1107 and should be able to go as low as 0.10 to 0.12 with
1108 <link linkend="menc-feat-x264-example-settings"><systemitem class="library">x264</systemitem>'s advanced encoding settings</link>. 1108 <link linkend="menc-feat-x264-example-settings"><systemitem class="library">x264</systemitem>'s advanced encoding settings</link>.
1109 </para> 1109 </para>
1113 the encoded content, a CQ of 0.18 may look just fine for a Bergman, contrary 1113 the encoded content, a CQ of 0.18 may look just fine for a Bergman, contrary
1114 to a movie such as The Matrix, which contains many high-motion scenes. 1114 to a movie such as The Matrix, which contains many high-motion scenes.
1115 On the other hand, it is worthless to raise CQ higher than 0.30 as you would 1115 On the other hand, it is worthless to raise CQ higher than 0.30 as you would
1116 be wasting bits without any noticeable quality gain. 1116 be wasting bits without any noticeable quality gain.
1117 Also note that as mentioned earlier in this guide, low resolution videos 1117 Also note that as mentioned earlier in this guide, low resolution videos
1118 need a bigger CQ (compared to for ex. DVD-resolution) to look good. 1118 need a bigger CQ (compared to for instance DVD-resolution) to look good.
1119 </para> 1119 </para>
1120 </sect3> 1120 </sect3>
1121 1121
1122 </sect2> 1122 </sect2>
1123 1123
2557 <row><entry>Description</entry><entry>Encoding options</entry><entry>speed (in fps)</entry><entry>Relative PSNR loss (in dB)</entry></row> 2557 <row><entry>Description</entry><entry>Encoding options</entry><entry>speed (in fps)</entry><entry>Relative PSNR loss (in dB)</entry></row>
2558 </thead> 2558 </thead>
2559 <tbody> 2559 <tbody>
2560 <row> 2560 <row>
2561 <entry>Very high quality</entry> 2561 <entry>Very high quality</entry>
2562 <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> 2562 <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:qns=2</option></entry>
2563 <entry>6fps</entry> 2563 <entry>6fps</entry>
2564 <entry>0dB</entry> 2564 <entry>0dB</entry>
2565 </row> 2565 </row>
2566 <row> 2566 <row>
2567 <entry>High quality</entry> 2567 <entry>High quality</entry>