forked from Motion-Project/motion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
2612 lines (2419 loc) · 136 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Summary of changes for version 4.2.2 are below
* Update version number to 4.2.2/Changelog
* Resolve compile problem for OpenBSD
* Resolve compiler warnings for 18.10
* Guide/Manual updates
* Add the quit/end webcontrol actions to interface 0
* Set the stream index on passthrough
* Revise the webcontrol stream rate
* Answer webcontrol stream only after completing first loop
* Save the preview images when triggering emulate
* Fix startup problem when using track_type 4
* Fix hostname for webcontrol when using IPV6
Summary of changes for version 4.2.1 are below
* Update version number to 4.2.1 / Changelog
* Report to log options included in build
* Add log messages on database actions(tosiara)
* Revise log messages of port used for stream
* Revise log messages when using v4l2 via netcam
* Fix null terminator on EXIF of jpgs(tosiara)
* Fix build with static libs for webp(Fabrice)
* Guide update for initial setup.
* Prevent webcontrol update of movie_passthrough
* Remove confusing log message
* Fix motion detection when using privacy mask
* Correct thread locking for movie_passthrough
* Revise guide for better mobile viewing
* Revise additional stream timing
* Fix stream timing(adameat)
* Remove obsolete function reference
* Change version number to 4.2+git
Summary of Changes for version 4.2 are below
* html fixes for legacy interface
* Fix typo in guide
* Workaround compiler warnings on system header HAVE_STDLIB_H
* Update motion guide
* Revise timing and multiple threads for streams
* Update translations
* Add debian for travis tests
* Regression for configuration write
* Add threshold_maximum configuration option
* Add legacy webcontrol interface
* Remove legacy substream option
* Revert mjpg and static jpg as sources
* Fix boundary string placement in the streams
* Eliminate log message on invalid frame type with movies
* Add event_start, event_end as webcontrol actions.
* Correct message on failed camera connection retry
* Allow conversion specifiers for track_generic
* Add wait for netcam handler loop
* Maintain history of generic tracking moves for 'center' requests
* Resolve sqlite3 = NULL after Watchdog timeout
* Add additional stream preview options to web interface
* Regression fix for mmal camera framerate
* Add static movie file processing via netcam_url
* Depreciate mjpg format for netcam_url
* Revise configuration option names and which are included in templates.
* Fix corrupted images for ppm output formats (tosiara)
* Edit and validate height/width provided from config parameters.
* Whitespace revisions.
* Implement libmicrohttpd to provide streams and webcontrol
* Additional fix for 422p format conversion.(tosiara)
* Image conversion from 422p format
* Fix preferred codec selection in ffmpeg.
* Check for invalid camera dimensions
* Revision to handle ffmpeg version 4.0
* Revise packet locking for ffmpeg passthrough
* Guide update for default on output_pictures(Perelandric)
* Fix webcontrol for single camera via motion.conf (Matt Schatz)
* Add error return when msgfmt fails.
* Fix translation error (Perelandric)
* Fix logging messages (Perelandric)
* Add some french translations.(Sébastien VACHER)
* Fix the regex for v4l2 via netcam.
* Add config option for stream_grey
* Refactor main() to call functions instead and watchdog the netcam threads
* Update travis testing for 18.04
* Add native_language option and additional languages
* Add close on exec for files(tosiara)
* Revise status and get webcontrol for text interface.
* ffmpeg 4.0 depreciation warnings.
* Webcontrol edit checks on thread number (Matt Schatz)
* Update german translations.(Uatschitchun)
* Fix memory leak when using camera_dir(genius3000)
* Report to log a warning when using high framerates with mmal
* Revise the webcontrol interface fonts.
* Add config options for lightswitch_frames (genius3000)
* Use a #DEFINE for specifying sizes of memory of webcontrol variables
* Initiate translations
* Implement translations via gettext
* Relocate the preview_save to the event module
* Add sql_query_stop configuration option. (sander1234567890)
* Corrections to webcontrol html interface (genius3000)
* Corrections to the contributing templates (genius3000)
* Revise watchdog and time function in netcam_rtsp.c
* Additional code comments for webu.c (tosiara)
* Updated lithuanian translations(tosiara)
* Add swedish translations.(Jony)
* Replace webhttpd module with new webcontrol interface and modules
* Fix build errors with ffmpeg 4.0 (James Cowgill)
* Remove checks in code for v4l1 pixel format.
* Revise output_picture best for high resolution
* Validate text_scale is a valid value
* Depreciate macro for assigning pthread name
* Regression fix for long jump in jpegutils.c (void-user)
* Fix parameter criteria for autobrightness
* Regression fixes for vid_control_params (genius3000)
* Add config option for user to provide CORS header for streams.(jackxbritton)
* Add text_scale option (jackxbritton)
* Add track_generic_move for track_generic option (christophe-lohr)
* Copy depreciated parameters for v4l2 devices
* Revise webhttpd html header(Andrea Cioni)
* Updated build instructions for MacOSX (Alistair McMillan)
* Resolve segfault with netcam_highres startup.
* Update guide with correct conversion specifiers.
* Refactor video_v4l2/bktr and add config option vid_control_params
* Remove 17.04 from travis tests
* Manual update for typo (Christian G. Warden)
* Update documentation for %{ver} and %{host} specifier
* Revise %{host} and add %{ver} (tosiara)
* Update for passthrough processing of cameras
* Updated motion_guide.html
* Revise webcontrol page to indicate the webcontrol_parms selection
* Validate v4l2 parms when using v4l2 via netcam
* Capture images at start to prevent immediate events
* Initialize thread number to eliminate inaccurate log notice.
* Allow URLS with underscores
* Fix message when selecting UDP transport
* Add passthrough recording for rtsp cameras.
* Remove default SQL (which was specific to Maria)
* Default webp image type to be included in builds.
* Include EXIF for webp images.
* Report to log when user specifies invalid URL.
* Update guide that is installed locally.
* Updated version script to include date and dirty vs clean.
Version 4.1.1 Changes Below
* Fix file name for debug movies
* Fix image saving when using highres option
* Add error checking of jpeg decompression.
* Fix version script for old distributions.
* Fix building on musl based systems.
Version 4.1 Changes Below
* Add flip_axis option
* Add mask_privacy option
* Add netcam_highres option
* Add on_camera_found option
* Add substream_port option
* Add webcontrol_parms option
* Rename ffmpeg_timelapse to timelapse_interval
* Rename ffmpeg_timelapse_mode to timelapse_mode
* Add timelapse_fps option
* Add timelapse_codec option
* Remove sdl_threadnr option
* Remove v4l1 functionality
* Add support for RTMP and additional v4l2 palette options
* Add support for network cameras on macOSX
* Add additional conversion specifiers
* Add flood control for Motion log
* Demote the ffmpeg log messages to INF level.
* Additional reporting of configuration parms at the INF log level.
* Remove debug messages at every frame
* Report to log the IP of failed authentication attempts
* Add option for output of images in WEBP format(via build option)
* Added webcam on FreeBSD functionality/instructions.
* Added functionality for v4l2 devices via the netcam modules
* Refactoring of code for v4l2, netcam_rtsp, motion_loop, ffmpeg, configure.ac to assist future development.
* Fix movie playback issues with timestamps.
* Updated motion_guide.html, motion.1 documentation
Version 4.0 Changes Below
* PI Cam Support
* Web Interface fixes for preview, IPV6, HTML
* Allow for resize of mask file to match image
* FFMPEG Revisions (3.0, reporting of messages, FPS, timelapse)
* Fix image corruptions across threads
* Documentation updates to guide, manual, reference images.
* Add camera_name, camera_id, camera_dir options
* Configuration fixes (Pi3, JPeg Turbo, SDL, Fedora, BSD, systemd)
* travis build testing
* remove unused files(pwc-ioctl****.h, README.Axis)
* ffmpeg_variable_bitrate to values of 0-100 and ffmpeg fixes
* Better messages for pkg-config
* Fix timelapse crash when selecting mpeg4
Version 3.4.1 Changes Below
* Added suggestion for including pkgconf as part of build requirements
* Swap sequence of user ffmpeg path and PKG_CONFIG_PATH
* Allow : in non standard locations of netcam_url path.
* Eliminated the use of coded_frame (Was a redundant assignment)
* Revise HEVC to use H264 for older ffmpeg
* Add HEVC codec option for newer ffmpeg (momo-i)
* Makefile changes to align with Debian package and fixes from previous changes
* Revise description for netcam_url in configuration file.
* Change default for ffmpeg in configure.ac (Issue 795002,82)
To compile without ffmpeg now requires --without-ffmpeg option
* Change prefix to use sysconfdir instead. Install threadX.conf files to threadx-dist.conf
* Revise configure.ac to use pkg-config for ffmpeg(Rex Feany)
* Revise PIX_FMT to be able to use older ffmpeg versions.
* Revise PIX_FMT for newer ffmpeg(Rex Feany)
* Add patch for ports on proxy netcams from GVautier (issue 144906)
* Add patch from JonGuess(issue 151452) for treatment of partial netcam images.
* Consolidate the Sqlite3 options into the code standard.
* Draft revised motion_guide.html with new options.
* Revise manual to have current options.
* Tab/Space cleanup and validation security issue addressed. (issue 071831)
* Add preview to webcontrol page(issue 172526)
* Additional container fixes(requests/bugs 201900,110304,001656,050731)
* Remove depreciated deinterlace option
* Remove avformat_network_init call. Call was not needed and was leaking memory
* Add extra container options for ffmpeg videos
* Remove extra bytes before SOI marker on netcam images.
* Updated handling of lastsnap to permit subdirectory specification.
* Handle MJPEG streams from some Logitech webcams which send AVI1 instead of JFIF.
* Fix missing header for some builds(Jim Dodgen)
* Sqlite3 revisions (Jim Dodgen)
* Add new config options to the motion-dist.conf
* Allow text format specifiers to take a width like printf would. (David Fries)
* Allow text format specifiers to take a width like printf would. (David Fries)
* Add power_line_frequency configuration item to improve image quality. (David Fries)
* Fix webhttpd race condition crash with SIGHUP, add it to running thread counter (David Fries)
* Fix the GOP size for the created videos
* Fix netcam ftp functionality
* Fix Typo on the log level
* Fixed the network ftp image option.
* Lock thread on ffmpeg/libav init and open_codec
* Revise version number generated by script to indicate Unofficial-Git-'hash'
* Revised Changelog description for version 3.4
* Merge OpenBSD fixes from sthen pull request
* Revised picture.c to allow for modulo 8 pictures and adjusted netcam modules accordingly as well.(closes 135313)
* Changes to ffmpeg.h/ffmpeg.c to allow for compiling without ffmpeg/libav or with older versions.
* Merge mymalloc, free and casting changes from Alfred Klomp
* Merge bug fix for sizeof from Alfred Klomp
* Rewrote timelapse so that it works(closes 180501)
* Merge tosiara changes for version number
* Add copyright file for features added since 3.2.12
* Cleanup ffmpeg.c and plug memory leak
* Add support for latest version of ffmpeg/libav
* Tidy up packaging changes
* Add packaging fixes (infinity0)
* Revise version.sh to put out the git commit.
* Rollback revision to allow for a formal pull request.
* Reimplement changes not to be included in pull request from tosiara commit 9ebee031
* Implement requirement of modulo 16 to avoid seg fault when opening stream
* Add debian build files from trusty(14.04)
* Revise default values for motion.conf
* Revise CHANGELOG to conform with debian format
* Revised debian packaging files
* Implement new sequence for this file (CHANGELOG) newest to oldest.
Summary of Changes that were proposed to maintainer for a version 3.4
Features
* Insert Blanking frames http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x12x16x132522 (Dag Erlandsson)
* IPV6 for http-control and webcam stream not netcam yet http://www.lavrsen.dk/twiki/bin/view/Motion/IPv6
(Jeroen Massar & Angel Carpintero)
* Experimental approach for MJPEG streams (Motion JPEG) for network cameras
http://www.lavrsen.dk/twiki/bin/view/Motion/LinksysWVC200SupportPatch ( ... )
* Add draw a RED box around the movement as default (Joerg Weber)
* Add write/read nonblock functions in webhttpd( timeout on read/write). (Angel Carpintero)
* More changes in option names from http://www.lavrsen.dk/twiki/bin/view/Motion/IntuitiveOptionNamesDiscussion
(Angel Carpintero)
* motion_locate new parameter names : red , center , redcross instead of only on, off. (Angel Carpintero)
* External pipe to allow external video encoders
http://www.lavrsen.dk/twiki/bin/view/Motion/DarkwindHackeronMotionPatching (Bill Payne, Angel Carpintero)
* Split locate_motion into separate 'mode' and 'style' option to allow all
possible combinations. (Joerg Weber)
* Implement 'gapless' event mode to allow for recording of movies without 'holes'. (Joerg Weber)
* Limit detection rate to 3fps at framerates above 5fps, to reduce CPU load. (Joerg Weber)
* Fix warning for syslog() , Added support for some new bayer palettes introduced in kernel 2.6.27.
http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2008x10x15x130110
Increased buffer in ffmpeg to allow encoding at 1600x1200 (Angel Carpintero)
* Sqlite3 support http://www.lavrsen.dk/twiki/bin/view/Motion/SQLite3Patch (Giacomo Graziosi)
* New RPM SPEC file and startup scripts compliant with Fedora 10 guidelines and above (Steven Moix)
* Increase write buffer size for writing image files and ffmpegs
http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionWriteBuffersPatch (Craig West)
* Fixed mask overlay in setup mode is now green instead of white (Joerg Weber)
* Add new config option 'ipv6_enabled' to enable/disable IPV6 (Angel Carpintero)
* Remove VIDIOC_S_JPEGCOMP support is deprecated. (Angel Carpintero)
* Use static memory allocation in ffmpeg_deinterlace() (Peter Holik)
http://www.lavrsen.dk/foswiki/bin/view/Motion/FfmpegDeinterlaceStatic
* Atom optimizacion in configure.in (Peter Holik)
http://www.lavrsen.dk/foswiki/bin/view/Motion/AtomOptimizations
* Allow to change Standard method ( PAL / NECAM / SECAM ) (Angel Carpintero)
* Add authentication methods 'Basic Authentication' and 'Digest Authentication'
to the "Live Stream Server". (Michael Finsterbusch)
http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionStreamAuthPatch
* Implemented new logging system
http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionLog (Angel Carpintero)
* Added a macro MOTION_LOG , no need to add __FUNCTION__ anymore. (Angel Carpintero)
* Added EXIF feature for jpeg images , http://www.lavrsen.dk/foswiki/bin/view/Motion/ExifTaggingPatch (Wim Lewis)
* Improve detection of av_register_protocol() for ffmpeg (Angel Carpintero).
* Added support for libjpeg-turbo
http://www.lavrsen.dk/foswiki/bin/view/Motion/FeatureRequest2010x04x14x082244 (Angel Carpintero)
* Added new log type COR , to filter messages from CORE. (Angel Carpintero)
* Added a new starting option -m to disable motion detection. (Angel Carpintero)
* Allow image dimension not 4:3 changing a check of modulo 16 by modulo 8. (Jeroen Massar)
* Added codec Ogg/Theora as new output format for regular movies.
http://www.lavrsen.dk/foswiki/bin/view/Motion/OggTimelapse (Michael Luich)
* Added support for ffmpeg 0.11 new API.
* Added RSTP support for netcam ( merge https://github.com/hyperbolic2346/motion )
* Merge tosiara/rtsp branch (commit 46cfcf31d, 2014/05/21) (Mr-Dave)
* 3fps bugfix from SVN rev559 (tosiara, Joerg Weber)
* Buffer overflow vulnerabilities (hyperbolic2346)
* Redundand -- boundary prefix (torao)
* Removed compiler warnings: (Mr-Dave)
logger.c,jpegutils.c,netcam_ftp.c,track.c,
picture.c,webhttpd.c,stream.c,ffmpeg.c
* Bug fix as part of warnings in webhttpd.c fixed(Mr-Dave)
* Removed compiler warning regarding ffmpeg being newer than 0.4 version(Mr-Dave)
* New configure script and identification of ffmpeg version and additional libs. (Mr-Dave)
* Resolve additional compiler warnings in ffmpeg (Mr-Dave)
* Revised INSTALL with samples(Mr-Dave)
* Revisions for RTSP and code standard.(Mr-Dave)
* Plugged most memory leaks in RTSP. (Mr-Dave)
* Undo changes caused by code editor and other unnecessary changes (Mr-Dave)
* Moved call to netcam_shutdown_rtsp into netcam_cleanup where it belongs. (Mr-Dave)
* Regession fix for memory leaks and reconnection (Mr-Dave)
* Eliminated requirement to manually build FFMPEG for RTSP support. (Mr-Dave)
* Revised RTSP to support version 53 of libavformat (Mr-Dave)
* Revised FFMPEG.c to eliminate warnings and functions no longer supported by Libav/FFMPEG(Mr-Dave)
* Revised INSTALL to have sample PI configure option.(Mr-Dave)
* Revised configure.ac to generate compiler flag AVFMT_V53.(Mr-Dave)
* Revised INSTALL to indicate standard APT packages for RTSP (Mr-Dave)
* Revised configure.ac to recognize libavformat version 54 RTSP (Mr-Dave)
* Clean up the messaging for RTSP.
* Additional validations for RTSP connection and corrected free sequences
* Removed seg fault on failure to open first image, comments, isolation of RTSP
* Add AC_GNU_SOURCE macro to check for GNU C Library, fix compile when no FFMpeg.
* Implement inits of AV functions from bcl fork
* Add gray image upon disconnection
* Added tcp/udp transport config option from hyperbolic2346(commit 423ef7bb3)
* Revised comments to be in line with application standard.
* Restructure rtsp to handle rescaling and non YUV420 format, rotate, MJPEG input format
Bugfixes
* Avoid segfault detecting strerror_r() version GNU or SUSv3. (Angel Carpintero)
* Fix Segfault on reload or quit for vloopback (maybe other v4l1 devices too) (Peter Holik)
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2009x06x17x090603
* Allow compile with NetBSD and make LP64 compliant video_freebsd.c (Andreas Wrede)
* Avoid compile vloopback in BSD (Angel Carpintero)
* V4L2 fourcc GRBG not supported, updated default value for v4l2_palette 17. (Isaac Richter)
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2009x10x29x222753
* Exit when image dimension are not modulo 16. (Angel Carpintero)
* Avoid logs flooding using some options of netcam_keepalive and try to discard images with
weird header Content-Lenght 0. (Angel Carpintero)
* Only use post capture when we setup to record videos with external pipe or ffmpeg. (Angel Carpintero)
* Fix introduced bug for Content-Lenght = 0 in svn r476. (Angel Carpintero)
* Avoid segfault when motion cannot create a logfile. (Angel Carpintero)
* No mysql_close
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2010x11x22x033859
* No PQfinish() (Angel Carpintero)
* Input for webcams has to be set to -1
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2011x01x21x162309
* Added a conditional check for avformat_alloc_context , av_avformat_alloc_context to fix
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2011x10x05x071936 (Angel Carpintero)
* Fix issue with JPEG , adding dinfo.do_fancy_upsampling = FALSE;
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2011x08x20x194659
* Made micro-lightswitch optional (see lightwitch option in motion.conf)
* Fixed help text for options event_gap and area_detect
* Fixed motion.conf-dist , adding text according with config options.
* Fixed a bug in post_capture. It was missed under certain conditions.
* Fixed configure for SDL.
* Replace malloc() by calloc(). (Jeroen Massar)
* Free file descriptor buffers on exit.
* Avoid segfault when text_left or text_right uses non supported chars.
* Fixed leak in vloopback.
* Fixed a build of motion for some kernel version with not good videodev.h
* Netcam Modulo 8
3.2.12 Summary of Changes
Bugfixes
* Fixed name space clash with libjpeg8 (Kenneth Lavrsen)
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2010x01x22x084753
* Fixed FFV1 codec encode with ffmpeg (Angel Carpintero)
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2010x04x13x032553
* Fix conv_uyvyto420p segfault ( William M Brack )
* Enhancing the palette selection ( William M Brack )
* Fix zombies on OpenBSD. (Mark Feenstra)
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2010x04x28x054348
3.2.11.1 Summary of Changes
Bugfixes
* Fix Segfault on reload or quit for vloopback (maybe other v4l1 devices too) (Peter Holik)
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2009x06x17x090603
* Fix fd leaks in external pipe. (Angel Carpintero)
* Avoid possible stack smashing in v4l_open_vidpipe(). (Angel Carpintero)
* Allow compile with OpenSuse ffmpeg package (15594svn-20081010)
http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2008x10x25x070400 (Angel Carpintero)
* Fix warning for syslog(). (Angel Carpintero)
* Better detection of ffmpeg
http://www.lavrsen.dk/foswiki/pub/Motion/ReleaseNoteMotion3x2x11/ffmpeg-detection.diff.gz
(Angel Carpintero)
* Fix warning for __USE_GNU redefined (Peter Holik)
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2009x06x17x122137 (Peter Holik)
* Allow compile with NetBSD and make LP64 compliant video_freebsd.c (Andreas Wrede)
* Fix segfault for new libjpeg v7. (Angel Carpintero)
3.2.11 Summary of Changes
Features
* Added support for ffmpeg-2008-04-09 port version of FreeBSD.
* Remove mjpegtools dependencies and integrate only needed functions from library. (Angel Carpintero)
* Allow change/setup framerate in FreeBSD using pwcbsd. (Angel Carpintero)
* Get rid of ffmpeg-config in configure.in for debian. (Angel Carpintero)
Bugfixes
* Fix Problem Encoding 1280x1024 resolution videos
http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2008x06x11x183727 (Angel Carpintero)
* Add a new parameter netcam_tolerant_check, to be less strict with some buggy network cameras firmwares.
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2008x06x19x123218 (Angel Carpintero)
* Fix round robin in BSD switching to METEOR_CAP_SINGLE. (Angel Carpintero)
* Fix rotate for v4l2 devices using JPEG / MJPEG palettes. (Angel Carpintero)
* Fix v4l2_palette http://www.lavrsen.dk/twiki/bin/view/Motion/UvcvideoMjpegPatch (Gerrit Hannaert)
* Fix warning for x86_64 in conf.c using pointers LP64 compliant ( Angel Carpintero ).
* Fix Segfault on reload or quit for vloopback (maybe other v4l1 devices too) ( Peter Holik )
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2009x06x17x090603
3.2.10.1 Summary of Changes
Bugfixes
* Fix a security issue in web control interface http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484572
(Angel Carpintero)
3.2.10 Summary of Changes
Features
* Added the pre_capture buffer redesign to throttle load and enhance pre_capture feature.
http://www.lavrsen.dk/twiki/bin/view/Motion/PreCaptureRedesign (Dag Erlandsson).
* Added preview center feature.
http://www.lavrsen.dk/twiki/bin/view/Motion/PreviewCenter (Dag Erlandsson).
* Removed low_cpu feature, as it is not really compatible with pre_capture and a lot of other
features rely on the pre_capture buffer behind the scenes. (Joerg Weber)
* Removed night_compensate feature. This functionality is covered by noise_tune. (Joerg Weber)
* Implemented a new reference frame algorithm to improve object recognition and location. (Joerg Weber)
* Improved smartmask feature: real moving objects don't trigger the mask anymore. (Joerg Weber)
* Added area_detect feature. New config options: area_detect, on_area_detected. (Joerg Weber)
* Added help in http control
http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x11x19x181541 (Angel Carpintero)
* Added Choose V4L2 palette http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x11x19x032318
(Angel Carpintero)
* Improved http control ( 'back' link, select box, show current values when are going to be changed ).
(Angel Carpintero)
* Improved thread handling, single threads can be stopped/restarted (Dag Erlandsson)
* Watchdog, restart hang threads (Dag Erlandsson)
* Added ON_CAMERA_LOST event (Dag Erlandsson)
* Motion start if a camera isn't there at start, retries to connect if lost (Dag Erlandsson)
* Netcam Keepalive and HTTP/1.1 http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x01x22x231542
(Simon Walls)
* Added mov , Quicktime file format (Andrew Hamilton).
* Added to configure.in --with-pwcbsd to allow compile motion in freebsd with webcam support instead of bktr
(Angel Carpintero)
Bugfixes
* Fixed a problem with locate and fixed mask overlay (Dag Erlandsson).
* Preview pictures get the timestamp of moment they were captured (Dag Erlandsson).
* Fixed http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x10x23x093651 (Angel Carpintero)
* Fix process_id_file when is passed from command line (Angel Carpintero)
* Fix http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x10x27x150419 (Angel Carpintero)
* Fix http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x11x25x102808 (Angel Carpintero)
* Avoid random errors , initialising some structs for V4L1
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x11x26x010755 (Jason Sharpee & Angel Carpintero)
* Fix motion segfault because ffmpeg API change
http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2007x12x29x175530 (Angel Carpintero)
* Little fix in ffmpeg.c comparing version of LIBAVFORMAT_BUILD, since ffmpeg svn -r4486 LIBAVFORMAT_BUILD and
LIBAVCODEC_BUILD uses LIBAVFORMAT_VERSION_INT ((49<<16)+(0<<8)+0) and LIBAVCODEC_VERSION_INT ((49<<16)+(0<<8)+0)
(Angel Carpintero)
* Fix choose v4l2 palette , http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2008x01x21x043812 (Onakra)
* Get current directory to allow write motion.conf properly
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2008x02x25x013419 (John Bray)
* Fix broken PostgreSQL detection for custom location,
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2008x02x25x025134 ( Angel Carpintero )
* Fixed stepper when is used track_auto on ( Angel Carpintero ).
* Better debug in netcam for "Error reading image header"
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2008x02x27x092849 (Simon Walls)
3.2.9 Formal Release - Summary of Changes
Features
* Removed debian ( to avoid conflicts with debian package) and FreeBSD
( no needed to deploy BSD port here ) directories. ( Angel Carpintero )
* Added --chuid motion to debian init.d script. ( Angel Carpintero )
* Added Flash video format (FLV) to ffmpeg.
http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x07x19x131921 (Timo Taskinen).
* Added FFV1 ( FF video codec 1 ) codec , Lossless encoding
http://www.lavrsen.dk/twiki/bin/view/Motion/LosslessEncoding (Andrew Hamilton).
Bugfixes
* Fix segfault in webhttpd.c on motion restart (Angel Carpintero)
* Fix segfault in debian http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x09x24x175945
(Angel Carpintero)
* Fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391055 , change
motion man page , -d requires level. (Angel Carpintero)
* Handle mjpeg decoding and fix colour issue adding mjpegtools dependency
http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegColorIssue
http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegToYUV420pPatch
(Marius Rieder, Angel Carpintero).
* Add debug level > 5 to get logs from v4l2_select_input, v4l2_set_control and v4l2_set_input.
(Angel Carpintero)
3.2.8 Formal Release - Summary of Changes
Features
* Added connection status for all devices available from http web interface.
(Angel Carpintero).
http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2006x11x09x050638
* Improved deb packaging, install the init.d script. (Angel Carpintero).
* Added swf codec to video creation (Bowser Pete, Andy Brown).
http://www.lavrsen.dk/twiki/bin/view/Motion/FFmpegSWFcreation
* Added V4L2 support (Krzysztof Blaszkowski, Angel Carpintero).
http://www.lavrsen.dk/twiki/bin/view/Motion/VideoForLinuxTwoDiscussion,
* Added support for V4L2_PIX_FMT_SBGGR8 ( bayer ), V4L2_PIX_FMT_SN9C10X,
V4L2_PIX_FMT_MJPEG and V4L2_PIX_FMT_UYVY (Angel Carpintero).
* ucvideo track pan/tilt support ( Michal Licko ,Dirk Wesenberg and
Angel Carpintero )
http://www.lavrsen.dk/twiki/bin/view/Motion/LinuxUvcTrackingPatch
* Added a FreeBSD directory to allow people from BSD to get a daily version
and create a port. (Angel Carpintero).
* Removed mysql dependency from debian package and added a note to setup
motion to run as daemon to create the pid file. (Angel Carpintero).
* Changed the way configure search mysql headers and libs, added 3 parameters
to configure --without-mysql to disable support, --with-mysql-include
directory of mysql.h and --with-mysql-lib directory of libmysqlclient.a or
libmysqlclient.so (Angel Carpintero).
* Added MYSQL_OPT_RECONNECT flag for mysql connection (MYSQL 5.x only) and
changed default value for mysql_host (Angel Carpintero).
Bugfixes
* Removed a duplicate call to jpeg_destroy_decompress already is called from
netcam_image_conv (Krzysztof Blaszkowski).
* Fix http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x10x10x081903,
reconnect to mysql if connection dropped (Angel Carpintero).
* Fix memory management in ffmpeg.c (Rafis Khayrullin).
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x12x19x062432
* Fix of ffmpeg_avcodec_log code (Alain Guidez).
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x03x25x074612
* Fix a segfault adding correct size to be used for bayer2rgb24()
(Damian Wrobel)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x03x30x175913
* Fix an error in FreeBSD, the use of capture even fields depends on height
value. (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x12x03x073610
* Fixed autodetection for VIA cpu, no needed to use --without-optimizecpu.
Added many others (Angel Carpintero)
* Fix, don't remove pid file when motion reload config file( HUP signal )
(Angel Carpintero).
* Fix compilation broken by uvc track type. (Angel Carpintero).
* Fixed the thread number assignment which could goof up if netcams started
very quickly before all thread were created at startup. (Kenneth Lavrsen)
* Fix RoundRobin v4l2 buffers in driver when switching input,
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x07x07x182605
(Dag Erlandsson and Angel Carpintero).
* Check EIO for VIDIOC_DQBUF to workaround saa7134 problem.
(Dag Erlandsson and Angel Carpintero).
* Change bayer2rgb24() to fix a problem with sn9c102 driver
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x06x05x012249
(Jared D and Angel Carpintero).
3.2.7 Formal Release - Summary of Changes
Features
* Removed the minimum_gap feature which was utterly useless (Kenneth Lavrsen)
* Added new feature: minimum_frame_time which enables capturing at a lower rate
than 2 frames per second (Kenneth Lavrsen and Angel Carpintero)
* Made the creation of reference frame and the decay mechanism depending
on how much motion was detected relative to threshold setting (Joerg Weber)
http://www.lavrsen.dk/twiki/bin/view/Motion/ReferenceFramePatch
* Added process_id_file feature (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2006x06x06x123003
Bugfixes
* Fixed problem related to fetching images from Network camera and error
handling when it fails. Motion would end in infinite loops (Bill Brack).
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x03x10x000151
* Improved reporting of thread numbers during startup in setup mode.
(Peter Smith and Kenneth Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/SlightlyImprovedThreadCreationLogging
* Ffmpeg code mutex locking fix (Peter Smith)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x04x07x164654
* Ffmpeg avicodec logging improved (Peter Smith and Kenneth Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/FfmpegAvicodecLogging
* Improved upon a few ambiguous log messages which may be emitted by the Event
handling code with regards to Ffmpeg (Peter Smith)
http://www.lavrsen.dk/twiki/bin/view/Motion/LoggingEventFix
* Implemented a fix for the rare problem where some experienced that the
move file names would only consist of the extension .mpg or .avi with no
name in front. The root cause was the use of sprintf for appending to
strings. (Mike Kenney and Kenneth Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2005x09x05x133031
http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2006x06x19x174238
* Altered the risky use of sprintf to snprintf in all places related to
use with config strings that can become very long (Kenneth Lavrsen)
* Removed annoying debug messages (v4l_set_input really needed ?) in the FreeBSD
version (Angel Carpintero)
* Fixed the check for ffmpeg version. In rev 5503 of ffmpeg the FFMPEG_VERSION_INT
was removed from libavcodec/avcodec.h. Instead we now use the equivalent
LIBAVFORMAT_BUILD >= 4616 which is the 0.4.9pre1 version of ffmpeg.
(Kenneth Lavrsen)
* Fixed segfault when netcam_url has no service ( http , ftp ) (Angel Carpintero)
* Fixed interlace issue with METEOR_GEO_EVEN_ONLY in FreeBSD (Angel Carpintero)
* Fixed possible syntax error in configure related to MySQL (Angel Carpintero)
* Avoid open file descriptor when connecting to network cameras fails (Peter Holik)
http://www.lavrsen.dk/twiki/bin/view/Motion/AvoidOpenfiledescriptors
* Fixed http pause feature so that pausing thread 0 now pauses all threads.
(GunnarSkjold)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x07x10x111239
* Put a new global mutex around avcodec_close to avoid problems with not thread
safe functions in ffmpeg (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x04x07x164654
* On FreeBSD configure defines a redundant freebsd for motion. Fixed by replacing
-D__freebsd_ by BSD macro included in sys/param.h for BSD platforms.
(JukkaUkkonen and Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x07x08x070417
* For BSD platforms changed to using native pthreads as default and adding
linuxthreads as a optional parameter from configure. (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x07x08x071646
* Smartmask overlay feature did not set intensity correctly. (Kenneth Lavrsen)
3.2.6 Formal Bugfix Release.
* Fixed bug where variables time_last_frame and time_current_frame had been
extended to also be used for snapshot feature but declaration was hidden
between #ifdef HAVE_FFMPEG. (Kenneth Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x03x09x012244
* Fixed a bug that only allowed remote control of max 9 cameras. Now
Motion can present up to 99 cameras in its http remote control interface
(Angel Carpintero based on idea by Chuck Sheehan)
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHttpManyThreads
* text_changes now shows a '-' when motion detection is paused instead of
just showing 0 (Kenneth Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2006x03x16x095713
3.2.5.1 Doc and man page correction
* ffmpeg_filename has changed name to movie_filename to prepare for
alternative movie encoding to the current ffmpeg based implementation
and ffmpeg_filename will then be a bad name (Kenneth Lavrsen)
* Man page corrected.
3.2.5 Formal Release. Summary of changes
* Fixed misc problems in FreeBSD. (Angel Carpintero)
* Update README.FreeBSD
* Fix problems with tuner_device and frequency, now by default is not
defined to allow use any input without problem.
* Replace strndup() by memcpy() in netcam.c
* Merged configure.in.freebsd with configure.in (configure.in.freebsd
deleted)
* Remove a warning when used --without-bktr
* Remove cpu optimization (is broken)
* Fixed memory leak in ffmpeg code. (Andrew Hamilton)
* Fixed http control of pan and tilt (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2005x12x22x122649
* Fixed netcamera bug related to separating frames in an mjpeg stream.
(Peter Holik). From mailing list 23 Dec 2005.
* Fix related to connecting to the netcam (William Black)
From mailing list 23 Dec 2005.
* Changed CHANGELOG to same bullet format as used by TWiki to make it easier
to write release notes (Kenneth Lavrsen)
* Changed CREDITS to same bullet format as CHANGELOG (Kenneth Lavrsen)
* Fixed sql_mask not initialised correctly (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x01x09x175603
* Fixed the management of strings from http remote control , setting to NULL
when they are set to "blank" and fixes a problem with despeckle , that didn't
allow to remove labeling action from http remote control. (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/FixStringsAndDisableLabeling
* Fix many typos in comments ( i ran aspell against the code ). Also there's a
fix to free cnt->eventtime_tm when motion exits. (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/FixTypoInComments
* Fix the problem that happens in FreeBSD and Debian Sarge because
version of ffmpeg is LIBAVFORMAT_BUILD < 4629. ( Pete Shipley and Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x01x12x120335
* Updated motion.spec. Changing D_FORTIFY_SOURCE=2 by D_FORTIFY_SOURCE=1 to fix
problem related to building with ffmpeg. (Angel Carpintero)
* Implemented fix for missed snapshots with slow network cameras (Kenneth Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x02x07x162149
* Added some constants in video.c function v4l_picture_controls() which can help
people hack an optimal set of values for controlling auto brightness for their
particular camera. For now I am do not want to add all of these to the already
too large number of motion config options. Maybe based on feedback we can
permanently change the constants and add an additional auto brightness option.
Or maybe a combined option that sets more constant based on an algorithm.
(Kenneth Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x02x07x212816
* Fixed a syntax error in picture.c get_pgm() which caused the program to segfault
when a mask file size did not match the picture size. Now the program
correctly gives an error message and continues without the mask. (Kenneth
Lavrsen).
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2005x10x08x150720
* Added Tilt support to stepper track. ( Angel Carpintero ).
* CPU VIA Ezra C3 autodetection support added. (James Van Vleet)
http://www.lavrsen.dk/twiki/bin/view/Motion/VIAEzraC3Patch
* Fixed mysql configure auto-detection for x64 systems. ( Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2006x03x02x152208
* Added the ffmpeg_deinterlace feature (Andrew Hamilton)
http://www.lavrsen.dk/twiki/bin/view/Motion/MotionffmpegDeinterlace
3.2.4 Formal Release. Summary of changes
Features
* 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.
* Added new option track_auto which is a boolean option (on or off)
with default value off. This enables people to start Motion with auto
tracking enabled. Changing the config value for track_auto and
enabling the auto tracking via the httpd track/auto has the exact same
effect.
* Added 3 new tracking options: track_step_angle_x, track_step_angle_y,
and track_move_wait. The options track_step_angle control the movement
during auto tracking and are currently only active for the pwc type
tracking. The idea is that they can later also be used for the generic
tracking as it evolves. The track_move_wait controls the number of frames
after the camera has moved (auto or manual) during which motion detection
is disabled. This option should be set so low that the motion detection
is re-enabled the minute the camera is standing still again.
* 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. Adding fields is now a simple matter of modifying
the sql query.
* Added the %t conversion specifier which is the thread (camera) number.
* 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.
* http control had a number of small improvements.
* Added the debian sub directory so that people can build the deb package.
* Enhanced netcam compatibility with Lumenera and Pixord Cameras.
* Netcam feature now supports both http and ftp.
* 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 a mode showing a grey image with a text information which
is fed to webcam, timelapse, snapshots, vloopback etc. If the actual
height and width of the netcam does not match the dimensions in the
config file Motion will perform a quick restart.
* 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.
* FreeBSD Code improvements including set/get hue, saturation, contrast
and brightness, support large resolutions.
* RPM specs file changed as suggested for use in the Livna repository.
* Changed the sequence of events connected with creating files. Data is
now written to the databases (if used) before an external comments is
on (on_xxxx options) allowing the external program to use the new data
in the database.
* Motion is now also works on MaxOSX with similar feature set as FreeBSD.
Bugfixes
* netcam code now waits for the next frame to arrive for a limited period
in order to avoid too many duplicate images.
* 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.
* Removed all warnings when running ./configure --with-developer-flags.
* Fixed error message with unknown config option.
* Fixed small mistake in allocating memory for cnt->imgs.common_buffer.
* Implemented a speed-up patch of the draw text feature.
* Introduced check for device image size being a multiple of 16.
* Switchfilter feature repaired.
* Fixed small bug where motion was detected when using a tracking camera and
the camera moved to center position when gap period expires.
* Implemented fix to configure so that LDFLAGS from the environment are used
when making the Makefile.
* Changed configure so that --with-jpeg-mmx is default off as a reaction to
known problems seen when using the jpeg-mmx library.
* The lightswitch and switchfilter features have changed to ensure that both
algorithms work on raw unfiltered motion pixels which they both were designed
for.
* Fixed bug related to init of mutex in netcam code.
* Fixed small bug where the displayed time in the grey error image
shown during start with unavailable netcam could show a garbage value
under rare circumstances.
* Restored the function sigchild_handler so it contains the same code
as before motion-3.2.1_snap9. They is done in an attempt to fix an old
problem with zombie child processes that has shown up again.
* Added a work-around so people in FreeBSD that uses a capture card
where input 1 is not tuner can use motion if frequency is set -1 in
motion.conf or thread#.conf
3.2.4 Detailed changes for 3.2.4
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 unused 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 ).
* Cosmetics 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 dimensions
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
* Enhancement to Netcam Code for Connection to Pixord Cameras (Bill Brack).
http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamFixPixordBug
* Implemented fix to configure so that LDFLAGS from the environment are used
when making the Makefile (Angel Carpintero).
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2005x09x15x185558
* Changed configure so that --with-jpeg-mmx is default off as a reaction to
known problems seen when using the jpeg-mmx library (Angel Carpintero).
* RPM specs file changed as suggested for use in the Livna repository.
(Kenneth Lavrsen)
* The lightswitch and switchfilter features have been moved up before the
despeckle features are run. This should ensure that both algorithms work on
raw unfiltered motion pixels which they both were designed for. (Kenneth
Lavrsen)
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2005x10x05x212444
snap4
* Integrated NetcamWithFtp 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 comments 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 dimensions 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)
snap5
* Fixed small bug where the displayed time in the grey error image
shown during start with unavailable netcam could show a garbage value
under rare circumstances. (Kenneth Lavrsen).
* Restored the function sigchild_handler so it contains the same code
as before motion-3.2.1_snap9. They is done in an attempt to fix an old
problem with zombie child processes that has shown up again.
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2005x11x13x115016
(Kenneth Lavrsen).
* Move the declaration of sig_handler_action and sigchild_action from
the setup_signals function where they are local and will be destroyed
and out in main just before setup_signals is called. Changed the
function setup_signals so the two structs are passed as pointers.
(Kenneth Lavrsen)
Release
* Added new option track_auto which is a boolean option (on or off)
with default value off. This enable people to start Motion with auto
tracking enabled. Changing the config value for track_auto and
enabling the auto tracking via the httpd track/auto has the exact same
effect. (Kenneth Lavrsen)
* Added 3 new tracking options: track_step_angle_x, track_step_angle_y,
and track_move_wait. The options track_step_angle control the movement
during auto tracking and are currently only active for the pwc type
tracking. The idea is that they can later also be used for the generic
tracking as it evolves. The track_move_wait controls the number of frames
after the camera has moved (auto or manual) during which motion detection
is disabled. This option should be set so low that the motion detection
is re-enabled the minute the camera is standing still again. Feature
originally made by Moshe Van Der Sterre. Kenneth Lavrsen extended it to
be more generic.
http://www.lavrsen.dk/twiki/bin/view/Motion/PwcConfiguration
* New Feature: Motion is now also supported on MaxOSX with similar
feature set as for Free BSD. See README.MacOSX for details how to install
it. (Angel Carpintero)
http://www.lavrsen.dk/twiki/bin/view/Motion/MacOSXPatch
* Added a work-around so people in FreeBSD that uses a capture card
where input 1 is not tuner can use motion if frequency is set -1 in
motion.conf or thread#.conf (Angel Carpintero).
3.2.3 Detailed changes for 3.2.3
Bugfix release only. No new features.
* Fixed a bug in the http control code that failed to accept a client
connecting in some systems (Peter Holik).
* Fixed a series of bugs where several feature were using the image buffer
after text was added for noise tuning, auto_brightness, reference frame
update when tracking etc. When a netcam failed to produce an image the
text added to the previous image became motion detected also. The code is
not changed so that the ring buffer is used for timestamped images
and the image used for detection is in a buffer cnt->imgs.image_virgin.
(Kenneth Lavrsen).
http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2005x08x15x140701