07-16-2014 01:45 AM
Hi all,
I need to write u8 images into avi file. I am using AVI2 Write Frame for this operation. But when I read these images they are in U32 RGB format, as shown by AVI2 Get Info . I have searched through net and found that all vision version after 7.1.1 do support writing U8 images. But I am using Vision 13.0.0 and still getting the same problem. How can I avoid the problem?
OS: Windows 7
Codecs Tried: Microsoft Video 1,Intel IYUV codec,Cinepak Codec by Radius,FF Video Codec 1 (FFV1) (NI Vision),Motion JPEG(NI Vision),Y800 Uncompressed Grey Scale (NI Vision),YUV 4:2:0 Planar (NI Vision).
I am posting an example code of mine.
Thanks in advance.
07-17-2014 12:38 AM
Hi,
It seems that the problem occurs in reading the avi file using avi2 open file . Because the IMAQ AVI2 Get Info provides output of U8 if used with the write session and U32 with read session. Is this a bug or are there any means to avoid this?