PySceneDetect v0.6.2
·
359 commits
to main
since this release
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-scenescommand to load cuts fromlist-scenesCSV output #235 - [feature] Use
detect-adaptiveby default if a detector is not specified #329- Default detector can be set by config file with the
default-detectoroption under[global]
- Default detector can be set by config file with the
- [bugfix] Fix
-d/--durationand-e/--endoptions oftimecommand 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_NAMEbefore creating output directory for-f/--filenameoption ofsplit-video, now allows absolute paths - [general] Rename
ThresholdDetector(detect-threshold) metricdelta_rgbmetric toaverage_rgb - [general]
-l/--logfilealways produces debug logs now - [general] Remove
-a/--allflag fromscenedetect versioncommand, now prints all information by default (can still callscenedetectfor version number alone) - [general] Add
-h/--helpoptions globally and for each command - [general] Remove
alloption fromscenedetect helpcommand (can now callscenedetect helpfor 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_timealways consuming one extra frame #307 - [bugfix] Fix incorrect end timecode for last scene when
start_in_sceneisTrueor 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_ratiofunction inscenedetect.backends.opencvmean_pixel_distanceandestimated_kernel_sizefunctions inscenedetect.detectors.content_detectorcompute_frame_averagefunction inscenedetect.detectors.threshold_detectorscenedetect.cliandscenedetect.thirdpartymodules
- [api] Remove
compute_downscale_factorinscenedetect.video_stream(usescenedetect.scene_manager.compute_downscale_factorinstead) - [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)