Skip to content

Commit

Permalink
[dist] Require scenedetect>=0.6.2 (fixes #150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Breakthrough committed Apr 29, 2024
1 parent 42b86a6 commit a3f860e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/requirements_windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ opencv-contrib-python==4.8.0.74
platformdirs
pyinstaller>=6.0
pytest
scenedetect
scenedetect>=0.6.2
screeninfo
tqdm
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

### 1.6.1 (In Development)

#### Release Notes

Includes various usability enhancements identified since the region editor was launched, and several bugfixes. Minimum supported Python version is now 3.8 (previous versions may continue to work but are not officially supported).

#### Changelog

- [improvement] Add `learning-rate` config option to adjust how the background model is updated

### 1.6 (October 15, 2023)
Expand Down
6 changes: 3 additions & 3 deletions docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ hide:

pip install dvr-scan[opencv-headless]==1.6

DVR-Scan is [available on PyPI](https://pypi.org/project/dvr-scan/) can be installed using `pip install dvr-scan[opencv]`. DVR-Scan works on Windows, Linux, and OSX, and requires Python 3.7 or higher.
DVR-Scan is [available on PyPI](https://pypi.org/project/dvr-scan/) can be installed using `pip install dvr-scan[opencv]`. DVR-Scan works on Windows, Linux, and OSX, and requires Python 3.8 or higher.

If want to use an existing OpenCV installation or require a non-PyPI version, you can omit the extras from `pip install`. You can also build and install DVR-Scan [from source](#source-code).

Expand All @@ -42,13 +42,13 @@ The installer is recommended for most users. Windows builds include all require

<h3>CUDA®-Enabled Builds (Experimental)</h3>

Nvidia CUDA® builds are available, but still early in development. This version may not be the latest, and should be considered experimental. Not all GPU versions may be supported.
Nvidia CUDA® builds experimental and outdated due to difficulty producing binary distributions covering all systems and GPU architectures. If you require CUDA support, the Python version of DVR-Scan is compatible with any CUDA® enabled version of the `opencv-python` module. You can get better performance or use DVR-Scan on a wider variety of GPUs if you build the module on your system, with the latest SDK version.

!!! cuda-download "**1.5.1 (Not Latest)**<span class="dvr-scan-release-date">:fontawesome-solid-triangle-exclamation:</span>"

<div class="buttongrid buttongrid-download">[:fontawesome-solid-flask: &nbsp; CUDA® Build `.zip`](https://github.com/Breakthrough/DVR-Scan/releases/download/v1.5.1-release/dvr-scan-1.5.1-win64-cuda.zip){ .md-button #changelog-button }</div>

Make sure to set `-b MOG2_CUDA` when running DVR-Scan (e.g. `dvr-scan -i video.mp4 -b MOG2_CUDA`). CUDA builds are done infrequently and may not be up to date. The Python version of DVR-Scan is compatible with any CUDA® enabled version of the `opencv-python` module. You can get better performance or use DVR-Scan on a wider variety of GPUs if you build the module on your system. with the latest SDK version.
Make sure to set `-b MOG2_CUDA` when running DVR-Scan (e.g. `dvr-scan -i video.mp4 -b MOG2_CUDA`).


## Source Code
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ opencv-python
opencv-contrib-python
platformdirs
pytest
scenedetect
scenedetect>=0.6.2
screeninfo
tqdm
2 changes: 1 addition & 1 deletion requirements_headless.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ opencv-python-headless
opencv-contrib-python-headless
platformdirs
pytest
scenedetect
scenedetect>=0.6.2
tqdm
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ classifiers =
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Multimedia :: Video
Topic :: Multimedia :: Video :: Conversion
Topic :: Multimedia :: Video :: Non-Linear Editor
Expand All @@ -45,7 +45,7 @@ install_requires =
packages =
dvr_scan
dvr_scan.cli
python_requires = >=3.7
python_requires = >=3.8
# : This is required to include the LICENSE file in the correct location, which also
# requires keeping duplicate copies of the LICENSE file in the dvr_scan/ module folder.
# Figure out a better solution, e.g. either access it from the dist-info folder, figure
Expand Down

0 comments on commit a3f860e

Please sign in to comment.