Zoneminder development

Forum for questions and support relating to the 1.24.x releases only.
PacoLM
Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Zoneminder development

Post by PacoLM » Sun Dec 19, 2010 9:05 pm

Hi,

I have found this :

http://blog.cvisionlab.com/2010/10/vide ... .html#more

Is anyone of this forum using this plugins?. Are they going to be added in a next ZM version or are they a parallel development?

Regards,

PacoLM

DREMA
Posts: 162
Joined: Fri Dec 12, 2008 2:39 am
Location: México

Post by DREMA » Wed Dec 22, 2010 9:45 am

Looks pretty nice!
Just... enjoy life! :D

gorban
Posts: 2
Joined: Wed Dec 29, 2010 1:31 pm
Location: RU
Contact:

parallel development

Post by gorban » Wed Dec 29, 2010 1:36 pm

We are going to release sources of our Zoneminder fork on bitbucket soon. We also will be happy if Zoneminder's team accept our patches.

PacoLM
Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Post by PacoLM » Wed Dec 29, 2010 5:39 pm

Hi,

Sounds great!, will this work in an ARM processor running debian 5?.

Happy Xmas!

mastertheknife
Posts: 679
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: parallel development

Post by mastertheknife » Fri Dec 31, 2010 4:51 pm

gorban wrote:We also will be happy if Zoneminder's team accept our patches.
Likewise, i have made some patches to fix some web interface issues and other general issues and interested in sending them to the ZoneMinder's team but not sure to who and how. I wish ZoneMinder would be hosted on github, this would make forking and patching a lot nicer and easier.

Right now i am using git-svn to checkout ZM's SVN and then i am rebasing it against my local repository which contains some patches.

User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California
Contact:

Post by jdhar » Fri Dec 31, 2010 6:49 pm

I'm looking into setting it up on GitHub, but am checking with Phil first... stay tuned.
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml

gorban
Posts: 2
Joined: Wed Dec 29, 2010 1:31 pm
Location: RU
Contact:

ZoneMinder fork

Post by gorban » Tue Jan 11, 2011 6:16 pm

Please checkout our ZoneMinder fork.

Looking forward your comments.
---
R&D in Computer vision

laxpeter
Posts: 4
Joined: Thu Jan 13, 2011 3:48 pm

Re: ZoneMinder fork

Post by laxpeter » Thu Jan 13, 2011 4:49 pm

gorban wrote:Please checkout our ZoneMinder fork.

Looking forward your comments.
I'm very excited about your additions, but I'm having trouble compiling them. Configure succeeded, but make is stuck on the following error:

Code: Select all

