Skip to content
项目

关于

:vhs: 从视频中提取有运动画面的工具(例如监控摄像头或 DVR 录像)。使用 Python 编写,基于 OpenCV。

安全与隐私

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

DVR-Scan

:vhs: Find and extract motion events in videos.


Latest Release: v2.0 (November 8, 2026)

DOI

Website: dvr-scan.com

User Guide: dvr-scan.com/guide

Documentation: dvr-scan.com/docs

Discord: discord.gg/69kf6f2Exb


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.

Quick Install

pip install dvr-scan --upgrade

Windows builds (installer + portable) are also available on the Downloads page.

Quickstart (UI)

Start DVR-Scan (run dvr-scan-app or click the app shortcut). The Scan Wizard walks you through each step: add your input videos, pick a preset, choose where to save the output, and hit Start Scan:

scan wizard

See the User Guide for a more comprehensive overview.

Quickstart (CLI)

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

dvr-scan -i video.mp4

Select a region to scan using the region editor:

dvr-scan -i video.mp4 -r
example of region editor

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

dvr-scan -i video.mp4 -a 50 50 100 50 100 100 100 50

Draw boxes around motion:

dvr-scan -i video.mp4 -bb
example of bounding boxes

Use ffmpeg to extract events:

dvr-scan -i video.mp4 -m ffmpeg

See the documentation for a complete list of all command-line and configuration file options which can be set. You can also type dvr-scan --help for an overview of command line options. Some program options can also be set using a config file.


Copyright © 2016-2026 Brandon Castellano. All rights reserved. Licensed under BSD 2-Clause (see the LICENSE file for details).

探索相关项目

加载中…