PDA

View Full Version : Controlling VP6 Encoding with mencoder


afrank
23rd March 2007, 21:34
Greetings - I don't follow this line of discussion nearly as closely as I should, so my apologies if this has already been beaten to death... I'm attempting to use On2's VP6 (vp6vfw.dll) codec with mencoder (in Debian unstable). I can produce some awful-looking flash files, which is a great first step, but I'm hoping I can get results >= ffmpeg's flash codec...

I've spent the past couple days googling around and grepping through source code for some manner of controlling this codec, to no avail. From the best I can tell, there should be a "settings.mcf" file to pass settings to the codec. Does anyone know the syntax of this file? Is this the way to specify things like bitrate for this codec?

Here's what I've got so far. The following command produces an error in mencoder ("Cannot read Compressor data file!") which goes away when the ":compdata=settings.mcf" bit is removed:

mencoder -v dvd://1 -chapter 1-1 -vf crop=<CROP>,kerndeint,scale=<SCALE> -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=settings.mcf -oac mp3lame -lameopts fast=1:abr:br=64 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -o testing.vp6.flv

Any information anyone could provide pertaining to VFW, or more specifically VP6/7 in mencoder, would be much appreciated...