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
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
x264vfw x64 question
By Danzaemon in forum ProgrammingReplies: 16Last Post: 16th Mar 2012, 15:35 -
Updating X264vfw
By hech54 in forum Video ConversionReplies: 1Last Post: 30th Jan 2011, 08:16 -
AE CS5 export x264vfw
By Impylse in forum EditingReplies: 3Last Post: 9th Oct 2010, 15:32 -
X264VFW headsup and links
By Calidore in forum Video ConversionReplies: 2Last Post: 8th Apr 2010, 03:17 -
Help with x264vfw
By ingeralhaosului in forum Video ConversionReplies: 1Last Post: 14th Jun 2008, 15:00