LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

frames to avi

how can i convert frames into to avi file....meaning that i first converted avi into frames .....now i need to to convert these frames again into avi .........
0 Kudos
Message 1 of 8
(3,873 Views)
And why do you want to do that when you have the avi file?
0 Kudos
Message 2 of 8
(3,859 Views)
You should be able to use the NI Vision Module to do this. Or, you can use an API, such as Xvid or the Windows Media Audio and Video API.
0 Kudos
Message 3 of 8
(3,846 Views)

Hi Everyone,

I can think of several reasons why you would like to do this.  It should not be difficult to accomplish really.  The functions that you need in order manipulate AVI’s are installed with IMAQ not the Vision Development Module.  I would suggest taking a look at this knowledgebase that discusses what functions are installed with IMAQ.  Which VI's are Installed with NI-IMAQ?     So if you have IMAQ installed you should have support for it.  I would suggest taking a look at some of the examples that ship with IMAQ.  Specifically the Sequence and Save to AVI.vi and Read AVI Example.vi.  I think with a little work you should be able combine these two VI’s to do what you would like to do. 

Adam H
National Instruments
Applications Engineer
0 Kudos
Message 4 of 8
(3,836 Views)
hi i have seen the example.. what i cant understand is that why do i need a waveform graph and time embedded with each frame ...further if there can be some sort of discription other than the given on the VI.
0 Kudos
Message 5 of 8
(3,824 Views)

@Adam_H wrote:

Hi Everyone,

The functions that you need in order manipulate AVI’s are installed with IMAQ not the Vision Development Module.  


Thanks for correcting that. I can never get those two straight. Smiley Very Happy
0 Kudos
Message 6 of 8
(3,811 Views)
hi .. also if someone could tell me that how in the read data write avi.vi example ..only one window is used by for both purpose...meaning that i want to display two videos how can i use a single window to display both of the videos one by one . thnx
0 Kudos
Message 7 of 8
(3,787 Views)

Hi ShadyAzz,

You do not need a waveform graph with each frame.  That example is simply showing that it can be done if you would like to have the graph.  I think it might be beneficial if you gave us a little more explanation of what you are trying to do because as I understand it these examples do what you want. 

In the AVI Read Write With Data Example.vi the image displayed is that of the written AVI with the data that was written to it.  I do not know how you would use one image display to display two different videos.  I think the best way to do this would be to use two image displays to show both sides of the videos.

Adam H
National Instruments
Applications Engineer
0 Kudos
Message 8 of 8
(3,775 Views)