Comments (4)
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.
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.
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.
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)
- Script error on OS X
- Script for Hikvision cameras with SD card HOT 55
- Script for Hikvision cameras with SD card - download .jpeg timed captures? HOT 11
- Supported Models of hikvision NVR for API HOT 1
- Error when downloading single file HOT 2
- Use TQDM loading bar
- Invalid Operation HOT 15
- TypeError: search_for_recordings() missing 1 required positional argument: 'args' HOT 7
- how shell?
- Concatenating videos from one camera HOT 1
- module 'argparse' has no attribute 'BooleanOptionalAction' HOT 3
- Unauthorized user HOT 11
- Not enough bandwidth HOT 2
- Download video skipping frames HOT 4
- Download videos for specific periods of time HOT 3
- Download recorded files Error HOT 7
- TypeError: string indices must be integers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hikload.