Skip to content

Commit bb33ade

Browse files
committed
[release] Release 0.7.1
1 parent 365d978 commit bb33ade

10 files changed

Lines changed: 110 additions & 55 deletions

File tree

appveyor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ cache:
1212
- '%LOCALAPPDATA%\uv\cache -> pyproject.toml'
1313
- 'C:\Program Files\Inkscape'
1414

15-
# Branches applies to tags as well. We only build on tagged releases of the form vX.Y.Z-release
15+
# Branches applies to tags as well. We only build on tagged releases of the form
16+
# vX.Y[.Z] (the legacy -release suffix is also accepted, matching the GitHub workflows).
1617
branches:
1718
only:
1819
- main
1920
- /releases\/.+/
20-
- /v.+-release/
21+
- /v.+/
2122

2223
skip_tags: false
2324
skip_non_tags: true
@@ -30,7 +31,7 @@ environment:
3031
secure: QRCPoNYF1nqgXDn7pHgBzg==
3132
ai_license_salt:
3233
secure: +Gy+SRk8JUsaM+5pMEKITiJxdLilrxHpkKlrZzR3C9DPwdgYLGxt5sJn6uXuAJg7e6JsKHcT7tRks/HcSKkHPw==
33-
ffmpeg_version: "8.1"
34+
ffmpeg_version: "8.1.2"
3435

3536
# SignPath Config for Code Signing
3637
deploy:

docs/LATEST_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7
1+
0.7.1

docs/cli.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,13 @@ Options
6161

6262
Stats file (.csv) to write frame metrics. Existing files will be overwritten. Used for tuning detection parameters and data analysis.
6363

64-
.. option:: -f FPS, --framerate FPS
64+
.. option:: -f FPS, --frame-rate FPS
6565

66-
Override framerate with value as frames/sec.
66+
Override frame rate with value as frames/sec.
67+
68+
.. option:: --framerate FPS
69+
70+
[DEPRECATED] Use :option:`-f/--frame-rate <-f>` instead.
6771

6872
.. option:: -m TIMECODE, --min-scene-len TIMECODE
6973

@@ -549,6 +553,10 @@ Options
549553

550554
Output directory to save EDL file to. Overrides global option :option:`-o/--output <scenedetect -o>`.
551555

556+
.. option:: -s TIMECODE, --start-timecode TIMECODE
557+
558+
Start timecode added to every event so the EDL aligns with the source media's on-screen timecode. Accepts SMPTE HH:MM:SS:FF or 8 digits (HHMMSSFF, e.g. 01000000).
559+
552560

553561
.. _command-save-fcp:
554562

@@ -859,7 +867,7 @@ Options
859867

860868
.. option:: --expand
861869

862-
Extend the first/last output clips to cover the full input video, even if the :ref:`time <command-time>` command's ``--start``/``--end`` limited the analysis window. Useful for keeping content outside the analyzed region attached to the adjacent split.
870+
Extend the first/last output clips to cover the full input video, even if `time -s/-e` limited the analysis window. Useful for keeping content outside the analyzed region attached to the adjacent split.
863871

864872

865873
.. _command-time:
Lines changed: 41 additions & 0 deletions
Loading

