Page 1 of 1

'zmc -m x' exited abnormally

Posted: Tue Nov 14, 2006 2:08 pm
by alphac
I've got this strange behaviour, I see the image stream from a vivotek 6122 cam, but the zmc process exits abnormally after a few seconds, interrupting the video stram till it gets restarted
The system has 512 mb of ram and is a fresh install from the livecd.
If I increment the buffers values in the zm camera settings, it doesn't even stays up for few seconds, crashes immediately after the startup of the process.


log:

11/14/06 06:03:49.238366 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:03:59.806142 zmdc[12756].INF ['zmc -m 2' started at 06/11/14 06:03:59]
11/14/06 06:03:59.816077 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:03:59, pid = 12756]
Invalid JPEG file structure: two SOI markers
11/14/06 06:04:02.628731 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:04:10.007060 zmdc[12760].INF ['zmc -m 2' started at 06/11/14 06:04:10]
11/14/06 06:04:10.010112 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:04:10, pid = 12760]
Invalid JPEG file structure: two SOI markers
11/14/06 06:04:17.429005 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:04:30.249635 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:04:30, pid = 12765]
11/14/06 06:04:30.250397 zmdc[12765].INF ['zmc -m 2' started at 06/11/14 06:04:30]
Invalid JPEG file structure: two SOI markers
11/14/06 06:04:39.642130 zmdc[4752].ERR ['zmc -m 2' exited abnormally, exit status 1]
11/14/06 06:04:50.488917 zmdc[12769].INF ['zmc -m 2' started at 06/11/14 06:04:50]
11/14/06 06:04:50.496330 zmdc[4752].INF ['zmc -m 2' starting at 06/11/14 06:04:50, pid = 12769]

Posted: Tue Nov 14, 2006 2:49 pm
by jameswilson
Invalid JPEG file structure: two SOI markers
heres your problem the jpeg recieved by zm has errors in it

Posted: Wed Nov 15, 2006 12:08 pm
by alphac
how can I solve it, when I manually point the browser to the image I never get a broken image, is it possible to use a more tolerant library to convert jpeg images?

Posted: Wed Nov 15, 2006 1:25 pm
by jameswilson
its not a lib its how zm get the images and browsers are more tolorant of errors.
If this cam has has been used and successfully working by somehere they 'may' have written how they got it working. As you know not all ip cams are equal and they dont just work. I cant help make it work as zm needs to be altered, and if phil has a cam of this type he can test aginst it. If you send him one im sure you will see it supported next release.

James

Also seen

Posted: Sun Apr 15, 2007 1:59 pm
by vaclav.stepan
Hi,

I've also encountered this problem with Vivotek 6122. When the framerate to anything up to 3 on both sides (camera AND zm), the crashes are less frequent. It is also helpful to decrease the "check is the daemons have not locked" values (config). But that is not a real solution.

Vaclav

(maybe) Solved

Posted: Sun Apr 15, 2007 2:50 pm
by vaclav.stepan
Hi,
previously, I worked with the Debian unstable Zoneminder packages where the external libpcre matching is not possible - the library is not compiled in by default.
I've recompiled zm (last, that is 1.21.3) from sources, now with the external pcre library.
Now, when I switch the regexp matching (in the network tab) to the external lib (check the box), the behaviour changed. I am on 10 fps (with Vivotek 6122) and rising and zmc is rock stable (ok, ok, for five minutes or so).
Vaclav

Posted: Fri Dec 21, 2007 9:13 pm
by Eklectick
Hi

I have a Vivotek IP7138 with the "Invalid JPEG file structure: two SOI markers" running Livecd 1.22.3 on a Core Duo, 1GB of ram, 1 frame per second on ZM, 1 frame per second on camera and vaclav´s recomendation of daemons.

vaclav´s solution sounds kinda geeky for me :-S is there a more simple solution for this problem?

Regards!