Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving / making avi with Vision in CVI

Hi!
Ok, I freaked out.
How do i save an avi clip? I have spend some time reading Ni posts, knowledge base, ect. And I can’t find any helpful information tied to cvi and avi.

I seem to have a problem when creating the image buffer for incoming frame. The function imaqWriteAVIFrame is telling me : “incompatible image size”, and as I checked more or less it has it point, because the imaqCreateImage function is returning an image of size (0,0). When I tried to change it manually by using imaqsetImageSize to some better size than double 0 for example (640, 480) it started to work – it mades a video, but all the frames in it are empty (black). The size of the video is changing depending on the duration.

I do not use any compression, ROI or SAW settings. The f. imaqCreateImage  I tried already with all possible parameters and still nothing.
I´m gona be grateful for any help.
 

P4, XP, CVI 8.5, NI-1408, IMAQ 3.7, Vision 8.5, C, PAL
0 Kudos
Message 1 of 3
(3,576 Views)

Guys!

You have´t got any sugestion where to look or seek for? 

0 Kudos
Message 2 of 3
(3,536 Views)
0 Kudos
Message 3 of 3
(3,525 Views)