Install error with newest 1.24 2734

Forum for questions and support relating to the 1.24.x releases only.
foxtroop11
Posts: 41
Joined: Thu Jan 01, 2009 8:11 am

Post 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.
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Post 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?
foxtroop11
Posts: 41
Joined: Thu Jan 01, 2009 8:11 am

Post 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.
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Post by Tiggy »

Does that mjpeg_streamer work with uvcvideo webcams?

Any idea how I could config my Philips webcam to use it?
foxtroop11
Posts: 41
Joined: Thu Jan 01, 2009 8:11 am

Post 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.
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Post 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 ...
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Can someone bring me up to date with mjpg_streamer thing. It doesn't ring a bell.
Phil
newvisionantenna
Posts: 381
Joined: Sat Jan 17, 2009 7:49 pm
Location: Germany

Post 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.
newvisionantenna
Posts: 381
Joined: Sat Jan 17, 2009 7:49 pm
Location: Germany

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Thanks. What changes might be needed in ZM in order to support it?
Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Phil mjpg_streamer already works great with ZM :D
curtishall
Posts: 440
Joined: Sat Sep 25, 2004 12:45 am
Location: Fulton, MO

Post 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.
--
Curtis Hall
Bluecherry
www.bluecherrydvr.com
store.bluecherry.net
ris2t
Posts: 43
Joined: Thu Jan 22, 2009 8:44 am

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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

Last edited by cordel on Wed Feb 04, 2009 3:23 am, edited 1 time in total.
Locked