LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get avi input into labview

i am trying to get avi into labview and then convert it to bitstream ....can anyone help me......
Regards
0 Kudos
Message 1 of 11
(5,091 Views)
Use activex container to get ur media player.Use  a property node to play around.
Message 2 of 11
(5,089 Views)
can u be a little more specific ..i am new to matlab... how to use active x and property node ... i have read the help file but cannot understand it queit well...help me out.....
Regards
0 Kudos
Message 3 of 11
(5,071 Views)

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?



David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
0 Kudos
Message 4 of 11
(5,053 Views)

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

Regards
0 Kudos
Message 5 of 11
(5,039 Views)

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.

David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
0 Kudos
Message 6 of 11
(5,017 Views)

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



Message Edited by nolsqn on 06-19-2008 11:01 PM
Regards
0 Kudos
Message 7 of 11
(5,001 Views)

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 🙂


David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
0 Kudos
Message 8 of 11
(4,949 Views)

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

Regards
0 Kudos
Message 9 of 11
(4,922 Views)
Where can I find information / documentation on the different properties and methods available for this control?
0 Kudos
Message 10 of 11
(4,519 Views)