diff --git a/DOCS/xml/en/encoding-guide.xml b/DOCS/xml/en/encoding-guide.xml index 44c2b9ee51..31ec98d2f1 100644 --- a/DOCS/xml/en/encoding-guide.xml +++ b/DOCS/xml/en/encoding-guide.xml @@ -4270,13 +4270,53 @@ The FourCC code used by each codec is given in the parentheses. -An example with VP3 compression: +An example to convert an ISO DVD trailer to a VP6 flash video file +using compdata bitrate settings: -mencoder dvd://2 -o title2.avi -ovc vfw -xvfwopts codec=vp31vfw.dll -oac copy +mencoder -dvd-device zeiram.iso dvd://7 -o trailer.flv \ +-ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -oac mp3lame \ +-lameopts cbr:br=64 -af lavcresample=22050 -vf yadif,scale=320:240,flip \ +-of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames + + +Using vfw2menc to create a codec settings file. + + +To encode with the Video for Windows codecs, you will need to set bitrate +and other options. This is known to work on x86 on both *NIX and Windows. + + +First you must build the vfw2menc program. +It is located in the /TOOLS/ subdirectory of MPlayer source. +To build on Linux, this can be done using Wine: +winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32 + +To build on Windows in MinGW or Cygwin use: +gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32 + +To build on MSVC you will need getopt. +Getopt can be found in the original vfw2menc archive available at: +The MPlayer on win32 project. + + + +Below is an example with the VP6 codec. + +vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf + +This will open the VP6 codec dialog window. Repeat this step for the second pass +and use . + + + +Windows users can use to have +the codec dialog display before encoding starts. + +