Page 1 of 2

FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Sun Feb 19, 2012 5:15 pm
by rackerhacker
When I try to get ZoneMinder working with my FI8910W, everything works just fine. However, my logs on the ZoneMinder server are full of this:
Code: Select all
WAR [Corrupt JPEG data: 2 extraneous bytes before marker 0xd9]
WAR [Corrupt JPEG data: 1 extraneous bytes before marker 0xd9]
WAR [Corrupt JPEG data: 1 extraneous bytes before marker 0xd9]

Although ZoneMinder appears to be happy with the camera feed, the logs are a huge annoyance.

I saw that the FI8918W recently got a firmware upgrade to address this issue. Will the 8910 get the same?


Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Sun Mar 11, 2012 4:43 pm
by TylerSchwend
I would like to point out that I am running the latest firmware (11.22.2.38) on an FI8918W and still have this issue.

It is very annoying and makes other troubleshooting difficult.

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Mon Mar 12, 2012 12:41 pm
by TylerSchwend
Note that this does appear to be a problem specifically with the Foscam cameras. If you Google for that error, you only see it for the Foscams.

Since I have an FI8918W, and I am running 11.22.2.38, I submit that this issue was never fixed, even though it seems most with the problem referenced a fix on its way in version .36.

Any word from Foscam techs?

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Sat Mar 24, 2012 1:15 pm
by TylerSchwend
I also receive this in VLC:
mjpeg debug: discard MIME header: Content-Length: 52572
mjpeg debug: discard MIME header: Content-Length: 52720
mjpeg debug: discard MIME header: Content-Length: 52736
mjpeg debug: discard MIME header: Content-Length: 52732

This also suggests an issue with the MJPEG output independent of ZoneMinder.

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Sat Mar 24, 2012 1:49 pm
by TylerSchwend
Some conversation regarding this message (not specific to the camera or the software) indicates that this message is often due to "invalid fill bytes"

fill bytes is violation of the JFIF format.
Basically fill bytes are allowed. However, these should have the value 0xff (255)
Normal JFIF Decompression software while reading from the stream decodes all pixels and the remaining bytes are ignored.
fill bytes are having some invalid values which causes jpegtran to throw such warning message.

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Fri Apr 06, 2012 3:33 pm
by TylerSchwend
Any updates?

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Sun May 20, 2012 8:10 pm
by TylerSchwend
Bump...

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Mon Jul 23, 2012 12:47 pm
by xmogax
Any news ?

I have the same problem with a 8904w ip cam.

I hope the dev will do something or give the source code to the community in order that someone could do something.

thx

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Mon Jul 23, 2012 2:40 pm
by TheUberOverLord
This has been this way for so long ("Years"). Not sure it will ever be changed.

Don

Re: FI8910W + ZoneMinder = Corrupt JPEG data

PostPosted: Wed Aug 15, 2012 9:00 am
by RedMD
I have two F18910W cameras and one F18918W. The last firmware fix for the F18918W (11.22.2.46) Did fix the corrupt jpeg data warning. I no longer see the warning in syslog. However, the latest F18910W firmware upgrade (1.37.2.46) did not fix this same issue on the newer model camera. Oh well, I guess we're stuck modifying source code to ignore the warning (see: See http://lachlanmiskin.com/blog/2012/06/2 ... arker-0xd9 for more info).