Mercurial > mplayer.hg
comparison DOCS/xml/en/encoding-guide.xml @ 22529:1f6b48b2abcd
fix up some longer than 80 char lines , and use suggestion from Diego.
author | compn |
---|---|
date | Tue, 13 Mar 2007 15:49:03 +0000 |
parents | 797bb7683eb0 |
children | fca4fb6bba35 |
comparison
equal
deleted
inserted
replaced
22528:8bcff5c7e387 | 22529:1f6b48b2abcd |
---|---|
4289 To encode with the Video for Windows codecs, you will need to set bitrate | 4289 To encode with the Video for Windows codecs, you will need to set bitrate |
4290 and other options. This is known to work on x86 on both *NIX and Windows. | 4290 and other options. This is known to work on x86 on both *NIX and Windows. |
4291 </para> | 4291 </para> |
4292 <para> | 4292 <para> |
4293 First you must build the <application>vfw2menc</application> program. | 4293 First you must build the <application>vfw2menc</application> program. |
4294 It is located in the <filename class="directory">/TOOLS/</filename> subdirectory of MPlayer source. | 4294 It is located in the <filename class="directory">TOOLS</filename> |
4295 of the MPlayer source tree. | |
4295 To build on Linux, this can be done using <application>Wine</application>: | 4296 To build on Linux, this can be done using <application>Wine</application>: |
4296 <screen>winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32</screen> | 4297 <screen>winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32</screen> |
4297 | 4298 |
4298 To build on Windows in <application>MinGW</application> or <application>Cygwin</application> use: | 4299 To build on Windows in <application>MinGW</application> or |
4300 <application>Cygwin</application> use: | |
4299 <screen>gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32</screen> | 4301 <screen>gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32</screen> |
4300 | 4302 |
4301 To build on <application>MSVC</application> you will need getopt. | 4303 To build on <application>MSVC</application> you will need getopt. |
4302 Getopt can be found in the original <application>vfw2menc</application> archive available at: | 4304 Getopt can be found in the original <application>vfw2menc</application> |
4305 archive available at: | |
4303 The <ulink url="http://oss.netfarm.it/mplayer-win32.php">MPlayer on win32</ulink> project. | 4306 The <ulink url="http://oss.netfarm.it/mplayer-win32.php">MPlayer on win32</ulink> project. |
4304 </para> | 4307 </para> |
4305 <informalexample> | 4308 <informalexample> |
4306 <para> | 4309 <para> |
4307 Below is an example with the VP6 codec. | 4310 Below is an example with the VP6 codec. |
4308 <screen> | 4311 <screen> |
4309 vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf | 4312 vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf |
4310 </screen> | 4313 </screen> |
4311 This will open the VP6 codec dialog window. Repeat this step for the second pass | 4314 This will open the VP6 codec dialog window. |
4315 Repeat this step for the second pass | |
4312 and use <option>-s <replaceable>secondpass.mcf</replaceable></option>. | 4316 and use <option>-s <replaceable>secondpass.mcf</replaceable></option>. |
4313 </para> | 4317 </para> |
4314 </informalexample> | 4318 </informalexample> |
4315 <para> | 4319 <para> |
4316 Windows users can use <option>-xvfwopts codec=vp6vfw.dll:compdata=dialog</option> to have | 4320 Windows users can use |
4321 <option>-xvfwopts codec=vp6vfw.dll:compdata=dialog</option> to have | |
4317 the codec dialog display before encoding starts. | 4322 the codec dialog display before encoding starts. |
4318 </para> | 4323 </para> |
4319 </sect2> | 4324 </sect2> |
4320 </sect1> | 4325 </sect1> |
4321 | 4326 |