Motion - Support Question 2008x 11x 18x 145843

Logitech 46d:092f QuickCam Express Plus didn't work.

<!-- Do not edit title above. Edit the TopicTitle field in the form at the bottom -->

Question

I get a Segmentation Fault wenn I try to use that Camera.

munin.conf: videodevice /dev/video0 
v4l2_palette 3 
input 8 
width 352 
height 288 
framerate 2 
*all other settings are default*  
CoreDump send to Angel Carpintero.  
[1] motion_loop: vid_return_code 1 [1] Raw changes:     0 - changes after 'EedDl':     0 - labels:   0 - noise level: 11 
[1] motion_loop: vid_return_code 1 [1] Raw changes:     0 - changes after 'EedDl':     0 - labels:   0 - noise level: 11 
[0] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
 [1] motion_loop: Retrying until successful connection with camera
 [1] v4l2_get_capability:
 ------------------------ 
cap.driver: "spca561" cap.card: "Camera" 
cap.bus_info: "0000:00:04.0" 
cap.capabilities=0x05000001 
------------------------ 
[1] - VIDEO_CAPTURE
 [1] - READWRITE 
[1] - STREAMING 
[1] v4l2_select_input: name = "spca561", type 0x00000002, status 00000000
[1] - CAMERA 
[1] v4l2_set_pix_format: Supported palettes: 
[1] 0: S561 (S561) 
[1] Selected palette S561 
[1] v4l2_set_pix_format: index_format 3 Test palette S561 (320x240)
 [1] v4l2_set_pix_format: Using palette S561 (320x240) bytesperlines 320 sizeimage 38400 colorspace 00000008 
[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 [1] v4l2_set_mmap: mmap information: frames=4 
[1] v4l2_set_mmap: 0 length=40960 
[1] v4l2_set_mmap: 1 length=40960 
[1] v4l2_set_mmap: 2 length=40960 
[1] v4l2_set_mmap: 3 length=40960 
[1] vid_v4lx_start: Using V4L2 
[0] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0 Segmentation fault  
 

Environment


| Motion version: | trunk-r436 |
| ffmpeg version: | r11872+debian_3:0.svn20080206-12ubuntu3 |
| Libraries: | ffmpeg, mysql |
| Server OS: | Ubuntu 8.10 64bit, kernel 2.6.27 |

-- AndreasKreisl - 18 Nov 2008

Follow up

Please try latest svn -r438 , pay attention that motion.conf has changed,

after generate motion-dist.conf copy to motion.conf and edit , don't change v4l2_palette

that is only needed if you want to choose priority of palettes however autodetection

should work better most of times. So try to setup in your motion.conf :

setup_mode off
v4l2_palette 11 
width 320
height 240
ffmpeg_output_movies off
target_dir /tmp/cam1 

-- AngelCarpintero - 18 Nov 2008

Answer

No feedback from user . Probably issue was fixed in svn trunk.

-- AngelCarpintero - 09 Aug 2009
Topic revision: r3 - 09 Aug 2009, AngelCarpintero
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.