MCPcopy Create free account

hub / github.com/Breakthrough/PySceneDetect / functions

Functions660 in github.com/Breakthrough/PySceneDetect

Method__str__
(self)
scenedetect/_cli/config.py:219
Method__str__
(self)
scenedetect/_cli/config.py:254
Method__sub__
(self, other: "TimecodeLike")
scenedetect/common.py:725
Function_add_backquotes
(s: re.Match)
docs/generate_cli_docs.py:117
Function_click_range
Return a `click` parameter type matching the `RangeValue` at `CONFIG_MAP[section][key]`. Used in `@click.option(... type=...)` decorators so each
scenedetect/_cli/__init__.py:59
Method_codec_context
PyAV `av.codec.context.CodecContext` being used.
scenedetect/backends/pyav.py:329
Method_decode_thread
( self, video: VideoStream, frame_skip: int, downscale_factor: float,
scenedetect/scene_manager.py:584
Function_generate
(codec: str, container: str, extra_args: list | None = None)
tests/release/conftest.py:76
Method_is_disabled
(self)
scenedetect/detector.py:155
Method_video_stream
PyAV `av.video.stream.VideoStream` being used.
scenedetect/backends/pyav.py:324
Functionabout_command
Print license/copyright info.
scenedetect/_cli/__init__.py:437
Methodadd_cells
Add a list of SimpleTableCell objects to the list of cells.
scenedetect/_thirdparty/simpletable.py:182
Functionadd_link
(_match: re.Match, command: str = command)
docs/generate_cli_docs.py:83
Methodadd_rows
Add a list of SimpleTableRow objects to the list of rows.
scenedetect/_thirdparty/simpletable.py:257
Methodaspect_ratio
Pixel aspect ratio as a float (1.0 represents square pixels).
scenedetect/video_stream.py:140
Methodaspect_ratio
Pixel aspect ratio as a float (1.0 represents square pixels).
scenedetect/backends/pyav.py:235
Methodaspect_ratio
Display/pixel aspect ratio as a float (1.0 represents square pixels).
scenedetect/backends/moviepy.py:173
Methodaspect_ratio
Display/pixel aspect ratio as a float (1.0 represents square pixels).
scenedetect/backends/opencv.py:207
Methodaspect_ratio
Display/pixel aspect ratio as a float (1.0 represents square pixels).
scenedetect/backends/opencv.py:479
Methodauto_downscale
If set to True, will automatically downscale based on video frame size. Overrides `downscale` if set.
scenedetect/scene_manager.py:299
Methodbase_timecode
FrameTimecode object to use as a time base.
scenedetect/video_stream.py:87
Functioncalculate_frame_delta
(frame_a, frame_b, roi=None)
tests/test_video_stream.py:50
Methodcapture
Returns reference to underlying VideoCapture object. Use with caution. Prefer to use this property only to take ownership of the underlying c
scenedetect/backends/opencv.py:145
Methodcapture
Returns reference to underlying VideoCapture object. Use with caution. Prefer to use this property only to take ownership of the underlying c
scenedetect/backends/opencv.py:426
Methodcapture_errors
(callable, *args, **kwargs)
scenedetect/output/image.py:227
Methodcheck_error_queue
()
scenedetect/output/image.py:219
Methodchecked_put
(work_queue: queue.Queue, item: ty.Any)
scenedetect/output/image.py:247
Methodclick_range
A `click` parameter type matching this range's bounds and value type.
scenedetect/_cli/config.py:130
Methodconfig_dict
Current configuration options that are set for each command.
scenedetect/_cli/config.py:728
Functioncorrupt_video_file
Video containing a corrupted frame causing a decode failure.
tests/conftest.py:134
Methodcrop
Portion of the frame to crop. Tuple of 4 ints in the form (X0, Y0, X1, Y1) where X0, Y0 describes one point and X1, Y1 is another which descri
scenedetect/scene_manager.py:252
Functiondetect_adaptive_command
( ctx: click.Context, threshold: float | None, min_content_val: float | None, frame_window: in
scenedetect/_cli/__init__.py:717
Functiondetect_content_command
( ctx: click.Context, threshold: float | None, weights: tuple[float, float, float, float] | None,
scenedetect/_cli/__init__.py:610
Functiondetect_hash_command
( ctx: click.Context, threshold: float | None, size: int | None, lowpass: int | None, min_
scenedetect/_cli/__init__.py:948
Functiondetect_hist_command
( ctx: click.Context, threshold: float | None, bins: int | None, min_scene_len: str | None, )
scenedetect/_cli/__init__.py:867
Functiondetect_threshold_command
( ctx: click.Context, threshold: float | None, fade_bias: float | None, add_last_scene: bool,
scenedetect/_cli/__init__.py:797
Methoddownscale
Factor to downscale each frame by. Will always be >= 1, where 1 indicates no scaling. Will be ignored if auto_downscale=True.
scenedetect/scene_manager.py:281
Methodduration
Duration of the stream as a FrameTimecode, or None if non terminating.
scenedetect/video_stream.py:128
Methodduration
Duration of the video as a FrameTimecode.
scenedetect/backends/pyav.py:186
Methodduration
Duration of the stream as a FrameTimecode, or None if non terminating.
scenedetect/backends/moviepy.py:167
Methodduration
Duration of the stream as a FrameTimecode, or None if non terminating.
scenedetect/backends/opencv.py:200
Methodduration
Duration of the stream as a FrameTimecode, or None if non terminating.
scenedetect/backends/opencv.py:471
Methodevent_buffer_length
The amount of frames a given event can be buffered for, in time. This must be set to the amount of frames a detector might emit an event in th
scenedetect/detector.py:76
Methodevent_buffer_length
(self)
scenedetect/detectors/adaptive_detector.py:94
Methodevent_buffer_length
(self)
scenedetect/detectors/content_detector.py:242
Functionfit_data_to_columns
Format data into the configured number of columns in a proper format to generate a SimpleTable. Example: test_data = [str(x) for x in ran
scenedetect/_thirdparty/simpletable.py:312
Methodformat_filename
(scene_number: int, image_number: int, image_timecode: FrameTimecode)
scenedetect/output/image.py:200
Methodformat_help
Writes the help into the formatter if it exists.
scenedetect/_cli/__init__.py:108
Methodframe_num
The frame number. For VFR video or Timecode-backed objects, this is an approximation based on the average framerate. Prefer using `pts` and `t
scenedetect/common.py:263
Methodframe_number
Current position within stream as the frame number. Will return 0 until the first frame is `read`.
scenedetect/video_stream.py:162
Methodframe_number
Current position within stream as the frame number (CFR-equivalent). Will return 0 until the first frame is `read`. For VFR video this is an
scenedetect/backends/pyav.py:215
Methodframe_number
Current position within stream in frames as an int. 0 indicates that no frames have been `read`, 1 indicates the first frame was just read.
scenedetect/backends/moviepy.py:212
Methodframe_number
(self)
scenedetect/backends/opencv.py:238
Methodframe_number
(self)
scenedetect/backends/opencv.py:501
Methodframe_rate
Frame rate in frames/sec as a rational Fraction (e.g. Fraction(24000, 1001)).
scenedetect/video_stream.py:122
Methodframe_rate
The frame rate as an exact rational :class:`fractions.Fraction`. For CFR sources this equals ``1 / time_base``. For VFR sources the rate may
scenedetect/common.py:277
Methodframe_rate
Frame rate in frames/sec as a rational Fraction.
scenedetect/backends/pyav.py:191
Methodframe_rate
Framerate in frames/sec as a rational Fraction. Returns the override passed at construction if one was provided; otherwise the rate reported b
scenedetect/backends/moviepy.py:139
Methodframe_rate
(self)
scenedetect/backends/opencv.py:162
Methodframe_rate
Framerate in frames/sec.
scenedetect/backends/opencv.py:443
Methodframe_size
Size of each video frame in pixels as a tuple of (width, height).
scenedetect/video_stream.py:134
Methodframe_size
Size of each video frame in pixels as a tuple of (width, height).
scenedetect/backends/pyav.py:181
Methodframe_size
Size of each video frame in pixels as a tuple of (width, height).
scenedetect/backends/moviepy.py:162
Methodframe_size
Size of each video frame in pixels as a tuple of (width, height).
scenedetect/backends/opencv.py:192
Methodframe_size
Reported size of each video frame in pixels as a tuple of (width, height).
scenedetect/backends/opencv.py:463
Methodframerate
[DEPRECATED] Use :attr:`frame_rate` instead. Returns the rate as a ``float`` for legacy compatibility. The new :attr:`frame_rate` pro
scenedetect/common.py:288
Methodfrom_config
Validate and get the user-specified configuration option. Raises: OptionParseFailure: Value from config file did not meet validat
scenedetect/_cli/config.py:60
Methodfrom_config
(config_value: str, default: "TimecodeValue")
scenedetect/_cli/config.py:90
Methodfrom_config
(config_value: str, default: "RangeValue")
scenedetect/_cli/config.py:137
Methodfrom_config
(config_value: str, default: "ScoreWeightsValue")
scenedetect/_cli/config.py:223
Methodfrom_config
(config_value: str, default: "KernelSizeValue")
scenedetect/_cli/config.py:260
Methodfrom_config
( config_value: str, default: "EscapedString", length_limit: int = 0 )
scenedetect/_cli/config.py:283
Methodfrom_config
(config_value: str, default: "EscapedString")
scenedetect/_cli/config.py:301
Functionget_fade_in_out_test_cases
Fixture for parameterized test cases that detect fades.
tests/test_detectors.py:131
Functionget_fast_cut_test_cases
Fixture for parameterized test cases that detect fast cuts.
tests/test_detectors.py:97
Methodget_framerate
[DEPRECATED] Get Framerate: Returns the framerate used by the FrameTimecode object. Use the `framerate` property instead. :meta priv
scenedetect/common.py:331
Functionget_golden_files
()
tests/release/test_golden.py:45
Methodget_help_string
Get a string to specify for the help text indicating the current command option value, if set, or the default. Arguments:
scenedetect/_cli/config.py:809
Methodget_metrics
(self)
scenedetect/detectors/adaptive_detector.py:97
Methodget_metrics
(self)
scenedetect/detectors/histogram_detector.py:171
Methodget_metrics
(self)
scenedetect/detectors/content_detector.py:144
Methodget_metrics
(self)
scenedetect/detectors/hash_detector.py:65
Methodget_seconds
[DEPRECATED] Get the frame's position in number of seconds. Use the `seconds` property instead. If using to compare a :class:`FrameT
scenedetect/common.py:382
Functionget_test_video_params
Fixture for parameters of all videos.
tests/test_video_stream.py:93
Functionhelp_command
Print full help reference.
scenedetect/_cli/__init__.py:408
Methodimage_encode_thread
( self, video: VideoStream, encode_queue: queue.Queue, save_queue: queue.Queue
scenedetect/output/image.py:298
Methodimage_save_thread
(self, save_queue: queue.Queue, progress_bar: tqdm)
scenedetect/output/image.py:324
Methodinitialized
True if the ConfigRegistry was constructed without errors, False otherwise.
scenedetect/_cli/config.py:733
Methodinterpolation
Interpolation method to use when downscaling frames. Must be one of cv2.INTER_*.
scenedetect/scene_manager.py:238
Methodis_seekable
True if seek() is allowed, False otherwise.
scenedetect/video_stream.py:116
Methodis_seekable
True if seek() is allowed, False otherwise.
scenedetect/backends/pyav.py:176
Methodis_seekable
True if seek() is allowed, False otherwise.
scenedetect/backends/moviepy.py:157
Methodis_seekable
True if seek() is allowed, False otherwise. Always False if opening a device/webcam.
scenedetect/backends/opencv.py:185
Methodis_seekable
Always False, as the underlying VideoCapture is assumed to not support seeking.
scenedetect/backends/opencv.py:458
Methodlaunch_thread
(callable, *args, **kwargs)
scenedetect/output/image.py:226
Functionlist_scenes
Handles the `list-scenes` command.
scenedetect/_cli/commands.py:104
Functionlist_scenes_command
( ctx: click.Context, output: str | None, filename: str | None, no_output_file: bool | None,
scenedetect/_cli/__init__.py:1165
Functionload_scenes_command
(ctx: click.Context, input: str | None, start_col_name: str | None)
scenedetect/_cli/__init__.py:994
Functionlong_video
Long synthetic video for memory/FD leak stress testing. Checked in under tests/resources/ on the resources branch; encode locally with ffmpeg
tests/release/conftest.py:57
Methodmax_behind
(self)
scenedetect/detector.py:146
← previousnext →301–400 of 660, ranked by callers