Page 1 of 2

1.26.4 Upgrade Failure

Posted: Tue Oct 22, 2013 6:52 pm
by kbocek
Tried to upgrade from 1.26.3 to 1.26.4 and failed. I have one camera out of five configured as RTSP. It's working under 1.26.3 although I'm having some event playback issues. After upgrading, the log showed an endless stream of RTSP decoding errors. The real time display was there but with display errors that would trigger false alarms.

I've recovered my database backup and downgraded to 1.26.3. The RTSP decoding errors have gone away.

If any developers have anything they would like me to try, let me know.

Re: 1.26.4 Upgrade Failure

Posted: Tue Oct 22, 2013 8:25 pm
by chippy99
This looks like same issue as I am having here

Re: 1.26.4 Upgrade Failure

Posted: Tue Oct 22, 2013 8:31 pm
by kbocek
Yup. Your log messages look the same.

But I see no resolution in your thread. I'll subscribe to your thread in case you get any new info.

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:19 am
by Frederica123
1.26.4 is good to use???

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:31 am
by kbocek
Not for me it isn't. RTSP works under 1.26.3 but apparently not under .4. See chippy99's thread for confirmation. I received the same errors and am back to 1.26.3.

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:32 am
by mastertheknife
The RTSP issues you are experiencing with 1.26.4 were most likely introduced in pull request #174 (improve RTSP):
https://github.com/ZoneMinder/ZoneMinder/pull/174

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:35 am
by kbocek
Well I can tell you where to put that pull request. :)

In all seriousness, is there somewhere I should put this? It looks like chippy99 has already posted about this problem. Is there already a bug report?

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:41 am
by mastertheknife
There is no bug report, RTSP issues with ZM are widely known. Problem is, no one of us has the time to diagnose and fix rtsp issues. It might take a while, as most of us are working on ZM in our free time, and we don't have much of it. Anyone that wants to fix this is more than welcome to send patches or create a pull request.

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:44 am
by kbocek
Well this should be drawn to the attention of whoever wrote the last "fix." It clearly broke something. RTSP is working in .3 and not working in .4

The code should be rolled back.

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:48 am
by mastertheknife
I have created a bug report for this in case anyone is interested in more direct communication with the devs:
https://github.com/ZoneMinder/ZoneMinder/issues/221

Re: 1.26.4 Upgrade Failure

Posted: Wed Oct 23, 2013 3:55 am
by kbocek
Excellent. I think your links point to all the information chippy99 and myself have at this point.

Thanks.

Important Data Point

Posted: Sun Oct 27, 2013 5:58 pm
by dvarapala
kbocek wrote:Tried to upgrade from 1.26.3 to 1.26.4 and failed. I have one camera out of five configured as RTSP. It's working under 1.26.3 although I'm having some event playback issues. After upgrading, the log showed an endless stream of RTSP decoding errors. The real time display was there but with display errors that would trigger false alarms.

I've recovered my database backup and downgraded to 1.26.3. The RTSP decoding errors have gone away.
Oddly enough, I had the exact opposite experience.

My Dahua RTSP camera was not working under 1.25.0, and is now working great under 1.26.4!

Hopefully the developer(s) who have been working on the RTSP stuff can find a solution that fixes your camera without breaking mine. :D

Re: 1.26.4 Upgrade Failure

Posted: Fri Dec 06, 2013 3:42 pm
by fabioz
Hi I've also a Dahua IP camera via RTSP on a ubuntu machine. I have some decoding errors both in zoneminder 1.24.4 and 1.26.4.1

See the attached screenshot.

How can I solve?

Re: 1.26.4 Upgrade Failure

Posted: Fri Dec 06, 2013 4:17 pm
by Biggus
I get lots of these smears on my cameras too! Wish I knew how to solve it.

Re: 1.26.4 Upgrade Failure

Posted: Sat Dec 07, 2013 9:50 am
by c128
Biggus wrote:I get lots of these smears on my cameras too! Wish I knew how to solve it.
YMMV, but I have these issues with all of my h.264 cameras using camera default settings and ffmpeg with ZM 1.26.3 - Foscam, Merrit Lilin and Hikvision. All of them work acceptably (depending on the camera) by dropping frame rate, bit rate and/or enforcing TCP with a "?tcp" query string parameter on the RTSP URL. Forcing TCP doesn't work with the Foscam camera, but then that just has buggy RTSP anyway - dropping frame and bit rate removes the smearing with that.

I'd try forcing TCP first on the RTSP URL as a first port of call, then try reducing bit/frame rate on the cameras themselves.