Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

cant write u8 images into avi file

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 problemCat Sad. 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.

0 Kudos
Message 1 of 2
(4,937 Views)

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?

 

 

0 Kudos
Message 2 of 2
(4,919 Views)