Mercurial > mplayer.hg
comparison DOCS/xml/en/mencoder.xml @ 15931:545e7ec8bce7
Fixes suggested by Diego
author | gpoirier |
---|---|
date | Wed, 06 Jul 2005 21:10:02 +0000 |
parents | e51e67f19eff |
children | 97985bcfb3b3 |
comparison
equal
deleted
inserted
replaced
15930:f59fdc0d0d14 | 15931:545e7ec8bce7 |
---|---|
2729 bright or if it is a TFT monitor). | 2729 bright or if it is a TFT monitor). |
2730 </para></listitem> | 2730 </para></listitem> |
2731 | 2731 |
2732 <listitem><para> | 2732 <listitem><para> |
2733 <emphasis role="bold">qpel</emphasis> | 2733 <emphasis role="bold">qpel</emphasis> |
2734 Raise the number of candidate motion vectors's by increasing | 2734 Raise the number of candidate motion vectors by increasing |
2735 the precision of the motion estimation from halfpel to | 2735 the precision of the motion estimation from halfpel to |
2736 quarterpel. | 2736 quarterpel. |
2737 The idea is to find better motion vectors which will in return | 2737 The idea is to find better motion vectors which will in return |
2738 reduce bitrate (hence increasing quality). | 2738 reduce bitrate (hence increasing quality). |
2739 However, motion vectors with quarterpel precision require a | 2739 However, motion vectors with quarterpel precision require a |
2752 | 2752 |
2753 <listitem><para> | 2753 <listitem><para> |
2754 <emphasis role="bold">gmc</emphasis> | 2754 <emphasis role="bold">gmc</emphasis> |
2755 Tries to save bits on panning scenes by using a single motion | 2755 Tries to save bits on panning scenes by using a single motion |
2756 vector for the whole frame. | 2756 vector for the whole frame. |
2757 This almost always raise PSNR, but significantly slows down | 2757 This almost always raises PSNR, but significantly slows down |
2758 encoding (significantly slows down encoding). | 2758 encoding (as well as decoding). |
2759 Therefore, you should only use it when you have turned | 2759 Therefore, you should only use it when you have turned |
2760 <option>vhq</option> to the maximum. | 2760 <option>vhq</option> to the maximum. |
2761 <systemitem class="library">XviD</systemitem>'s GMC is more | 2761 <systemitem class="library">XviD</systemitem>'s GMC is more |
2762 sophisticated than DivX's, but is only supported by few | 2762 sophisticated than DivX's, but is only supported by few |
2763 standalone players. | 2763 standalone players. |
2822 <entry>23.976, 29.97</entry> | 2822 <entry>23.976, 29.97</entry> |
2823 <entry>4:3, 16:9 (only for 720x480)</entry> | 2823 <entry>4:3, 16:9 (only for 720x480)</entry> |
2824 </row> | 2824 </row> |
2825 <row> | 2825 <row> |
2826 <entry>NTSC DVD</entry> | 2826 <entry>NTSC DVD</entry> |
2827 <entry>352x240*</entry> | 2827 <entry>352x240<footnote id='fn-rare-resolutions'><para> |
2828 These resolutions are rarely used for DVDs because | |
2829 they are fairly low quality.</para></footnote></entry> | |
2828 <entry>MPEG-1</entry> | 2830 <entry>MPEG-1</entry> |
2829 <entry>1856 kbps</entry> | 2831 <entry>1856 kbps</entry> |
2830 <entry>48000 Hz</entry> | 2832 <entry>48000 Hz</entry> |
2831 <entry>AC3,PCM</entry> | 2833 <entry>AC3,PCM</entry> |
2832 <entry>1536 kbps</entry> | 2834 <entry>1536 kbps</entry> |
2866 <entry>25</entry> | 2868 <entry>25</entry> |
2867 <entry>4:3, 16:9 (only for 720x576)</entry> | 2869 <entry>4:3, 16:9 (only for 720x576)</entry> |
2868 </row> | 2870 </row> |
2869 <row> | 2871 <row> |
2870 <entry>PAL DVD</entry> | 2872 <entry>PAL DVD</entry> |
2871 <entry>352x288*</entry> | 2873 <entry>352x288<footnoteref linkend='fn-rare-resolutions'/></entry> |
2872 <entry>MPEG-1</entry> | 2874 <entry>MPEG-1</entry> |
2873 <entry>1856 kbps</entry> | 2875 <entry>1856 kbps</entry> |
2874 <entry>48000 Hz</entry> | 2876 <entry>48000 Hz</entry> |
2875 <entry>MP2,AC3,PCM</entry> | 2877 <entry>MP2,AC3,PCM</entry> |
2876 <entry>1536 kbps</entry> | 2878 <entry>1536 kbps</entry> |
2900 <entry>4:3</entry> | 2902 <entry>4:3</entry> |
2901 </row> | 2903 </row> |
2902 </tbody> | 2904 </tbody> |
2903 </tgroup> | 2905 </tgroup> |
2904 </informaltable> | 2906 </informaltable> |
2905 <para> | |
2906 * These resolutions are rarely used for DVDs because they are fairly low | |
2907 quality. | |
2908 </para> | |
2909 | 2907 |
2910 <para> | 2908 <para> |
2911 If your movie has 2.35:1 aspect (most recent action movies), you will | 2909 If your movie has 2.35:1 aspect (most recent action movies), you will |
2912 have to add black borders or crop the movie down to 16:9 to make a DVD | 2910 have to add black borders or crop the movie down to 16:9 to make a DVD |
2913 or VCD. | 2911 or VCD. |
2922 <sect3 id="menc-feat-vcd-dvd-constraints-gop"> | 2920 <sect3 id="menc-feat-vcd-dvd-constraints-gop"> |
2923 <title>GOP Size Constraints</title> | 2921 <title>GOP Size Constraints</title> |
2924 <para> | 2922 <para> |
2925 DVD, VCD, and SVCD also constrain you to relatively low | 2923 DVD, VCD, and SVCD also constrain you to relatively low |
2926 GOP (Group of Pictures) sizes. | 2924 GOP (Group of Pictures) sizes. |
2927 For 30 fps material the largest allows GOP size is 18. | 2925 For 30 fps material the largest allowed GOP size is 18. |
2928 For 25 or 25 fps, the maximum is 15. | 2926 For 25 or 25 fps, the maximum is 15. |
2929 The GOP size is set using the <option>keyint</option> option. | 2927 The GOP size is set using the <option>keyint</option> option. |
2930 </para> | 2928 </para> |
2931 </sect3> | 2929 </sect3> |
2932 | 2930 |
3030 <sect3 id="menc-feat-vcd-dvd-output-srate"> | 3028 <sect3 id="menc-feat-vcd-dvd-output-srate"> |
3031 <title>Sample Rate Conversion</title> | 3029 <title>Sample Rate Conversion</title> |
3032 <para> | 3030 <para> |
3033 If the audio sample rate in the original file is not the same as | 3031 If the audio sample rate in the original file is not the same as |
3034 required by the target format, sample rate conversion is required. | 3032 required by the target format, sample rate conversion is required. |
3035 This is acheived using the <option>-srate</option> and | 3033 This is achieved using the <option>-srate</option> and |
3036 <option>-af lavcresample</option> options together. | 3034 -af lavcresample options together. |
3037 </para> | 3035 </para> |
3038 <para> | 3036 <para> |
3039 DVD: | 3037 DVD: |
3040 <screen> | 3038 <screen> |
3041 -srate 48000 -af lavcresample=48000 | 3039 -srate 48000 -af lavcresample=48000 |
3074 <emphasis role="bold">acodec</emphasis>: | 3072 <emphasis role="bold">acodec</emphasis>: |
3075 <option>mp2</option> for VCD, SVCD, or PAL DVD; | 3073 <option>mp2</option> for VCD, SVCD, or PAL DVD; |
3076 <option>ac3</option> is most commonly used for DVD. | 3074 <option>ac3</option> is most commonly used for DVD. |
3077 PCM audio may also be used for DVD, but this is mostly a big waste of | 3075 PCM audio may also be used for DVD, but this is mostly a big waste of |
3078 space. | 3076 space. |
3079 Note that mp3 audio is not compliant for any of these formats, but | 3077 Note that MP3 audio is not compliant for any of these formats, but |
3080 players often have no problem playing it anyway. | 3078 players often have no problem playing it anyway. |
3081 </para></listitem> | 3079 </para></listitem> |
3082 | 3080 |
3083 <listitem><para> | 3081 <listitem><para> |
3084 <emphasis role="bold">abitrate</emphasis>: | 3082 <emphasis role="bold">abitrate</emphasis>: |
3176 <para> | 3174 <para> |
3177 For higher quality encoding, you may also wish to add quality-enhancing | 3175 For higher quality encoding, you may also wish to add quality-enhancing |
3178 options to lavcopts, such as <option>trell</option>, | 3176 options to lavcopts, such as <option>trell</option>, |
3179 <option>mbd=2</option>, and others. | 3177 <option>mbd=2</option>, and others. |
3180 Note that <option>qpel</option> and <option>v4mv</option>, while often | 3178 Note that <option>qpel</option> and <option>v4mv</option>, while often |
3181 useful with MPEG-4, are not usable in MPEG-1 or MPEG-2. | 3179 useful with MPEG-4, are not usable with MPEG-1 or MPEG-2. |
3182 Also, if you are trying to make a very high quality DVD encode, it may | 3180 Also, if you are trying to make a very high quality DVD encode, it may |
3183 be useful to add <option>dc=10</option> to lavcopts. | 3181 be useful to add <option>dc=10</option> to lavcopts. |
3184 Doing so may help reduce the appearance of blocks in flat-colored areas. | 3182 Doing so may help reduce the appearance of blocks in flat-colored areas. |
3185 Putting it all together, this is an example of a set of lavcopts for a | 3183 Putting it all together, this is an example of a set of lavcopts for a |
3186 higher quality DVD: | 3184 higher quality DVD: |
3198 </sect2> | 3196 </sect2> |
3199 | 3197 |
3200 <sect2 id="menc-feat-vcd-dvd-audio"> | 3198 <sect2 id="menc-feat-vcd-dvd-audio"> |
3201 <title>Encoding Audio</title> | 3199 <title>Encoding Audio</title> |
3202 <para> | 3200 <para> |
3203 VCD and SVCD supports MPEG-1 layer II audio, using one of | 3201 VCD and SVCD support MPEG-1 layer II audio, using one of |
3204 <systemitem class="library">toolame</systemitem>, | 3202 <systemitem class="library">toolame</systemitem>, |
3205 <systemitem class="library">twolame</systemitem>, | 3203 <systemitem class="library">twolame</systemitem>, |
3206 or <systemitem class="library">libavcodec</systemitem>'s mp2 encoder. | 3204 or <systemitem class="library">libavcodec</systemitem>'s MP2 encoder. |
3207 The libavcodec mp2 is far from being as good as the other two libraries, | 3205 The libavcodec MP2 is far from being as good as the other two libraries, |
3208 however it should always be available to use. | 3206 however it should always be available to use. |
3209 </para> | 3207 </para> |
3210 | 3208 |
3211 <para> | 3209 <para> |
3212 For DVD audio, <systemitem class="library">libavcodec</systemitem>'s | 3210 For DVD audio, <systemitem class="library">libavcodec</systemitem>'s |