Motion - Motion Release 3x 2x 2snap 10

Motion Snapshot Release 3.2.2 snap10

Release Notes

3.2.2 snap10 - 05 Aug 2005

Development Release

Changes since 3.2.1

snap1

snap2
  • Avoid Cleanup Segfault. Allocates filepath using strdup to avoid segfault is target_dir parameter is not supplied in motion.conf. Moves out from signal handler the cleanup for pipe and mpipe. (Angel Carpintero) http://www.lavrsen.dk/twiki/bin/view/Motion/AvoidCleanupSegfault
  • Major code cleanup concerning signedness of chars all over the code to allow compilation with gcc4.0 (like in Fedora Core 4) without any errors or warnings. This will probably require that some of the not yet included patches will have to be fixed because it it code all over the place that has been changed. (Kenneth Lavrsen)

snap3
  • Changed the order of drawing the red mask in setup mode so that the smartmask is drawn after the fixed mask (Joerg Weber).
  • Changed the configure script so that /usr/lib64 is also searched for the presense of ffmpeg (should fix the problem with 64 bit machines) (Kenneth Lavrsen).
  • Changed the configure script so that rpms can be made by normal non-root users (Angel Carpintero, Kenneth Lavrsen).

snap4
  • Fixed the ffmpeg code so that Motion also compiles against libavcodec build 4754 or later. (Per Jönsson)
  • Above change in configure script for 64 bit ffmpeg support also implemented in the freeBSD configure (Angel Carpintero)
  • Webhttp control interface fixed so it also works in FreeBSD (Angel Carpintero)
  • Improved the display of fixed mask. It is now shown as grey instead of red. This makes it easier to see the smart mask working when you also have a fixed mask (Joerg Weber).
  • Netcam First Header patch. If an error with jpeg decompression occured at connecting to a mjpeg streaming webcam, this patch skips this jpeg and tries to decompress next jpeg up to MAX_HEADER_RETRIES (20) (Peter Holik). http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamFirstHeader

snap5

snap6
  • Webcam code commented more (Kenneth Lavrsen)
  • New improved webcam feature. When you set webcam_motion on Motion will now stream at 1 fps instead of none. When motion is detected the webcam stream increases to the limit set in the config file. This change makes the webcam_motion much more interesting. The previous function always ended up with clients timing out. (Kenneth Lavrsen).

snap7

snap8
  • Small code cleanup in webcam.c and picture.c and .h for the webcam code (Peter Holik and Kenneth Lavrsen)
  • Small code cleanup in motion.c for the variable holding the number of microseconds since epoch. The old code worked fine but relied on an integer overflow every 71 minutes. (Bill Brack and Kenneth Lavrsen)
  • Implemented a fix/work around to a bug related to building and installing RPMs on Suse. (Paul Beltrani) http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2005x07x14x212356
  • Small speed optimization in the creation of reference frame (Peter Holik).
  • Complete rewrite of the Netcam code. Should fix many of the reported and still open netcam bugs. This is first release in a snapshot. Expect to find bugs. Testing is important. If you have a netcam please test this and report bugs. http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamCodeRewritePatch

snap9

snap10
  • Error Logging Enhancement Patch v 1.3 http://www.lavrsen.dk/twiki/bin/view/Motion/ErrorLoggingEnhancementPatch (Angel Carpintero) including:
    • Populate the motion_log to the whole motion source code.
    • Fixed FreeBSD copilation.
    • Added the posiblity to pass NULL as struct context *
    • Removed unused errno variables.
    • Fixed errno in rotate.c , set to 0.
    • Fixed some errno flags in webhttpd.c and motion.c
    • Fixed a bug when not motion.conf is found
    • Removed printf from all files
    • Fixed the conf_list[] index in motion.c
  • RotateBswapFix Patch v 2 http://www.lavrsen.dk/twiki/bin/view/Motion/RotateBswapFix (Per Jönsson) including:
    • cleanup in code comments
    • fix for __bswap_32 macro collision
    • fixed bug where initialization would be incomplete for invalid degrees of rotation
    • now uses motion_log for error reporting
  • Re-mplementation of optional Proxy Server for Network Cameras (Bill Brack). http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamProxyServerPatch
  • Included a CODE_STANDARD text file to help new developers make patches that are easier to integrate without too much manual editing. (Kenneth Lavrsen)
  • Added the missing rotate feature in the new netcam code (Billl Brack)

Next Steps

  • A lot of testing of the brand new netcam code.
  • Implement retry schemes as discussed in http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamRetryErrorDiscussion
  • Fix open bugs.
  • tuner_number will be introduced later when Motion eventually supports V4L2. Will not be in 3.2.2.
  • Add the two new conversion specifiers to Motion Guide and man page.
  • Add the new option text_double to Motion Guide when releasing 3.2.2
  • Add the new option netcam_proxy to Motion Guide when releasing 3.2.2
  • 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 http://www.lavrsen.dk/twiki/bin/view/Motion/BugReports for open bugs.
  • The pwc-ioctl.h is for pwc version 9.0.1, 10.0.6 and 10.0.7a. 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

GPG Signature

Kenneth Lavrsen's public key can be found on keyservers or on this non-wiki webpage.

http://www.lavrsen.dk/publickey.htm

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBC8xeJMeY897Av6rIRArNmAJ9ElzFk2PnssgW+3nQSw5PuUjV0ZgCgpBdB
cLG11hollmPBEGlc1656QYs=
=6l7e
-----END PGP SIGNATURE-----

Bug Reports


-- KennethLavrsen - 05 Aug 2005
Topic revision: r1 - 05 Aug 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.