10-21-2009 03:27 AM
Hi!
How do i save an avi
clip? I have spend some time reading Ni posts, knowledge base, ect. And 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
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
<Post orginaly posted @ Machine Vision
http://forums.ni.com/ni/board/message?board.id=200&thread.id=25077 >
10-22-2009 02:35 AM