Motion - Support Question 2015x 01x 20x 164957

Blocky image artifacts corrupting snapshots

Question

Every image collected is spoiled by a number of blocky image artifacts that appear to be where regions of the image have been swapped or currupted.
I am using a RaspberryPi B+ with the Raspicam and three USB Logitech 120's
The Raspicam works fine, but all of the USB cams suffer from this issue. I have tried changing the snapshot interval so that they rarely coincide, but this makes no difference.

I invoke motion with LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so motion -c motion.conf 

lastsnap.jpg
 [[%ATTACHURL%/motion.conf][motion.conf]]
[[%ATTACHURL%/PiCam.conf][PiCam.conf]]
[[%ATTACHURL%/USB1.conf][USB1.conf]]


Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: uv4l
Server OS: Rasbian
-- SimonC - 20 Jan 2015

Answer

Hi Simon. You seem to be someone who knows what you're on about so I apologize if these questions are a bit basic. No disrespect intended.

Does the problem happen when you only have one USB cam connected? Obviously there's nothing else bandwidth intensive like a hard drive connected to the usb port right? Can we see what the output of "lsusb" and "lsusb -t" is?

What happens if you reduce the USB cam resolution from 640x480 down to 320x240? Does the problem remain?

What's the CPU load on the system like? What does the ouput of a "top" command look like while the problem is happening?

All the best Simon!

-- AlanFord - 17 Feb 2015

Also, I suggest to try not using motion threads, but rather run three separate motion processes.

Issue with picture corruptions when running more than one Logitech cameras were reported by some users:

http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2011x06x24x150605

http://www.lavrsen.dk/foswiki/bin/view/Motion/SupportQuestion2012x02x27x155712

And splitting them into separate processes is a work around

-- TosiaraT - 12 Apr 2015
Topic attachments
I Attachment Action Size Date Who Comment
PiCam.confconf PiCam.conf manage 4 K 20 Jan 2015 - 16:58 SimonC Raspicam config
USB1.confconf USB1.conf manage 5 K 20 Jan 2015 - 16:58 SimonC USM cam config
lastsnap.jpgjpg lastsnap.jpg manage 103 K 20 Jan 2015 - 16:56 SimonC blocky image
motion.confconf motion.conf manage 23 K 20 Jan 2015 - 16:58 SimonC Motion config
Topic revision: r3 - 12 Apr 2015, TosiaraT
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.