Hello,
I use the installed x264vfw codec within a small MSVC++ application to compress short AVIs (without audio).
I am able to open the FFMPEG configuration dialog via:
C:\windows\rundll32.exe x264vfw.dll,Configure

But now I need your help:
Its parameters are stored into the registry (...Software/GNU/x264), but when will they be applied during compression?

Case 1) Open Configure dialog (FFMPEG):
PAVISTREAM pStream;
AVICOMPRESSOPTIONS CompressOptions;
COMPVARS CompVars;
// preset by zeroes...
CompVars.dwFlags = ICMF_COMPVARS_VALID;
CompVars.fccType = CompressOptions.fccType;
CompVars.fccHandler = CompressOptions.fccHandler;
CompVars.lQ = CompressOptions.dwQuality;
CompVars.lpState = CompressOptions.lpParms;
CompVars.cbState = CompressOptions.cbParms;
CompVars.lKey = ...;
UINT uiFlags = ICMF_CHOOSE_KEYFRAME;
// MS Windows Dialog
ICCompressorChoose(hWnd, uiFlags, NULL, pStream, &CompVars, NULL);

How to set the CompressOptions.lpParms properly?
Is there any documentaion or help to understand the relation to the parameters in the dialog?
Are the changed parameters restored to the structure CompVars?
I get always "fccHandler = H264", even if I change the dialog entry to FourCC=X264...
If I recall the dialog with the returned CompVars I get not the expected result ...

Case 2) Compress AVI stream

PAVISTREAM pStream;
PAVISTREAM pCompressedStream;
AVICOMPRESSOPTIONS CompressOptions;
AVIMakeCompressedStream(&pCompressedStream, pStream, &CompressOptions, NULL);

Are these CompressOptions valid during compression or are the parameters read from the registry?
If they are applied from the registry: are they refreshed at every call or just initialised once after first access?

Thank you for your hints!
Lena