Motion - Motion Release 3x 2x 1snap 8

Motion Snapshot Release 3.2.1_snap8

Release Notes

3.2.1 snap8 - 26 Mar 2005

Development Release - not recommended for normal use

The netcam code is still under development but we are very interested in getting test reports on these releases from people with Network cameras.

Netcam related bug reports from the 3.2.1 snapshot releases can be added as a comment to http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamStabilityPatch

Changes since 3.1.19_snap4

snap1

snap2

snap3

snap4
  • Fix for tracking control with http control (Angel Carpintero)
  • Added the new feature Setup Mode (Joerg Weber). This also enables much more error messages given to the console when in non-daemon mode while still preserving the messages in syslog which are important for daemon mode debugging.
    The patch is still being worked on and is not finished. Changes in the FreeBSD code are not yet tested.
    http://www.lavrsen.dk/twiki/bin/view/Motion/SetupModePatch
  • Remove most command line options and replace them by an option to specify location to motion.conf and a few options related to setting up motion. (Joerg Weber). This is also included in http://www.lavrsen.dk/twiki/bin/view/Motion/SetupModePatch.
  • Small improvement of the http control interface (link to setting itself on the html response when setting parameter) (Kenneth Lavrsen)

snap5
  • Fixed a bug in noise tune which was most visible at very low light. (Joerg Weber and Kenneth Lavrsen)
  • Further improvement in the setup mode. Messages are now prefixed by the thread number in [brackets]. Moved 2 funtions from motion.c to picture.c. The setup mode patch is now considered finished. (Joerg Weber)

snap6
Netcam fixes and debug code by Christopher Price - http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamStabilityPatch - snap5_post1_video.c and snap5-post1 patches.
  • Fixed netcam startup race condition.
  • Refactored image handling back to single unified function.
  • Refactored reconnection algorithm.
  • Jpeg only based connections should now use less cpu time.
  • Temporarily removed support for devices that do not support content-length (in progress).
  • Synced syslog/printf style to new motion standard.
  • Added developer debug trace defines/code.
  • Defines now used for many constants.

snap7
  • Improved console output in setup mode. Now also outputs threshold. (Joerg Weber)
  • Added some additional text to the motion http messages to the terminal so that you know where the messages come from. (Kenneth Lavrsen)
  • Netcam Stability Patch version snap6-post1 (Christopher Price)
    • Added support for netcams without content-length header (streaming only)
    • Remove memmem from netcam_wget.[c|h] (no longer used)
    • Several miscellaneous code cosmetic changes
    • TODO: remove tests for memmem from configure

snap8
  • Added support for non-streaming (image based) netcams without content-length header. (3.2.1-snap7-post1 version of the Netcam Stabilty Patch by Christopher Price).
  • Improvement in the noise-tune algoritm (Joerg Weber)
  • Re-arranged many of the const char declarations so that they are always before any statements within a block { }. This is to avoid compiler errors with older but still used gcc versions such as 2.9.5. (Kenneth Lavrsen)
  • Changed the use of %zd to %llu in printf statements of size_t types. This is done to avoid compiler errors with older but still used gcc versions such as 2.95. (Kenneth Lavrsen)

Next Steps

  • Still open todos on Netcam code. Keep on sending bug reports.
  • Fix open bugs.
  • Check the code for FreeBSD. This snap has not been tested at all in FreeBSD.
  • Range checking of options - includes a complete redesign of how options are loaded and changed via remote control. This redesign is mainly making the code more robust and should be transparent to the user.

Known Problems

  • See the BugReports for open bugs.
  • Motion Guide does not match this version. See MotionHttpControl and MotionHttpAPI for documentation of the new http based remote control feature. Command line parameters are completely changed.
  • 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.

Download

Bug Reports


In an attempt to resolve a gcc 2.95 compiler problem I have uploaded a replacement wevhttpd.c source file. I believe this will resolve the remaining errors.

-- KennethLavrsen - 26 Mar 2005

Uploaded the netcam.c that I corrected.

-- KennethLavrsen - 26 Mar 2005

-- KennethLavrsen - 26 Mar 2005

I Attachment Action Size Date Who Comment
motion-3.2.1_snap8.tar.gzgz motion-3.2.1_snap8.tar.gz manage 260 K 26 Mar 2005 - 01:05 KennethLavrsen  
netcam.c.gzgz netcam.c.gz manage 7 K 26 Mar 2005 - 16:56 KennethLavrsen Netcam c with pic -> NULL and cosmetics
webhttpd.c.gzgz webhttpd.c.gz manage 8 K 26 Mar 2005 - 13:08 KennethLavrsen Replacement webhttpd.c to solve gcc 2.95 errors
Topic revision: r3 - 26 Mar 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.