Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Breakthrough/PySceneDetect
/ types & classes
Types & classes
69 in github.com/Breakthrough/PySceneDetect
⨍
Functions
660
◇
Types & classes
69
↳
Endpoints
18
↓ 205 callers
Class
FrameTimecode
Object for frame-based timecodes, using the video framerate to compute back and forth between frame number and seconds/timecode. A timecode i
scenedetect/common.py:191
↓ 39 callers
Class
SceneManager
The SceneManager facilitates detection of scenes (:meth:`detect_scenes`) on a video (:class:`VideoStream <scenedetect.video_stream.VideoStream>`)
scenedetect/scene_manager.py:190
↓ 36 callers
Class
ContentDetector
Detects fast cuts using changes in colour and intensity between frames. The difference is calculated in the HSV color space, and compared against
scenedetect/detectors/content_detector.py:49
↓ 24 callers
Class
Timecode
Timing information associated with a given frame.
scenedetect/common.py:164
↓ 15 callers
Class
VideoStreamCv2
OpenCV `cv2.VideoCapture` backend.
scenedetect/backends/opencv.py:71
↓ 14 callers
Class
RangeValue
Validator for int/float ranges. `min_val` and `max_val` are inclusive.
scenedetect/_cli/config.py:99
↓ 13 callers
Class
StatsManager
Provides a key-value store for frame metrics/calculations which can be used for two-pass detection algorithms, as well as saving stats to a CSV fi
scenedetect/stats_manager.py:85
↓ 12 callers
Class
Template
Template matcher used to replace instances of $TEMPLATES in filenames.
scenedetect/platform.py:406
↓ 8 callers
Class
FlashFilter
Filters fast-cuts to enforce minimum scene length.
scenedetect/detector.py:106
↓ 8 callers
Class
OptionParseFailure
Raised when a value provided in a user config file fails validation.
scenedetect/_cli/config.py:41
↓ 8 callers
Class
TimecodeValue
Validator for timecode values in seconds (100.0), frames (100), or HH:MM:SS. Stores value in original representation.
scenedetect/_cli/config.py:75
↓ 7 callers
Class
TestCase
tests/test_detectors.py:73
↓ 6 callers
Class
_Seconds
Represents a time in seconds.
scenedetect/common.py:185
↓ 5 callers
Class
ThresholdDetector
Detects fast cuts/slow fades in from and out to a given threshold level. Detects both fast cuts and slow fades so long as an appropriate threshol
scenedetect/detectors/threshold_detector.py:31
↓ 4 callers
Class
CropValue
Validator for crop region defined as X0 Y0 X1 Y1.
scenedetect/_cli/config.py:150
↓ 4 callers
Class
FakeCallback
Fake callback used for testing. Tracks the frame numbers the callback was invoked with.
tests/test_scene_manager.py:86
↓ 4 callers
Class
FrameRateUnavailable
Exception instance to provide consistent error messaging across backends when the video frame rate is unavailable or cannot be calculated. Subclas
scenedetect/video_stream.py:63
↓ 4 callers
Class
LogoOutput
scripts/generate_assets.py:39
↓ 4 callers
Class
StatsFileCorrupt
Raised when frame metrics/stats could not be loaded from a provided CSV file.
scenedetect/stats_manager.py:69
↓ 3 callers
Class
ConfigLoadFailure
Raised when a user-specified configuration file fails to be loaded or validated.
scenedetect/_cli/config.py:696
↓ 3 callers
Class
KernelSizeValue
Validator for kernel sizes (odd integer > 1, or -1 for auto size).
scenedetect/_cli/config.py:233
↓ 3 callers
Class
ScoreWeightsValue
Validator for score weight values (currently a tuple of four numbers).
scenedetect/_cli/config.py:197
↓ 3 callers
Class
SeekError
Either an unrecoverable error happened while attempting to seek, or the underlying stream is not seekable (additional information will be provided
scenedetect/video_stream.py:43
↓ 3 callers
Class
SimpleTableRow
A table class to create table rows, populated by table cells. Example: # Row from list row = SimpleTableRow(['Hello,', 'world!']) #
scenedetect/_thirdparty/simpletable.py:130
↓ 3 callers
Class
VideoOpenFailure
Raised by a backend if opening a video fails.
scenedetect/video_stream.py:52
↓ 3 callers
Class
VideoParameters
Properties for each input a VideoStream is tested against.
tests/test_video_stream.py:80
↓ 3 callers
Class
_FrameNumber
Represents a time as a frame number.
scenedetect/common.py:178
↓ 2 callers
Class
AdaptiveDetector
Two-pass detector that calculates frame scores with ContentDetector, and then applies a rolling average when processing the result that can help m
scenedetect/detectors/adaptive_detector.py:29
↓ 2 callers
Class
CliContext
The state of the application representing what video will be processed, how, and what to do with the result. This includes handling all input opti
scenedetect/_cli/context.py:74
↓ 2 callers
Class
Components
Components that make up a frame's score, and their default values.
scenedetect/detectors/content_detector.py:58
↓ 2 callers
Class
ConfigRegistry
scenedetect/_cli/config.py:705
↓ 2 callers
Class
EscapedChar
Strings that can contain escape sequences but can be a maximum of 1 character in length.
scenedetect/_cli/config.py:294
↓ 2 callers
Class
EscapedString
Strings that can contain escape sequences, e.g. the literal \n.
scenedetect/_cli/config.py:269
↓ 2 callers
Class
Evaluator
benchmark/evaluator.py:4
↓ 2 callers
Class
SimpleTable
A table class to create HTML tables, populated by HTML table rows. Example: # Table from lists table = SimpleTable([['Hello,', 'world!'],
scenedetect/_thirdparty/simpletable.py:188
↓ 2 callers
Class
SimpleTableCell
A table class to create table cells. Example: cell = SimpleTableCell('Hello, world!')
scenedetect/_thirdparty/simpletable.py:66
↓ 2 callers
Class
VideoCaptureAdapter
Adapter for existing VideoCapture objects. Unlike VideoStreamCv2, this class supports VideoCaptures which may not support seeking.
scenedetect/backends/opencv.py:365
↓ 1 callers
Class
AutoShotDataset
The AutoShot Dataset (test splits) proposed by Zhu et al. in AutoShot: A Short Video Dataset and State-of-the-Art Shot Boundary Detection Lin
benchmark/autoshot_dataset.py:5
↓ 1 callers
Class
BBCDataset
The BBC Dataset, proposed by Baraldi et al. in A deep siamese network for scene detection in broadcast videos Link: https://arxiv.org/abs/1
benchmark/bbc_dataset.py:5
↓ 1 callers
Class
CommandTooLong
Raised if the length of a command line argument exceeds the limit allowed on Windows.
scenedetect/platform.py:217
↓ 1 callers
Class
Detector
scenedetect/detectors/transnet_v2.py:29
↓ 1 callers
Class
FakeTqdmLoggingRedirect
Provides a no-op tqdm context manager for redirecting log messages.
scenedetect/platform.py:70
↓ 1 callers
Class
HTMLPage
A class to create HTML pages containing CSS and tables.
scenedetect/_thirdparty/simpletable.py:263
↓ 1 callers
Class
Predictor
scenedetect/detectors/transnet_v2.py:49
↓ 1 callers
Class
SceneMetadata
Information about the scene being extracted.
scenedetect/output/video.py:113
↓ 1 callers
Class
SimpleTableImage
A table class to create table cells with an image. Example: cell = SimpleTableImage('images/image_1.jpg')
scenedetect/_thirdparty/simpletable.py:91
↓ 1 callers
Class
VideoMetadata
Information about the video being split.
scenedetect/output/video.py:101
↓ 1 callers
Class
VideoStreamAv
PyAV `av.InputContainer` backend.
scenedetect/backends/pyav.py:37
↓ 1 callers
Class
VideoStreamMoviePy
MoviePy `FFMPEG_VideoReader` backend.
scenedetect/backends/moviepy.py:70
↓ 1 callers
Class
_ImageExtractor
scenedetect/output/image.py:108
Class
Command
Custom formatting for commands.
scenedetect/_cli/__init__.py:105
Class
CommandGroup
Custom formatting for command groups.
scenedetect/_cli/__init__.py:147
Class
FakeTqdmObject
Provides a no-op tqdm-like object.
scenedetect/platform.py:54
Class
FcpFormat
Format to use with the `save-fcp` command.
scenedetect/_cli/config.py:330
Class
FrameMetricNotRegistered
[DEPRECATED - DO NOT USE] No longer used. :meta private:
scenedetect/stats_manager.py:60
Class
FrameMetricRegistered
[DEPRECATED - DO NOT USE] No longer used. :meta private:
scenedetect/stats_manager.py:51
Class
HashDetector
Detects cuts using a perceptual hashing algorithm. Applies a direct cosine transform (DCT) and lowpass filter, followed by binary thresholding on
scenedetect/detectors/hash_detector.py:26
Class
HistogramDetector
Compares the difference in the Y channel of YUV histograms for adjacent frames. When the difference exceeds a given threshold, a cut is detected.
scenedetect/detectors/histogram_detector.py:27
Class
Interpolation
Interpolation method used for image resizing. Based on constants defined in OpenCV.
scenedetect/common.py:148
Class
Method
Method for ThresholdDetector to use when comparing frame brightness to the threshold.
scenedetect/detectors/threshold_detector.py:38
Class
Mode
Which mode the filter should use for enforcing minimum scene length.
scenedetect/detector.py:109
Class
ReplaceWithReference
docs/generate_cli_docs.py:99
Class
SceneDetector
Base class to inherit from when implementing a scene detection algorithm. This API is not yet stable and subject to change.
scenedetect/detector.py:37
Class
TestVideoStream
Fixture for tests which run against different input videos.
tests/test_video_stream.py:139
Class
TimecodeFormat
Format to display timecodes.
scenedetect/_cli/config.py:310
Class
TransnetV2Detector
scenedetect/detectors/transnet_v2.py:131
Class
ValidatedValue
Used to represent configuration values that must be validated against constraints.
scenedetect/_cli/config.py:49
Class
VideoStream
Interface which all video backends must implement.
scenedetect/video_stream.py:79
Class
_FrameData
Data calculated for a given frame.
scenedetect/detectors/content_detector.py:92