Package Details: dvr-scan 1.6.1-1

Git Clone URL: https://aur.archlinux.org/dvr-scan.git (read-only, click to copy)
Package Base: dvr-scan
Description: Tool for extracting scenes with motion from security camera/DVR footage.
Upstream URL: https://github.com/Breakthrough/DVR-Scan
Licenses: BSD-2-Clause
Submitter: lah7
Maintainer: lah7
Last Packager: lah7
Votes: 1
Popularity: 0.000000
First Submitted: 2021-03-02 17:23 (UTC)
Last Updated: 2024-05-19 14:49 (UTC)

Latest Comments

dinux commented on 2025-01-18 22:47 (UTC)

Thank you @lah7, it works now.

lah7 commented on 2025-01-18 22:36 (UTC)

@dinux Glad to hear it's not just me maintaining for myself :)

Yes, I encountered that error too a few weeks ago. It's a problem with python-scenedetect. It was fixed in v0.6.5.2:

https://github.com/Breakthrough/PySceneDetect/commit/9760c0a9b8531bf4f6901e4c7bbad2fe47d52d7e

https://github.com/Breakthrough/PySceneDetect/issues/468

Until python-scenedetect in the AUR is updated, download their PKGBUILD, bump it to v0.6.5.2 and rebuild/install.

dinux commented on 2025-01-18 18:14 (UTC) (edited on 2025-01-18 18:14 (UTC) by dinux)

Used this application for few years with no problems, now getting this error:

Traceback (most recent call last):
  File "/usr/bin/dvr-scan", line 33, in <module>
    sys.exit(load_entry_point('dvr-scan==1.6.1', 'console_scripts', 'dvr-scan')())
             ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/dvr-scan", line 25, in importlib_load_entry_point
    return next(matches).load()
           ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/dvr_scan/__init__.py", line 43, in <module>
    from dvr_scan.platform import init_logger
  File "/usr/lib/python3.13/site-packages/dvr_scan/platform.py", line 29, in <module>
    from scenedetect.platform import get_and_create_path
  File "/usr/lib/python3.13/site-packages/scenedetect/__init__.py", line 54, in <module>
    from scenedetect.scene_manager import SceneManager, save_images, SceneList, CutList, Interpolation
  File "/usr/lib/python3.13/site-packages/scenedetect/scene_manager.py", line 413, in <module>
    image: cv2.Mat,
           ^^^^^^^
AttributeError: module 'cv2' has no attribute 'Mat'

The same with 1.5 version and current 1.6