View Full Version : Bitmap grad while streaming to disk

Mike Tyrrell
March 20, 2016, 20:46:55
I am writing an application which needs to stream video to disk at high fps rate but also grab a bitmap (about every 1/10 of a second) for some analysis within the application.

Working through the code samples I have each element working separately

e.g. grabbing bitmap for analysis
MainGrabBmap = IcImagingControl1.ImageActiveBuffer.Bitmap

and Streaming to disk file
IcImagingControl1.AviStartCapture(AVIfilename, "DV Video Encoder")

However, when I try to use them together then the grabbing bitmap no longer works and I just get a black bitmap.

Grateful for any advice on where I'm going wrong with this approach.

Stefan Geissler
March 29, 2016, 10:17:51
Hello Mike

You may have a look at

"DV Video Encoder" is not a good choice, because it changes the video format to PAL or NTSC and also the playback rate.

Mike Tyrrell
May 10, 2016, 22:17:47
Sorry for the long delay in replying - work has kept me away from this project.

I tried to follow the link you posted but it re-directs to the software downloads page which I don't think is what you were trying to show me.


Stefan Geissler
May 13, 2016, 16:00:27

the new design of our website deleted the sample library. I moved the sample source code of the image and AVI capture to

Mike Tyrrell
May 23, 2016, 20:31:52
OK so would I have to write a filter from scratch (seems a lot of work) or is there one that already exists so I can capture the image into memory instead of writing to a file as shown in the sample code ?


Stefan Geissler
May 24, 2016, 09:26:18

there are two ways: As you suggested, use a samplem e.g. the sample from
c:\Users\stefan_geissler\Documents\IC Imaging Control 3.4\samples\C# 2010\Binarization\

or you use the frame filter wizard.

Did the sample on the Github not work for you?