Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1074396009 while trying to read .avi file

Hi there,

 

I'm using LV10 and my VI is supposed to read and analyse an avi video. On my Laptop everything is working fine. Now if I use it on another system Error 1074396009 occurs. It seems as if there might be some codec problem although the video can be played in VLC or WMP without any problems.

 

Does LV10 only support certain kinds of codecs or what's causing my problem?

 

And most impotantly, how do I solve my problem?

 

 

Kind regards,

 

seasoo

0 Kudos
Message 1 of 3
(4,923 Views)

This is not a LabVIEW issue but more to do with the codecs that are installed in your system. I am not sure what version of NI-IMAQdx you are using, but you need to make sure that the right compression filter (pre-IMAQdx 4.7.2) or codec (post-IMAQdx 4.7.2) is being used to de-compress the AVI file.

 

Have a look at the following to figure out what compression filters or codecs are installed in your system:

Writing a Compressed AVI File with the IMAQ Vision Acquisition Software

 

Another good read:

AVI Codec Support with AVI2 in NI Vision Products

 

Make sure you have the right codec/compression filter installed and you should be good to go.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 3
(4,914 Views)

Alright, I tried to check my filters...

 

the machine that is working properly uses these filters:

totallyworking.png

 

 

another machine only works if I use avi files that use mjpeg compression. xvid and divx is not working. on this machine labview tells me these filters are available:

onlymjpeg.png

 

 

I got the feeling that LV2010 does not really know how to work with divx 6.9.2, am I right? Though I can't change the codecs on that machine, I'd like to know if upgrading this codec could help or do I have to remove it?

0 Kudos
Message 3 of 3
(4,901 Views)