ZoneMinder 1.22.0 Preview Available
Posted: Sun Jan 01, 2006 9:13 pm
I'm pleased to announce that I have just made a preview release of ZoneMinder version 1.22.0 available at http://www.zoneminder.com/downloads/Zon ... rc1.tar.gz.
Please note that this is not a production quality release but is intended for early adopters to test and evaluate. It will have bugs in it, some of which may be serious!
Althought the code has been modified for the features described below, the documentation has not yet been updated to reflect this at all. This version also contains a number of perl modules, all still awating pod documentation. Thus please post queries about this release on the forum until such time that the documents are available. I have created a new forum for 1.22.x queries so please ensure you use that one.
It is expected that this preview may be followed by subsequent releases of 1.22.0 and that the first full release will be 1.22.1 once any obvious bugs have been identified.
This release is the first that does not require a zmconfig.pl step.
Thus for a new install follow the steps below
0) Stop ZM
1) Unzip, untar etc.
2) Run the configure script. Note that initial database config can be passed as parameters to this script, and this is recommended for new releases.
3) If you did not specify the db config, edit zm.conf and db/zm_create.sql to reflect your database setup.
4) Run 'make', you may have to do this twice to generate the perl makefile.
5) Run 'make install'
6) Start ZM
For an upgrade follow these steps
0) Stop ZM
1) Unzip, untar etc
2) Run the configure script. Note that initial database config can be passed as parameters to this script.
3) If you did not specify the db config, edit zm.conf to reflect your database setup.
4) Run 'make', you may have to do this twice to generate the perl makefile.
5) Run 'make install'
6) Run scripts/zmupdate.pl -v <version> from the zm build directory. You do not have to run this as root, though you may need to pass additional options to have privileges to modify your database. It is advised to accept the option to take a backup of your database.
7) Start ZM
Changes in this release are as follows
Major architectural changes as well as a whole raft of other enhancements and fixes.
o FEATURE – Zones can now be (virtually) any shape of polygon. This means that triangular, octagonal, duo decahedrons etc are now supported. The only exceptions to this are self-intersecting shapes which will be flagged. This adds a lot more flexibility to the definition of zones. Zones can be drawn semi-interactively.
o FEATURE – Certain preset zones settings are now supplied to allow quicker configuration of zones. These are intended to be a guide only, and not definitive settings but form a useful starting point.
o FEATURE – The zmpkg.pl scripts now attempts to determine the supported syntax of the ‘su’ command so it should work even with distributions like Slackware that don’t support the –shell option. Previously this required a hand edit.
o FEATURE – A number of common perl functionality has been moved to perl modules which have been included. This also allows other scripts to use the ZoneMinder modules to create additional functionality particularly in the area of triggering. All scripts have been converted to use these modules.
o FEATURE – A (small currently) number of monitor presets have been added to the monitor configuration view. This allows quicker initial configuration of certain (mostly network) cameras without having to know all the paths. Contributions detailing other cameras will be gratefully accepted.
o FEATURE – The zmtrigger.pl script has been completed revamped to support both incoming and outgoing triggers. Certain example triggers and connections have been included in the trigger modules but this is intended to be an example only and to provide a basis for users to customise and add their own functionality. Users will also be able to contribute modules tailored to specific external systems.
o FEATURE – More configuration has been moved to the zm.conf file. All components now use this file for initial configuration. Scripts may also use a local copy, in the same directory, to allow overrides etc.
o FEATURE – The zmconfig.pl script is no more! Building now only requires the ‘configure’ step and then make etc. Database parameters can be supplied to the configure script.
o FEATURE – The configure script now includes more system suitability checks including checks for required and optional perl modules.
o FEATURE – All libjpeg output is now trapped and handled as regular format debug.
o FEATURE – Some jpeg data is cached on first use instead of being regenerated each time. This should speed up jpeg handling to some degree.
o FEATURE – Event data can be optionally saved to COM fields in the jpeg file header.
o FEATURE – A system summary command has been added to zmu.
o FEATURE – Filtering can now be done on the event id field.
o FEATURE – Filtering can now be done on the event description field.
o FEATURE – The ‘check all’ on event lists etc is now a toggle checkbox.
o FEATURE – In Mocord mode, events can now be forced to close when the event has reached the section length even if an alarm is in progress. Previously this would have resulted in an extended event.
o FEATURE – The ‘groups’ view has been overhauled and rationalised.
o FEATURE – A default event replay rate has been added.
o FEATURE – Videos can now be created from filters.
o FEATURE – There is now a separate auto-execute checkbox from filters to allow definition of a script but not execution if this is not desired.
o FEATURE – When filters are loaded, a hint appears to indicate what automatic function options they have been saved with.
o FEATURE – Improved the behaviour of the automatic PTZ stop feature when using Pelco type PTZ cameras.
o FEATURE – The configure script now allows an option to compile all debug out from the binaries.
o FEATURE – The configure script now takes a generic ‘extra libs’ option to allow specification of any extra libraries that may be required for compilation due to additional ffmpeg options etc. The mp3lame option has been removed.
o FEATURE – Mime support for streaming has been enhanced to allow easy configuration of additional formats of data streaming. The streaming daemons themselves have also been improved to support the generation of other stream formats.
o FEATURE – The handling of video viewing via the ‘video’ view has been improved to allow embedded viewing of videos as well as easy saving locally.
o FEATURE – The alarm sound that can be configured to play when viewing a monitor with a current alarm has now been improved to not depend on the refreshing of the status which resulted in clipped audio.
o FEATURE – Script debug now follows the same format as all debug and uses the syslog facility. This means that all important messages go into the /var/log/messages file (or equivalent). This can be modified by redirecting the local1 facility in syslog.conf to go elsewhere, or be ignored, if so desired.
o FEATURE – A new raw streaming format has been added for live monitor streams. This produces a low cpu impact raw rgb feed.
o FEATURE – A zm.pid file is now placed in /var/run/zm when ZoneMinder is running, and removed when stopped. This can be used by other elements to check the status of ZoneMinder. The pid in the file is that of the master zmdc.pl server instance.
o FEATURE – The continuous/triggered settings for monitors have now been removed. They have been replaced by an Enabled flag that indicates whether a monitor is actually doing the task assigned to it. This can be used by scripts to disable or enable monitors depending on external triggers without having to change the Function or start and stop daemons. The state of this flag is now saved in ‘run states’ to allow ZoneMinder to be started with some monitors initially disabled.
o FEATURE – Restructured zmfilter.pl to better handle filters and ensure that auto functions are performed in a logical sequence (e.g. not deleted before being archived).
o FEATURE – Added link to Zones configuration to the live watch view.
o FEATURE – The event link in the xHTML interface now goes somewhere useful.
o FEATURE – Reformatted a number of xHTML views to use tables for better layout.
o FEATURE – The default reference image blend percentage has been changed to 7% to persist events slightly longer.
o FEATURE – The monitor configuration view has been re-organised slightly and some fields have moved between tabs.
o FEATURE – When motion is detected the centre of the region of motion is written to shared memory, where is can be used for tracking. This can now optionally be a simple median of the motion extents or (in blob mode) a weighted centre for better location of irregularly shaped events.
o FEATURE – The zmcontrol-kx-hcm10.pl script has been renamed to the more generic zmcontrol-panasonic-ip.pl script as it should work with all Panasonic IP cameras.
o FIX – The zms script has been corrected to accept any authentication method regardless of what has been configured to be used.
o FIX – The zmc processes now exit if any 4xx error is reported from remote network image sources.
o FIX – The experimental zmtrack.pl script was broken and didn’t work. This has now been corrected.
o FIX – Versions 0.4.8, 0.4.9-pre1 and CVS ffmpeg are now supported correctly.
o FIX – A problem with event statistics not always being output was fixed.
o FIX – A problem with the JPEG file quality setting being ignored was fixed.
o FIX – A problem with brackets in filters has been fixed.
o FIX – The console view previously could spawn instances of zmdc.pl when ZM wasn’t running. This has now been corrected.
o FIX – Scaling of stills event views has now been rationalised to not ever be smaller than 100% as the image is always sent at at least this resolution.
o FIX – A problem with zmaudit.pl mishandling recovered events has been fixed.
o FIX – Fixed number of minor memory access issues.
o FIX – Fixed ‘undefined pid’ error in zmdc.pl.
o FIX – Some configuration has had default values changed.
o LANGUAGE – A Czech translation has been included..
Good luck!
Phil
Please note that this is not a production quality release but is intended for early adopters to test and evaluate. It will have bugs in it, some of which may be serious!
Althought the code has been modified for the features described below, the documentation has not yet been updated to reflect this at all. This version also contains a number of perl modules, all still awating pod documentation. Thus please post queries about this release on the forum until such time that the documents are available. I have created a new forum for 1.22.x queries so please ensure you use that one.
It is expected that this preview may be followed by subsequent releases of 1.22.0 and that the first full release will be 1.22.1 once any obvious bugs have been identified.
This release is the first that does not require a zmconfig.pl step.
Thus for a new install follow the steps below
0) Stop ZM
1) Unzip, untar etc.
2) Run the configure script. Note that initial database config can be passed as parameters to this script, and this is recommended for new releases.
3) If you did not specify the db config, edit zm.conf and db/zm_create.sql to reflect your database setup.
4) Run 'make', you may have to do this twice to generate the perl makefile.
5) Run 'make install'
6) Start ZM
For an upgrade follow these steps
0) Stop ZM
1) Unzip, untar etc
2) Run the configure script. Note that initial database config can be passed as parameters to this script.
3) If you did not specify the db config, edit zm.conf to reflect your database setup.
4) Run 'make', you may have to do this twice to generate the perl makefile.
5) Run 'make install'
6) Run scripts/zmupdate.pl -v <version> from the zm build directory. You do not have to run this as root, though you may need to pass additional options to have privileges to modify your database. It is advised to accept the option to take a backup of your database.
7) Start ZM
Changes in this release are as follows
Major architectural changes as well as a whole raft of other enhancements and fixes.
o FEATURE – Zones can now be (virtually) any shape of polygon. This means that triangular, octagonal, duo decahedrons etc are now supported. The only exceptions to this are self-intersecting shapes which will be flagged. This adds a lot more flexibility to the definition of zones. Zones can be drawn semi-interactively.
o FEATURE – Certain preset zones settings are now supplied to allow quicker configuration of zones. These are intended to be a guide only, and not definitive settings but form a useful starting point.
o FEATURE – The zmpkg.pl scripts now attempts to determine the supported syntax of the ‘su’ command so it should work even with distributions like Slackware that don’t support the –shell option. Previously this required a hand edit.
o FEATURE – A number of common perl functionality has been moved to perl modules which have been included. This also allows other scripts to use the ZoneMinder modules to create additional functionality particularly in the area of triggering. All scripts have been converted to use these modules.
o FEATURE – A (small currently) number of monitor presets have been added to the monitor configuration view. This allows quicker initial configuration of certain (mostly network) cameras without having to know all the paths. Contributions detailing other cameras will be gratefully accepted.
o FEATURE – The zmtrigger.pl script has been completed revamped to support both incoming and outgoing triggers. Certain example triggers and connections have been included in the trigger modules but this is intended to be an example only and to provide a basis for users to customise and add their own functionality. Users will also be able to contribute modules tailored to specific external systems.
o FEATURE – More configuration has been moved to the zm.conf file. All components now use this file for initial configuration. Scripts may also use a local copy, in the same directory, to allow overrides etc.
o FEATURE – The zmconfig.pl script is no more! Building now only requires the ‘configure’ step and then make etc. Database parameters can be supplied to the configure script.
o FEATURE – The configure script now includes more system suitability checks including checks for required and optional perl modules.
o FEATURE – All libjpeg output is now trapped and handled as regular format debug.
o FEATURE – Some jpeg data is cached on first use instead of being regenerated each time. This should speed up jpeg handling to some degree.
o FEATURE – Event data can be optionally saved to COM fields in the jpeg file header.
o FEATURE – A system summary command has been added to zmu.
o FEATURE – Filtering can now be done on the event id field.
o FEATURE – Filtering can now be done on the event description field.
o FEATURE – The ‘check all’ on event lists etc is now a toggle checkbox.
o FEATURE – In Mocord mode, events can now be forced to close when the event has reached the section length even if an alarm is in progress. Previously this would have resulted in an extended event.
o FEATURE – The ‘groups’ view has been overhauled and rationalised.
o FEATURE – A default event replay rate has been added.
o FEATURE – Videos can now be created from filters.
o FEATURE – There is now a separate auto-execute checkbox from filters to allow definition of a script but not execution if this is not desired.
o FEATURE – When filters are loaded, a hint appears to indicate what automatic function options they have been saved with.
o FEATURE – Improved the behaviour of the automatic PTZ stop feature when using Pelco type PTZ cameras.
o FEATURE – The configure script now allows an option to compile all debug out from the binaries.
o FEATURE – The configure script now takes a generic ‘extra libs’ option to allow specification of any extra libraries that may be required for compilation due to additional ffmpeg options etc. The mp3lame option has been removed.
o FEATURE – Mime support for streaming has been enhanced to allow easy configuration of additional formats of data streaming. The streaming daemons themselves have also been improved to support the generation of other stream formats.
o FEATURE – The handling of video viewing via the ‘video’ view has been improved to allow embedded viewing of videos as well as easy saving locally.
o FEATURE – The alarm sound that can be configured to play when viewing a monitor with a current alarm has now been improved to not depend on the refreshing of the status which resulted in clipped audio.
o FEATURE – Script debug now follows the same format as all debug and uses the syslog facility. This means that all important messages go into the /var/log/messages file (or equivalent). This can be modified by redirecting the local1 facility in syslog.conf to go elsewhere, or be ignored, if so desired.
o FEATURE – A new raw streaming format has been added for live monitor streams. This produces a low cpu impact raw rgb feed.
o FEATURE – A zm.pid file is now placed in /var/run/zm when ZoneMinder is running, and removed when stopped. This can be used by other elements to check the status of ZoneMinder. The pid in the file is that of the master zmdc.pl server instance.
o FEATURE – The continuous/triggered settings for monitors have now been removed. They have been replaced by an Enabled flag that indicates whether a monitor is actually doing the task assigned to it. This can be used by scripts to disable or enable monitors depending on external triggers without having to change the Function or start and stop daemons. The state of this flag is now saved in ‘run states’ to allow ZoneMinder to be started with some monitors initially disabled.
o FEATURE – Restructured zmfilter.pl to better handle filters and ensure that auto functions are performed in a logical sequence (e.g. not deleted before being archived).
o FEATURE – Added link to Zones configuration to the live watch view.
o FEATURE – The event link in the xHTML interface now goes somewhere useful.
o FEATURE – Reformatted a number of xHTML views to use tables for better layout.
o FEATURE – The default reference image blend percentage has been changed to 7% to persist events slightly longer.
o FEATURE – The monitor configuration view has been re-organised slightly and some fields have moved between tabs.
o FEATURE – When motion is detected the centre of the region of motion is written to shared memory, where is can be used for tracking. This can now optionally be a simple median of the motion extents or (in blob mode) a weighted centre for better location of irregularly shaped events.
o FEATURE – The zmcontrol-kx-hcm10.pl script has been renamed to the more generic zmcontrol-panasonic-ip.pl script as it should work with all Panasonic IP cameras.
o FIX – The zms script has been corrected to accept any authentication method regardless of what has been configured to be used.
o FIX – The zmc processes now exit if any 4xx error is reported from remote network image sources.
o FIX – The experimental zmtrack.pl script was broken and didn’t work. This has now been corrected.
o FIX – Versions 0.4.8, 0.4.9-pre1 and CVS ffmpeg are now supported correctly.
o FIX – A problem with event statistics not always being output was fixed.
o FIX – A problem with the JPEG file quality setting being ignored was fixed.
o FIX – A problem with brackets in filters has been fixed.
o FIX – The console view previously could spawn instances of zmdc.pl when ZM wasn’t running. This has now been corrected.
o FIX – Scaling of stills event views has now been rationalised to not ever be smaller than 100% as the image is always sent at at least this resolution.
o FIX – A problem with zmaudit.pl mishandling recovered events has been fixed.
o FIX – Fixed number of minor memory access issues.
o FIX – Fixed ‘undefined pid’ error in zmdc.pl.
o FIX – Some configuration has had default values changed.
o LANGUAGE – A Czech translation has been included..
Good luck!
Phil