06-17-2008 02:25 AM
06-17-2008 02:41 AM
06-17-2008 09:12 PM
06-18-2008 06:03 PM
Hello nolsqn,
I have a few questions about your software setup, and what exactly you mean by “bitstream”. Our NI-IMAQ functions palette contains several AVI functions. See http://digital.ni.com/public.nsf/allkb/0A4D5BF47FD3FF0186256E9A004FD671?OpenDocument “Writing a Compressed AVI File with IMAQ Vision” for an example. Which version of LabVIEW are you using? Do you have any NI-IMAQ or NI-VISION software installed?
06-18-2008 10:08 PM
hi
by bitstream i mean that i want to convert the avi file into 1's and 0's ...basically to bits ....i have tried the avi function pallate but i cannot get it done ...can u help in this regard???
thx
06-19-2008 04:28 PM
Hello nolsqn,
I have attached a simple example that demonstrates how to convert an AVI file into digital information. Note that this VI requires that you have the NI-VISION software installed on your machine. Also, this VI was created using LV 8.5 and will not work with previous versions. I hope this helps.
06-19-2008 10:55 PM - edited 06-19-2008 11:01 PM
to dj dave ni
thx it is really helpfull...i hav a few questions ....
first the two outputs there are two 2-D arrays one with U32 and the other with U64 ...so are they givin the same data for the same frame one as U32 and U64 ???
secondly since it is .avi format i cant see where is the audion information???
also the avi red frame.vi there is an output dataout what is it for ???
thx for the vi it really helps
06-23-2008 11:19 AM
Hello nolsqn,
The example in my previous post has 2 outputs, U32 and U64, to demonstrate that both 2-D array data types can be generated from the original U32 images (see the Image Create input on the IMAQ Create VI). You could use either one in your program, depending on what you want to do with the image data.
I have attached an example that shows how to use ActiveX controls to open an AVI file in LabVIEW. It uses Windows Media Player. I tested it out to make sure that both audio and video play. Post back and let me know how this works out. Glad to help 🙂
06-25-2008 12:20 AM
David G
Applications Engineer
National Instruments
man u are a life saver thnx for the help ..really ..... i will let u know for any future problemss....still thnx for everything
05-13-2009 08:07 PM