Commit Graph

25 Commits

Author SHA1 Message Date
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
AngelCarpintero
0f9d3716ff Fixed a typo that breaks compilation 2007-08-14 17:13:14 +00:00
AngelCarpintero
36f03f35bf Fix some LOG_INFO in v4l2_select_input 2007-08-14 14:57:18 +00:00
AngelCarpintero
95c23a049e debug level > 5 to get logs from v4l2_select_input, v4l2_set_control and v4l2_set_input functions. 2007-08-14 14:26:56 +00:00
AngelCarpintero
1f49c28544 Adapted patch from http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegToYUV420pPatch to fix MJPEG color issue, now configure checks for mjpegtools. 2007-08-09 03:18:58 +00:00
AngelCarpintero
2e46a83b51 VIDIOC_DQBUF EIO fix 2007-07-15 17:44:29 +00:00
AngelCarpintero
47f1f4f014 Improve patch for http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x07x07x182605 2007-07-09 16:22:11 +00:00
AngelCarpintero
6e98f43793 Fix gcc warnings , remove unused variables & make some variable cast. 2007-07-08 18:07:58 +00:00
AngelCarpintero
f30ac39a19 Added a FreeBSD directory to allow people from BSD to get a daily version and create a port 2007-02-07 22:33:34 +00:00
AngelCarpintero
88352421fe Added support for V4L2_PIX_FMT_UYVY and a conversion function from uyvy to yuv420p 2007-02-03 01:47:12 +00:00
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
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
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