Git Product home page Git Product logo

Comments (4)

Tedyst avatar Tedyst commented on July 24, 2024

Hello! I recently found a problem regarding the default video type that forced the app to transcode, resulting in a very slow download. Can you try updating the app and seeing if it works correctly now?

from hikload.

roberto96 avatar roberto96 commented on July 24, 2024

I'm not using your application specifically, I'm using a few methods from your code, specifically downloading videos. I will be very grateful if you help me with my problem. I request video from the camera using xml
'xml = """<?xml version="1.0" encoding="utf-8"?> <CMSearchDescription> <searchID>C77384AD-66A0-0001-E7C2-1151F04F90B0</searchID> <trackIDList> <trackID>101</trackID> </trackIDList> <timeSpanList> <timeSpan> <startTime>2022-07-05T00:00:00Z</startTime> <endTime>2022-07-05T23:59:59Z</endTime> </timeSpan> </timeSpanList> <maxResults>40</maxResults> <searchResultPosition>0</searchResultPosition> <metadataList> <metadataDescriptor>//recordType.meta.std-cgi.com</metadataDescriptor> </metadataList> </CMSearchDescription>"""', link = 'http://admin:[email protected]/ISAPI/ContentMgmt/search/',
stream I download them using xml = '<?xml version='1.0'?> <downloadRequest> <playbackURI>{}</playbackURI> </downloadRequest>'
and link = 'requests.get("http://admin:[email protected]/ISAPI/ContentMgmt/download", data=xml, stream=True, timeout = 15'.
But unlike iwms, I have a very low download speed, even over a local network.
instead of {} I substitute my data via '.format'

from hikload.

Tedyst avatar Tedyst commented on July 24, 2024

Maybe it has something to do with the stream=True? Have you tried using hikload using the commandline/GUI to see if the issue persists? Maybe this will help us see where is the problem.

from hikload.

roberto96 avatar roberto96 commented on July 24, 2024

i tried to use command line to boot with your program, same slow speed
hikload --server 192.168.1.64 --username admin --password psaaword --no-ffmpeg 2/4 [03:08<03:27, 103.69s/it]
Using my method, it is 132 seconds for a 256 megabyte file, which is also very long compared to iwms 4200.
when downloading from iwms 35 seconds, it takes 249 megabytes to download the file. Through your script, a 74 megabyte file downloaded for 103 seconds

from hikload.

Related Issues (18)

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.