Commit Graph

145 Commits

Author SHA1 Message Date
AngelCarpintero
0940b5db22 Fix MJPEG , now it works :) , but seems that some issues about image distorsion may happen , not sure if the problem is from ffmpeg. 2007-01-31 19:49:07 +00:00
AngelCarpintero
f83311f967 Add global mutex around libavcodec call in mjpeg. Add more information to debug V4L2 2007-01-28 19:36:43 +00:00
AngelCarpintero
7fab0db46c Fix bufsize for mjpeg and added a correct fmt. Add V4L2_CID_GAMMA control. Implement v4l2_set_fps but not used yet. 2007-01-28 02:19:17 +00:00
AngelCarpintero
6d24b529f0 Update width and height when size of image is adjusted in V4L2 2007-01-26 22:25:23 +00:00
AngelCarpintero
9b9494f52d Fixed autodetection for VIA cpu , no needed to use --without-optimizecpu. Added many others ( http://gentoo-wiki.com/Safe_Cflags ) . 2007-01-21 13:00:53 +00:00
AngelCarpintero
de504a489c Krzysztof fix a corruption memory in mjpeg and ident de code. 2007-01-20 02:33:35 +00:00
AngelCarpintero
da853aa9ca Small fix MJPEG depends on ffmpeg support. 2007-01-18 11:17:20 +00:00
KennethLavrsen
84f4c662aa We need to include kernel header stuff after motion.h etc so we avoid including time.h 2007-01-18 07:54:11 +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
a9f8986bda Fix a previous error in V4L2 detection, not yet happy with all systems :-( 2007-01-16 06:21:28 +00:00
AngelCarpintero
7cb09296e4 Update configure.in with autoupdate to fix some potencial problems in the future. 2007-01-16 06:05:10 +00:00
AngelCarpintero
e9e223f9a7 change 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 2007-01-16 05:53:31 +00:00
AngelCarpintero
f96f60a996 A second approach to detect videodev2.h for V4L2 support. Added a xioclt function like V4L2 API explain. Implemente vid_close for V4L2 as separate function to implement stop capturing as V4L2 explain. 2007-01-15 04:01:07 +00:00
AngelCarpintero
c5e0ee9022 Change configure to detect V4L2 when videodev.h doesn't include videodev2.h, also included in video2.c with a conditional define HAVE_V4L2_OLD 2007-01-14 14:50:40 +00:00
AngelCarpintero
af6fe9d2c6 Added experimental support for V4L2_PIX_FMT_SBGGR8 ( bayer ), V4L2_PIX_FMT_SN9C10X using code from sonix driver ( TODO : remplace bayer2rgb24 by bayer2yuv420) and V4L2_PIX_FMT_MJPEG. 2007-01-14 06:54:55 +00:00
AngelCarpintero
d2e0f897fb Use V4L2_PIX_FMT_YUV420 as the preferal palette. 2007-01-11 21:41:27 +00:00
AngelCarpintero
6daec25e7c First approach to fix the problem to compile motion if v4l2 is not supported 2007-01-11 00:51:43 +00:00
AngelCarpintero
efe789b089 Update configure running autoconf, that will avoid some support question for those people that forget to run autoconf. V4L2_CAP_RADIO is not checked because break motion compilation because is not included in some kernel versions in videodev2.h 2007-01-10 02:51:43 +00:00
AngelCarpintero
619cad48f7 Merge V4L2 patch , seems that some distro with old kernels fails to compile , so a patch is needed in configure.in to find videodev2.h 2007-01-10 00:45:27 +00:00
AngelCarpintero
5b725d7db7 http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x12x19x062432, other fix 2007-01-08 20:37:21 +00:00
AngelCarpintero
88c9185355 http://www.lavrsen.dk/twiki/bin/view/Motion/FFmpegSWFcreation still missing the name of the author in CHANGELOG and CREDIT files. 2007-01-02 12:21:05 +00:00
AngelCarpintero
f3233f6f56 ffmpeg patch http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x12x19x062432 2006-12-29 15:33:45 +00:00
AngelCarpintero
01f9e55e87 Fix an error in FreeBSD , the use of capture even fields depends on height value. 2006-12-07 05:56:57 +00:00
AngelCarpintero
ad2453a728 Fix a small warning in Makefile.in for new version of autoconf 2006-11-21 08:42:35 +00:00
AngelCarpintero
eba5cb9c32 Fix that bug, but ONLY for mysql http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2006x10x10x081903 2006-11-21 04:15:39 +00:00
AngelCarpintero
c3532e4a58 Removed a duplicate call to jpeg_destroy_decompress already is called from netcam_image_conv ( this belongs to Krzysztof Blaszkowski), that commit is from v4l2 patch. Next commits i will try to clean and fix things in that patch but first i need to commit no related fixes. 2006-11-19 10:39:36 +00:00
AngelCarpintero
16ec798335 Update changelog with latest features added. 2006-11-16 02:26:22 +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
2fd78cfab7 Add to motion package the installation of init.d script 2006-11-14 19:08:23 +00:00
KennethLavrsen
ca0d8b1678 Missing thread parameter in webhttpd code
Ran autoconf making a fresh configure for 3.2.8 version
2006-11-12 16:06:45 +00:00
AngelCarpintero
80a1057f5a Added FeatureRequest2006x11x09x050638 2006-11-11 06:29:38 +00:00
AngelCarpintero
cfe9e0defc Update version number to indetify svn version 2006-11-04 18:31:04 +00:00
KennethLavrsen
773ef74ae7 pid file is also a new feature (changelog again) 2006-10-20 00:16:39 +00:00
KennethLavrsen
22b3e6ec8f Split change log in features and bugfixes 2006-10-20 00:14:39 +00:00
KennethLavrsen
2a07f7a48e Motion guide update (configure options were not updated) 2006-10-19 23:44:40 +00:00
KennethLavrsen
e9852c3a0a Ran autoconf and changed some tabs to spaces 2006-10-19 23:02:05 +00:00
AngelCarpintero
3abcc4b9f7 Add make deb to build a deb package in debian/ubuntu/etc ... you need to run 'make deb' as root or use sudo instead. 2006-10-16 20:11:18 +00:00
AngelCarpintero
8f78624fae Update information and synchronize files with current development. 2006-10-16 20:02:06 +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
KennethLavrsen
26e5295c5d More credits added.
Man page - old configs removed.
Motion guide update again
2006-10-16 08:47:04 +00:00
KennethLavrsen
ff43b60e33 Andrew Hamilton never received his credit for adding ffmpeg_interlace in 3.2.5
Thanks Andrew
2006-10-16 08:33:15 +00:00
KennethLavrsen
31e506cdc5 Update guide. Removed forgotten +es from man page 2006-10-16 08:24:43 +00:00
KennethLavrsen
9cd46deefa Updated the motion.1 man page based on the autogenerated file from
http://www.lavrsen.dk/twiki/bin/view/Motion/MotionOptionsAlphabeticalManpage?skin=text
2006-10-16 08:10:23 +00:00
KennethLavrsen
bbec1e47cf Removing a space and testing new SVN post-commit script
which hopefully adds the authors name to email title
2006-10-16 07:08:37 +00:00
KennethLavrsen
6dbd06acad Stepper tracker initialization should be handled by ignoring it instead of exiting
like we already do with the other track types.
2006-10-16 06:13:46 +00:00
AngelCarpintero
d9ab41898e Added function motion_remove_pid() to remove the pid file when motion exits. 2006-10-16 00:01:40 +00:00
AngelCarpintero
9bb3c00042 Add to motion man page and motion description of -p parameter 2006-10-11 19:09:09 +00:00