Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAG AVI Get Filter Names comes back empty

Taking the list of codec from "DxDiag" doesn't work for every codec: for some of them LabVIEW say "Error -1074396006 occurred at IMAQ AVI Create Unknown compression filter."

Any suggestion?

Thanks

Message 11 of 21
(2,451 Views)

Pier Paolo -

 

The NI Vision Development Module doesn't work with all compression filters.  We first do a preliminary test to see if we can be compatible with the filter, and if this test fails then we don't return it in IMAQ AVI Get Filter Names, and we won't accept it in IMAQ AVI Create.  Is there a particular compression filter you're interested in using?

 

Greg Stoll

National Instruments

Greg Stoll
LabVIEW R&D
Message 12 of 21
(2,439 Views)

Dear Greg 

I want to save a video 8bits gray levels image without loosing quality. I'd like to compress it to have smaller files. 

Could you suggest me anyone compatible with LabVIEW2009?

Thanks

Pier Paolo 

 

Message 13 of 21
(2,437 Views)

Running "Read AVI example" I have this error:

"Error -1074395975 occurred at IMAQ AVI Read Frame

 DirectX has timed out reading or writing the AVI file.  When closing an AVI file, try adding an additional delay.  When reading an AVI file, try reducing CPU and disk load."

Does anybody know why and how to solve it?

Thanks

Pier Paolo Monticone 

 

 

 

0 Kudos
Message 14 of 21
(2,357 Views)

Pier Paolo -

 

I'd recommend trying the AVI Compressor Comparison Example - this will run an .avi file through all the filters available on your system and report how long each takes, how big the resulting .avi file is, and a measure of how good the quality is.

 

Greg Stoll

National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 15 of 21
(2,356 Views)

Thanks, however I've again the error:

 

Error -1074395975 occurred at IMAQ AVI Read Frame

  DirectX has timed out reading or writing the AVI file.  When closing an AVI file, try adding an additional delay.  When reading an AVI file, try reducing CPU and disk load. 

0 Kudos
Message 16 of 21
(2,354 Views)

Which .avi file are you trying to read when you get this error?  Can you read any of the ones in the examples folder?

 

Greg Stoll

National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 17 of 21
(2,353 Views)

I used one non compressed AVI file of 2GB because the default one give this error:

 

Error -1074395993 occurred at IMAQ AVI Open

  File I/O error.

 

0 Kudos
Message 18 of 21
(2,351 Views)

Hmm, the File I/O error makes it sound like something's wrong with the file.  Can you play it in Windows Media Player?

 

Also, do you have a smaller .avi to try reading?  It's possible the large size is causing problems...

 

Just throwing out some ideas,

 

Greg Stoll

National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 19 of 21
(2,347 Views)
0 Kudos
Message 20 of 21
(2,321 Views)