08-26-2010 12:38 AM
I acquire video frame from my 1394 camera, and acquire sound from my computer microphone, that is good and done separately.
But I need to combine those two files( audio->wav, video->avi) into a single avi file in the run-time, which I can play the avi with sound with other players, like: windows media player.
Could someone please give me some hint? I asked NI support, but they cannot give me a good solution.
I found some companies sold the plugin, but I think that's not my option.
Solved! Go to Solution.
08-26-2010 11:04 AM
One option is to just play the video and audio files in your program. You can keep them in sync (though if they start together they should stay in sync). You can control Windows Media Player using ActiveX to do this.
One other option (also using ActiveX) is to purchase Quicktime Pro (USD$30) and you can automate the combining of the files.
I am sure there are other ways - these are just two that I have used before and had good results.
08-26-2010 08:18 PM
Do you have the example code which using Quicktime Pro to combine them?
I will really appreciate that.
08-27-2010 12:00 AM
Sorry it's only part of a large application. But ActiveX isn't too hard to figure out - documentation and choosing property nodes and invoking methods.
08-27-2010 07:58 AM
Try VirtualDub. You should be able to call it from LabVIEW using either command line or DLL calls (I have actually done neither). It is the basis for many video editing applications.
08-27-2010 10:50 AM
Do you have some examples in LabVIEW?
08-30-2010 07:34 AM
Unfortunately, no, since I have never done it. A quick Google search did not reveal anything, either.
Another possibility is using ffmpeg from System Exec. This may be easier, since ffmpeg was designed as a command line utility and VirtualDub was not.
I have not done this, either...
08-31-2010 12:59 PM
DFGray
The Link of download page is not available now.
Do you have the file, and documentation?
Could you please send to my mailbox, thank you!
Qia.sky@gmail.com
08-31-2010 01:07 PM
Try this location. The download (direct link) was working when I checked.
09-01-2010 07:14 AM
Did you ever try it in Windows 64bit platform?