Repository navigation
fix(deps): update dependency scenedetect to v0.7.2 - #31
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/computer-vision-libraries
branch
from
June 11, 2026 09:58
72edbf1 to
7918beb
Compare
renovate
Bot
force-pushed
the
renovate/computer-vision-libraries
branch
2 times, most recently
from
July 22, 2026 07:13
2a3cc55 to
88e1b23
Compare
renovate
Bot
force-pushed
the
renovate/computer-vision-libraries
branch
from
September 7, 2026 16:30
88e1b23 to
6fc8d68
Compare
renovate
Bot
force-pushed
the
renovate/computer-vision-libraries
branch
from
October 12, 2026 08:42
6fc8d68 to
c673bcb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.6.7.1→==0.7.2Release Notes
Breakthrough/PySceneDetect (scenedetect)
v0.7.2: PySceneDetect v0.7.2Compare Source
Release Notes
PySceneDetect 0.7.2 ships improved defaults for the histogram and perceptual hash detectors, adds PyAV 19 support, and fixes several timing and output bugs. Default output of
detect-histanddetect-hashwill change in this release due to improved default values.CLI Changes
HistogramDetector(detect-hist) defaultthresholdchanged from 0.05 to 0.20 and defaultbinsfrom 256 to 128, calibrated from the benchmarks. Output for this detector will change if you are not setting both parameters explicitly. #559detect-hist -t 0.05 -b 256orHistogramDetector(threshold=0.05, bins=256)to restore the previous behavior.HashDetector(detect-hash) defaultthresholdchanged from 0.395 to 0.35 and defaultsizefrom 16 to 8, calibrated from the benchmarks. Output for this detector will change if you are not setting both parameters explicitly. #559detect-hash -t 0.395 -s 16orHashDetector(threshold=0.395, size=16)to restore the previous behavior.detect-thresholdnow ignores fade-outs shorter than0.1sby default. Use--min-out-length 0to restore the previous behavior. The API default remains0#278save-keyframescommand to export detected cuts using# keyframe format v1for Aegisub-compatible tools #534. Frame numbers are currently approximate for VFR input #569--min-out-length/min_out_lengthtodetect-threshold/ThresholdDetector, which requires that fades stay below the threshold for the given duration #278-f,--frame-rate, and--framerateare now aliases of the same CLI option, and all forms appear in help and documentation. If multiple forms are given, the last value is used #548AdaptiveDetector/detect-adaptiveemitting scenes shorter thanmin_scene_lenwhenwindow_widthis large, by applying the minimum-length check to the emitted (target) frame instead of the current frame #408API Changes
framerateargument aliases inFrameTimecode,open_video(), and the video backends now emit aDeprecationWarning; useframe_rateinstead. When both forms are provided,frame_ratetakes precedence #548write_scene_list()now also accepts a path (strorpathlib.Path) as the first argument in addition to an open file handle; paths are opened and closed automatically #523pathlib.Path; paths are opened and closed automatically #567ThresholdDetector/detect-thresholdwith methodCEILINGnow classifies the first frame with theCEILINGrule instead of theFLOORrule, which anchored a leading fade one frame late and could emit a spurious cut at the first frame (thanks @MuhammadBilalKhan267)min_scene_lengiven in frames dropping cuts that are exactlymin_scene_lenframes apart at NTSC framerates (e.g. 29.97 fps), by comparing frame counts instead of converting to seconds #577TypeErrorwhen opening videos with thepyavbackend on PyAV 19.0 or newer (PyAV 19 is now supported)pyavbackend duration calculation fallbackpyavbackend not releasing the file handle it opened when the stream is garbage collected, which emitted aResourceWarningunderpython -X dev#568opencv-python4.14 or 5.0 (upstream: opencv/opencv#30017) #575Packaging
scenedetect-corepackage introduced in 0.7.1 has been discontinued, and its only release (0.7.1) yanked from PyPI. Existingscenedetect-coreinstalls keep working but will not receive updates. Install eitherscenedetectorscenedetect-headless. #558v0.7.1: PySceneDetect v0.7.1Release Notes
PySceneDetect 0.7.1 adds support for concatenating multiple videos, along with several stability and robustness fixes for the PyAV and OpenCV backends.
CLI Changes
split-videohas a new--expandflag: when scenes are detected within a time window (-s/-e), the first output clip is extended back to the start of the video and the last clip is extended forward to the end, so no footage outside the analysis window is dropped #115API Changes
scenedetect.detect()now accepts abackendkeyword argument ("opencv","pyav", or"moviepy") similar toopen_video. Defaults to"opencv", matching prior behavior.expand_scenes_to_bounds()helper inscenedetect.scene_managerto extend a scene list so the first scene starts at a given lower bound and the last scene ends at a given upper boundVideoStreamnow provides a public read-onlydecode_failuresproperty reporting the number of frames that failed to decode and were skipped (defaults to 0; populated by the OpenCV and PyAV backends)VideoStreamConcat(scenedetect.backends.concat) which concatenates multiple videos into a single continuous stream with a monotonic PTS timeline;open_video()anddetect()now accept a list of paths.VideoStreamConcat.map_span()maps spans of the global timeline back to per-source local timesVideoStreamAv) now skips corrupt frames duringread()and continues decoding instead of failing, giving up only after 8 consecutive decode failures (matching the OpenCV backend's tolerance behavior)position0, consistent with other backends and withseek()FrameTimecodeobjects that both carry exact presentation times (e.g. positions from VFR videos) and share the same frame rate are now performed exactly usingptsandtime_baseinstead of rounded frame numbers. Previously, distinct frames in VFR sections could compare equal or fail strict ordering when their times rounded to the same approximate frame number. Comparisons involving frame- or seconds-based timecodes, plain values (int/float/str), or differing frame rates are unchangedPackaging
scenedetectandscenedetect-headlessare unchanged: they continue to ship the full program (library + CLI) withopencv-python/opencv-python-headlessrespectively. Both packages provide the samescenedetectmodule (install or depend only one)docker run --rm -v "$(pwd):/files" ghcr.io/breakthrough/pyscenedetect -i /files/video.mp4 detect-adaptive split-video -o /filesGeneral
Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.