Motion - Motion Release 3x 1x 18snap 11

Motion Snapshot Release 3.1.18_snap11

Note - The formal release 3.1.18 is now available. You should not need to download this snap shot release. The formal 3.1.18 is better with a few more bugs fixed.

Release Notes

3.1.18 snap11 - 23 Jan 2005

Development Release - not recommended for normal use

We are very interested in getting 3.1.18_snap11 tested by people with Netcams. We are also interested in hearing if framerates are improved during Motion detection.

People that had problems with zombies or had problems with warnings about signal(SIGCHLD, SIG_IGN) in the syslog should test snap11 and report if there are still any problems with either zombie processes or syslog warnings.

Changes since 3.1.17



  • Implemented phase 2 of the rotate patch
  • Added brightness patch options to motion-dist.conf

  • Added the new smart mask feature. It is working but it is still under development. It currently outputs an extra smart mask timelapse movie when the normal timelapse is enabled. This will be removed in the final version.
  • Added a new config option --without-optimizecpu which disables the CPU specific compiler optimizations introduced with the rotate phase 2 patch. The purpose of the new option is to enable a packager to build an RPM or deb package which is not tied to a specific CPU type.
  • Man page updated with the new brightness and smart mask options.
  • Configure help texts improved.
  • Added the pwc-10.0.5 version of pwc-ioctl.h.
  • Changing rotate, height and width via xmlrpc no longer affects the running program. The user can change the options and write them to the config files and then restart motion. This change is done because many internal data structures and memory allocations cannot handle change of image dimentions/size.
  • Fixed the problem with leading spaces of text_left and text_right getting lost when saving with xmlrpc. For text_left and text_right Motion now puts the string in quotation marks if the value starts with a leading space.

  • Merged in the November 10th update of smartmask.
  • Started working on fixing the signed vs unsigned issue related to handling of images. The snap5 is created to get the developers in sync.






  • Changed allocation of despeckle buffer to avoid a seg fault when using a netcam where the image is wider than defined in motion.conf width.
  • The noise tune value displayed in the upper left corner along with number of changed pixels is no longer displayed (was there for debugging).
  • Improved the Netcam patch (Angel Carpintero) pre3 reconnection feature added)
  • Changed the SIGCHLD handler introduced in snap10 so that it is a shorter and faster function. Disabled this handler in the xmlrpc thread as this caused unnecessary loops of cpu cycles. Additionally made the code in xmlrpc more correct and robust (handling of select()) (Kenneth Lavrsen)
  • Fixed a bug in the timelapse feature. Both the rollover events of the timelapse video and timelapse shots could be missed if the CPU load was very high or the time was changes by ntp. Motion will now catch up a few seconds later if this happens. Also fixed the code for monthly rollover (Kenneth Lavrsen).

Next Steps

  • Testing for stability
  • Bugfix patches welcome
  • There is now Feature Freeze on 3.1.X - New features will be deferred to 3.2.1.
  • Targetting 3.1.18 release January 2005.

Known Problems

  • Motion Guide not yet updated - will wait until more patches are applied.

  • The pwc-ioctl.h is for pwc version 9.0.1 and 10.0.6. If you still use the pwc 8 series then you need to use the headerfile pwc-ioctl.h-pwc8.0 (copy the pwc-ioctl.h-pwc8.0 over pwc-ioctl.h). This is relevant for USB cameras using Philips chips.


Note - The formal release 3.1.18 is now available. You should not need to download this snap shot release. The formal 3.1.18 is better with a few more bugs fixed.

-- KennethLavrsen - 23 Jan 2005

Bug Reports

I Attachment Action Size Date Who Comment
motion-3.1.18_snap11.tar.gzgz motion-3.1.18_snap11.tar.gz manage 256 K 23 Jan 2005 - 22:31 KennethLavrsen Removed a patch file that was left by mistake. Cosmetic detail.
Topic revision: r5 - 27 Jun 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.