Motion - Support Question 2010x 07x 13x 090618

USB webcam bad immage at 640x480, all good at 352x288


I set up motion, all work very well al 352x288, motion detection and stream is correct but if i set up resolution 640x480 i see this horizontal stripes:


and after some seconds motion crash. with the same hardware and with program called "mjpg-streamer", i can see a web stream at 640x480, so the hardware and driver work...

What can i tweak in config for cancel horizontal streaks?

ThankU! Daniele


[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] Resizing pre_capture buffer to 3 items
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
[0] Calling vid_close() from motion_cleanup
[0] Closing video device /dev/video0
[1] v4l2_next: VIDIOC_DQBUF: EIO (s->pframe 1): Input/output error


root@OpenWrt:/etc# egrep -v '^$|^#|^;' motion.conf
daemon on
process_id_file /var/run/motion/
setup_mode off
videodevice /dev/video0
v4l2_palette 6
input 8
norm 0
frequency 0
rotate 0
framerate 2
minimum_frame_time 5
netcam_tolerant_check off
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
roundrobin_frames 1
roundrobin_skip 1
switchfilter off
threshold 1000
threshold_tune off
noise_level 32
noise_tune on
despeckle EedDl
smart_mask_speed 0
lightswitch 0
minimum_motion_frames 2
pre_capture 1
post_capture 0
gap 60
max_mpeg_time 0
output_all off
output_motion off
quality 75
ppm off
snapshot_interval 0
locate off
text_right %Y-%m-%d\n%T-%q
text_changes off
text_event %Y%m%d%H%M%S
text_double on
target_dir /www/usb/motion
snapshot_filename %v-%Y%m%d%H%M%S-snapshot
jpeg_filename %v-%Y%m%d%H%M%S-%q
movie_filename %v-%Y%m%d%H%M%S
timelapse_filename %Y%m%d-timelapse
webcam_port 8081
webcam_quality 70
webcam_motion off
webcam_maxrate 1
webcam_localhost off
webcam_limit 0
control_port 8082
control_localhost off
control_html_output on
control_authentication xxx:xxx
track_type 0
track_auto off
track_motorx 0
track_motory 0
track_maxx 0
track_maxy 0
track_iomojo_id 0
track_step_angle_x 10
track_step_angle_y 10
track_move_wait 10
track_speed 255
track_stepsize 40
quiet on
sql_log_image on
sql_log_snapshot on
sql_log_mpeg off
sql_log_timelapse off
sql_query insert into security(camera, filename, frame, file_type, time_stamp, event_time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T', '%C')


Motion version:
ffmpeg version:  
Server OS: Linux OpenWrt, Fonera 2.0

-- DanieleBusana - 13 Jul 2010


I have the same problem if i connect second camera to PCI-USB controller.

I suppose the problem is weak hardware speed: system bus/CPU/memory/etc. (?)

BRGDS from Russia,

Topic revision: r2 - 30 Jul 2010, PavelM345
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.