Skip to content

PySceneDetect v0.6.5

Latest
Compare
Choose a tag to compare
@Breakthrough Breakthrough released this 17 Dec 23:30
· 4 commits to main since this release

Release Notes

This release brings crop support, performance improvements to save-images, lots of bugfixes, and improved compatibility with MoviePy 2.0+.

Changelog

  • [feature] Add ability to crop input video before processing #302 #449
    • [cli] Add --crop option to scenedetect command and config file to crop video frames before scene detection
    • [api] Add crop property to SceneManager to crop video frames before scene detection
  • [feature] Add ability to configure CSV separators for rows/columns in config file #423
  • [feature] Add new --show flag to export-html command to launch browser after processing #442
  • [improvement] Add new threading option to save-images/save_images() #456
    • Enabled by default, offloads image encoding and disk IO to separate threads
    • Improves performance by up to 50% in some cases
  • [improvement] The export-html command now implicitly invokes save-images with default parameters
    • The output of the export-html command will always use the result of the save-images command that precedes it
  • [improvement] save_to_csv now works with paths from pathlib
  • [api] The save_to_csv function now works correctly with paths from the pathlib module
  • [api] Add col_separator and row_separator args to write_scene_list function in scenedetect.scene_manager
  • [api] The MoviePy backend now works with MoviePy 2.0+
  • [bugfix] Fix SyntaxWarning due to incorrect escaping #400
  • [bugfix] Fix ContentDetector crash when using callbacks #416 #420
  • [bugfix] Fix save-images/save_images() not working correctly with UTF-8 paths #450
  • [bugfix] Fix crash when using save-images/save_images() with OpenCV backend #455
  • [bugfix] Fix new detectors not working with default-detector config option
  • [general] Timecodes of the form MM:SS[.nnn] are now processed correctly #443
  • [general] Updates to Windows distributions:
    • The MoviePy backend is now included with Windows distributions
    • Bundled Python interpreter is now Python 3.13
    • Updated PyAV 10 -> 13.1.0 and OpenCV 4.10.0.82 -> 4.10.0.84

Python Distribution Changes

  • v0.6.5.1 - Fix compatibility issues with PyAV 14+ #466
  • v0.6.5.2 - Fix for AttributeError: module 'cv2' has no attribute 'Mat' #468

New Contributors