Page 1 of 1
Newb question about "1 extraneous bytes before marker 0xd9"
Posted: Sun Sep 02, 2012 7:21 pm
by stewhi
Linux newb here. I would like to rid my logs of the "1 extraneous bytes before marker 0xd9" error messages but I'm unsure how to go about editing the jpeg lib files. I have seen the various patches people have posted but I'm unsure how to do this. Can someone give a newb a set of instructions as to how to do this?
I am running Ubuntu 12.04 64 bit server and Zoneminder 1.25.0 if that helps. Installed Zoneminder via deb.
Thanks in advance.
Re: Newb question about "1 extraneous bytes before marker 0x
Posted: Mon Sep 03, 2012 6:53 am
by Carrier82
If you use HTTP for getting the images, try setting mode from "simple" to "regexp".
Re: Newb question about "1 extraneous bytes before marker 0x
Posted: Mon Sep 03, 2012 7:14 pm
by stewhi
Let me elaborate a bit more here, sorry about that. I have an ipcam Apexis APM-J011-WS that causes these constant error messages. This is what I'm trying to eliminate from my error logs. I know this is a known issue and I have read the posts about editing the jpeg lib files. I am unsure as to how to do this.
Date/Time
Component PID Level Message File Line
2012-09-03 15:10:47.128911 zmc_m5 1333 WAR Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
2012-09-03 15:10:46.326476 zmc_m5 1333 WAR Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
2012-09-03 15:10:44.923582 zmc_m5 1333 WAR Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
2012-09-03 15:10:41.212619 zmc_m5 1333 WAR Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
2012-09-03 15:10:40.710656 zmc_m5 1333 WAR Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
2012-09-03 15:10:39.908602 zmc_m5 1333 WAR Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
2012-09-03 15:10:36.799852 zmc_m5 1333 WAR Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
2012-09-03 15:10:36.598292 zmc_m5 1333 WAR Corrupt JPEG data: 2 extraneous bytes before marker 0xd9 zm_jpeg.cpp 63
Re: Newb question about "1 extraneous bytes before marker 0x
Posted: Mon Sep 10, 2012 9:22 pm
by stewhi
Changed to regexp from http, restarted zm and still no change.