Index: encoding-guide.xml =================================================================== --- encoding-guide.xml (revision 22408) +++ encoding-guide.xml (working copy) @@ -4270,13 +4270,51 @@ -An example with VP3 compression: +An example to convert an ISO DVD trailer to a vp6 flv 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 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 in 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 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. + +