Comments (15)
Can you see if ISAPI is enabled in the DVR settings? If they are enabled, can you please tell me the DVR model and the firmware version that it is running? Thanks.
from hikload.
Model: Internec (almost the same as hikvision)
ISAPI is enabled.
Model: i7-N39832UHV
Firmware: V3.4.92 build 170323
Code Version: V5.0 build 170228
iVMS 4200 works fine with that DVR.
from hikload.
I added a workaround in the master branch. After you follow the install procedure, if you add --cameras=101
in the arguments, does the issue persist?
from hikload.
After upgrade:
Traceback (most recent call last):
File "/usr/local/bin/hikload", line 33, in
sys.exit(load_entry_point('hikload==1.0.2', 'console_scripts', 'hikload')())
File "/usr/local/bin/hikload", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/main.py", line 2, in
from .ui import main as ui_main
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/ui.py", line 1, in
from PyQt5 import QtWidgets, uic, QtGui
ImportError: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
How to install hikload without Qt5?
from hikload.
Added a check to see if Qt5 is not installed that disables the GUI. Should work now.
from hikload.
Disabling GUI since PyQt5 is not installed
Traceback (most recent call last):
File "/usr/local/bin/hikload", line 33, in
sys.exit(load_entry_point('hikload==1.0.2', 'console_scripts', 'hikload')())
File "/usr/local/bin/hikload", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/main.py", line 2, in
from .ui import main as ui_main
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/ui.py", line 17, in
class downloadThread(threading.Thread):
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/ui.py", line 18, in downloadThread
def init(self, window: QtWidgets.QMainWindow, server: HikvisionServer, args):
NameError: name 'QtWidgets' is not defined
from hikload.
Now the ImportError and the NameError should be caught and dealt with. Hopefully this should work.
from hikload.
Traceback (most recent call last):
File "/usr/local/bin/hikload", line 33, in
sys.exit(load_entry_point('hikload==1.0.2', 'console_scripts', 'hikload')())
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/main.py", line 27, in main
run(args)
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/download.py", line 336, in run
downloadQueue = search_for_recordings(server, args)
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/download.py", line 173, in search_for_recordings
channelList = server.Streaming.getChannels()
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/hikvisionapi/_Streaming.py", line 19, in getChannels
return hikvisionapi.getXML(self.parent, "Streaming/channels")
File "/usr/local/lib/python3.9/dist-packages/hikload-1.0.2-py3.9.egg/hikload/hikvisionapi/utils.py", line 40, in getXML
raise hikvisionapi.HikvisionException(
hikload.hikvisionapi.classes.HikvisionException: Invalid Operation
from hikload.
Did you add --cameras 101
to the arguments?
from hikload.
hikload --server 192.168.20.10 --user admin --password 'password' --cameras=101
0%| | 0/37 [00:00<?, ?it/s]
And nothing more is happening.
from hikload.
Maybe the cameras don't fully implement the ISAPI specification. Maybe with --ffmpeg it will work?
from hikload.
ERROR:root:Could not download 20220210000000-101.mkv. Try to remove --fmpeg.
ERROR:root:Could not download 20220210002926-101.mkv. Try to remove --fmpeg.
from hikload.
Do you have ffmpeg installed? If yes, I improved logging for the case where --ffmpeg
is used to help debug why it isn't working for you.
from hikload.
ffmpeg is already the newest version (7:4.3.3-0+deb11u1).
ERROR:root:Could not download 20220211000000-101.mkv. Try to remove --fmpeg.
ERROR:root:ffmpeg error (see stderr output for detail)
ERROR:root:Could not download 20220211013950-101.mkv. Try to remove --fmpeg.
ERROR:root:ffmpeg error (see stderr output for detail)
ERROR:root:Could not download 20220211043006-101.mkv. Try to remove --fmpeg.
ERROR:root:ffmpeg error (see stderr output for detail)
ERROR:root:Could not download 20220211071834-101.mkv. Try to remove --fmpeg.
ERROR:root:ffmpeg error (see stderr output for detail)
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:01<00:00, 3.41it/s]
from hikload.
Can you please add --debug
to the arguments after you pull the latest commit and show me the output? Thanks.
from hikload.
Related Issues (20)
- 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
- TypeError: search_for_recordings() missing 1 required positional argument: 'args' HOT 7
- speed download video HOT 4
- how shell?
- Concatenating videos from one camera HOT 1
- module 'argparse' has no attribute 'BooleanOptionalAction' HOT 3
- Videos not downloading, while being streamed on the Hikconnect app. HOT 1
- Package is incompatible with older versions of Python (<3.9 at least), and doesn't declare such in its metadata HOT 1
- Downloaded video is incomplete if download is started shortly after recording ends
- cant run in windows and docker
- error while installing hikLoad using pip install hikload.
- requests.exceptions.InvalidURL: Failed to parse
- Starttime and endtime not used
- 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.