From: Angel C. <ac...@te...> - 2008-11-18 13:19:26
|
El mar, 18-11-2008 a las 11:24 +0100, Andreas Kreisl escribió: > Thanks for your reply. > > No I have tried it with trunk-r436. > I used the motion-dist.conf and just changed the setting v4l2_palette to 1. > Now I get a Segmentation fault? try v4l2_palette 3 instead . Still i have to commit some changes so trunk is a bit broken using not default value for v4l2_palette. > [0] conf_load: Processing thread 0 - config file motion.conf > [0] motion_startup: Motion trunk-r436 Started > [0] ffmpeg_init: ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664 > [0] main: Motion running in setup mode. > [0] main: Thread 1 is from motion.conf > [0] httpd_run: motion-httpd testing : IPV4 addr: 127.0.0.1 port: 8080 > [1] motion_init: Thread 1 started > [0] httpd_run: motion-httpd Bound : IPV4 addr: 127.0.0.1 port: 8080 > [1] v4l2_get_capability: > ------------------------ > cap.driver: "spca561" > cap.card: "Camera" > cap.bus_info: "0000:00:04.0" > cap.capabilities=0x05000001 > ------------------------ > [0] httpd_run: motion-httpd/trunk-r436 running, accepting connections > [1] - VIDEO_CAPTURE > [0] httpd_run: motion-httpd: waiting for data on 127.0.0.1 port TCP 8080 > [1] - READWRITE > [1] - STREAMING > [1] v4l2_set_pix_format: Supported palettes: > [1] 0: S561 (S561) > [1] 1: GBRG (GBRG) > [1] v4l2_set_pix_format: index_format 4 Test palette GBRG (352x288) > [1] v4l2_set_pix_format: Adjusting resolution from 352x288 to 176x144. > [1] v4l2_set_pix_format: Using palette GBRG (176x144) bytesperlines 176 > sizeimage 25344 colorspace 00000008 Your driver force to use a lower resolution , probably because you are using USB 1.0/1.1 ? , uvcvideo use to do it when there's not enough bandwidth in usb for requested palette / frame size. > [1] v4l2_scan_controls: found control 0x00980911, "Exposure", range 1,3195 > [1] v4l2_scan_controls: "Exposure", default 200, current 200 > [1] v4l2_scan_controls: found control 0x00980912, "Auto Gain", range 0,1 > [1] v4l2_scan_controls: "Auto Gain", default 1, current 1 > [1] v4l2_scan_controls: found control 0x00980913, "Gain", range 0,36 > [1] v4l2_scan_controls: "Gain", default 36, current 36 > Segmentation fault Recheck your config file and get a coredump , it will give you some clues : http://www.lavrsen.dk/twiki/bin/view/Motion/CoreDumpInMotion > > > > El lun, 17-11-2008 a las 22:16 +0100, Andreas Kreisl escribió: > > > >> Hi all, > > > > > > > > Hi Andreas , > > > > > >> I try to get these Webcam unter Ubuntu 8.10 with otion 3.2.9 to run ... > >> without success :-( > > > > > > > > Yah man ... current stable version of motion is 3.2.11 , so ubuntu has a > > really OLD version of motion . > > > > They should not use anymore debian package and create its own ... but > > they can decide to make motion users > > in ubuntu / debian unhappy. > > > > > >> Here the Message: > >> > >> [1] Thread 1 started > >> [1] cap.driver: "spca561" > >> [1] cap.card: "Camera" > >> [1] cap.bus_info: "0000:00:04.0" > >> [1] cap.capabilities=0x05000001 > >> [1] - VIDEO_CAPTURE > >> [1] - READWRITE > >> [1] - STREAMING > >> [0] Waiting for threads to finish, pid: 1927 > >> [1] Supported palettes: > >> [1] 0: S561 (S561) > >> [1] 1: GBRG (GBRG) > >> [0] motion-httpd/3.2.9 running, accepting connections > >> [1] Unable to find a compatible palette format. > > > > > > Probably the issue is , using a webcam with driver that uses the new > > kernel v4L2 stack introduced > > in 2.6.27 , here is a bug around : > > > > http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2008x10x15x130110 > > > > > >> [0] motion-httpd: waiting for data on port TCP 8080 > >> [1] Using VIDEO_PALETTE_YUV420P palette > >> [1] Using V4L1 > >> [1] Started stream webcam server in port 8081 > >> [1] sync error in proc 1927: Invalid argument > >> [1] Raw changes: 60111 - changes after 'EedDl': 0 - labels: 154 - > >> noise level: 233 > >> [1] mcapture error in proc 1927: Invalid argument > > > > > > http://www.lavrsen.dk/twiki/bin/view/Motion/FrequentlyAskedQuestions#sync_error_in_proc_xxxx_No_space > > > > > >> [1] Video device fatal error - terminating camera thread > >> [1] Thread exiting > >> [1] Somebody stole the video device, lets hope we got his picture: > >> Invalid > >> argument > >> [1] Closing webcam listen socket > >> [1] Closing active webcam sockets: Invalid argument > >> [0] Threads finished > >> [0] Motion terminating > >> > > > > > > > >> Kind Regards, > >> Andreas Kreisl > > > > -- Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint = 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe; no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply. Willing is not enough; we must do" Johann Wolfgang von Goethe |