09-27-2007 01:16 PM
09-28-2007 09:03 AM
10-01-2007 09:52 AM
10-07-2007 10:06 AM
Hello Michael,
10-08-2007 10:12 AM
10-12-2007 08:06 AM
I’m using a PCI-1410 frame grabber tested with three video sources (standard RS-170) : infrared camera, handycam, DV-R. This was tested on two computers with distinct PCI-1410 card. I don’t see this problem if I save 8bits AVI files. I believe this most be a software issue concerning the image conversion to the pseudo 16 bits grayscale AVI.
For troubleshooting purpose, I use a simplified version of my software were I only grab a new image, convert it to RGB image and then save it to the AVI file. There is no resampling, resizing, processing or anything else done on the image. But perhaps I could try to do a bit shift or a resampling and see if the lines are still black (my images are 10bits grayscale). Maybe this will point out some bugs in my conversion algorithm.
And maybe I will just use 8 bits images. I’m not sure the 2 remaining bits worth all the time spent to try to save them.
David
PS.: Sorry for the long delay between replies. The new firewall settings prevent me to use the NI forums at work and I must post at home when I can 😞.
10-15-2007 04:15 PM
10-16-2007 09:10 AM
Michael,
As you suggested, I tried to use new buffers and arrays for the second AVI. I also tried to use a completely separate backgroundworker for the second acquisition sequence (consequently, with absolutely new buffers, arrays, etc.). I still get the same result. I get the same result using another computer too.
David
10-16-2007 10:29 PM
10-17-2007 08:26 AM
Hi Michael,
There is a very
simplified version of my code which can grab an AVI file (in pseudo-16bits
format) and playback the acquired files. I was able to reproduce my issue with
this code.
The files were saved
in the folder path you can type in the text box and a pop-up window will ask
for a file to read. Just select to play an AVI or grab from the card then click
the start button.
To reproduce my issue,
I grab two AVI files (or more) without closing the application. Every times, the
second and other AVI have the black stripes when playing it back.
There is the info on
the developing environment :
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)Microsoft .NET Framework
Version 2.0.50727Installed Edition: Standard
Microsoft Visual C++ 2005 77633-235-2943881-41426
VISION 7.1.1 and IMAQ 3.7.1
Windows XP Professional.
Thanks again for your help !
David