PDA

View Full Version : Video event data recorder - Ring buffer to video



Fabio_T
March 23, 2009, 13:23:01
Hi,

I am using Imaginc Control 3.0 in VB 2005 VB.NET.

My project require the continuous video acquisition of
one or two video stream to separate ring buffers.

When a trigger conditin occour the ring buffer content
must be reordered to a new imagebuffer:
The older ring buffer frame must be copied in the first frame
of the new image buffer, the newer frame in the ring buffer must be
copied into the last frame of the new image buffer.

The reorder image buffer must be used to create a video file.

Can Imaging Control execute this function
(video file from imagebuffer) ?

Can i use FrameHandlerSink for this function ?
If Yes can you show me a code sample ?

Thank's for the support.

Stefan Geissler
March 23, 2009, 14:14:43
Hello,

Please have a look at the "iterate an image sequence" sample. (http://www.imagingcontrol.com/en_US/library/dotnet/iterating-an-image-sequence/ ). This sample captures into a ringbuffer and stops the capture if an event has occured. I think this is a good point for starting.

Fabio_T
March 23, 2009, 14:28:49
Hi Stefan,

the acquisition from the cameras to the ring buffer
is working without problems.
Now i have the frames stored into the image buffer,
i can view the frames and now i'am try to
reorder the frames into another imagebuffer.

I must create a video file with the frames collected.

My question is:
What is the method to create an video file from
the image buffer ?
If it's possible via IC Imaginc Control
can You send me an code sample ?

Thank's for the support

Fabio

Stefan Geissler
March 23, 2009, 17:27:07
Fabio,

Creating a video file from image buffers is a hard topic. In earlier times I had a DLL, that supports video for windows, that means one or two codes were supported. I guess, somewhere I have this DLL and could send it to you. You may contact me via http://www.imagingcontrol.com/en_US/support/case/