packaging/windows/installer/PySceneDetect.aip

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
<ROW Property="DialogBitmap" Value="dialog.jpg" MultiBuildValue="DefaultBuild:installer_logo.jpg" Type="1" MsiKey="DialogBitmap"/>
2424
<ROW Property="MSIFASTINSTALL" MultiBuildValue="DefaultBuild:3"/>
2525
<ROW Property="Manufacturer" Value="Brandon Castellano"/>
26-
<ROW Property="ProductCode" Value="1033:{F7AA154A-21CB-45BA-AF86-174E86A21960} " Type="16"/>
26+
<ROW Property="ProductCode" Value="1033:{61D7DE50-E4E4-456F-9361-413F73DA43FC} " Type="16"/>
2727
<ROW Property="ProductLanguage" Value="1033"/>
2828
<ROW Property="ProductName" Value="PySceneDetect"/>
29-
<ROW Property="ProductVersion" Value="0.7.0" Options="32"/>
29+
<ROW Property="ProductVersion" Value="0.7.1" Options="32"/>
3030
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND;AI_SETUPEXEPATH;SETUPEXEDIR"/>
3131
<ROW Property="UpgradeCode" Value="{D0AF0419-DBD5-455C-A4AC-4518A35DD23E}"/>
3232
<ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
@@ -159,7 +159,7 @@
159159
<ROW Directory="x86simdsort_Dir" Directory_Parent="npysort_Dir" DefaultDir="X86-SI~1|x86-simd-sort"/>
160160
</COMPONENT>
161161
<COMPONENT cid="caphyon.advinst.msicomp.SideBySideGuidComponent">
162-
<ROW Component="AI_CustomARPName" Value="{C37CA592-883C-4811-AC57-69BF5ABA66D7}"/>
162+
<ROW Component="AI_CustomARPName" Value="{875513D0-8249-4DFA-BE9C-4A2A1B22F171}"/>
163163
<ROW Component="AI_DisableModify" Value="{5AB8A335-BCAB-4C0A-8A69-E2AE7542AB47}"/>
164164
<ROW Component="AI_ExePath" Value="{F7DEDE0C-FDB1-411C-B347-A482CE69721F}"/>
165165
<ROW Component="APPDIR" Value="{6B122BDD-2BF8-41D4-92E0-884DD60467B4}"/>
@@ -291,7 +291,7 @@
291291
</COMPONENT>
292292
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
293293
<ROW Component="ACT" ComponentId="{31CB1D42-690C-4AA9-ABEB-7591D8240C30}" Directory_="Australia_Dir" Attributes="0" KeyPath="ACT" Type="0"/>
294-
<ROW Component="AI_CustomARPName" ComponentId="{C37CA592-883C-4811-AC57-69BF5ABA66D7}" Directory_="APPDIR" Attributes="260" KeyPath="DisplayName" Options="1"/>
294+
<ROW Component="AI_CustomARPName" ComponentId="{875513D0-8249-4DFA-BE9C-4A2A1B22F171}" Directory_="APPDIR" Attributes="260" KeyPath="DisplayName" Options="1"/>
295295
<ROW Component="AI_DisableModify" ComponentId="{5AB8A335-BCAB-4C0A-8A69-E2AE7542AB47}" Directory_="APPDIR" Attributes="260" KeyPath="NoModify" Options="1"/>
296296
<ROW Component="AI_ExePath" ComponentId="{F7DEDE0C-FDB1-411C-B347-A482CE69721F}" Directory_="APPDIR" Attributes="260" KeyPath="AI_ExePath"/>
297297
<ROW Component="APPDIR" ComponentId="{6B122BDD-2BF8-41D4-92E0-884DD60467B4}" Directory_="APPDIR" Attributes="0"/>
@@ -1743,7 +1743,7 @@
17431743
<ROW Action="AI_CleanPrePrereq" Condition="AI_BOOTSTRAPPER AND (NOT AI_PrereqsFulfilled)" Sequence="699"/>
17441744
</COMPONENT>
17451745
<COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
1746-
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFolder="." PackageFileName="PySceneDetect-0.7.0-win64" Languages="en" InstallationType="4" ExtUI="true" UseLargeSchema="true" MsiPackageType="x64"/>
1746+
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFolder="." PackageFileName="PySceneDetect-0.7.1-win64" Languages="en" InstallationType="4" ExtUI="true" UseLargeSchema="true" MsiPackageType="x64"/>
17471747
</COMPONENT>
17481748
<COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
17491749
<ROW Path="&lt;AI_DICTS&gt;ui.ail"/>

packaging/windows/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# PySceneDetect Requirements for Windows Build
2-
av==17.0.1
3-
click==8.2.1
2+
av==18.0.0
3+
click==8.4.2
44
imageio-ffmpeg==0.6.0
55
moviepy==2.2.1
6-
opencv-python-headless==4.13.0.92
7-
numpy==2.4.4
8-
platformdirs==4.9.6
9-
tqdm==4.67.3
6+
opencv-python-headless==5.0.0.93
7+
numpy==2.5.1
8+
platformdirs==4.11.0
9+
tqdm==4.69.0
1010

