[PD] Webcam not working in Gridflow on Ubuntu

Bastiaan van den Berg buzz at spacedout.nl
Tue Jun 28 00:15:47 CEST 2011


Here is a little trick I use for getting webcams working in different linux
programs :

- to get 'weird' v4l2 cameras working with 'normal v4l2 expecting' programs,
you can do this:

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so pdextended

this starts pdextended, but first overloads some v4l2 functions with the
ones in that library, which help in format conversion etc.

- to get v4l2 support in programs that are using the v4l interface :

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so pdextended


these tricks work with many many programs ;)

--
Regards,
buZz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110628/259b7ab0/attachment-0001.htm>


More information about the Pd-list mailing list