Motion - Motion Release 3x 2x 4snap 4

Motion Snapshot Release 3.2.4 snap4

Release Notes

3.2.4 snap4 - 30 Oct 2005

Development Release

Changes since 3.2.3

snap1
  • Removed all warnings originating from the motion sources when running ./configure --with-developer-flags. The modifications were done by the following people: Peter Holik, Bill Brack, Angel Carpintero and Kenneth Lavrsen. We now encourage developers to ensure that new code is checked with --with-developer-flags and code made so that no new warnings shows originating from the motion sources. http://www.lavrsen.dk/twiki/bin/view/Motion/ReduceWarningsPatch
  • Fixed error message with unknown config option (Bill Brack)
  • Fixed small mistake in allocating memory for cnt->imgs.common_buffer (Angel Carpintero).
  • Implemented a speed-up patch of the draw text feature (Peter Holik). http://www.lavrsen.dk/twiki/bin/view/Motion/DrawTextspeedup
  • http control updated: (null) messages replaced by "disabled", last parameter in conf/list are displayed correctly and only in Main thread. When motion runs with only one thread, it displays "No threads". (Angel Carpintero)
  • Enhanced compatibility with Lumenera (Bill Brack).
  • http control: selectbox instead of a textfield for changing boolean configs (Peter Holik and Angel Carpintero). http://www.lavrsen.dk/twiki/bin/view/Motion/WebhttpEnhancements.
  • Introduced check for device image size being a multiple of 16 (Peter Holik). http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamModulo16Patch
  • Added the debian sub directory so that people can build the deb package (Angel Carpintero).
  • Sync configure.in.freebsd (adding support for jpeg-mmx, developer-flags and some cosmetic changes ) (Angel Carpintero)
  • Implemented --with-developer-flags fixes in FreeBSD code (Angel Carpintero).
  • Implemented Threadnr in TLS (thread-local storage)patch. It puts the thread number into TLS and modifies motion_log() so that we do not have to drag the cnt struct around just to be able to print the thread number in the log and on the console. (Per Jönsson with additional removal of unuseded cnt by Kenneth Lavrsen). http://www.lavrsen.dk/twiki/bin/view/Motion/ThreadNrTlsPatch
  • Moved the motion_loop initialization into a new function motion_init (Bill Brack).
  • Removed old unused code related to read mode (not mmap) from V4L devices (Kenneth Lavrsen).
  • In v4l_start change map from unsigned char * to void * to be ANSI C compliant with mmap (Angel Carpintero)
  • http control: Changed disabled to (not defined) when displaying option list (Angel Carpintero).
  • Netcam code now waits for the next frame to arrive for a limited period in order to avoid too many duplicate images (Bill Brack).
  • Motion loop resets its frame timer when the image received is from a netcam. This lowers the actual framerate of Motion to the rate the netcam can actually keep up with. (Kenneth Lavrsen)
  • Last --with-developer-flags warnings eliminated simply by swapping the order of the #include statements in the sources (Bill Brack and Kenneth Lavrsen).
  • FreeBSD Code improvements by Angel Carpintero.
    • Implemented set/get hue, saturation, contrast and brightness.
    • Better support to capture with big resolution (640x480 , 768x576).
    • Update Readme adding information about "how to configure a capture card and settings", update packages dependencies.
    • Remove support for libjpeg-mmx, motion segfault (future fix).
    • Cosmetic changes in configure.in.freebsd (replace --without-v4l by without-bktr).
    • Cleanup code and fix warnings.

snap2
  • Simplified rotation code based on the fact that images must have dimentions that are a multiple of 16 (Per Jönsson) http://www.lavrsen.dk/twiki/bin/view/Motion/RotateSimplificationPatch.
  • Switchfilter feature repaired. It was called inside motion_detected() after overlays on cnt->img.out were added which meant that the feature also detected all the overlays, smartmasks, fixed mask and text. It is now moved to the motion_loop right after the lightswitch feature and before any overlays are added (Kenneth Lavrsen).
  • Fixed small bug where motion was detected when using a tracking camera and the camera moved to center position when gap period expires. The fix includes gathering the updating of reference frame in one place only in the motion_loop (Kenneth Lavrsen).
  • Implemented the new text option text_event and new conversion specifier %C. Option text_event defines the value %C which then can be used in filenames and text_right/text_left. The text_event/%C uses the time stamp for the first image detected in a new event. Default value is %Y%m%d%H%M%S. %C is an empty string when no event is in progress (gap period expired). Pre_captured and minimum_motion_frames images are time stamped before the event happens so %C in text_left/right does not have any effect on those images (Kenneth Lavrsen). http://www.lavrsen.dk/twiki/bin/view/Motion/EventConvertionSpecifierDiscussion
  • Renamed some variables related to time to be better descriptive of function and type (Kenneth Lavrsen).
  • Added new option 'sql_user_text'. This can be defined with the same conversion specifiers as text_xxx, on_xxxx and filenames. The SQL field text_left has been removed and replaced by a field user_text which is used for storing the interpreted value of sql_user_text (Kenneth Lavrsen)
  • Added new SQL field event_time_stamp of the type TIMESTAMP (Kenneth Lavrsen).

