Commit Graph

69 Commits

Author SHA1 Message Date
KennethLavrsen
7a38a2105b Bringing the 3.2 branch up to 3.2.11.1 level 2009-08-11 06:14:03 +00:00
AngelCarpintero
320efd354d More code standard, add subversion revision to 3.2.10 branch 2008-07-20 03:33:37 +00:00
AngelCarpintero
c9c11b775f More code standard 2008-07-17 13:00:18 +00:00
AngelCarpintero
52b733cdaf Better ident on picture.c , backport WATCHDOG_OFF when not restart in motion_loop and exit motion when only running one thread a this thread quits http://www.lavrsen.dk/twiki/bin/view/Motion/WatchdogAndThreadPatch , but not ffmpeg quit. 2008-05-07 03:40:42 +00:00
AngelCarpintero
6a1bffba4e Added --with-pwcbsd to 3.2.10, better ident for video.c and fix a gcc 4.2.3 warning in v4l_startpipe() 2008-05-04 10:42:00 +00:00
AngelCarpintero
6626048910 Reset post capture on end event 2008-04-16 02:22:11 +00:00
AngelCarpintero
1a282d3ede Fixed stepper when used with track_auto on and merge 3.2.10 changes from trunk -r325 2008-03-20 05:37:32 +00:00
AngelCarpintero
80249d1fb7 Merge -r 298:307 trunk after FreeBSD watchdog , --without-bktr 2008-01-26 04:11:01 +00:00
DagErlandsson
78e9c60f42 Fixed so a preview image always is from saved images, even if we have minimum_motion_frames and a image is "better", but not within minimum_motion_frames. 2008-01-09 17:31:43 +00:00
JoergWeber
5de830522d Remove debugging output. 2007-12-23 17:24:00 +00:00
JoergWeber
c8c641c6b8 Rate-limit reference frame at framerates above 5fps to save CPU and keep sensitivity at a constant level. 2007-12-23 14:50:17 +00:00
JoergWeber
c7e2d16e4f area_detect: small fix to respect minimum_motion_frames. 2007-12-22 09:36:28 +00:00
DagErlandsson
b16ddd32ed Added watchdog, camera lost event, Retry connect camera, improved thread handling. See http://www.lavrsen.dk/twiki/bin/view/Motion/WatchdogAndThreadPatch for more details. 2007-12-02 15:25:49 +00:00
AngelCarpintero
ad29d36477 Continue changing int types and fix some default values in motion-dist 2007-11-24 21:24:01 +00:00
AngelCarpintero
69b3066f3b Fix http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x10x27x150419 , segfault on x86_64 2007-11-20 12:02:02 +00:00
AngelCarpintero
230b21d2fd More fixes in motion man page and little fix to avoid a message of motion start when motion -h is run 2007-11-15 07:24:37 +00:00
JoergWeber
8885b51b87 Small micro-lightswitch modification. Removal of ref frame debug options. 2007-11-09 10:43:52 +00:00
DagErlandsson
d9f4f69791 Fix several issues when using output_all:
Start movie record (if configured)
Save preview (if configured) if there isn't any image with motion.
area_detect is now only sent if there is motion.
2007-11-08 20:28:56 +00:00
JoergWeber
edff791c06 area_detect feature added. 2007-11-07 13:47:33 +00:00
AngelCarpintero
a8a8261777 Remove uneened variables & comments 2007-11-06 03:02:25 +00:00
JoergWeber
b4a1d49c9f Further smartmask improvement. Ref frame algo refined and streamlined a bit. Still not final yet. Without despeckle, objects keep dropping pixels behind them. 2007-10-31 14:28:05 +00:00
JoergWeber
4b18e788fb Added micro-lightswitch to better cope with brightness changes 2007-10-24 11:16:12 +00:00
DagErlandsson
bd7e75ef82 Fixed so gap is calculated after last saved (post_capture) frame.
Pre_capture redesign introduced a problem where it was after last frame with motion.
2007-10-23 18:20:10 +00:00
JoergWeber
31492f3108 removed some debugging code 2007-10-12 08:29:23 +00:00
JoergWeber
45d398f349 Added new reference frame algo. May still need some minor adjustments, but is working ok so far. 2007-10-12 07:42:53 +00:00
AngelCarpintero
6a125b1ac9 Added verbose messages for motion version, ffmpeg libs. Fix a broken compilation in FreeBSD 6.2 with fmpeg-2007-09-14. 2007-10-03 05:49:22 +00:00
DagErlandsson
a960615682 Removed a bad comment in last commit. 2007-09-09 10:55:14 +00:00
DagErlandsson
1393af25ab Clear image location data in image ring. 2007-09-09 10:40:51 +00:00
JoergWeber
248291c8ae Removed low_cpu feature as agreed. 2007-09-03 10:19:14 +00:00
AngelCarpintero
bd3045390c Added center option for output_normal and remove unnecessary variable definitions 2007-08-31 16:28:05 +00:00
DagErlandsson
5f6341a779 Changed so precap_buffer is flushed at end of event. Moved all "picture"
dependent data from global context into a image_data structure. In 
global context there is a pointer, current_image, that points to the 
image that is active at this moment. It can be a image from the 
pre_capture buffer or the newly captured image.
Also changed that all images have a locate rectangle (if configured), 
and not as before when the first minimum_motion_frames-1 didn't have 
it.
2007-08-30 20:01:27 +00:00
JoergWeber
c513767ee8 Preview timestamp set to the time when frame was shot (Dag) 2007-08-21 22:21:00 +00:00
JoergWeber
b9ff8ef752 Bugfix for pre_capture patch. 2007-08-21 12:42:19 +00:00
AngelCarpintero
9bb0c66f29 Added http://www.lavrsen.dk/twiki/bin/view/Motion/PreviewCenter 2007-08-19 15:25:24 +00:00
JoergWeber
664a72c0a1 Fixed a bug with locate and fixed mask overlay 2007-08-16 23:19:44 +00:00
JoergWeber
0d7b284185 Added http://www.lavrsen.dk/twiki/bin/view/Motion/PreCaptureRedesign 2007-08-16 12:15:29 +00:00
AngelCarpintero
e6b93632c4 Added MYSQL_OPT_RECONNECT for mysql 5.0.13, try to recover connection automatically. Change default value for mysql_host replacing Not defined by localhost 2007-07-09 16:30:11 +00:00
AngelCarpintero
1c01e44679 Improve message log for enabling stream server 2007-07-04 04:46:22 +00:00
KennethLavrsen
c42a21a875 test commit.
I have updated the webserver and the subversion server
Previous commit was not sent as email because of missing script
2007-06-18 07:58:43 +00:00
KennethLavrsen
c888bf0bc4 Thread numbers could get goofed up if you have many threads and some are netcams The netcam thread would increase the
threads_running variable while Motion was still starting threads. The fix is to not use thread_running to set the thread number but 
instead use the loop variable.
If no thread files the first camera thread is 1 so this is handled as special case
2007-06-18 07:53:15 +00:00
AngelCarpintero
42cb3b36b7 Fixed BugReport2007x03x30x175913 , added LinuxUvcTrackingPatch not yet verified 2007-03-31 13:12:52 +00:00
AngelCarpintero
98849d9093 Revert a change to increase the size of cnt->imgs.common_buffer 2007-02-20 14:59:06 +00:00
AngelCarpintero
d1eca61335 Fix , don't remove pid file when motion reload config file( HUP signal ) 2007-02-04 02:57:00 +00:00
AngelCarpintero
18c981e665 Big commit for V4L2, many things won't work but that's the only way to test them. Added experimental MJPEG support for V4L2 using libavcodec. Change the order of palettes, use V4L2_PIX_FMT_SBGGR8 ( bayer ) before than V4L2_PIX_FMT_SN9C10X ( that is compressed ). Add video standard support for bttv cards (VIDIOC_G_STD). Increased the number of buffers to use and the minumun for V4L2. Change the HAVE_V4L2 by MOTION_V4L2 as Kenneth reported .Add a info message in V4L to show the palette used that will made easier to add support for more palettes and handle problems. Increase the size of cnt->imgs.common_buffer that was only used by despeckle , now is used by MJPEG ( it will be reviewed ). 2007-01-18 02:35:34 +00:00
AngelCarpintero
587d1a8e4d Add connection status for all threads and it is queried main thread. 2006-11-15 00:03:23 +00:00
AngelCarpintero
80a1057f5a Added FeatureRequest2006x11x09x050638 2006-11-11 06:29:38 +00:00
KennethLavrsen
e34aabfbd1 Cosmetic code change 2006-10-16 19:44:33 +00:00
KennethLavrsen
56c7b0b473 Forgot to delete the problem line 2006-10-16 19:40:59 +00:00
KennethLavrsen
ccce5bce94 2nd part of PID fix. Warning gone 2006-10-16 19:40:00 +00:00
KennethLavrsen
b43551de94 Motion hangs when reporting creation of PID file.
There will be a 2nd part to remove compiler warning.
2006-10-16 19:36:26 +00:00