I just thought that you should know this:
V4L1 support was removed from the 2.6.38 kernel, so devices that weren't
switched to V4L2 till then won't work anymore (I don't know a list of
those though...)
Regards,
Sven
On 02.05.2011 21:22, Bernd wrote:
Hi,
after some more research into the entire V4L topic and after looking
into the 5dpo package which contains an almost complete V4L2
implementation (but unfortunately no code for V4l1 and I need both
versions) I have made a little unit that solves my problem in a very
simple way:
* It is using V4l1 API only
* It is using the libv4l1.so wrapper library for V4L2 compatibility
* libv4l1 will also transparently decode all known image formats and
encodings of the V2 cameras (V2 does not allow decoding inside the
driver anymore) into uncompressed BGR24 or YUV420p on the fly.
I have made a little camera application with it (similar to xawtv) and
it was the first day in my life where I could see how all my cameras
(V1 and V2) could work with the *same* application (some worked only
with xawtv, one worked only with mplayer, one did never work before at
all).
This unit will be part of a small application that I will soon release
under GPL. The Unit is licensed under modified LGPL.
Attached is the v4l1 unit. Enjoy!
Bernd
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus