08-22-2011 04:45 AM
08-23-2011 04:15 AM
Hi Karkera,
You cannot directly use MPEG files in LabVIEW. You need to convert them into an AVI file.
As far as why we use AVI as our video file format, this is due to the fact that AVI is a container format, so it is easier for LabVIEW to interpret data from the video container.
If you still need to use MPEG file - I suggest using a 3rd party component and calling it through the ActiveX container.
For an example application that is very similar to your application, check out this. It reads sound from the sound card instead of a DAQ device, and analyzes the data instead of storing it, but modification should be relatively simple once you understand how it works (which admittedly is not simple).
08-23-2011 04:25 AM
Hello Karkera,
ffmpeg.exe called with system_exec.vi is an option.
08-23-2011 04:47 AM
Hi,
Thanks a lot for your response. To access avi in labview which toolkit I need to use? And to convert mpeg to avi again I should use third party software right? Actually I am not much expertise in vedio and audio stuffs with labview.
Suppose if the video is from a camera(real time continuos mode), what can be the solution.
08-23-2011 04:25 PM
Hi Karkera,
Are you capturing data or reading from a file? If so where is the sound coming into play?
The NI vision toolkit contains the tools you need to read avi files.
08-23-2011 06:40 PM
Hi,
Does vision supports to split audio from video?
I use both, a video file or video from a camera which contains sounds too.
I use labview 7.1. so Does vision supports labview7.1? Because i tried installing but could not get it.
08-24-2011 12:02 AM
Hi Karkera,
See if this helps: https://decibel.ni.com/content/docs/DOC-13856.
As for Vision Development Module, check the compatibility of your module version with LabVIEW version using this table: http://digital.ni.com/public.nsf/allkb/244E6DDF9A92A6CD8625730100629047
Good day.
09-04-2011 08:54 PM
Hi,
Is it possible to use avi features of labview to split and read/extract audio from a AVI video file without making use of third party softwares like ffmpeg? Lets consider my avi video file has both audio and video embedded. Can anybody elaborate this topic if you have any idea?
11-23-2011 11:02 AM
I am interested,too. I may be blind but I cannot see any VIs in the vision kit to handle the audio portion of a AVI file.
11-24-2011 12:36 AM
Vision toolkit doesn't support for audio extraction from video. Better you try with third part software.