1111
# Build-only and test-only requirements.
1212
pyinstaller

scenedetect/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
# Used for module identification and when printing version & about info
8181
# (e.g. calling `scenedetect version` or `scenedetect about`).
82-
__version__ = "0.7.1-dev0"
82+
__version__ = "0.7.1"
8383

8484
init_logger()
8585
logger = getLogger("pyscenedetect")

website/pages/changelog.md

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,40 @@
33

44
## PySceneDetect 0.7
55

6+
### PySceneDetect 0.7.1 (July 2026)
7+
8+
PySceneDetect 0.7.1 adds a new `scenedetect-core` package and official Docker images to make downstream integration easier, along with support for concatenating multiple videos. It also includes several stability and robustness fixes for the PyAV and OpenCV backends.
9+
10+
#### CLI Changes
11+
12+
- [feature] `split-video` has a new `--expand` flag: 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 [#115](https://github.com/Breakthrough/PySceneDetect/issues/115)
13+
14+
#### API Changes
15+
16+
- [feature] `scenedetect.detect()` now accepts a `backend` keyword argument (`"opencv"`, `"pyav"`, or `"moviepy"`) similar to `open_video`. Defaults to `"opencv"`, matching prior behavior.
17+
- [feature] Add `expand_scenes_to_bounds()` helper in `scenedetect.scene_manager` to extend a scene list so the first scene starts at a given lower bound and the last scene ends at a given upper bound
18+
- [feature] `VideoStream` now provides a public read-only `decode_failures` property reporting the number of frames that failed to decode and were skipped (defaults to 0; populated by the OpenCV and PyAV backends)
19+
- [feature] Add `VideoStreamConcat` (`scenedetect.backends.concat`) which concatenates multiple videos into a single continuous stream with a monotonic PTS timeline; `open_video()` and `detect()` now accept a list of paths. `VideoStreamConcat.map_span()` maps spans of the global timeline back to per-source local times
20+
- [bugfix] The PyAV backend (`VideoStreamAv`) now skips corrupt frames during `read()` and continues decoding instead of failing, giving up only after 8 consecutive decode failures (matching the OpenCV backend's tolerance behavior)
21+
- [bugfix] The PyAV backend now normalizes presentation times by the stream start time, so files with a delayed start (e.g. from edit lists) report the first frame at `position` 0, consistent with other backends and with `seek()`
22+
- [bugfix] Comparisons between two `FrameTimecode` objects that both carry exact presentation times (e.g. positions from VFR videos) and share the same frame rate are now performed exactly using `pts` and `time_base` instead 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 unchanged
23+
- [bugfix] Fix image sequence inputs when using OpenCV 5.0
24+
25+
#### Packaging
26+
27+
- [feature] Add `scenedetect-core`, a new library-only package with minimal dependencies (`numpy` only): it does not depend on any specific OpenCV variant, allowing downstream projects to choose their own (e.g. `opencv-contrib-python`), and does not include the CLI dependencies or the `scenedetect` command [#558](https://github.com/Breakthrough/PySceneDetect/issues/558). Convenience extras `scenedetect-core[opencv]` and `scenedetect-core[opencv-headless]` are provided
28+
- [general] `scenedetect` and `scenedetect-headless` are unchanged: they continue to ship the full program (library + CLI) with `opencv-python` / `opencv-python-headless` respectively. All three packages provide the same `scenedetect` module (install or depend only one)
29+
- [feature] Official Docker images are now published to the GitHub Container Registry with the full CLI, all backends, and external tools (ffmpeg, mkvmerge) included, thanks [@FNGarvin](https://github.com/FNGarvin) [#537](https://github.com/Breakthrough/PySceneDetect/pull/537)
30+
- Example usage (process a video in the current directory):
31+
```bash
32+
docker run --rm -v "$(pwd):/files" ghcr.io/breakthrough/pyscenedetect -i /files/video.mp4 detect-adaptive split-video -o /files
33+
```
34+
- [general] The Windows distribution now bundles OpenCV 5.0, PyAV 18, and FFmpeg 8.1.2
35+
36+
#### General
37+
38+
- [general] Benchmark results are now published on the website ([scenedetect.com/benchmarks](https://www.scenedetect.com/benchmarks/)), including accuracy at default settings and parameter sweep curves for each detector
39+
640
### 0.7 (May 3, 2026)
741

842
PySceneDetect 0.7 is a **major breaking release** which overhauls how timestamps are handled. This allows PySceneDetect to properly process variable framerate (VFR) videos. A significant amount of technical debt has been addressed, including removal of deprecated or overly complicated APIs.
@@ -747,33 +781,4 @@ Both the Windows installer and portable distributions now include signed executa
747781
Development
748782
==========================================================
749783

750-
## PySceneDetect 0.7.1 (TDB)
751-
752-
#### CLI Changes
753-
754-
- [feature] `split-video` has a new `--expand` flag: 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 [#115](https://github.com/Breakthrough/PySceneDetect/issues/115)
755-
756-
#### API Changes
757-
758-
- [feature] `scenedetect.detect()` now accepts a `backend` keyword argument (`"opencv"`, `"pyav"`, or `"moviepy"`) similar to `open_video`. Defaults to `"opencv"`, matching prior behavior.
759-
- [feature] Add `expand_scenes_to_bounds()` helper in `scenedetect.scene_manager` to extend a scene list so the first scene starts at a given lower bound and the last scene ends at a given upper bound
760-
- [feature] `VideoStream` now provides a public read-only `decode_failures` property reporting the number of frames that failed to decode and were skipped (defaults to 0; populated by the OpenCV and PyAV backends)
761-
- [feature] Add `VideoStreamConcat` (`scenedetect.backends.concat`) which concatenates multiple videos into a single continuous stream with a monotonic PTS timeline; `open_video()` and `detect()` now accept a list of paths. `VideoStreamConcat.map_span()` maps spans of the global timeline back to per-source local times
762-
- [bugfix] The PyAV backend (`VideoStreamAv`) now skips corrupt frames during `read()` and continues decoding instead of failing, giving up only after 8 consecutive decode failures (matching the OpenCV backend's tolerance behavior)
763-
- [bugfix] The PyAV backend now normalizes presentation times by the stream start time, so files with a delayed start (e.g. from edit lists) report the first frame at `position` 0, consistent with other backends and with `seek()`
764-
- [bugfix] Comparisons between two `FrameTimecode` objects that both carry exact presentation times (e.g. positions from VFR videos) and share the same frame rate are now performed exactly using `pts` and `time_base` instead 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 unchanged
765-
- [bugfix] Fix image sequence inputs when using OpenCV 5.0
766-
767-
#### Packaging
768-
769-
- [feature] Add `scenedetect-core`, a new library-only package with minimal dependencies (`numpy` only): it does not depend on any specific OpenCV variant, allowing downstream projects to choose their own (e.g. `opencv-contrib-python`), and does not include the CLI dependencies or the `scenedetect` command [#558](https://github.com/Breakthrough/PySceneDetect/issues/558). Convenience extras `scenedetect-core[opencv]` and `scenedetect-core[opencv-headless]` are provided
770-
- [general] `scenedetect` and `scenedetect-headless` are unchanged: they continue to ship the full program (library + CLI) with `opencv-python` / `opencv-python-headless` respectively. All three packages provide the same `scenedetect` module (install or depend only one)
771-
- [feature] Official Docker images are now published to the GitHub Container Registry with the full CLI, all backends, and external tools (ffmpeg, mkvmerge) included, thanks [@FNGarvin](https://github.com/FNGarvin) [#537](https://github.com/Breakthrough/PySceneDetect/pull/537)
772-
- Example usage (process a video in the current directory):
773-
```bash
774-
docker run --rm -v "$(pwd):/files" ghcr.io/breakthrough/pyscenedetect -i /files/video.mp4 detect-adaptive split-video -o /files
775-
```
776-
777-
#### General
778-
779-
- [general] Benchmark results are now published on the website ([scenedetect.com/benchmarks](https://www.scenedetect.com/benchmarks/)), including accuracy at default settings and parameter sweep curves for each detector
784+
## PySceneDetect 0.7.2 (TBD)

0 commit comments

Comments
 (0)