[MPlayer-dev-eng] Re: [PATCH] mencoder vfw codecs configuration data support

Compn tempn at twmi.rr.com
Tue Oct 24 20:15:40 CEST 2006


Gianluigi Tiesi <mplayer <at> netfarm.it> writes:

> 
> This patch adds a new option to mencoder when used with -ovc vfw
> like -xvfwopts codecs=vp6vfw.dll:compdata=settings.mcf
> 

-xvfwopts codec=vp6vfw.dll:compdata=settings.mcf

> also using compdata=dialog, on win32 shows the codec
> configure dialog before starting the encoding.
> Attached also a small program that can be compiled
> with mingw, msvc2005 and with wingcc (yes it works also
> on linux) that can generate settings files by
> displaying the settings dialog.
> The patch follows the same code style of the original file.
> 
> Regards
> 


cool beans!

ok i tested the patch and your vfw2menc.exe program on mingw.

when encoding first pass with vp6, each frame i get 6 lines of mencoder 
messages!

1 duplicate frame(s)!
Writing header...
ODML: vprp aspect is 4:3.
Pos:  91.8s   2757f (59%) 23.80fps Trem:   1min   2mb  A-V:0.000 [0:128]

adding quiet takes it down to 2 per frame,

Writing header...
ODML: vprp aspect is 4:3.

adding -really-quiet seems to shut it up completely.

first pass runs fine, but 2nd pass (best quality or good quality) both cause 
crashes for me, could be a codec problem... also are you supposed to use the 
same output filename when using the binary codec?

compdata=firstpass.mcf -o pass1.avi
compdata=secondpass.mcf -o pass2.avi ?

vp7vfw crashes with compdata=dialog
avizlib.dll:compdata=dialog just says "Compressor configure dialog failed!" 
after opening the dialog and clicking ok/cancel. likewise iccvid.dll:
compdata=dialog

of course if you were just trying to get vp6vfw to work then ignore these cries.
reimar wants to know if its possible to make mcf config files without the gui.

thanks!

-compn




More information about the MPlayer-dev-eng mailing list