| Author |
Message |
|
mitch
Joined: Thu Apr 30, 2009 5:18 am Posts: 169
|
 ZM 1.25 feature enhancements
This patch includes many of the feature enhancements from viewtopic.php?f=9&t=14008 including: Main user Visible Features: -XML API Interface for anywhere there is currently a json interface (&usexml=1) -API Script for accessing some specific monitor/event data not exposed via the ajax interface: http://127.0.0.1/zm/?view=api&action=[ACTION] valid actions are: get_connkey, list_monitors, zone_info, event_stats -Previously over time when using a video stream it would most likely half your FPS any time there is a connection issue, now it can auto-reset back to the max fps after a certain amount of time so your FPS does not end up at 1 all the time (REDUCTION_FPS_RESET_TIME under Images). -Support for silverlight streaming(asf compat format) -stream.php has the option that during Alarm states it will return to you the ZONES for the event that have alarmed ( ¬es=1 on the end of your query string) (This could allow for clients to have different notices for different zones being in alarm mode) -Events / event status queries now also return the highest scoring frame for the event (&MainFrameID=1) my enhancement branch is at: https://github.com/mitchcapper/ZoneMinder/tree/fixes with the current fix set patch at: https://github.com/mitchcapper/ZoneMind ... dd14.patch
|
| Sun Apr 15, 2012 3:18 am |
|
|
|
 |
|
nightcrawler
Joined: Fri Aug 12, 2011 10:54 am Posts: 71 Location: the netherlands
|
 Re: ZM 1.25 feature enhancements
