From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

REad Avi file error shows

I cannot open AVI file with data:

I get the error message:Error -1074396009 occurred at IMAQ AVI Open. An internal DirectX error has occurred.  Try upgrading to the latest version of DirectX. Possible reason(s): IMAQ Vision:  (Hex 0xBFF60497) An internal DirectX error has occurred.  Try upgrading to the latest version of DirectX.

 

Even the example "AVI Read Write With Data Example.vi" gives this error message.

 

 

Opening AVI files without data works OK.

Opening gray scale AVI files with data works OK.

 

But I could't open RGB AVI files with Data.

 

As error messae instructed I tried update DirectX. I am having latest DirectX (Version 11).

 

I tried reinstalling IMAQ-Vsion. But this not solving the issue.

 

In one page i read like, ffdshow mght cause this issue. (http://forums.ni.com/t5/Machine-Vision/problem-using-quot-open-AVI-quot-on-ffdshow-encoded-avi-files...

I tried uninstalling ffdshow. But I still have that isssue.

 

Is there any work around to open RGB AVI files with data? 

 

 

Thanks,

A.Balamurugan

0 Kudos
Message 1 of 7
(4,245 Views)
use some software like format factory software convert your avi file into
median quality avi flle
also use old version open avi file it work better without inserting any windows codec
you can find it in LV2012 and older
0 Kudos
Message 2 of 7
(4,216 Views)

Dear Hatef,

 

Thanks for the response.

 

I am facing the same issue with LV2012 vision pallates too. I need to use berrter quality file for procesing. 

 

Thanks,

0 Kudos
Message 3 of 7
(4,208 Views)
if your avi file size is not orge send me i will convert it for you if not
use this software
http://www.pcfreetime.com/
and convert your avi into medium avi
in this case labview will be open it easly
0 Kudos
Message 4 of 7
(4,205 Views)

I have attached the AVI file I generated using Labview example.

 

I could not open this AVI in Labview. I am able to open this AVI file in all players.

I shoud not loose any pixel details. So I can not compress the AVI.

 

I have tried with less quality images to create avi files. I am not able to open them too.

 

Thanks,

A.Balamurugan.

0 Kudos
Message 5 of 7
(4,173 Views)

this video is NI example video and it could easly open with labview ?!

I test it 

use this vi to open it 

0 Kudos
Message 6 of 7
(4,168 Views)

Hi,

I got same error response for the VI attached.

 

As I mentioned, I am getting this error in NI example VI also.

 

Thanks,

Bala 

0 Kudos
Message 7 of 7
(4,020 Views)