snap3

snap4
  • Integrated netcam with ftp patch. To use ftp simply use a URL starting with ftp:// (Bill Brack). Code was additionally cleaned up by Kenneth Lavrsen. http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamWithFTP
  • Changed error handling in vid_start so that failing to open the video device no longer causes an exit but a return with error code -1. (Kenneth Lavrsen)
  • Added the %t conversion specifier to show the thread number. (Angel Carpintero). http://www.lavrsen.dk/twiki/bin/view/Motion/ThreadConversionSpecifierPatch
  • Added help texts in conf.c and motion-dist.conf describing the %t specifier. Added a good example of use in motion-dist.conf. (Kenneth Lavrsen).
  • Fixed bug related to init of mutex in netcam code (Angel Carpintero).
  • Improved fix for netcam mutex init (Bill Brack). http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamFixPthreadInit
  • Netcam_ftp code fixes (Angel Carpintero and Asbjørn Pettersen) http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamWithFtpEnhancements
  • Enhanced ffmpeg detection (Angel Carpintero). http://www.lavrsen.dk/twiki/bin/view/Motion/BetterFFmpegDetection
  • Added two new conversion specifiers: %f which is filename (full path) and %n which is filetype (sqltype) valid in on_picture_save, on_movie_start, on_movie_end and sql_query. This also means that filename is no longer appended at the end of the 3 on_xxxx commands. (Kenneth Lavrsen)
  • Removed the sql_user_text option that was added in snap 2 (Kenneth Lavrsen)
  • Added new sql_query option. This in combination with convertion specifiers incl the two new %f and %n enables the user to use any database structure they please. Added fields is now a simple matter of modifying the sql query. The default is the same as the default in snap1. (Kenneth Lavrsen).
  • Changed the sequence of events connected with creating files. Data is now written to the databases (if used) before an external commens is on (on_xxxx options) allowing the external program to use the new data in the database (Kenneth Lavrsen).
  • Added an infinite retry scheme for netcams that are not available when Motion is started. Instead of just dying, Motion now retries every 10 seconds until the netcam is available. Until the netcam is available Motion enters the normal flow with the same grey image with a text information being fed to webcam, timelapse, snapshots, vloopback etc. Motion uses the width and height from the config file for this. It is a good idea to setup width and height so it is the same as the netcam. If the dimentions are the same Motion will switch over to the netcam seemlessly. If the dimensions are different Motion will perform a quick restart so all the many internal buffers can be initialized properly (Kenneth Lavrsen).
  • Added a better error handling of a netcam that changes dimensions while Motion is running. Instead of just writing error messages Motion restarts quickly to recover from this change. Note the now more well defined error coding for vid_next for both netcams and V4L cams. (Kenneth Lavrsen)

Next Steps

  • New features round saving config files. Still needs some discussion.
  • Auto tracking enabled when starting Motion controlled by option
  • Tracking feature through TCP/IP port.

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)

iD8DBQBDZLxFMeY897Av6rIRAtznAJwIGSvP1LiTFFzN4vzyH/wlLN+/3gCdHj5D
s718eT656YZS7fUDB5Rp+yA=
=2WX9
-----END PGP SIGNATURE-----

Bug Reports


-- KennethLavrsen - 30 Oct 2005
I Attachment Action Size Date Who Comment
motion-3.2.4_snap4.tar.gzgz motion-3.2.4_snap4.tar.gz manage 339 K 30 Oct 2005 - 12:37 KennethLavrsen  
motion-3.2.4_snap4.tar.gz.ascasc motion-3.2.4_snap4.tar.gz.asc manage 189 bytes 30 Oct 2005 - 12:37 KennethLavrsen GPG Signature File for motion-3.2.4_snap4.tar.gz
Topic revision: r1 - 30 Oct 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.