Hi mitch, That are great new features! especially the .ASF silverlight option and XML options because I'm running an ZM monitor with 2 camera's on an birdhouse and with your patch I can integrate it more native to my website. ( test site at: http://alco.dyndns.info/Bluemotic/index ... m-vogel-tv ) But I'm not an Linux guru but i'm willing to learn it FAST. So I tried to use your patch on my ZM box. with this (offcourse..first dry-run..)command : But that's not working because it tries to find the first file ConfigData.pm.in and I only can find that file in my GIT source path's. ( I'm currently use the mastertheknife 1.25 GIT patch source) So my question, is it possible to apply your patch like an ".DIFF file" or something that works on an active ZM configuration? Or do I have to update an downloaded sourcecode file and install (./configure , make , make install) it again?
_________________ Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD. I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
|
| Mon Apr 16, 2012 2:07 pm |
|
 |
|
mitch
Joined: Thu Apr 30, 2009 5:18 am Posts: 169
|
 Re: ZM 1.25 feature enhancements
nightcrawler the reason that is failing is because with MTK's patch he changed the total # of configuration variables so patching that file won't work by default on that specific file. The good news is its really easy to fix. When you patch you will be left with a .rej file. Open that file it will basically just show a few lines of code the patch adds to that file in a few places. You can manually add these and manually change the numbers. If you want an example checkout my "all" branch version of that file ( https://github.com/mitchcapper/ZoneMind ... Data.pm.in ) it has that variable and one other added to MTK's perfbranch. Using a text editor should be straightforward. Note however that it does expect a ./configure && make && make install after. You will need to run scripts/zmupdate.pl -f to update the database also to include the new config var.
|
| Mon Apr 16, 2012 3:04 pm |
|
 |
|
nightcrawler
Joined: Fri Aug 12, 2011 10:54 am Posts: 71 Location: the netherlands
|
 Re: ZM 1.25 feature enhancements
But isn't it easier to use your complete GIT source at https://github.com/mitchcapper/ZoneMinder and build an new install from there? I noticed that you mentioned in the MTK's topic and GIT history that you compiled an new all-in-one source package on the 14th of april. Because I installed the MTK performance patch a month ago on my system. So It must be possible to repeat that with your GIT source.
_________________ Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD. I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
|
| Mon Apr 16, 2012 9:19 pm |
|
 |
|
mitch
Joined: Thu Apr 30, 2009 5:18 am Posts: 169
|
 Re: ZM 1.25 feature enhancements
yes you can use my complete source as desired and ALL does include all of my branches and MTK's perf branch. Note however depending how old your ffmpeg is you may get a compiler error. If so grab the FFMPEG patch and just do patch -R to reverse that patch out (should do so cleanly).
|
| Mon Apr 16, 2012 9:56 pm |
|
 |
|
nightcrawler
Joined: Fri Aug 12, 2011 10:54 am Posts: 71 Location: the netherlands
|
 Re: ZM 1.25 feature enhancements
ok than I will try that. My FFMPEG is realy up-to-date because I'm using this script at an cron job to check every 14 days for an update on FFMPEG or H264  so I hope I don't get the error  . will try it in my VM-ware DEV sollution for testing  (source for ffmpeg-update-script: https://github.com/pruperting/x264-ffmpeg-up-to-date ) And I will keep my result posted
_________________ Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD. I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
|
| Mon Apr 16, 2012 10:05 pm |
|
 |
|
Andre81
Joined: Thu Jun 25, 2009 11:25 am Posts: 12
|
 Re: ZM 1.25 feature enhancements
Hi,
can I use this script with lucid (10.04)
Thanks
A.
|
| Mon Jun 25, 2012 9:15 am |
|
 |
|
mitch
Joined: Thu Apr 30, 2009 5:18 am Posts: 169
|
 Re: ZM 1.25 feature enhancements
My enhancements are not related to a specific OS.
|
| Mon Jun 25, 2012 3:24 pm |
|
 |
|
DREMA
Joined: Fri Dec 12, 2008 3:39 am Posts: 162 Location: México
|
 Re: ZM 1.25 feature enhancements
Mitch I'm trying to compile your branch, but I'm getting this error The Zoneminder svn compiles and works fine. Any hints? Thanks.
_________________Just... enjoy life! 
|
| Sat Jun 30, 2012 6:36 pm |
|
 |
|
mitch
Joined: Thu Apr 30, 2009 5:18 am Posts: 169
|
 Re: ZM 1.25 feature enhancements
What branch? Do you have a web\tools\mootools\mootools-core-1.3.2-nc.js file?
|
| Sun Jul 01, 2012 5:20 pm |
|
 |
|
DREMA
Joined: Fri Dec 12, 2008 3:39 am Posts: 162 Location: México
|
 Re: ZM 1.25 feature enhancements
Yes that was the problem, four mootools* files were missing, I copy them from the normal zm and finally it compiled.
Just one question, can I upgrade an existing zm installation to your version? If so what changes I need to, the database, the config, etc etc
Thanks for the help, awesome work!
_________________Just... enjoy life! 
|
| Thu Jul 05, 2012 3:48 pm |
|
 |
|
mitch
Joined: Thu Apr 30, 2009 5:18 am Posts: 169
|
 Re: ZM 1.25 feature enhancements
you can update from previous versions just use the standard zmconfgen/zmupdate.pl process.
|
| Thu Jul 05, 2012 3:55 pm |
|
 |
|
DREMA
Joined: Fri Dec 12, 2008 3:39 am Posts: 162 Location: México
|
 Re: ZM 1.25 feature enhancements
Could you be more specific? I tried updating to your zm version but I can't get it to work. After compiling and make install I do this. Thanks a lot.
_________________Just... enjoy life! 
|
| Tue Jul 17, 2012 9:33 am |
|
 |
|
mitch
Joined: Thu Apr 30, 2009 5:18 am Posts: 169
|
 Re: ZM 1.25 feature enhancements
zmconfgen.pl is what you want i believe;)
|
| Thu Jul 19, 2012 3:33 am |
|
 |
|
DREMA
Joined: Fri Dec 12, 2008 3:39 am Posts: 162 Location: México
|
 Re: ZM 1.25 feature enhancements
After compilling and ''make install'' of your repo, I run What else I have to do? If I use the created db/zm_create.sql file I think it will replace my current db. Thanks a lot for your time.
_________________Just... enjoy life! 
|
| Fri Jul 20, 2012 5:34 pm |
|
|