Problem with corrupt JPEG images
Posted: Wed Jun 25, 2014 7:21 pm
I have a new build i'm testing, with new cameras as well. I am running ZM 1.27 on Ubuntu 12.04.3 LTS. The server has two quad-core Xeon E5606 processors and 16 GB DDR3 ECC memory, 18 TB RAID-5 storage for events. Load likes to hang out around 2 to 3. Highest i've seen is 3.43. It isn't dropping frames or events or anything like that. Log is green.
On this test build I'm recording 8 Vivotek IP8362 cams at 1080p 5 fps, and 10 Axis M3533 cams at 800x600 5 fps. All is well except one of my Vivotek's is starting to get corrupt JPEG images recorded. These look very similar to the corrupt JPEGs I have been getting from my old Toshiba IK-WB70A cameras (still in use on other DVR servers). I suspect the issue is the camera and not ZM, but I wanted to see if anyone else is experiencing similar issues. I saw a thread from about five months ago that shows a similar JPEG corruption issue: http://www.zoneminder.com/forums/viewto ... rupt+video Maybe they are related... I don't know but i'm trying to find the cause of this.
I also have 34 other IP cameras in use on my other (five) DVR servers (older hardware, ZM 1.23.3 on Ubuntu 8.04 LTS for the last five years) and the issue exists on those as well but only for my Toshiba IK-WB70A cameras. No other cameras do this... I have 20 Toshiba IK-WD01A's that don't have this issue at all, along with 14 Axis brand cameras that don't have it either. It is only the WB70A's and the new Vivotek's we just got that seem to be having this issue with corrupt JPEGs.
Attached are stills from the cameras with corrupt picture. The one with "332" is from the Vivotek, and the "1153" is from a Toshiba IK-WB70A.
For the longest time the Toshiba's had this problem but whenever I connected to the cameras webpage, the issue stopped (even before the stream started up). Then after they were all about 2-3 years old, the EXACT same JPEG corruption was appearing in the picture on the cameras webpage itself, so I knew it wasn't ZM fault then. I sent in one of my Toshiba's in a year ago for diagnostics and they couldn't recreate the issue. This Vivotek that is just now starting to experience similar corruption is about 8 months old. The other 7 I just got a few weeks ago. I'm going to be contacting Vivotek to see if I can get some help from them as well of course.
Anyway i've been seeing this across multiple versions of ZM and OS's as you can see, and i've tried tons of things to resolve it. Things like changing resolution, frame rate, stream file name... checking hardware, trying different switches, etc. My DVR network is completely independent with 100mbit POE switches. Nothing goes over WiFi, there isn't even a WiFi device on the network. They are all the same brand and model of switches but i've tried others to see if it was the switches, and it isn't. I've tried different firmware versions on all the cameras as well.
I even tried setting one camera and one of my DVR's second NIC onto a different network segment with its own switch, so it was 100% by itself and the issue still occurred. So it isn't my network being overloaded. Which makes sense when considering the 30+ other model IP cameras on this network aren't having this issue. None of my Axis brand cams have this issue, and none of the Toshiba IK-WD01A's do either.
Another interesting thing that makes me think it is the cameras is it appears the Vivotek's and Toshiba's may be made by the same manufacturer. The installation (camera detection) software is the same and they use the same URL for streaming motion JPEG. I could be wrong but the physical hardware design between the Vivotek and Toshiba camera are also strikingly similar. I initially thought switching to a different brand would help but now it appears my efforts may have been for naught. Regardless, I feel determined to figure out what the heck is going on and if it is indeed the cameras (which everything i've done shows that it is) then I may have to stick to Axis brand cameras only, since I don't have this problem with them. Only problem is they tend to be a bit more expensive.
So is anyone else out there experiencing this issue?
On this test build I'm recording 8 Vivotek IP8362 cams at 1080p 5 fps, and 10 Axis M3533 cams at 800x600 5 fps. All is well except one of my Vivotek's is starting to get corrupt JPEG images recorded. These look very similar to the corrupt JPEGs I have been getting from my old Toshiba IK-WB70A cameras (still in use on other DVR servers). I suspect the issue is the camera and not ZM, but I wanted to see if anyone else is experiencing similar issues. I saw a thread from about five months ago that shows a similar JPEG corruption issue: http://www.zoneminder.com/forums/viewto ... rupt+video Maybe they are related... I don't know but i'm trying to find the cause of this.
I also have 34 other IP cameras in use on my other (five) DVR servers (older hardware, ZM 1.23.3 on Ubuntu 8.04 LTS for the last five years) and the issue exists on those as well but only for my Toshiba IK-WB70A cameras. No other cameras do this... I have 20 Toshiba IK-WD01A's that don't have this issue at all, along with 14 Axis brand cameras that don't have it either. It is only the WB70A's and the new Vivotek's we just got that seem to be having this issue with corrupt JPEGs.
Attached are stills from the cameras with corrupt picture. The one with "332" is from the Vivotek, and the "1153" is from a Toshiba IK-WB70A.
For the longest time the Toshiba's had this problem but whenever I connected to the cameras webpage, the issue stopped (even before the stream started up). Then after they were all about 2-3 years old, the EXACT same JPEG corruption was appearing in the picture on the cameras webpage itself, so I knew it wasn't ZM fault then. I sent in one of my Toshiba's in a year ago for diagnostics and they couldn't recreate the issue. This Vivotek that is just now starting to experience similar corruption is about 8 months old. The other 7 I just got a few weeks ago. I'm going to be contacting Vivotek to see if I can get some help from them as well of course.
Anyway i've been seeing this across multiple versions of ZM and OS's as you can see, and i've tried tons of things to resolve it. Things like changing resolution, frame rate, stream file name... checking hardware, trying different switches, etc. My DVR network is completely independent with 100mbit POE switches. Nothing goes over WiFi, there isn't even a WiFi device on the network. They are all the same brand and model of switches but i've tried others to see if it was the switches, and it isn't. I've tried different firmware versions on all the cameras as well.
I even tried setting one camera and one of my DVR's second NIC onto a different network segment with its own switch, so it was 100% by itself and the issue still occurred. So it isn't my network being overloaded. Which makes sense when considering the 30+ other model IP cameras on this network aren't having this issue. None of my Axis brand cams have this issue, and none of the Toshiba IK-WD01A's do either.
Another interesting thing that makes me think it is the cameras is it appears the Vivotek's and Toshiba's may be made by the same manufacturer. The installation (camera detection) software is the same and they use the same URL for streaming motion JPEG. I could be wrong but the physical hardware design between the Vivotek and Toshiba camera are also strikingly similar. I initially thought switching to a different brand would help but now it appears my efforts may have been for naught. Regardless, I feel determined to figure out what the heck is going on and if it is indeed the cameras (which everything i've done shows that it is) then I may have to stick to Axis brand cameras only, since I don't have this problem with them. Only problem is they tend to be a bit more expensive.
So is anyone else out there experiencing this issue?