You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,10 @@ Options
56
56
57
57
Path to config file. See :ref:`config file reference <scenedetect_cli-config_file>` for details.
58
58
59
+
.. option:: --cropX0Y0X1Y1
60
+
61
+
Crop input video. Specified as two points representing top left and bottom right corner of crop region. 0 0 is top-left of the video frame. Bounds are inclusive (e.g. for a 100x100 video, the region covering the whole frame is 0 0 99 99).
62
+
59
63
.. option:: -sCSV, --statsCSV
60
64
61
65
Stats file (.csv) to write frame metrics. Existing files will be overwritten. Used for tuning detection parameters and data analysis.
help="Crop input video. Specified as two points representing top left and bottom right corner of crop region. 0 0 is top-left of the video frame. Bounds are inclusive (e.g. for a 100x100 video, the region covering the whole frame is 0 0 99 99).%s"
Copy file name to clipboardExpand all lines: website/pages/changelog.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -588,3 +588,6 @@ Development
588
588
-[bugfix] Fix `ContentDetector` crash when using callbacks [#416](https://github.com/Breakthrough/PySceneDetect/issues/416)[#420](https://github.com/Breakthrough/PySceneDetect/issues/420)
589
589
-[general] Timecodes of the form `MM:SS[.nnn]` are now processed correctly [#443](https://github.com/Breakthrough/PySceneDetect/issues/443)
590
590
-[api] The `save_to_csv` function now works correctly with paths from the `pathlib` module
591
+
-[feature] Add ability to crop input video before processing [#302](https://github.com/Breakthrough/PySceneDetect/issues/302)[#449](https://github.com/Breakthrough/PySceneDetect/issues/449)
592
+
-[cli] Add `--crop` option to `scenedetect` command and config file to crop video frames before scene detection
593
+
-[api] Add `crop` property to `SceneManager` to crop video frames before scene detection
0 commit comments