To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to Grab and Save to an AVI format by using IMAQdx.
Description
You need to specify the frame rate that your camera will be acquiring at, as this will adjust the playback rate of the AVI video produced. As the while loop iterates, it adds every grabbed image to the AVI video as single frames, once your acquisition is complete the AVI file will playback at the pre-set frame rate.
Steps to Implement or Execute Code
Requirements
Software
LabVIEW 8.6 "or compatible"
NI Vision Acquisition Software 8.6 "or compatible"
Hardware
Compatible camera
Please see the following link to determine if your camera is supported
VI Snippet
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Great stuff!!!
But how can I add sound or audio acquired by microphone to the avi file, then I can play the avi with sound?
Hi, its so cool. but any body knows how to record in others formats? because a video 1 min = 200 megabits