From: Tim C. <tc...@so...> - 2007-07-22 13:52:25
|
Hello, I am trying to get motion working with my Logitech Quickcam for Notebooks Pro (046d:08c3). It works, however there are problems with the colours in the image. For example there are two images below - one taken with luvcview and the other using motion: http://sonicated.com/misc/motion.jpg http://sonicated.com/misc/luvcview.jpg I find the image taken with motion quite interesting as the image looks as though it is correct in black and white with cyan, magenta and yellow stretched shadows above and below it. I am using motion 3.2.8 and I also built motion-20070721-051001 which produced the same results. I have tested the camera with Ekiga and that produces a correct image. Can anyone help? :) Thanks, Tim |
From: Angel C. <ac...@te...> - 2007-07-22 18:06:02
|
El dom, 22-07-2007 a las 14:52 +0100, Tim Coggins escribi=C3=B3: > Hello, Hi Tim,=20 > I am trying to get motion working with my Logitech Quickcam for > Notebooks Pro (046d:08c3). It works, however there are problems with the > colours in the image. Could you send V4L2 debug information ?=20 it's the output of motion on start , you can get it in console or into logs files. > Thanks, > Tim Cheers, --=20 Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint =3D 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe;=20 no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply.=20 Willing is not enough; we must do" Johann Wolfgang von Goethe |
From: Tim C. <tc...@so...> - 2007-07-22 18:22:49
|
On Sun, 2007-07-22 at 19:44 +0200, Angel Carpintero wrote: > Could you send V4L2 debug information ? Thanks for looking into this, the debug information is below. Tim $ motion [0] Processing thread 0 - config file /home/tc/.motion/motion.conf [0] Unknown config option "sql_log_image" [0] Unknown config option "sql_log_snapshot" [0] Unknown config option "sql_log_mpeg" [0] Unknown config option "sql_log_timelapse" [0] Unknown config option "sql_query" [0] Thread 1 is from /home/tc/.motion/motion.conf [1] Thread started [1] cap.driver: "uvcvideo" [1] cap.card: "USB Video Class device" [1] cap.bus_info: "0000:00:11.2" [1] cap.capabilities=0x04000001 [1] - VIDEO_CAPTURE [1] - STREAMING [1] v4l2_select_input: name = "Camera", type 0x00000002, status 00000000 [1] - CAMERA [1] Device doesn't support VIDIOC_G_STD [1] Supported palettes: [1] 0: MJPG (MJPEG) [0] motion-httpd/3.2.8 running, accepting connections [0] motion-httpd: waiting for data on port TCP 8080 [1] Test palette MJPG (320x240) [1] Using palette MJPG (320x240) bytesperlines 0 sizeimage 42666 colorspace 00000008 [1] VIDIOC_G_JPEGCOMP not supported but it should [1] found control 0x00980900, "Brightness", range 0,255 [1] "Brightness", default 127, current 127 [1] found control 0x00980901, "Contrast", range 0,255 [1] "Contrast", default 32, current 32 [1] found control 0x00980902, "Saturation", range 0,255 [1] "Saturation", default 39, current 39 [1] found control 0x00980910, "Gamma", range 100,220 [1] "Gamma", default 220, current 220 [1] found control 0x00980913, "Gain", range 0,255 [1] "Gain", default 0, current 16 [1] found control 0x08000000, "Backlight Compensation", range 0,2 [1] "Backlight Compensation", default 1, current 1 [1] found control 0x08000001, "Power Line Frequency", range 0,2 [1] "Power Line Frequency", default 2, current 2 [1] mmap information: [1] frames=4 [1] 0 length=42666 [1] 1 length=42666 [1] 2 length=42666 [1] 3 length=42666 [1] Using V4L2 [1] Started stream webcam server in port 8081 [1] File of type 2 saved to: /home/tc/motion/lastsnap.jpg [1] File of type 2 saved to: /home/tc/motion/lastsnap.jpg [0] httpd - Finishing: Success [0] httpd Closing [1] Thread exiting [0] Motion terminating |
From: Angel C. <ac...@te...> - 2007-07-24 22:36:37
|
El dom, 22-07-2007 a las 19:20 +0100, Tim Coggins escribi=C3=B3: Hi Tim ,=20 I've created a new Topic in Twiki to fix that issue : http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegColorIssue > On Sun, 2007-07-22 at 19:44 +0200, Angel Carpintero wrote: > > Could you send V4L2 debug information ?=20 >=20 > Thanks for looking into this, the debug information is below. >=20 > Tim >=20 >=20 > $ motion > [0] Processing thread 0 - config file /home/tc/.motion/motion.conf > [0] Unknown config option "sql_log_image" > [0] Unknown config option "sql_log_snapshot" > [0] Unknown config option "sql_log_mpeg" > [0] Unknown config option "sql_log_timelapse" > [0] Unknown config option "sql_query" > [0] Thread 1 is from /home/tc/.motion/motion.conf > [1] Thread started > [1] cap.driver: "uvcvideo" > [1] cap.card: "USB Video Class device" > [1] cap.bus_info: "0000:00:11.2" > [1] cap.capabilities=3D0x04000001 > [1] - VIDEO_CAPTURE > [1] - STREAMING > [1] v4l2_select_input: name =3D "Camera", type 0x00000002, status 0000000= 0 > [1] - CAMERA > [1] Device doesn't support VIDIOC_G_STD=20 > [1] Supported palettes: > [1] 0: MJPG (MJPEG) > [0] motion-httpd/3.2.8 running, accepting connections > [0] motion-httpd: waiting for data on port TCP 8080 > [1] Test palette MJPG (320x240) > [1] Using palette MJPG (320x240) bytesperlines 0 sizeimage 42666 > colorspace 00000008 > [1] VIDIOC_G_JPEGCOMP not supported but it should > [1] found control 0x00980900, "Brightness", range 0,255=20 > [1] "Brightness", default 127, current 127 > [1] found control 0x00980901, "Contrast", range 0,255=20 > [1] "Contrast", default 32, current 32 > [1] found control 0x00980902, "Saturation", range 0,255=20 > [1] "Saturation", default 39, current 39 > [1] found control 0x00980910, "Gamma", range 100,220=20 > [1] "Gamma", default 220, current 220 > [1] found control 0x00980913, "Gain", range 0,255=20 > [1] "Gain", default 0, current 16 > [1] found control 0x08000000, "Backlight Compensation", range 0,2=20 > [1] "Backlight Compensation", default 1, current 1 > [1] found control 0x08000001, "Power Line Frequency", range 0,2=20 > [1] "Power Line Frequency", default 2, current 2 > [1] mmap information: > [1] frames=3D4 > [1] 0 length=3D42666 > [1] 1 length=3D42666 > [1] 2 length=3D42666 > [1] 3 length=3D42666 > [1] Using V4L2 > [1] Started stream webcam server in port 8081 > [1] File of type 2 saved to: /home/tc/motion/lastsnap.jpg > [1] File of type 2 saved to: /home/tc/motion/lastsnap.jpg > [0] httpd - Finishing: Success > [0] httpd Closing > [1] Thread exiting > [0] Motion terminating I've tested with a webcamera that uses uvcvideo ( svn -r114 ) : http://www.lavrsen.dk/twiki/bin/view/Motion/WorkingDevices#Acer_Orbicam_bis= on_5986_0100 The patch is made to force use MJPEG. Cheers, --=20 Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint =3D 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe;=20 no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply.=20 Willing is not enough; we must do" Johann Wolfgang von Goethe |