# HG changeset patch # User compn # Date 1172857774 0 # Node ID 797bb7683eb0b996b576b34bdb485a7cfb3f67e5 # Parent ecaabc8f28cc78216d323b32c2d6f4a6575f88d6 add xvfwopts compdata and vfw2menc documentation and change to better mencoder example diff -r ecaabc8f28cc -r 797bb7683eb0 DOCS/xml/en/encoding-guide.xml --- a/DOCS/xml/en/encoding-guide.xml Fri Mar 02 15:14:14 2007 +0000 +++ b/DOCS/xml/en/encoding-guide.xml Fri Mar 02 17:49:34 2007 +0000 @@ -4270,13 +4270,53 @@ -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. + +