V4L2 Support Planned?

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

V4L2 Support Planned?

Post by Blazer »

I have some of the newer logitech cameras (Orbit MP, Quickcam 9000), that only currently work in linux with V4L2 and/or the uvc driver (So I cannot use them with ZM unless I use mjpeg-streamer as a proxy). I found this snippet at the V4LWiki:

"The linux-uvc driver is V4L2-only. This means applications which support V4L1 only will not work. V4L1 is officially deprecated, and have been removed from the kernel recently, so most drivers have or will switch to V4L2 anyway. "

So this got me to wondering if Zoneminder was going to eventually support V4L2. At first I would think it's not worth it just to support the UVC cameras, but if indeed V4L1 is depreciated and being removed from distros, maybe adding support for V4L2 isn't such a bad idea?

P.S. I would be willing to donate a Logitech Quickcam 9000 if it will help with development :)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Phil is working on V4L2 support, when it will be ready I do not know.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

It is about 95% done at the moment.
Phil
alklein
Posts: 1
Joined: Sat May 31, 2008 5:24 am
Location: Portland, Oregon

Status of support for v4l2?

Post by alklein »

Greetings,

I recently purchased a Logitech QuickCam Pro 9000, which requires the uvc driver and uses v42l. I came across this thread, and would also like to know when a new release is available which supports this camera.

I was able to configure zoneminder 1.23.3-1.deb to the point where I have a black square rather than a broken image link, but that's about it.

Thanks,

Adam
Adam L. Klein
<alklein>
-- Ubuntu 8.04, Logitech QuickCam Pro 9000
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

zoneminder wrote:It is about 95% done at the moment.
Awesome! Any rough idea on when it will be testable? Thanks for all your hard work!
sanddollars
Posts: 1
Joined: Wed Jun 04, 2008 4:00 pm

Post by sanddollars »

I'm also interested in seeing updates on the QuickCam Pro 9000 running with ZM, In its class, this USB cam has exceptional price/performance and can be useful placed near a ZM server.
sck_nogas
Posts: 25
Joined: Thu Jun 14, 2007 4:46 pm

Post by sck_nogas »

Since I'm having problems (as in I can no longer use ZM without re-compiling my kernel), has there been any further development on this?

If Phil was at 95% in april, does that mean we're at 99.842%? by now? :)

Scott
forkd
Posts: 2
Joined: Thu Jun 19, 2008 5:09 pm
Location: Long Beach, CA

Post by forkd »

sck_nogas wrote:Since I'm having problems (as in I can no longer use ZM without re-compiling my kernel), has there been any further development on this?

If Phil was at 95% in april, does that mean we're at 99.842%? by now? :)

Scott
When yo uboot up, press escape key and highlight the older kernel to boot to 'til it is resolved. That is what I'm doing.

This, of course will not resolve the quickcam issue
sck_nogas
Posts: 25
Joined: Thu Jun 14, 2007 4:46 pm

Post by sck_nogas »

I will have to re-install the older kernel first. I typically clear the old kernels out when I upgrade. Dohh!
sck_nogas
Posts: 25
Joined: Thu Jun 14, 2007 4:46 pm

Post by sck_nogas »

As an update, I pulled an older version, and am running fine now. But, am tracking this to see if there's any alpha/beta testing needed.

Scott
M24601
Posts: 1
Joined: Wed Jul 09, 2008 11:22 am
Location: Brisbane, Australia

Post by M24601 »

Also interested in this, since my only cam is a Logitech Quickcam Pro 9000.

Had been racking my brain for ages trying to get it to work and finally decided to search the forum :/ That'll serve me right.

EDIT: Just to clarify, is there no way of making this cam work with ZM atm? Might look at grabbing a different one in the meantime.
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

Until ZM fully supports UVC cameras, the easiest way to get your logitech 9000 working is to use mjpeg-streamer, which is a lightweight camera server daemon. Then you configure zoneminder to access it as if it were a remote network camera.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

V4L2 support has been merged into 1.24.0 so it will definately be in the next version. It needs a bit of testing so there will be Release Candidates available before a proper release. V4L2 seems to work as well as V4L1 but there may be other features of it that I am not aware of and may have missed so there may be other optimisations to apply in the future.
Phil
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

I would be willing to send you a Logitech 9000 camera to test with, if it will help improve Zoneminder support of UVC devices :)
MikeH
Posts: 23
Joined: Tue Jul 22, 2008 5:16 pm
Location: UK

Post by MikeH »

Blazer wrote:Until ZM fully supports UVC cameras, the easiest way to get your logitech 9000 working is to use mjpeg-streamer, which is a lightweight camera server daemon. Then you configure zoneminder to access it as if it were a remote network camera.
Oh drat! I wish I'd spotted this thread before ordering a Pro 9000 just a few hours ago. :)

Murphy's Law is obviously alive and kicking. I guess I'll be using the mjpeg-streamer fix in the short term, then.
Post Reply