LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture from Webcam using avicap32.dll

 
Is there any sample LabVIEW Program for capturing image or recording video from USB webcamera using WIN32 API's from avicap32.dll without need of having IMAQ Vision?
Thanks in advance for your help.
 
Message 1 of 7
(25,189 Views)
Sowji,
 
Though there is no direct example for using that particular dll, there are many examples that can be found by using the LabVIEW help, especially using the help >> Find Examples... and searching for DLL.  Even using the help and searching for call library function node will return many useful articles on using the call library function node.  Also, there are more articles on ni.com.  A search on our website for "external dll" or "using dlls" returned a couple of interesting articles that you may want to peruse.
 
 
 
Also, a search on Google returned a page describing some of the functions of the avicap32.dll that will be useful.
 
 
I hope this is usefull.  I think that after looking through these resources, you should have a good base to use this DLL with LabVIEW.  Have a great day.
Brian Coalson

Software Engineer
National Instruments
Message 2 of 7
(25,164 Views)

aHaHa, I already made the program my self to record the USB webcam by avicap.dll.......

Who what it? 

Working...
0 Kudos
Message 3 of 7
(24,393 Views)
He posted it here
0 Kudos
Message 4 of 7
(24,344 Views)

May i ask how to achieve the function of recording video stream to computer.

I search for the MSDN and it told two message can achieve the function.

 

1:user32.dll:SendMessageA
WM_CAP_SEQUENCE                   start record

 

2:user32.dll:SendMessageA
WM_CAP_SAVES                             stop and save file to computer

 

My question is how can i achieve this function by labview function node.

WM_CAP_PAL_SAVE
wParam = (WPARAM) 0;
lParam = (LPARAM) (LPVOID) (LPSTR) (szName);

 

how to input the szName into the labview.

0 Kudos
Message 5 of 7
(19,836 Views)

Can you post the vi that can record the video file .

i also want to achieve this function but do not konw how to use this message

WM_CAP_PAL_SAVE

 

 

Thank you very much

 

0 Kudos
Message 6 of 7
(19,824 Views)

Hi there,

 

I'm getting just black screen instead of video. Any ideas?

 

Cheers,

Alex

0 Kudos
Message 7 of 7
(16,685 Views)