LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating security cam like video stream

Solved!
Go to solution

hey guys,

Im looking for some Ideas or resources to look through, or even a "this cant happen" to create a buffered video stream of a set period of time.

 

what I mean is a video feed where the data available to view is always like a 2 hour period of time. once data is over the set age its discarded.

 

is there some way to create like a dynamic memory space to store all this data and only write it to disk if an event happens?

 

Thanks

0 Kudos
Message 1 of 3
(2,620 Views)
Solution
Accepted by topic author pathare535

@pathare535 wrote:

 

what I mean is a video feed where the data available to view is always like a 2 hour period of time. once data is over the set age its discarded.

 

is there some way to create like a dynamic memory space to store all this data and only write it to disk if an event happens?

 

Thanks


The Good News is "Yes, this is doable".  We were doing some behavioral monitoring, and wanted to capture 2-3 seconds of video (at 30 fps) before an event and another 10-15 seconds after the event.  The experiment lasted 2-3 hours, and to make it more interesting, we wanted to do this to 24 "stations" at the same time (that's 24 Ethernet cameras and 24 "Event monitors" used to get trigger signals.

 

What you are describing was the method that was formerly being used for this project (and didn't scale well to 24 stations) -- save 15 seconds of data, and delete the saved file if "nothing interesting happens".  But that's even easier to do -- simply start recording your video, record for 2 hours, close the file and start the next file, and if there is no reason to keep the earlier file, delete it "on the fly".  LabVIEW being a Data Flow language, it is possible to have a half-dozen processes running at the same time making "decisions" for you and managing your data.

 

Note that 2 hours of video data takes a lot of disk space.

 

Bob Schor

Message 2 of 3
(2,581 Views)

Thanks! Ill have to give this a try

0 Kudos
Message 3 of 3
(2,516 Views)