Page 2 of 3

Posted: Thu Jan 29, 2009 10:15 am
by foxtroop11
I'm glad to hear all shoud still work ok. I was using 8.04 ubuntu and the install appears ok minus the control settings thing in another post I mentioned. Thanks for all your help.

Posted: Thu Jan 29, 2009 10:24 am
by Tiggy
I don't wanna be a pain in the a** but how do we check that lol

And just to be sure ... this version support uvcvideo driven cams right?

Posted: Thu Jan 29, 2009 12:48 pm
by foxtroop11
I have used the newest 1.24 with mpjg_streamer and the Orbit AF cam. It works perfect and I've already gained control of the Orbit from within Zoneminder with help from someone else. We have pan tilt and reset working so far, hope to get more working. Actually the person I contacted has been doing all the work, just helping him test it.

Anyway, uvcvideo should work just fine, but the newer mjpg_streamer is money.

Posted: Thu Jan 29, 2009 1:22 pm
by Tiggy
Does that mjpeg_streamer work with uvcvideo webcams?

Any idea how I could config my Philips webcam to use it?

Posted: Thu Jan 29, 2009 2:01 pm
by foxtroop11
This should help you out.

http://www.zoneminder.com/wiki/index.php/Uvc


I'm not sure about phillips, but I have another solution for that. I'll come back when I have it all working.

Posted: Thu Jan 29, 2009 7:34 pm
by Tiggy
I had it running without external programs with the lastest 1.23 version of zoneminder coded with uvc support ... (1.23.x devel version)

Hope 1.24 has this incorporated too ...

Posted: Fri Jan 30, 2009 5:50 pm
by zoneminder
Can someone bring me up to date with mjpg_streamer thing. It doesn't ring a bell.

Posted: Fri Jan 30, 2009 6:15 pm
by newvisionantenna
The mjpg_streamer app can either run on the computer hosting zoneminder or run on an external machine for setting up remote camera's. It's actually really handy and I'll be including it in my Live DVD along. I hope to bring a whole new line of equipment that is going to be very inexpensive and can host multiple usb camera's on remote Wireless repeaters.

I've got ahold of the mjpgstreamer control setup for the Orbit cam and included it also in a DVD. I see you posted a new fix for the control settings, I'll release an update for anyone that's already downloaded my DVD and it will automatically bring it up to the newest release.

Posted: Fri Jan 30, 2009 9:07 pm
by newvisionantenna
Sorry, didn't actually mention much about mjpg_streamer. Here is a quick link to get an idea of how it can work with Zoneminder.

http://ubuntuforums.org/showthread.php?t=882863

Posted: Sun Feb 01, 2009 8:41 pm
by zoneminder
Thanks. What changes might be needed in ZM in order to support it?

Posted: Sun Feb 01, 2009 11:45 pm
by cordel
Phil mjpg_streamer already works great with ZM :D

Posted: Mon Feb 02, 2009 4:46 pm
by curtishall
zoneminder wrote:I have been talking a complete load of b*ll*x it appears, my excuse was that it was late.

The problem files are not ffmpeg but the Video 4 Linux 2 headers. There seems to be more than one version out there, which differ in what they contain. For now commenting out the offending lines is probably the right course of action, it won't affect functionality as those defines are included only for the sake of completeness and are not directly supported anyway.

If you have hit this issue it would be useful to know what distro and version you are running on.
I've confirmed this compile error is occurring with *Ubuntu 8.04.1 (LTS). Commenting out the lines fixed the problems.

All ubuntu packages are up to date so I'm not sure where to begin on that.

Posted: Mon Feb 02, 2009 6:26 pm
by ris2t
tiggy@gecko:~$ sudo zmu -d /dev/video0 -q -v
Error, failed to get channel 0 attributes: Invalid argument
tiggy@gecko:~$
This built supports uvcvideo driven cams right?
I get similar errors for my uvc cams, I believe the below note from a different topic sums up the problem. uvcvideo cams being V4L2 typically?
zoneminder wrote:The zmu query function currently only functions on V4L1. I plan to add V4L2 queries when I get time. In the meantime I recommend using v4l-info as it does pretty much the same thing for V4L2 devices anyway.

Posted: Mon Feb 02, 2009 7:24 pm
by zoneminder
curtishall wrote:
zoneminder wrote:I have been talking a complete load of b*ll*x it appears, my excuse was that it was late.

The problem files are not ffmpeg but the Video 4 Linux 2 headers. There seems to be more than one version out there, which differ in what they contain. For now commenting out the offending lines is probably the right course of action, it won't affect functionality as those defines are included only for the sake of completeness and are not directly supported anyway.

If you have hit this issue it would be useful to know what distro and version you are running on.
I've confirmed this compile error is occurring with *Ubuntu 8.04.1 (LTS). Commenting out the lines fixed the problems.

All ubuntu packages are up to date so I'm not sure where to begin on that.
My dev system has just gone up to Fedora 10 but my laptop is Ubuntu 8.10 so I guess the new definitions must have been added quite recently, ie since 8.04.

Posted: Wed Feb 04, 2009 3:01 am
by cordel
This affects older kernels.
I have confirmed it affects 2.6.18 with v4l2 enabled in the kernel build.

Code: Select all

# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
Though mine is a different set:

Code: Select all

zm_local_camera.cpp:173: error: ‘V4L2_PIX_FMT_YUV565’ was not declared in this scope
zm_local_camera.cpp:174: error: ‘V4L2_PIX_FMT_YUV32’ was not declared in this scope
zm_local_camera.cpp:181: error: ‘V4L2_PIX_FMT_SGBRG8’ was not declared in this scope
zm_local_camera.cpp:182: error: ‘V4L2_PIX_FMT_SBGGR16’ was not declared in this scope
zm_local_camera.cpp:191: error: ‘V4L2_PIX_FMT_SPCA501’ was not declared in this scope
zm_local_camera.cpp:192: error: ‘V4L2_PIX_FMT_SPCA505’ was not declared in this scope
zm_local_camera.cpp:193: error: ‘V4L2_PIX_FMT_SPCA508’ was not declared in this scope
zm_local_camera.cpp:194: error: ‘V4L2_PIX_FMT_SPCA561’ was not declared in this scope
zm_local_camera.cpp:195: error: ‘V4L2_PIX_FMT_PAC207’ was not declared in this scope
zm_local_camera.cpp:196: error: ‘V4L2_PIX_FMT_PJPG’ was not declared in this scope
zm_local_camera.cpp:197: error: ‘V4L2_PIX_FMT_YVYU’ was not declared in this scope
zm_local_camera.cpp:116: error: ‘V4L2_PIX_FMT_RGB444’ was not declared in this scope
zm_local_camera.cpp:149: error: ‘V4L2_PIX_FMT_YUV444’ was not declared in this scope
zm_local_camera.cpp:167: error: ‘V4L2_PIX_FMT_Y16’ was not declared in this scope
zm_local_camera.cpp:168: error: ‘V4L2_PIX_FMT_PAL8’ was not declared in this scope
zm_local_camera.cpp:172: error: ‘V4L2_PIX_FMT_YUV555’ was not declared in this scope