HI ,
IF YOU HAVE A WEBCAM and WINDOWS please TEST
http://www.file-upload.net/download-3076670/GLBMETHYL.zip.html (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 .
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)
Works on Win 7 laptop with integrated web cam.
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.
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
Very cool - I can watch TV in GLBasic! This seems to work with most video inputs...
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 .
http://www.file-upload.net/download-3094840/l-l.rar.html
my fastest capture programm
That works pretty well. Is that GLBasic!?
Finally you got a Webcam ?
yes. 9,90