[Gridflow-dev] new [#camera] in GridFlow 9.9
Mathieu Bouchard
matju at artengine.ca
Tue May 4 12:28:56 EDT 2010
On Tue, 4 May 2010, olsen wrote:
> in gem it works with driver 0 & 1 which is should be due to the output
> v4l and not libv4l? ... [pix_video]: video driver 0: video4linux2 v4l2
> [pix_video]: video driver 1: video4linux v4l
Actually, that way of writing the difference happens only in [#camera]...
for the rest of GridFlow, both v4l1 and libv4l1 are handled by
[#io.videodev], and both v4l2 and libv4l2 would be handled by [#io.v4l2],
if it worked. It's just an option that [#camera] is telling [#in] when
you want to open a camera.
it's the difference between those :
[#in videodev /dev/video0] <- v4l1 kernel
[#in videodev /dev/video0 1] <- v4l1 library
In GEM, however, V4L and V4L2 either always use libv4l*, or never. It's a
compile-time option. If you do «ldd Gem.pd_linux» you may find out, I
suppose.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Gridflow-dev
mailing list