Page 1 of 2

creating/setting zone with 1280x720 Ip cam results in duplic

Posted: Thu Jun 11, 2015 9:41 pm
by bencollinz
creating/setting zone with Foscam FI9828PW 1280x720 Ip cam results in duplicate side by side image.

Image

Can't attach a picture here "Sorry, the board attachment quota has been reached" so hopefully you can see this from facebook link...
Image

In my alert emails it happens as well. See above.

Any advice?

Thank you
Ben

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Sun Jul 05, 2015 3:25 pm
by bencollinz
this is also preventing any alerts from being generated. anyone?

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Mon Jul 06, 2015 12:17 pm
by knight-of-ni
Looks like your screenshots did attach.
Haven't seen this one before.

What does your event log say for this camera?
Does the resolution in zoneminder for this monitor match exactly the resolution in the camera?
What are (all of) your camera settings? Can you post screenshots?

Oh, and please verify whether or not you are using a release of zoneminder or a development snapshot.

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Mon Jul 06, 2015 6:38 pm
by Southcross
Looks like some weird MPEG error? or possibly a misconfigured decoder? I have seen something like this with bad JPEGs (bad header?) and/or machine with a bad memory module(?).

Might consider running Memtest on the machine for a few hours if you can't trace down the error

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Tue Jul 07, 2015 6:37 am
by PacoLM
Are you using Ffmpeg as the source type? If so, could you try Libvlc. From my experience it works better and its more stable.

Hope it helps,

PacoLM

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 1:15 pm
by bencollinz
knnniggett wrote:Looks like your screenshots did attach.
Haven't seen this one before.

What does your event log say for this camera?
Does the resolution in zoneminder for this monitor match exactly the resolution in the camera?
What are (all of) your camera settings? Can you post screenshots?

Oh, and please verify whether or not you are using a release of zoneminder or a development snapshot.
these are the directions I followed to build it
http://www.zoneminder.com/wiki/index.ph ... e_easy_way
event log lists no errors for this camera
res matches. FPS does not. camera is at 15, zm is at 30. otherwise I get that smudging/ artifacting.
and of course can't upload attachment. hopefully linking from FB works.
Image
Image

Foscam FI9828PW

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 1:28 pm
by knight-of-ni
Does the live view appear normal or does it look like the screenshots as well?

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 1:33 pm
by knight-of-ni
I have a Foscam 9821 programmed identically to that, which is working great.

Since you are using Ubuntu, that means your system uses libav, rather than ffmpeg, which occasionally causes issues, but if that were the case I'd expect your live view to be corrupted the same as the zone edit screen.

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 1:38 pm
by bencollinz
knnniggett wrote:Does the live view appear normal or does it look like the screenshots as well?
live view is not duplicated.

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 1:40 pm
by bencollinz
PacoLM wrote:Are you using Ffmpeg as the source type? If so, could you try Libvlc. From my experience it works better and its more stable.

Hope it helps,

PacoLM
I tried libvlc but couldn't get it to work.

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 1:43 pm
by bencollinz
bencollinz wrote:
PacoLM wrote:Are you using Ffmpeg as the source type? If so, could you try Libvlc. From my experience it works better and its more stable.

Hope it helps,

PacoLM
I tried libvlc but couldn't get it to work.
but I did have to install ffmpeg manually http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
so maybe, libvlc is missing?

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 1:45 pm
by bencollinz
here's an example of the smudging
Image

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 2:03 pm
by knight-of-ni
bencollinz wrote: but I did have to install ffmpeg manually http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
so maybe, libvlc is missing?
Wait, what? So you deviated from the Ubuntu instructions you posted earlier.
What prompted you to do this?

The trouble with doing that is you have a packaged version of ZoneMinder installed on your system. That packaged version of ZoneMinder was built against the specific version of libav, which ships with your version of Ubuntu. The code path for libav & ffmpeg are different in zoneminder. If you install a version of zoneminder built against libav, but then replace libav with ffmpeg, zoneminder is making the wrong function calls. This is not guaranteed to work.

Best case, zoneminder will still work but won't be running as efficient as it could be. Worst case, anything can happen from general weirdness to a complete crash.

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 3:07 pm
by bencollinz
knnniggett wrote:
bencollinz wrote: but I did have to install ffmpeg manually http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
so maybe, libvlc is missing?
Wait, what? So you deviated from the Ubuntu instructions you posted earlier.
What prompted you to do this?

The trouble with doing that is you have a packaged version of ZoneMinder installed on your system. That packaged version of ZoneMinder was built against the specific version of libav, which ships with your version of Ubuntu. The code path for libav & ffmpeg are different in zoneminder. If you install a version of zoneminder built against libav, but then replace libav with ffmpeg, zoneminder is making the wrong function calls. This is not guaranteed to work.

Best case, zoneminder will still work but won't be running as efficient as it could be. Worst case, anything can happen from general weirdness to a complete crash.
yes. ffmpeg was not installed with those instructions. I rebuilt twice, from scratch. All I could find to make this camera work was to install ffmpeg manually. I tried libvlc first and it didn't work.

Re: creating/setting zone with 1280x720 Ip cam results in du

Posted: Wed Jul 08, 2015 5:27 pm
by PacoLM
For the smudging, I had to leave Maximum FPS and AlarmMaximum FPS blank. Set the maximum FPS and the bitrate on the camera side, smudging will improve a lot.

PacoLM