Re: [ANNOUNCE] git tree repositories & libv4l

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 01/19/2010 12:08 PM, Mauro Carvalho Chehab wrote:
Hans Verkuil wrote:
On Tuesday 19 January 2010 06:34:18 Mauro Carvalho Chehab wrote:

<snip>

I do have one proposal: parts of our hg tree are independent of git: v4l2-apps,
possibly some firmware build code (not 100% sure of that), v4l_experimental,
perhaps some documentation stuff. My proposal is that we make a separate hg
or git tree for those. It will make it easier to package by distros and it makes it
easier to maintain v4l2-apps et al as well. It might even simplify Douglas's work
by moving non-essential code out of the compat hg tree.

It may make sense, but I have some comments about it:

<snip>

	4) v4l2-apps - I agree that splitting it could be a good idea, provided that we find
a way to handle the few cases where we have "example" applications at the media docs.


Note that v4l2-apps also contains libv4l, it so happens that I've been discussing moving
libv4l to its own git tree with Brandon Philips. Preferably to a place which also offers
some form of bug tracking. The advantages of having libv4l in its own tree are:

-it is maintained independent of the hg tree anyways
-it has regular versioned tarbal releases, it would be good to be able to tag these
 inside the used scm, which is hard to do when the scm is shared with other unrelated
 code which does not end up in said tarballs
-this means having a much smaller tree making it easier to clone
-no longer having an often old (stale) libv4l in the master hg repository
 (this is partially my fault as I should send pull requests for libv4l moe often,
  but why all this synchronization overhead when its independent anyways)

As said when discussing this with Brandon we were thinking about using something
like github, as that offers bug tracking too. But I can understand if you would prefer
to keep libv4l at linuxtv.org .

The last few fays I've been working on making a stand alone version of the uvcdynctrl
tool, which is meant to send a userspace database of vendor specific controls to
the uvcvideo driver, after which they will show up as regular v4l2 controls.

The uvcdynctrl utility is part of the libwebcam project:
http://www.quickcamteam.net/software/libwebcam

But given that libwebcam is unmaintained and not used by anything AFAIK, I'm patching
uvcdynctrl to no longer need it. The plan is to add uvcdynctrl to libv4l soon, as that
is needed to be able to control the focus on some uvc autofocus cameras.

This means that libv4l will be growing a set of utilities, currently just uvcdynctrl
(and its database and udev scripts), but given this precedent we could add more
utilities to libv4l. I wouldn't mind moving v4l2-ctl and v4l2-dbg to libv4l, this would
also have the advantage that since most distro's ship libv4l these utilities would
actually become available to end users (which AFAIK currently they are not in most
distros).

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux