Index: encoding-guide.xml =================================================================== --- encoding-guide.xml (revision 22272) +++ encoding-guide.xml (working copy) @@ -4270,13 +4270,47 @@ -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 codecs 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 dir of MPlayer source. +To build on Linux this can be done using wine: +winegcc getopt.c vfw2menc.c -o vfw2menc -lwinmm + +To build on Windows in Mingw use: +gcc getopt.c vfw2menc.c -o vfw2menc.exe -lwinmm + + + +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 -s secondpass.mcf. + + + +Windows users can use -xvfwopts codec=vp6vfw.dll:compdata=dialog to have +the codec dialog display before encoding starts. + +