Search found 25 matches

by Cramac1
Tue Dec 10, 2019 7:47 am
Forum: Mobile Apps
Topic: events h265
Replies: 0
Views: 134

events h265

hello. made an application on xamarin. Events in h264 show, but in h265 does not want. At the same time, these records do not open in the browser on the phone. What am I doing wrong? Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '86118-video.mp4': Metadata: major_brand : isom minor_version : 512 compatibl...
by Cramac1
Sun Dec 08, 2019 7:34 am
Forum: ZoneMinder 1.33.x
Topic: Events and utf8
Replies: 0
Views: 128

Events and utf8

Hello.

what to correct that events would be recorded in utf8? Corrected in the database, mysql tuned to utf8. I set the prefix, but events are still written in latin1
by Cramac1
Sat Nov 23, 2019 10:01 am
Forum: ZoneMinder 1.33.x
Topic: ZM on multiserver v1.33.14
Replies: 0
Views: 326

ZM on multiserver v1.33.14

Hello. there was a server, everything worked. Added a second. Servers are in different network segments: 1 - 10.10.10.35 2 - 10.10.100.35 added cameras to the new server in "storage" Id Name Path Type Scheme Server DiskSpace Mark 3 Dav /var/cache/zoneminder/events local Medium Dav 859.22GB of 1.78TB...
by Cramac1
Fri Nov 15, 2019 2:47 pm
Forum: ZoneMinder 1.33.x
Topic: 1.33.10 to 1.33.14
Replies: 2
Views: 306

Re: 1.33.10 to 1.33.14

thx!
by Cramac1
Fri Nov 15, 2019 12:01 pm
Forum: ZoneMinder 1.33.x
Topic: 1.33.10 to 1.33.14
Replies: 2
Views: 306

1.33.10 to 1.33.14

everything worked. Yesterday updated, now I can not watch online monitors. when trying to view http://video.site.com/zm/cgi-bin/nph-zms..... HTTP ERROR 403 although I didn’t touch the settings, I did only update the packages on the server: apache2 and zoneminder in zm log: Socket /var/run/zm/zms-850...
by Cramac1
Wed Jun 19, 2019 9:40 am
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

and what web interface does it use?
judging by the database, Russian is not stored in utf8
Безымянный.jpg
Безымянный.jpg (422.08 KiB) Viewed 1676 times
by Cramac1
Sun Jun 16, 2019 6:47 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

The new question is, in what encoding does the API return the name? in zm web:
Запись- 53703

in api:
[Name] => Запись- 50857

Russian text
by Cramac1
Sun Jun 16, 2019 6:16 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

asker wrote:
Sun Jun 16, 2019 1:02 pm
1. Create a AUTH_HASH_SECRET

-- other option ---
1. What happens if you change your code to use the new token system? That is, replace "&auth=" with "&token=" and use "access_token" key (new API docs here)
made a new AUTH_HASH_SECRET and replaced auth with a token
and now it works

thx
by Cramac1
Sun Jun 16, 2019 12:17 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

yesterday just updated

[version] => 1.33.9
by Cramac1
Sat Jun 15, 2019 8:58 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

Yes, there is a problem, the video does not go, in the log: ERR Unable to authenticate user
by Cramac1
Sat Jun 15, 2019 9:36 am
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

auth return: Array ( [access_token] => eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNTYwNTkxMDU4LCJleHAiOjE1NjA1OTQ2NTgsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.TSVWYhUl_kN3NUZvNP6cRAg0N_mUqDImi_vUNJPtIuY [access_token_expires] => 3600 [refresh_token] => eyJ0eXAiOiJKV1Q...
by Cramac1
Sat Jun 15, 2019 8:42 am
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

rockedge wrote:
Tue Apr 30, 2019 7:46 pm
do you have Options->Systems->AUTH_HASH_LOGINS enabled?
yes
Безымянный.gif
Безымянный.gif (116.93 KiB) Viewed 2953 times
by Cramac1
Tue Apr 30, 2019 7:40 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

Only viewing online pictures does not work. Error: zms_m2 Dav 9241 ERR Unable to authenticate user I pass authorization, I see a list of monitors, I want to see a picture, but he does not give: <img src="http://video.site.ru/zm/cgi-bin/nph-zms?scale=auto&width=1920px&height=1080px&mode=jpeg&maxfps=3...
by Cramac1
Tue Apr 30, 2019 7:32 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

Re: API Error (zm 1.33.6)

updated to zoneminder (1.33.6~20190428120633-bionic)
here all the rules
by Cramac1
Fri Apr 12, 2019 6:39 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 5214

API Error (zm 1.33.6)

login API $ch = curl_init(); curl_setopt( $ch, CURLOPT_URL, "http://site.ru/zm/api/host/login.json" ); curl_setopt( $ch, CURLOPT_POST, 1); //0 for a get request curl_setopt( $ch, CURLOPT_POSTFIELDS, "user=admin&pass=xxx" ); curl_setopt( $ch, CURLOPT_COOKIEJAR, dirname(__FILE__).'/cookie.txt' ); $res...