11-08-2016 09:49 PM
Hi,
I have a program written in CVI that uses the NI-IMAQ libraries to create an .avi file. Essentially the program calls imaqCreateAVI(...), then imaqWriteAVIFrame(...) repeatadly to write the frames, and then imaqCloseAVI(...) when it's done. The problem I have is that the program crashed while it was writing an .avi file (the computer ran out of disk space), so I have an .avi file that was partially written and never "finalized" by calling imaqCloseAVI(...). I would like to recover the the data if possble, but the .avi file seems to be unreadable - it won't play in Windows Media Player or VLC, and other programs like Avidemux or Gspot also don't recognize the file. If I try opening it with imaqOpenAVi(..), I get a "Function imaqOpenAVI: (errorCode == -1074395993 [0xbff604a7]). File I/O error." Any ideas? What exactly does imaqCloseAVI(...) do? Unfortunately I can't post the file (it's in the multiple GB range).
Thanks in advance for any help!
11-09-2016 01:02 AM
11-10-2016 06:55 PM
I've not had any problems going over 2GB in CVI, not sure about Labview. Obviously not closing the file and crashing is an improvement that needs to be made, but I would still like to recover the file I have if possible.
11-11-2016 04:18 AM
12-12-2016 08:36 AM - edited 12-12-2016 08:42 AM
Same problem over here, I have 2 files that weren't closed properly and I'd like to know if there is a way tho justo close this files, since all the frames are there.
I tried with VLC, but it doesn't work.