View Full Version : Saving processed images as AVI?

December 30, 2010, 16:19:04

I am writing an application that snaps 2 bitmaps at different times and then combines them into a third bitmap. This bitmap3 is then saved to disk and the process then repeats. This means I end up with lots of bitmaps3 in a disk folder.

Is it possible to save these bitmaps3 to an AVI video so I end up with a single video file rather than individual bitmaps? I don't need to show the live video at runtime.

It looks like MediaStreamSink might be able to do this from the documentation. If so, is there a C# sample somewhere?


December 30, 2010, 19:05:53
I just found an earlier post that seems to suggest that this is not possible in IC.net.

Meantime, I found this C# routine that seems to do what I want:


I will post here if I get it to work.

Stefan Geissler
January 3, 2011, 10:01:05

Thank you for the link, but it looks for Video for Windows for me, that means you can not use DirectShow codecs. However, its a solution.

The other way is using frame filters in IC Imaging Control and use the standard IC functions for saving AVI files. You may have a look at this sample: http://www.imagingcontrol.com/en_US/library/dotnet/image-and-avi-capture/

January 9, 2011, 11:16:38
Thanks Stefan,

I am checking out this option now.