From: David Powell <david@de...> - 2010-08-15 12:14:28
I'm having kind of the same problem, except mine is an issue of color.
I played around with the color settings in Motion one day, and ended up
with all four cameras having a purple tinge. Now I can't get rid of the
purple no matter what settings I use, although I can make it better or
worse. Not sure what's happening there. Restarting Motion doesn't
help, so whatever is causing it is persistent across invocations of
Motion. Right now all settings are back to 0 for color control and the
images are still purple.
On 8/14/2010 12:07 PM, motion-user-request@... wrote:
> I used motion a couple of years ago to good effect until I upgraded Ubuntu and all of a
> sudden all I got was a white screen when I pointed my cheapo IBM webcam outside. Prior to
> that upgrade, though, it worked fine.
> I fiddled and fiddled and finally gave up. I recently came back to the project after
> moving to Arch. Then I found a post in the archives that suggested putting sunglasses on
> the cam and now I have a picture. So I'm back to tweaking motion again.
> Here's my webcam:
> Bus 002 Device 002: ID 0545:8002 Xirlink, Inc. IBM NetCamera
> Unlike before, sudden changes in light brightness as occurs on cloudy days, are kicking
> out numerous false positives.
> I've read everything in the archives I can find. I'm employing a maskfile.
> I've set lightswitch to all kinds of values. Currently I'm at 80. I assume that means
> that if light changes over 80% of the pixels to ignore it?
> Here are my current settings:
> auto_brightness on
> brightness 175
> contrast 128
> daemon on
> despeckle EedD
> ffmpeg_bps 500000
> ffmpeg_cap_motion off
> ffmpeg_cap_new on
> ffmpeg_deinterlace off
> ffmpeg_timelapse 0
> ffmpeg_timelapse_mode daily
> ffmpeg_variable_bitrate 0
> ffmpeg_video_codec mpeg4
> framerate 2
> frequency 0
> gap 60
> height 240
> hue 128
> input 8
> lightswitch 80
> locate off
> max_mpeg_time 0
> minimum_frame_time 0
> minimum_motion_frames 2
> netcam_tolerant_check off
> noise_level 32
> noise_tune off
> norm 0
> on_event_end rm/mnt/video/motion/*.jpg
> output_all off
> output_motion off
> output_normal on
> quality 75
> quiet on
> roundrobin_frames 1
> roundrobin_skip 1
> saturation 128
> smart_mask_speed 0
> switchfilter off
> threshold 1500
> threshold_tune off
> timelapse_filename %Y%m%d-timelapse
> v4l2_palette 8
> width 320
> Honestly, though, I'm just flailing in the dark. What's the logic for trying to solve
> this problem? What parameters should I be adjusting?
> I'd be interested in hearing the strategies of others.
> Oh, yes. If I went to a camera that had auto-brightness built-in, would that make a
> difference? But like I said, 2 years ago with the same camera, I didn't have this problem
> at all. My problem then was the wind blowing bushes and trees. But that was before I
> discovered the mask_file.