Motion - Bug Report 2015x 12x 20x 160725

BUG: Skip corrupted jpeg frame

Hi,

I'm running motion via a netcam snapshot on a ubiquity, sometimes I got a corrupted frame from the cam and a motion is detected. There is a way to discard corrupted images (for example size = from the header info)?

Here an example of a fcorrupted frame: 0730.jpg

I saw there was a bug opened here with a problem like mine: http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2008x09x28x002613, a patch should be in the trunk version, but I was unable to identify it.

Environment

Motion version: 3.2.12
ffmpeg version:  
Shared libraries:  
Server OS: Linux alarm 3.14.25-2-ARCH #1 SMP Mon Dec 1 07:35:18 MST 2014 armv7l GNU/Linux
-- MaurizioA - 20 Dec 2015

Follow up

Fix record

Topic revision: r1 - 20 Dec 2015, MaurizioA
Copyright © 1999-2024 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.