Zmninja distorted thumbs

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
Vispen74
Posts: 17
Joined: Thu May 14, 2015 7:12 am

Zmninja distorted thumbs

Post by Vispen74 »

When open Zmninja I allways get distorted thumbnails from the cameras. When opening the cameras one by one they shows video as intended. Also recordings works well.
Any ideas?

Code: Select all

Jul 16, 2020 02:13:08 PM INFO Language file loaded, continuing with rest
Jul 16, 2020 02:13:08 PM DEBUG last state=app.log param=[object Object]
Jul 16, 2020 02:13:08 PM DEBUG isFirstUse returned: false
Jul 16, 2020 02:13:08 PM INFO >>>>Language to be used:undefined
Jul 16, 2020 02:13:08 PM INFO Device Language is:se
Jul 16, 2020 02:13:08 PM INFO App Version: 1.4.009
Jul 16, 2020 02:13:08 PM INFO Language stored as:se
Jul 16, 2020 02:13:08 PM INFO Retrieving language before init is called...
Jul 16, 2020 02:13:08 PM INFO Updating statusbar
Jul 16, 2020 02:13:08 PM INFO >>>>No data to import....
Jul 16, 2020 02:13:08 PM INFO Cloudsync operation complete, continuing...
Jul 16, 2020 02:13:08 PM INFO local data synced with cloud...
Jul 16, 2020 02:13:08 PM INFO Found valid local configuration, overwriting cloud settings...
Jul 16, 2020 02:13:08 PM DEBUG deobfuscate: before:2554 after:9480 scheme:lzs
Jul 16, 2020 02:13:08 PM INFO user profile encrypted, decoding...
Jul 16, 2020 02:13:08 PM INFO CloudSync: Syncing with cloud if enabled...
Jul 16, 2020 02:13:08 PM INFO localforage driver:asyncStorage
Jul 16, 2020 02:13:08 PM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Jul 16, 2020 02:13:08 PM DEBUG configureStorageDB:Making sure this storage driver works...
Jul 16, 2020 02:13:08 PM INFO configureStorageDB:localforage driver for storage:asyncStorage
Jul 16, 2020 02:13:08 PM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Jul 16, 2020 02:13:08 PM DEBUG Inside configureStorageDB
Jul 16, 2020 02:13:08 PM INFO You are running on android
Jul 16, 2020 02:13:08 PM DEBUG UA is mozilla/5.0 (linux; android 10; hd1913 build/qkq1.190716.003; wv) applewebkit/537.36 (khtml, like gecko) version/4.0 chrome/83.0.4103.106 mobile safari/537.36
Jul 16, 2020 02:13:08 PM INFO Device is ready
2020-07-16T12:13:08.132Z INFO ******* app .run device ready
Screenshot_20200716-081603.jpg
Screenshot_20200716-081603.jpg (536.27 KiB) Viewed 3401 times
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja distorted thumbs

Post by asker »

1. Clear your API cache (zmNinja menu)
2. Kill app
3. restart app

This doesn't look like distorted thumbs - it looks like video smearing (a streaming issue)
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Vispen74
Posts: 17
Joined: Thu May 14, 2015 7:12 am

Re: Zmninja distorted thumbs

Post by Vispen74 »

asker wrote: Thu Jul 16, 2020 12:24 pm 1. Clear your API cache (zmNinja menu)
2. Kill app
3. restart app

This doesn't look like distorted thumbs - it looks like video smearing (a streaming issue)
Done. No go I'm afraid. Ok, so it's probably the stream? Can I change it some how?
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja distorted thumbs

Post by asker »

There are many things that come to mind you can investigate

1. Open a browser, type in

Code: Select all

https://yourserver/cgi-bin/nph-zms?mode=single&scale=70&monitor=<mid>&user=admin&pass=<password>
replace url/mid/password with your specifics, and if cgi-bin URL is different, change it.

Does it show up properly?

2. Which ZM version?
3. When you see this distortion, do you notice any logs/errors on the ZM side?
4. Did you recently change something (camera/ZM version) - did it work before in zmNinja?
5. What happens if you clear cache, go to events view, go back to montage view?
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Vispen74
Posts: 17
Joined: Thu May 14, 2015 7:12 am

Re: Zmninja distorted thumbs

Post by Vispen74 »

asker wrote: Thu Jul 16, 2020 1:16 pm There are many things that come to mind you can investigate

1. Open a browser, type in

Code: Select all

https://<yourserver>/cgi-bin/nph-zms?mode=single&scale=70&monitor=<mid>&user=admin&pass=<password>
replace url/mid/password with your specifics, and if cgi-bin URL is different, change it.

Does it show up properly?

2. Which ZM version?
3. When you see this distortion, do you notice any logs/errors on the ZM side?
4. Did you recently change something (camera/ZM version) - did it work before in zmNinja?
5. What happens if you clear cache, go to events view, go back to montage view?
1. Open a browser...
The requested URL was not found on this server, no matter what I try. Don´t know what Im doing wrong. <mid> is the name of the monitor? Without the <>? And password without <> i guess?
2. Which ZM version?
1.35.5
3. When you see this distortion, do you notice any logs/errors on the ZM side?
No, nothing in logs related to login from ZMninja.
4. Did you recently change something (camera/ZM version) - did it work before in zmNinja?
No, just get it working
5. What happens if you clear cache, go to events view, go back to montage view?
No difference, same picture
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja distorted thumbs

Post by asker »

The requested URL was not found on this server, no matter what I try. Don´t know what Im doing wrong. <mid> is the name of the monitor? Without the <>? And password without <> i guess?
All the "<>" elements need to be replaced with correct values for your server. So <monitor> may be 2
You also need to make sure the CGI-BIN path is correct.

No, nothing in logs related to login from ZMninja.
By ZM I meant ZoneMinder or apache web logs
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja distorted thumbs

Post by asker »

This may be a ZM issue - I don't think you mentioned if the montage look ok in ZoneMinder web console.
See viewtopic.php?f=42&t=29721. Also seems to have been fixed today.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Vispen74
Posts: 17
Joined: Thu May 14, 2015 7:12 am

Re: Zmninja distorted thumbs

Post by Vispen74 »

Have been away for a few days... Reverted back to 1.32.3 by mistake (rebuild of docker container), but it seems to work.

But also it now might be fixed due to the link above, so maybe upgrading again. Anyway, thanks for your help, appreciate!
Post Reply