Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Previous development branch now released as 1.36
tomcat84
Posts: 39
Joined: Fri Jul 03, 2020 11:24 pm

Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by tomcat84 »

Hi, since the last Update to 1.35.5~20200716162846-bionic all my Alarmframes (*-analyse.jpg) looks like the picture attached if I click on them.
If I click behind or before the frame I see them using PREV / NEXT but the detected area is not longer marked.
Any Ideas whats the reason for this problem ?
Folowing zoneminder related sources are in sources.list
deb http://ppa.launchpad.net/iconnor/zonemi ... ter/ubuntu bionic main
deb http://ppa.launchpad.net/savoury1/ffmpeg4/ubuntu bionic main
Attachments
1_644_17.jpg
1_644_17.jpg (327.49 KiB) Viewed 4073 times
User avatar
iconnor
Posts: 2882
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by iconnor »

Please try today's image. I think I fixed this a few days ago
nrbell
Posts: 30
Joined: Mon Jun 04, 2018 1:14 pm

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by nrbell »

I'm still seeing this problem with 1.35.5~20200721160555-bionic.
tomcat84
Posts: 39
Joined: Fri Jul 03, 2020 11:24 pm

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by tomcat84 »

same here.
User avatar
iconnor
Posts: 2882
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by iconnor »

I think I have it fixed. Building new packages now.
hybrid
Posts: 5
Joined: Thu Mar 07, 2019 8:02 am

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by hybrid »

Mine just updated and now I have a problem I hadn't seen before.

Jul 23 10:03:38 sarkmekawk zma_m3[3458]: ERR [zma_m3] [Failed to write frame image]
Jul 23 10:03:38 sarkmekawk zma_m3[3458]: ERR [zma_m3] [Can't open P#030|Y▒U/00147-capture.jpg for writing: No such file or directory]

I have checked my settings and the storage location still looks fine (/var/cache/zoneminder/events)
So I'm not sure what is causing this error. No events are currently being written to disk, but I can see the live camera fine.

Edit: this may not be just isolated to ubuntu:
viewtopic.php?f=42&t=29743#p116607
User avatar
iconnor
Posts: 2882
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by iconnor »

Sigh.. I swear I've been testing...

just pushed a fix for the capture jpeg path problem.
hybrid
Posts: 5
Joined: Thu Mar 07, 2019 8:02 am

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by hybrid »

iconnor wrote: Thu Jul 23, 2020 3:02 am Sigh.. I swear I've been testing...

just pushed a fix for the capture jpeg path problem.
:lol:

All good now, thank you.
nrbell
Posts: 30
Joined: Mon Jun 04, 2018 1:14 pm

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by nrbell »

With 1.35.5~20200722224526-bionic, I'm now seeing alarm frames generated with proper images, but they don't show motion outlines. They show a red-outlined frame, but blobs are not outlined.
User avatar
iconnor
Posts: 2882
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by iconnor »

Check latest build. Should be > 2020072317

Mine is outlining.

It may be that the crashes were causing analysis images to not be written meaning it might be falling back to the capture image.
nrbell
Posts: 30
Joined: Mon Jun 04, 2018 1:14 pm

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by nrbell »

That's got it!

I still have to use 1.35.5~20200616165015-bionic because of the rotation problem I reported in github.
hybrid
Posts: 5
Joined: Thu Mar 07, 2019 8:02 am

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by hybrid »

Code: Select all

Jul 24 09:45:58 sarkmekawk zma_m3[1082]: ERR [zma_m3] [Can't open PȻ▒OV/00042-analyse.jpg for writing: No such file or directory]
Jul 24 09:45:58 sarkmekawk zma_m3[1082]: ERR [zma_m3] [Failed to write analysis frame image]
I'm still seeing this which is bizarre because certainly some images are being written during an event.
When I replay the event in the web interface, it seems to get to the end of the motion where it would be just writing the end frames and I see this in the logs:

Code: Select all

Jul 24 09:47:37 sarkmekawk zms_e139040[3068]: ERR [zms_e139040] [Can't open /var/cache/zoneminder/events/3/2020-07-24/139040/00172-capture.jpg: No such file or directory]
Jul 24 09:47:37 sarkmekawk zms_e139040[3068]: ERR [zms_e139040] [Can't open /var/cache/zoneminder/events/3/2020-07-24/139040/00173-capture.jpg: No such file or directory]
Jul 24 09:47:37 sarkmekawk zms_e139040[3068]: ERR [zms_e139040] [Can't open /var/cache/zoneminder/events/3/2020-07-24/139040/00174-capture.jpg: No such file or directory]
Jul 24 09:47:37 sarkmekawk zms_e139040[3068]: ERR [zms_e139040] [Can't open /var/cache/zoneminder/events/3/2020-07-24/139040/00175-capture.jpg: No such file or directory]
Jul 24 09:47:37 sarkmekawk zms_e139040[3068]: ERR [zms_e139040] [Can't open /var/cache/zoneminder/events/3/2020-07-24/139040/00176-capture.jpg: No such file or directory]
Jul 24 09:47:37 sarkmekawk zms_e139040[3068]: ERR [zms_e139040] [Can't open /var/cache/zoneminder/events/3/2020-07-24/139040/00177-capture.jpg: No such file or directory]
Jul 24 09:47:37 sarkmekawk zms_e139040[3068]: ERR [zms_e139040] [Can't open /var/cache/zoneminder/events/3/2020-07-24/139040/00178-capture.jpg: No such file or directory]
So maybe it's writing fine until it starts writing the post event images?

Edit: hold up... another update. Will install that and test again.
User avatar
iconnor
Posts: 2882
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by iconnor »

Today's build SHOULD be solid.

Rotation is fixed.
tomcat84
Posts: 39
Joined: Fri Jul 03, 2020 11:24 pm

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by tomcat84 »

Hm after update to this version all Recordings have 0 Byte :(
And the log is spammed with
2020-07-25 14:53:59 web_php 5345 FAT Can't create frame capture images from video because there is no video file for this event at /var/cache/zoneminder/events/1/2020-07-25/836/ /usr/share/zoneminder/www/views/image.php 263
Painter
Posts: 12
Joined: Tue Oct 02, 2007 9:39 am
Location: Athens/Greece

Re: Alarmframes (*-analyse.jpg) broken since 1.35.5~20200716162846-bionic

Post by Painter »

I had the same issue with the previous update that i did earlier today.
For me it was just fixed with the fresh build 1.35.5~20200725145046-focal
Locked