WEBCAM for WINDOWS

Previous topic - Next topic

Marmor

HI ,

IF YOU HAVE A WEBCAM and WINDOWS please TEST
http://www.file-upload.net/download-3076670/GLBMETHYL.zip.html

i know it beeps ;) but its a small test .
show me your win version and the Pixeldepth if it work or not .





Gregory Atlas

#1
Works for the second.

- Hauppauge TV-Card (320x480) Possible: RGB24, RGB32, YUY2, YVU9, UYVY, YV12, RGB 555 (16bit)
- Logitech Webcam (640x480) Possible: RGB24, l420
- Windows 7 (32bit)
.... Homepage ....

Ian Price

Works on Win 7 laptop with integrated  web cam.
I came. I saw. I played.

matchy

That very cool.

GIVEIMAGE .dll name is misspelled but other than that is works ok with Logitech HD.

Here I tried it in a loop so really look forward to higher video frame rate without the ding and error return with no dialogue box.

Code (glbasic) Select

GLOBAL ok%

animate_cam()

FUNCTION animate_cam:
LOCAL flag_loop=1

ok%=GetGLBWINHANDLE()
INITCAM()
GOSTART()
    CAPTURESTART()
// CAPTURESTOP()
//    CAPTURESTART()
WHILE flag_loop
IF KEY(01)=1
flag_loop=0
ENDIF
Saveimage()
LOADSPRITE "TEST.bmp",1
DRAWSPRITE 1,10,10
SHOWSCREEN
// SLEEP 200
WEND
CAPTURESTOP()
DISCONNECT()
END
ENDFUNCTION


Moebius

Very cool - I can watch TV in GLBasic!  This seems to work with most video inputs...
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

Marmor

i've written a new one with different Methods to get the Image but i wait for Kitty to code a cool solution for grabbing a image directly to a spritebuffer .
at this time u need bmp2avi if u will create  a avifile from the bmp
maybe i have a solution for "realtime" Avicapturing .


Marmor


Kitty Hello

That works pretty well. Is that GLBasic!?

Marmor

Finally you got a Webcam ?

Kitty Hello