Skip to content

Commit ec274ad

Browse files
committed
[dist] Update docs for upcoming v1.7 release.
1 parent 408f90f commit ec274ad

File tree

5 files changed

+48
-41
lines changed

5 files changed

+48
-41
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,7 @@
44

55
------------------------------------------------
66

7-
### Beta Release: v1.7-dev0 (January 16, 2025)
8-
9-
The latest beta of DVR-Scan includes a new GUI. See [the release page](https://github.com/Breakthrough/DVR-Scan/releases/tag/v1.7-dev0) for download links and screenshots. Feedback is most welcome (see issue [#198](https://github.com/Breakthrough/DVR-Scan/issues/198)).
10-
11-
![GUI Beta Screenshot](https://github.com/user-attachments/assets/6d6bb509-f40c-48ba-95d9-a7912935e9eb)
12-
13-
------------------------------------------------
14-
15-
### Latest Release: v1.6.2 (December 17, 2024)
7+
### Latest Release: v1.7 (In Development)
168

179
**Website**: [dvr-scan.com](https://www.dvr-scan.com)
1810

@@ -28,9 +20,17 @@ DVR-Scan is a command-line application that **automatically detects motion event
2820

2921
pip install dvr-scan[opencv] --upgrade
3022

31-
Windows builds are also available on [the Downloads page](https://www.dvr-scan.com/download/).
23+
Windows builds (installer + portable) are also available on [the Downloads page](https://www.dvr-scan.com/download/).
24+
25+
## Quickstart (UI)
26+
27+
Start DVR-Scan (run `dvr-scan-app` or click the app shortcut), **Add** your input videos, and hit **Start**:
28+
29+
<img alt="main app window" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.7/docs/assets/app-main-window.jpg" width="480"/>
30+
31+
See the [User Guide](https://www.dvr-scan.com/guide/) for a more comprehensive overview.
3232

33-
## Quickstart
33+
## Quickstart (CLI)
3434

3535
Scan `video.mp4` (separate clips for each event):
3636

@@ -40,7 +40,7 @@ Select a region to scan using [the region editor](https://www.dvr-scan.com/guide
4040

4141
dvr-scan -i video.mp4 -r
4242

43-
<img alt="example of region editor" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.6/docs/assets/region-editor-mask.jpg" width="480"/>
43+
<img alt="example of region editor" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.7/docs/assets/region-editor-mask.jpg" width="480"/>
4444

4545
Select a region to scan using command line (list of points as X Y):
4646

@@ -50,7 +50,7 @@ Draw boxes around motion:
5050

5151
dvr-scan -i video.mp4 -bb
5252

53-
<img alt="example of bounding boxes" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.6/docs/assets/bounding-box.gif" width="480"/>
53+
<img alt="example of bounding boxes" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.7/docs/assets/bounding-box.gif" width="480"/>
5454

5555
Use `ffmpeg` to extract events:
5656

docs/changelog.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,26 @@
55

66
## DVR-Scan 1.7
77

8-
### 1.7 (In Development)
8+
### 1.7 (TBD)
99

10-
#### Beta 1 (1.7-dev0)
10+
#### Release Notes
11+
12+
DVR-Scan 1.7 ships with a completely new UI, and supports faster video decoders (up to 50% better scanning performance):
13+
14+
<img alt="example of region editor" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.7/docs/assets/app-main-window.jpg" width="480"/>
15+
16+
The UI can be started by running `dvr-scan-app`, and is installed alongside the existing command line interface `dvr-scan`. Config settings and region files can be shared seamlessly between both. Feedback on the new UI is welcome.
17+
18+
#### Changelog
1119

1220
- [feature] New GUI now available across all platforms, can be launched via `dvr-scan-app`
1321
- Has UI elements for all settings, supports editing motion regions
1422
- Shows scan progress in real-time
15-
- Supports loading/saving config files compatible with the `dvr-scan` CLI command
23+
- [feature] Add ability to control video decoder via `input-mode` config option (`opencv`, `pyav`, `moviepy`)
24+
- Allows switching between `OpenCV` (default), `PyAV`, and `MoviePy` for video decoding
25+
- Certain backends provide substantial performance benefits, up to 50% in some cases (let us know which one works best!)
1626
- [general] Minimum supported Python version is now 3.9
1727

18-
#### Beta 2 (1.7-dev1)
19-
20-
- [bugfix] Fix "too many values to unpack" exception when scanning video
21-
- [bugfix] Fix incorrect calculation of total frames when showing progress
22-
- [bugfix] Fix drag-and-drop shortcut not working due to not parsing input paths from command line
23-
- [general] Show alert on any errors during motion scanning
24-
2528
----------------------------------------------------------
2629

2730
## DVR-Scan 1.6

docs/download.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@ hide:
99

1010
-------------------------------
1111

12-
## GUI Release (Beta)
13-
14-
A new GUI is under development for the next version of DVR-Scan and is available now for beta testing. The beta release can be [downloaded from Github](https://github.com/Breakthrough/DVR-Scan/releases/tag/v1.7-dev0). All current stable versions of DVR-Scan are command-line only.
15-
16-
Feedback for the new GUI is welcome. Users can download and install the beta ontop of an existing DVR-Scan installation, and it is compatible with all existing config and region files.
17-
18-
-------------------------------
19-
20-
## Python <span class="dvr-scan-download-icons">:fontawesome-brands-windows::fontawesome-brands-apple::fontawesome-brands-linux:</span>
12+
## Python<span class="dvr-scan-download-icons">:fontawesome-brands-windows::fontawesome-brands-apple::fontawesome-brands-linux:</span>
2113

2214
!!! python-download "**1.6.2**<span class="dvr-scan-release-date">December 17, 2024</span>"
2315

@@ -35,7 +27,7 @@ Linux users may need to install the `python3-tk` package (e.g. `sudo apt install
3527

3628
-------------------------------
3729

38-
## Windows Distribution<span class="dvr-scan-download-icons">:fontawesome-brands-windows:</span>
30+
## Windows<span class="dvr-scan-download-icons">:fontawesome-brands-windows:</span>
3931

4032
!!! windows-download "**1.6.2**<span class="dvr-scan-release-date">December 17, 2024</span>"
4133

@@ -46,9 +38,9 @@ The installer is recommended for most users. Windows builds include all require
4638

4739
-------------------------------
4840

49-
## Servers and Headless Systems
41+
## Servers
5042

51-
For installation on servers and other headless systems that do not require a GUI, install `dvr-scan[opencv-headless]` instead of `dvr-scan[opencv]`. This will make sure that [the headless version of OpenCV](https://pypi.org/project/opencv-python-headless/) is installed, which avoids any dependencies on X11 libraries or any other GUI components. This allows DVR-Scan to run with less dependencies, and can result in smaller Docker images.
43+
For headless systems that do not require the UI, you can install `dvr-scan[opencv-headless]`. This will make sure that [the headless version of OpenCV](https://pypi.org/project/opencv-python-headless/) is installed, which avoids any dependencies on X11 libraries or any other GUI components. This allows DVR-Scan to run with less dependencies, and can result in smaller Docker images.
5244

5345
-------------------------------
5446

@@ -59,13 +51,15 @@ The source code for [DVR-Scan is available on Github](https://github.com/Breakth
5951
-------------------------------
6052

6153

62-
## CUDA®-Enabled Builds
54+
## CUDA® Support
55+
56+
DVR-Scan works with CUDA graphics cards *if* you are using the Python distribution, *and* you have a CUDA-enabled verison of the `opencv-python` package.
6357

64-
GPU support currently requires a development environment setup including the Nvidia CUDA® SDK.
58+
!!! warning "GPU support requires a development environment setup including the Nvidia CUDA® SDK."
6559

66-
DVR-Scan works with CUDA graphics cards if you are using the Python distribution, and you have a CUDA-enabled verison of the `opencv-python` package. Unfortunately pre-built binaries are not available, so this requires that you build from source (there are various tutorials online for how to do this).
60+
It is recommended to build and install OpenCV with the CUDA module enabled (there are various tutorials online for how to do this). There is also an [unofficial pre-built Python wheel](https://github.com/cudawarped/opencv-python-cuda-wheels/releases/tag/4.11.0.20250124) maintained by James Bowley which can be downloaded and installed via `pip`.
6761

68-
When available, you should see `cv2.cuda: Installed` under the features list when running `dvr-scan --version`. Make sure to set `-b MOG2_CUDA` when running DVR-Scan (e.g. `dvr-scan -i video.mp4 -b MOG2_CUDA`).
62+
When available, you should see `cv2.cuda: Installed` under the features list when running `dvr-scan --version`. Make sure to set `-b MOG2_CUDA` when running DVR-Scan (e.g. `dvr-scan -i video.mp4 -b MOG2_CUDA`). In the UI, under this can be found under Settings -> Motion -> Subtractor.
6963

7064
-------------------------------
7165

docs/index.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,17 @@ hide:
1919

2020
DVR-Scan is a command-line application that **automatically detects motion events in video files** (e.g. security camera footage). DVR-Scan looks for areas in footage containing motion, and saves each event to a separate video clip. DVR-Scan is free and open-source software, and works on Windows, Linux, and Mac.
2121

22-
## :fontawesome-solid-person-running:Quickstart
22+
## Quickstart <span class="dvr-scan-download-icons">:fontawesome-brands-windows::fontawesome-brands-apple::fontawesome-brands-linux:</span>
23+
24+
### UI
25+
26+
Launch DVR-Scan from the shortcut or run the `dvr-scan-app` command. Press **Add** to add your input videos, and press **Start** to find and extract segments with motion:
27+
28+
<img alt="ui example" src="assets/app-main-window.jpg" width="480"/>
29+
30+
To limit detection to certain areas, press **Set Regions** and use [the **Region Editor**](guide.md#region-editor). Motion sensitivity can be adjusted under **Settings -> Motion**. See the [User Guide](guide.md) for more information.
31+
32+
### CLI
2333

2434
Scan `video.mp4` (separate clips for each event):
2535

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ packages =
4747
dvr_scan
4848
dvr_scan.app
4949
dvr_scan.shared
50-
# Documentation (pre-built HTML but without images to keep size small)
50+
# Documentation (minified HTML without images to keep package download size small)
5151
dvr_scan.docs
5252
dvr_scan.docs.assets
5353
dvr_scan.docs.assets.javascripts

0 commit comments

Comments
 (0)