BlitzMax Linux Webcam Module

Community Forums/Showcase/BlitzMax Linux Webcam Module

splinux(Posted 2006) [#1]
I've finally released the BMax Linux Webcam Module.

Here is the link:
http://irc.maxkelley.com/~splinux/maxlinuxwebcam.zip


For those who hasn't read my previous post: this is a module which will allow Linux Users to make programs using their own webcams with BlitzMax.


jfk EO-11110(Posted 2006) [#2]
Sounds cool. I cannot test it right now. What are the features? How much frames do you get per second and what resolutions does it support?


splinux(Posted 2006) [#3]
My webcam supports 320x240 and 640x480, and it works well with all of them.
It's programmed to work with any res supported by the webcam driver.

I didn't tested fps, but it goes pretty fast with 320x240, and a little slower with 640x480(there is more data flowing).

You can get a single image as a photo or acquire them within a loop. The example i gave with the module shows the second method.


jfk EO-11110(Posted 2006) [#4]
Very useful module. One more question: is it possible to use it with some kind of defaults and suppress any kind of config window?


splinux(Posted 2006) [#5]
What do you mean as "config window"? I can't understand.

However you can simply modify the TWebCam type's create function to do something like create(device="/dev/video0", width=320, height=240). Is that what you meant?


splinux(Posted 2006) [#6]
Oh, i've forgotten to put the new version, the v1.5, on the web.
It's only from this version that resolution swithing is possible.


splinux(Posted 2006) [#7]
New version updated.

go here: http://irc.maxkelley.com/~splinux/maxlinuxwebcam.zip to download the new version(the link is the same as the previous version).


splinux(Posted 2006) [#8]
Pre-compiled lib example using MaxGui, for those who would like to try without compiling it.

Download it at: http://irc.maxkelley.com/~splinux/BMax Linux Webcam example bin.zip