Coder Social home page Coder Social logo

dvrip-ctl's People

Contributors

kevineye avatar

Watchers

 avatar

dvrip-ctl's Issues

Can't download a file

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.```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.