the only way i found on another forum (i no try)
is to desactivate the error logging in the libjpeg library that return this error
but with my other cam no errors this is foscam relevant
I was getting this one my newly added foscam monitors. I just disabled them with the following code @ zm_jpeg.cpp:63
(zmerr->pub.format_message)( cinfo, buffer );
if (!strstr(buffer, "Corrupt JPEG data:")) // add this line before warning. It was quite annoying.
Warning( "%s", buffer );
There's probably a better way. Have not done a deep dive into the code. Busy setting up monitors.
@px03afk - Yes there's some extraneous data in the jpg and that's probably a bug that needs to be fixed. However firmware changes are a bit more risky so I prefer to work around it until "they" get it working someday. For the price/performance I am not complaining if this is the only issue I have had. I did notice that I'm getting more 1 frame signal drops. Could be the cam or my overloaded wireless network using multiple cams/puters/printers. However the trouble of running the new line (which is more suseptible to very close lighting strike on frying quipment) I am also willing to ignore for now with some workarounds.
Don't disagree at all about the price/performance and at least there is a workaround, which as far as I am cocerned provides me with a working solution. I've been using ZoneMinder for about a month now and I think it is a great product. Only problem I've been having is understanding how to set up the motion sensing so it catches everything I want and ignores what I don't want, but that is something I'm working on.
We are always tuning our zones. This warning has *nothing* to do with motion detection at all. Just a few errounous bytes on the jpeg envelope, not the contents.
I have seen this error in my logs across many versions of Zoneminder, on different servers, operating systems, etc. I think it is an issue with libjpeg, but it has also occured to me with various versions of libjpeg as well. I have scratched my head many times trying to figure this out and finally gave up. I think it may (or may not) be related to my cams randomly going black for a moment, both USB and IP cams. I just give up and accept it now, LOL.
It's definitely a camera firmware issue. Other brands of cameras also have this bug (or perhaps the Foscam units with this bug are OEM'd by Arecont Vision?)
My solution was basically the same as mentioned above: add an if statement to the libjpeg code to suppress the error message.