zoneminder mixing up my sources

Support and queries relating to all previous versions of ZoneMinder
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

No, nothing dramatic in the logs I don't think (see the /zmlogs subdir for details).
If I understand this correctly, changing over to a mjpeg stream might work better for me. In that case, do I set the path to look for a .cgi?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

hink we would be better of gettingto the bottom of this, but by all means try mpeg but i find more issues with that cos of ms media player
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

I mean mjpeg as in multipart-jpeg (sorry wasn't clear). I'll stay the course though and leave things as they are and go through the logs.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

no you where clear i just reread your post. I obviously cant read lol

James
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

Ah well, could have been motion-jpeg also...(trying to multiplex this and a 3-year-old...).
Cordel commented about numerically named jpgs might be confusing zm. I'm going to rename and try again...
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

Nah, same symptom. Interesting other side effect though...each source is set to a max of 2fps. If I monitor the video0 view it maxes out at a little over 4fps.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

im not to sure that the display fps is accurate but i think the log entry is. Not sure but im sure i read in the manual. But it is late here and i do have work in the morning

James
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

Fair enough, thanks for your help. I've got a few hours yet so I'll let you know what I come up with.
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

Ok, last update before I turn in.
1. Reduced the number of buffers from 40 to 25 for each source. No diff.
2. Set env vars ZM_DBG_PRINT and ZM_DBG_LEVEL to 3, then went through zmdc.log and split out the 4 zmc outputs by PID (available at http://salem/dyndns.org/zmlogs). Grepped looking for differing image sizes from one instance of zmc, everything looks OK, ie, each instance stuck to the same image.

I guess the next thing for me is to fire up Ethereal and see what's actually being sent to the browser. That's a job for tomorrow evening. 'Night.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

ok speak to you later let me know how it goes?

Jmes
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

I monitored on Ethereal while I viewed source video0 only (no montage). The image jumped back and forth between 1.jpg and 3.jpg, and that's what I saw on Ethereal too - two different jpgs alternating.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

so fram that then it would appear that zms is getting it mixed up in shared memory i suppose. God know what to do about it though Sorry
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

Yup, time to fire up good ol' gdb...
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

im ignorant gdb??

James
mdaughtrey
Posts: 32
Joined: Sat Sep 17, 2005 4:10 pm

Post by mdaughtrey »

Locked