1.26.4 Upgrade Failure

Forum for questions and support relating to the 1.26.x releases only.
kbocek
Posts: 58
Joined: Mon Nov 13, 2006 6:57 pm

1.26.4 Upgrade Failure

Post 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.
Last edited by kbocek on Tue Oct 22, 2013 8:34 pm, edited 1 time in total.
chippy99
Posts: 66
Joined: Wed Aug 30, 2006 5:38 pm
Location: Barnet, Herts. UK

Re: 1.26.4 Upgrade Failure

Post by chippy99 »

This looks like same issue as I am having here
kbocek
Posts: 58
Joined: Mon Nov 13, 2006 6:57 pm

Re: 1.26.4 Upgrade Failure

Post 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.
Frederica123
Posts: 3
Joined: Wed Oct 23, 2013 3:09 am

Re: 1.26.4 Upgrade Failure

Post by Frederica123 »

1.26.4 is good to use???
kbocek
Posts: 58
Joined: Mon Nov 13, 2006 6:57 pm

Re: 1.26.4 Upgrade Failure

Post 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.
Last edited by kbocek on Wed Oct 23, 2013 3:32 am, edited 1 time in total.
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: 1.26.4 Upgrade Failure

Post 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
Kfir Itzhak.
kbocek
Posts: 58
Joined: Mon Nov 13, 2006 6:57 pm

Re: 1.26.4 Upgrade Failure

Post 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?
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: 1.26.4 Upgrade Failure

Post 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.
Kfir Itzhak.
kbocek
Posts: 58
Joined: Mon Nov 13, 2006 6:57 pm

Re: 1.26.4 Upgrade Failure

Post 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.
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: 1.26.4 Upgrade Failure

Post 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
Kfir Itzhak.
kbocek
Posts: 58
Joined: Mon Nov 13, 2006 6:57 pm

Re: 1.26.4 Upgrade Failure

Post by kbocek »

Excellent. I think your links point to all the information chippy99 and myself have at this point.

Thanks.
User avatar
dvarapala
Posts: 54
Joined: Sat Nov 06, 2010 2:30 pm

Important Data Point

Post 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
fabioz
Posts: 1
Joined: Tue May 03, 2011 11:44 am

Re: 1.26.4 Upgrade Failure

Post 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?
Attachments
errors.jpg
errors.jpg (123.19 KiB) Viewed 8669 times
Biggus
Posts: 96
Joined: Mon Nov 18, 2013 9:15 am

Re: 1.26.4 Upgrade Failure

Post by Biggus »

I get lots of these smears on my cameras too! Wish I knew how to solve it.
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: 1.26.4 Upgrade Failure

Post 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.
Locked