$ make
make  all-recursive
make[1]: Entering directory `/home/peter/zm-gorban/zoneminder'
Making all in src
make[2]: Entering directory `/home/peter/zm-gorban/zoneminder/src'
g++ -frepo -g -O2  -L/usr/lib -L/usr/lib/mysql  -rdynamic   -o zmc  zmc.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_debug.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lpcre -lgnutls-openssl -ldl -lpthread -ljpeg -lmysqlclient
zm_monitor.o: In function `Monitor::Analyse()':
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:1291: undefined reference to `ImageAnalyser::DoDetection(Image const&, Zone**, int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
zm_monitor.o: In function `Monitor':
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:325: undefined reference to `PluginManager::PluginManager()'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:476: undefined reference to `join_paths(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:478: undefined reference to `PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:487: undefined reference to `PluginManager::configurePlugins(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:325: undefined reference to `PluginManager::PluginManager()'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:476: undefined reference to `join_paths(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:478: undefined reference to `PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:487: undefined reference to `PluginManager::configurePlugins(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
zm_monitor.o: In function `PluginManager::setPluginExt(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/home/peter/zm-gorban/zoneminder/src/zm_plugin_manager.h:69: undefined reference to `PluginManager::m_sPluginExt'
zm_monitor.o: In function `~pair':
/usr/include/c++/4.4/bits/stl_pair.h:68: undefined reference to `Plugin::~Plugin()'
zm_monitor.o: In function `~PluginManager':
/home/peter/zm-gorban/zoneminder/src/zm_plugin_manager.h:49: undefined reference to `ImageAnalyser::~ImageAnalyser()'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/peter/zm-gorban/zoneminder/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peter/zm-gorban/zoneminder'
make: *** [all] Error 2
From what I can tell, this is because the Makefile in src/ does not contain the new source files in am__objects_1, zm_SOURCES, or noinst_HEADERS. I see the additional files (zm_plugin_manager.cpp, etc) in src/Makefile.am but not src/Makefile.in.

I tried using automake to regenerate the Makefiles, but zoneminder seems to have some different method, perhaps through scripts/ZoneMinder/Makefile.PL ? I'm not familiar enough with this build structure to see exactly where the problem is. If I haven't figured it out soon, I'll probably try to directly edit the src/Makefile to include the changes from Makefile.am.

laxpeter
Posts: 4
Joined: Thu Jan 13, 2011 3:48 pm

Post by laxpeter » Fri Jan 14, 2011 2:01 pm

autoreconf seemed to fix my issue above. I'm still working on getting it running, but my current issues are just related to switching from the .deb to install from source in general.

mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post by mrd » Fri Jan 14, 2011 4:42 pm

This is great work. I really hope that ZM picks up these and packages them with the Arch CD!
MRD

laxpeter
Posts: 4
Joined: Thu Jan 13, 2011 3:48 pm

Post by laxpeter » Sat Jan 15, 2011 6:23 pm

I have this working with the native detection so far, but I haven't been able to find any plugins in the distribution to try out alternative motion detection.

Do you have any example plugins available for public testing yet?

Thanks

hirondelle
Posts: 1
Joined: Mon Jan 17, 2011 2:12 pm

Post by hirondelle » Mon Jan 17, 2011 3:39 pm

An example of plugin (face detector) is added to the bitbucket repo to the `plugins' directory. To the Wiki we have added information about building.
Please visit our http://blog.cvisionlab.com/ blog and post you comments there too.

bdmcnxn
Posts: 11
Joined: Sun Jan 16, 2011 7:18 am

Re: ZoneMinder fork

Post by bdmcnxn » Sun Jan 23, 2011 11:42 am

laxpeter wrote:
gorban wrote:Please checkout our ZoneMinder fork.

Looking forward your comments.
I'm very excited about your additions, but I'm having trouble compiling them. Configure succeeded, but make is stuck on the following error:

Code: Select all

$ make
make  all-recursive
make[1]: Entering directory `/home/peter/zm-gorban/zoneminder'
Making all in src
make[2]: Entering directory `/home/peter/zm-gorban/zoneminder/src'
g++ -frepo -g -O2  -L/usr/lib -L/usr/lib/mysql  -rdynamic   -o zmc  zmc.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_debug.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lpcre -lgnutls-openssl -ldl -lpthread -ljpeg -lmysqlclient
zm_monitor.o: In function `Monitor::Analyse()':
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:1291: undefined reference to `ImageAnalyser::DoDetection(Image const&, Zone**, int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
zm_monitor.o: In function `Monitor':
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:325: undefined reference to `PluginManager::PluginManager()'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:476: undefined reference to `join_paths(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:478: undefined reference to `PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:487: undefined reference to `PluginManager::configurePlugins(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:325: undefined reference to `PluginManager::PluginManager()'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:476: undefined reference to `join_paths(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:478: undefined reference to `PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/peter/zm-gorban/zoneminder/src/zm_monitor.cpp:487: undefined reference to `PluginManager::configurePlugins(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
zm_monitor.o: In function `PluginManager::setPluginExt(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/home/peter/zm-gorban/zoneminder/src/zm_plugin_manager.h:69: undefined reference to `PluginManager::m_sPluginExt'
zm_monitor.o: In function `~pair':
/usr/include/c++/4.4/bits/stl_pair.h:68: undefined reference to `Plugin::~Plugin()'
zm_monitor.o: In function `~PluginManager':
/home/peter/zm-gorban/zoneminder/src/zm_plugin_manager.h:49: undefined reference to `ImageAnalyser::~ImageAnalyser()'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/peter/zm-gorban/zoneminder/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peter/zm-gorban/zoneminder'
make: *** [all] Error 2
From what I can tell, this is because the Makefile in src/ does not contain the new source files in am__objects_1, zm_SOURCES, or noinst_HEADERS. I see the additional files (zm_plugin_manager.cpp, etc) in src/Makefile.am but not src/Makefile.in.

I tried using automake to regenerate the Makefiles, but zoneminder seems to have some different method, perhaps through scripts/ZoneMinder/Makefile.PL ? I'm not familiar enough with this build structure to see exactly where the problem is. If I haven't figured it out soon, I'll probably try to directly edit the src/Makefile to include the changes from Makefile.am.
Have the same error. How is autoconfig supposed to help ? Tried that, but didn't progress.

laxpeter
Posts: 4
Joined: Thu Jan 13, 2011 3:48 pm

Re: ZoneMinder fork

Post by laxpeter » Sun Jan 23, 2011 3:23 pm

bdmcnxn wrote:Have the same error. How is autoconfig supposed to help ? Tried that, but didn't progress.
I had that error when trying to follow the instructions in the INSTALL file included with the source.
Rather than make, and make install, I should have been using the:

Code: Select all

aclocal
autoconf
automake
make
procedure from the wiki and the plugin fork's website:

https://bitbucket.org/gorban/zoneminder/wiki/building
wiki source instructions

bdmcnxn
Posts: 11
Joined: Sun Jan 16, 2011 7:18 am

Re: ZoneMinder fork

Post by bdmcnxn » Wed Jan 26, 2011 1:48 pm

laxpeter wrote:
bdmcnxn wrote:Have the same error. How is autoconfig supposed to help ? Tried that, but didn't progress.
I had that error when trying to follow the instructions in the INSTALL file included with the source.
Rather than make, and make install, I should have been using the:

Code: Select all

aclocal
autoconf
automake
make
procedure from the wiki and the plugin fork's website:

https://bitbucket.org/gorban/zoneminder/wiki/building
wiki source instructions
Thanks a lot laxpeter. That worked.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests