LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

grab frames from mpeg video without framegrabber card?

i would like to grab images from an mpeg playing on my computer. ideally the video would play in an ActiveX container and my VI would grab an image when it was ready. the application is for testing of computer vision algorithms. you can email me at ruel@vt.edu with suggestions. thank you.
0 Kudos
Message 1 of 6
(3,165 Views)
In order to grab images from the mpeg you would need an activeX control that will play the mpeg. However in addition to playing it you will need an object that has a method like Grab Image, or Save Current Image.
A work around may be to use the Get Panel Image VI method, and just take snapshots of the Front Panel as the mpeg plays.
0 Kudos
Message 2 of 6
(3,165 Views)
thanks Evan. but im trying to grab the images for immediate processing by my algorithm. and the image should be only the video, not the entire front panel. is there a way to do this?
0 Kudos
Message 3 of 6
(3,165 Views)
vtruel wrote in message news:<50650000000500000020290100-1042324653000@exchange.ni.com>...
> thanks Evan. but im trying to grab the images for immediate
> processing by my algorithm. and the image should be only the video,
> not the entire front panel. is there a way to do this?

Hi,
IVision has functions for grabbing frames out of mpeg file (under the
media file group)and you can process them frame by frame. Get a demo
version to try out at:
http://www.hytekautomation.com/Products/IVision.html

Feel free to ask me any questions regarding the software.
Irene
irene_he@hytekautomation.com
0 Kudos
Message 4 of 6
(3,165 Views)
vtruel wrote in message news:<50650000000500000020290100-1042324653000@exchange.ni.com>...
> thanks Evan. but im trying to grab the images for immediate
> processing by my algorithm. and the image should be only the video,
> not the entire front panel. is there a way to do this?

Try VideoEdit ActiveX Control that can grab frame from mpeg,avi,wmv file.
download from
www.viscomsoft.com/videoedit.htm
0 Kudos
Message 5 of 6
(3,165 Views)
i answered my own question. found some AVI read and write VIs on NI LabVIEWzone. they work pretty well.
0 Kudos
Message 6 of 6
(3,165 Views)