Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jul : capCreateCaptureWindowA...WM_CAP_DLG_VIDEOCOMPRESSION

www.cryer.info
Managed Newsgroup Archive

capCreateCaptureWindowA...WM_CAP_DLG_VIDEOCOMPRESSION

Subject:capCreateCaptureWindowA...WM_CAP_DLG_VIDEOCOMPRESSION
Posted by:"-" (b..@bob.com)
Date:Fri, 13 Jul 2007 22:23:27

Hello,

I am using capCreateCaptureWindowA to capture video from cameras.

Everything is working well.

I send a message WM_CAP_DLG_VIDEOCOMPRESSION to the show the compression
dialog and the user changes the codec and settings.

I send WM_CAP_SET_SEQUENCE_SETUP and WM_CAP_FILE_SET_CAPTURE_FILE and
the recording starts with the desired compressing and stops when
instructed.

What I want to do is save the users compression settings.

I have not found a way to connect the handle from
capCreateCaptureWindowA to the compression manager.

WM_CAP_DLG_VIDEOCOMPRESSION calls ICCompressorChoose.

I can call ICCompressorChoose and see the same possible selections.

Starting and stopping the application and the compression settings are
not restored. They are lost between WM_CAP_DLG_VIDEOCOMPRESSION and
freeing the capture handle.

Any ideas on how to save and restore the user selections?

Thanks,

Mark

Replies:

www.cryer.info
Managed Newsgroup Archive