Release Notes
Includes new load-scenes
command, ability to specify a default detector, PyAV 10 support, and several bugfixes. Minimum supported Python version is now Python 3.7.
Command-Line Changes:
- [feature] Add
load-scenes
command to load cuts fromlist-scenes
CSV output #235 - [feature] Use
detect-adaptive
by default if a detector is not specified #329- Default detector can be set by config file with the
default-detector
option under[global]
- Default detector can be set by config file with the
- [bugfix] Fix
-d
/--duration
and-e
/--end
options oftime
command consuming one extra frame #307 - [bugfix] Fix incorrect end timecode for final scene when last frame of video is a new scene #307
- [bugfix] Expand
$VIDEO_NAME
before creating output directory for-f
/--filename
option ofsplit-video
, now allows absolute paths - [general] Rename
ThresholdDetector
(detect-threshold
) metricdelta_rgb
metric toaverage_rgb
- [general]
-l
/--logfile
always produces debug logs now - [general] Remove
-a
/--all
flag fromscenedetect version
command, now prints all information by default (can still callscenedetect
for version number alone) - [general] Add
-h
/--help
options globally and for each command - [general] Remove
all
option fromscenedetect help
command (can now callscenedetect help
for full reference)
General:
- [feature] Add ability to specify method (floor/ceiling) when creating
ThresholdDetector
, allows fade to white detection #143 - [general] Minimum supported Python version is now Python 3.7
- [general] Add support for PyAV 10.0 #292
- [general] Use platformdirs package instead of appdirs #309
- [bugfix] Fix
end_time
always consuming one extra frame #307 - [bugfix] Fix incorrect end timecode for last scene when
start_in_scene
isTrue
or the final scene contains a single frame #307 - [bugfix] Fix MoviePy read next frame #320
- [bugfix] Template replacement when generating output now allows lower-case letters to be used as separators in addition to other characters
- [api] Make some public functions/methods private (prefixed with
_
):get_aspect_ratio
function inscenedetect.backends.opencv
mean_pixel_distance
andestimated_kernel_size
functions inscenedetect.detectors.content_detector
compute_frame_average
function inscenedetect.detectors.threshold_detector
scenedetect.cli
andscenedetect.thirdparty
modules
- [api] Remove
compute_downscale_factor
inscenedetect.video_stream
(usescenedetect.scene_manager.compute_downscale_factor
instead) - [dist] Updated dependencies in Windows distributions: ffmpeg 6.0, PyAV 10, OpenCV 4.8, removed mkvmerge
Project Updates
- Website and documentation is now hosted on Github Pages, documentation can be found at scenedetect.com/docs
- Windows and Linux builds are now done on Github Actions, add OSX builds as well
- Build matrix has been updated to support Python 3.7 through 3.11 for all operating systems for Python distributions
- Windows portable builds have been moved to Github Actions, signed builds/installer is still done on Appveyor
- Windows distributions no longer include mkvmerge (can still download for Windows here)