comparison DOCS/xml/en/encoding-guide.xml @ 22552:fca4fb6bba35

dont start newline with a space and readd subdirectory
author compn
date Wed, 14 Mar 2007 14:57:42 +0000
parents 1f6b48b2abcd
children 195fe655267c
comparison
equal deleted inserted replaced
22551:45d3681feb02 22552:fca4fb6bba35
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> 4294 It is located in the <filename class="directory">TOOLS</filename> subdirectory
4295 of the MPlayer source tree. 4295 of the MPlayer source tree.
4296 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>:
4297 <screen>winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32</screen> 4297 <screen>winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32</screen>
4298 4298
4299 To build on Windows in <application>MinGW</application> or 4299 To build on Windows in <application>MinGW</application> or
4300 <application>Cygwin</application> use: 4300 <application>Cygwin</application> use:
4301 <screen>gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32</screen> 4301 <screen>gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32</screen>
4302 4302
4303 To build on <application>MSVC</application> you will need getopt. 4303 To build on <application>MSVC</application> you will need getopt.
4304 Getopt can be found in the original <application>vfw2menc</application> 4304 Getopt can be found in the original <application>vfw2menc</application>
4305 archive available at: 4305 archive available at:
4306 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.
4307 </para> 4307 </para>
4308 <informalexample> 4308 <informalexample>
4309 <para> 4309 <para>
4310 Below is an example with the VP6 codec. 4310 Below is an example with the VP6 codec.
4311 <screen> 4311 <screen>
4312 vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf 4312 vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf
4313 </screen> 4313 </screen>
4314 This will open the VP6 codec dialog window. 4314 This will open the VP6 codec dialog window.
4315 Repeat this step for the second pass 4315 Repeat this step for the second pass
4316 and use <option>-s <replaceable>secondpass.mcf</replaceable></option>. 4316 and use <option>-s <replaceable>secondpass.mcf</replaceable></option>.
4317 </para> 4317 </para>
4318 </informalexample> 4318 </informalexample>
4319 <para> 4319 <para>
4320 Windows users can use 4320 Windows users can use
4321 <option>-xvfwopts codec=vp6vfw.dll:compdata=dialog</option> to have 4321 <option>-xvfwopts codec=vp6vfw.dll:compdata=dialog</option> to have
4322 the codec dialog display before encoding starts. 4322 the codec dialog display before encoding starts.
4323 </para> 4323 </para>
4324 </sect2> 4324 </sect2>
4325 </sect1> 4325 </sect1>
4326 4326