kevineye / dvrip-ctl Goto Github PK
View Code? Open in Web Editor NEWControl IP cameras via dvr-ip a.k.a Sofia protocol (JSON-ish non-HTTP)
Control IP cameras via dvr-ip a.k.a Sofia protocol (JSON-ish non-HTTP)
I get this
laptop:~/Downloads/dvrip-ctl$ ./dvrip-ctl.pl -user admin -pass 'pass' -host 192.168.100.9 -port 34567 ls '2020-10-21 00:05:00' '2020-10-21 00:20:00' ;echo
[2020-10-22 05:33:31.87366] [77768] [info] connected to 192.168.100.9:34567
[2020-10-22 05:33:31.87395] [77768] [debug] ==> sending 107 byte login_req request
[2020-10-22 05:33:31.87699] [77768] [debug] <== received complete header: {"Channel":0,"Content_Length":128,"EndFlag":0,"MessageId":"login_rsp","Message_Code":1001,"Sequence":0,"SessionID":11,"Version":1}
[2020-10-22 05:33:31.87718] [77768] [debug] <== received login_rsp packet with 128 bytes of data
[2020-10-22 05:33:31.87743] [77768] [debug] ==> sending 193 byte filesearch_req request
[2020-10-22 05:33:31.88083] [77768] [debug] <== received complete header: {"Channel":0,"Content_Length":290,"EndFlag":0,"MessageId":"filesearch_rsp","Message_Code":1441,"Sequence":1,"SessionID":11,"Version":1}
[2020-10-22 05:33:31.88103] [77768] [debug] <== received filesearch_rsp packet with 290 bytes of data
[{"BeginTime":"2020-10-21 00:10:20","DiskNo":0,"EndTime":"2020-10-21 00:10:29","FileLength":"0x000006E3","FileName":"\/idea0\/2020-10-21\/001\/00.10.20-00.10.29[M][@71a][0].h264","SerialNo":0}]
laptop:~/Downloads/dvrip-ctl$ ./dvrip-ctl.pl -user admin -pass 'pass' -host 192.168.100.9 -port 34567 download {"BeginTime":"2020-10-21 00:10:20","DiskNo":0,"EndTime":"2020-10-21 00:10:29","FileLength":"0x000006E3","FileName":"\/idea0\/2020-10-21\/001\/00.10.20-00.10.29[M][@71a][0].h264","SerialNo":0}
[2020-10-22 05:33:53.22909] [77769] [info] connected to 192.168.100.9:34567
[2020-10-22 05:33:53.22955] [77769] [debug] ==> sending 107 byte login_req request
[2020-10-22 05:33:53.23251] [77769] [debug] <== received complete header: {"Channel":0,"Content_Length":128,"EndFlag":0,"MessageId":"login_rsp","Message_Code":1001,"Sequence":0,"SessionID":12,"Version":1}
[2020-10-22 05:33:53.23271] [77769] [debug] <== received login_rsp packet with 128 bytes of data
Can't use string ("BeginTime:2020-10-21 00:10:20") as a HASH ref while "strict refs" in use at /home/r/Downloads/dvrip-ctl/lib/IPCam.pm line 964.```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.