MCPcopy Create free account

hub / github.com/Breakthrough/PySceneDetect / functions

Functions660 in github.com/Breakthrough/PySceneDetect

Methodmax_val
Maximum value of the range.
scenedetect/_cli/config.py:125
Methodmetric_keys
(self)
scenedetect/stats_manager.py:117
Methodmin_val
Minimum value of the range.
scenedetect/_cli/config.py:120
Functionmonitor_memory
()
tests/release/test_long_video.py:48
Methodname
Name of the video, without extension, or device.
scenedetect/video_stream.py:110
Methodname
Name of the video, without extension.
scenedetect/backends/pyav.py:171
Methodname
Name of the video, without extension, or device.
scenedetect/backends/moviepy.py:152
Methodname
(self)
scenedetect/backends/opencv.py:174
Methodname
Always 'CAP_ADAPTER'.
scenedetect/backends/opencv.py:453
Functionname_formatter
(video: VideoMetadata, scene: SceneMetadata)
tests/test_output.py:76
Functionno_logs_gte_error
Ensure no log messages with error severity or higher were reported during test execution.
tests/conftest.py:92
Functionno_logs_gte_error
()
tests/release/conftest.py:29
Functionon_new_scene
(frame_img: numpy.ndarray, position: FrameTimecode)
tests/test_api.py:128
Methodpath
Video or device path.
scenedetect/video_stream.py:104
Methodpath
Video path.
scenedetect/backends/pyav.py:166
Methodpath
Video path.
scenedetect/backends/moviepy.py:147
Methodpath
(self)
scenedetect/backends/opencv.py:166
Methodpath
Always 'CAP_ADAPTER'.
scenedetect/backends/opencv.py:448
Methodposition
Current position within stream as FrameTimecode. This can be interpreted as presentation time stamp, thus frame 1 corresponds to the
scenedetect/video_stream.py:146
Methodposition
Current position within stream as FrameTimecode. This can be interpreted as presentation time stamp, thus frame 1 corresponds to the
scenedetect/backends/pyav.py:196
Methodposition
Current position within stream as FrameTimecode. This can be interpreted as presentation time stamp of the last frame which was decoded by
scenedetect/backends/moviepy.py:187
Methodposition
(self)
scenedetect/backends/opencv.py:222
Methodposition
(self)
scenedetect/backends/opencv.py:484
Methodposition_ms
Current position within stream as a float of the presentation time in milliseconds. The first frame has a PTS of 0.
scenedetect/video_stream.py:155
Methodposition_ms
Current position within stream as a float of the presentation time in milliseconds. The first frame has a PTS of 0.
scenedetect/backends/pyav.py:207
Methodposition_ms
Current position within stream as a float of the presentation time in milliseconds. The first frame has a time of 0.0 ms. This method
scenedetect/backends/moviepy.py:204
Methodposition_ms
(self)
scenedetect/backends/opencv.py:234
Methodposition_ms
(self)
scenedetect/backends/opencv.py:495
Methodpost_process
Writes a final scene cut if the last detected fade was a fade-out. Only writes the scene cut if add_final_scene is true, and the last fade
scenedetect/detectors/threshold_detector.py:170
Methodpost_process
Writes a final scene cut if the last detected fade was a fade-out.
scenedetect/detectors/transnet_v2.py:189
Methodprocess_frame
(self, timecode: FrameTimecode, frame_img: np.ndarray)
scenedetect/detectors/adaptive_detector.py:100
Methodprocess_frame
Process the next frame. Args: timecode: FrameTimecode of the current frame position. frame_img (numpy.ndarray or None
scenedetect/detectors/threshold_detector.py:100
Methodprocess_frame
Computes the histogram of the luma channel of the frame image and compares it with the histogram of the luma channel of the previous frame. If
scenedetect/detectors/histogram_detector.py:59
Methodprocess_frame
Process the next frame. `frame_num` is assumed to be sequential. Args: frame_num (int): Frame number of frame that is being passe
scenedetect/detectors/content_detector.py:192
Methodprocess_frame
Similar to ContentDetector, but using a perceptual hashing algorithm to calculate a hash for each frame and then calculate a hash difference
scenedetect/detectors/hash_detector.py:68
Methodprocess_frame
Process the next frame.
scenedetect/detectors/transnet_v2.py:165
Methodpts
The presentation timestamp of the frame in units of `time_base`.
scenedetect/common.py:311
Methodpush
(self, pixels: np.ndarray, time: np.ndarray)
scenedetect/detectors/transnet_v2.py:82
Functionpytest_assertrepr_compare
(op, left, right)
tests/conftest.py:70
Methodrate
(self)
scenedetect/backends/pyav.py:225
Methodread
(self, decode: bool = True)
scenedetect/backends/moviepy.py:278
Methodreset
Not supported.
scenedetect/backends/opencv.py:508
Functionrotated_video_file
Video containing a corrupted frame causing a decode failure.
tests/conftest.py:140
Functionsave_edl
Handles the `save-edl` command. Outputs in CMX 3600 format.
scenedetect/_cli/commands.py:258
Functionsave_edl_command
( ctx: click.Context, filename: str | None, title: str | None, reel: str | None, output: s
scenedetect/_cli/__init__.py:1633
Functionsave_fcp
Handles the `save-fcp` command.
scenedetect/_cli/commands.py:285
Functionsave_fcp_command
( ctx: click.Context, filename: str | None, format: str | None, output: str | None, )
scenedetect/_cli/__init__.py:1738
Functionsave_html
Handles the `save-html` command.
scenedetect/_cli/commands.py:45
Functionsave_html_command
( ctx: click.Context, filename: str | None, no_images: bool, image_width: int | None, imag
scenedetect/_cli/__init__.py:1072
Functionsave_images
Handles the `save-images` command.
scenedetect/_cli/commands.py:169
Functionsave_images_command
( ctx: click.Context, output: str | None = None, filename: str | None = None, num_images: int
scenedetect/_cli/__init__.py:1505
Functionsave_otio
Handles the `save-otio` command.
scenedetect/_cli/commands.py:329
Functionsave_otio_command
( ctx: click.Context, filename: str | None, name: str | None, output: str | None, audio: b
scenedetect/_cli/__init__.py:1799
Functionsave_qp
Handler for the `save-qp` command.
scenedetect/_cli/commands.py:79
Functionsave_qp_command
( ctx: click.Context, filename: str | None, output: str | None, disable_shift: bool | None, )
scenedetect/_cli/__init__.py:1689
Functionscenedetect
( ctx: click.Context, input: str | None, output: str | None, stats: str | None, config: st
scenedetect/_cli/__init__.py:343
Methodseconds
(self)
scenedetect/common.py:173
Methodseconds
The frame's position in number of seconds.
scenedetect/common.py:372
Methodseek
Seek to the given timecode. If given as a frame number, represents the current seek pointer (e.g. if seeking to 0, the next frame decoded will
scenedetect/backends/moviepy.py:219
Methodseek
The underlying VideoCapture is assumed to not support seeking.
scenedetect/backends/opencv.py:504
Functionsplit_video
Handles the `split-video` command.
scenedetect/_cli/commands.py:210
Functionsplit_video_command
( ctx: click.Context, output: str | None, filename: str | None, quiet: bool, copy: bool,
scenedetect/_cli/__init__.py:1298
Methodstats_manager
Getter for the StatsManager associated with this SceneManager, if any.
scenedetect/scene_manager.py:247
Methodstats_manager
Optional :class:`StatsManager <scenedetect.stats_manager.StatsManager>` to use for storing frame metrics. When this detector is added to a par
scenedetect/detector.py:84
Methodstop
Stop the current :meth:`detect_scenes` call, if any. Thread-safe.
scenedetect/scene_manager.py:414
Functiontest_addition
Test FrameTimecode addition (+/+=, __add__/__iadd__) operator.
tests/test_timecode.py:307
Functiontest_api_detect
Demonstrate usage of the `detect()` function to process a complete video.
tests/test_api.py:17
Functiontest_api_detect_start_end_time
Demonstrate usage of the `detect()` function to process a subset of a video.
tests/test_api.py:26
Functiontest_api_detect_stats
Demonstrate usage of the `detect()` function to generate a statsfile.
tests/test_api.py:37
Functiontest_api_device_callback
Demonstrate how to use a webcam/device/pipe and a callback function. Instead of calling `open_video()`, an existing `cv2.VideoCapture` can be used
tests/test_api.py:137
Functiontest_api_open_video_framerate_legacy_alias
`open_video(framerate=...)` is the soft-deprecated alias for `frame_rate=` (issue #548). Both forms must produce equivalent streams; when both are
tests/test_api.py:75
Functiontest_api_scene_manager
Demonstrate how to use a SceneManager to implement a function similar to `detect()`.
tests/test_api.py:44
Functiontest_api_scene_manager_callback
Demonstrate how to use a callback with the SceneManager detect_scenes method.
tests/test_api.py:121
Functiontest_api_scene_manager_start_end_time
Demonstrate how to use a SceneManager to process a subset of the input video.
tests/test_api.py:57
Functiontest_api_stats_manager
Demonstrate using a StatsManager to save per-frame statistics to disk.
tests/test_api.py:107
Functiontest_api_timecode_types
Demonstrate all different types of timecodes that can be used.
tests/test_api.py:88
Functiontest_arithmetic_with_bare_timecode
`FrameTimecode` arithmetic should accept a bare :class:`Timecode` operand by treating it as an absolute time in seconds.
tests/test_timecode.py:446
Functiontest_capture_adapter
Test that the VideoCaptureAdapter works with SceneManager.
tests/test_backend_opencv.py:41
Functiontest_cfr_frame_num_exact
For CFR video, frame_num should be exact (not approximate).
tests/test_vfr.py:218
Functiontest_cfr_position_is_timecode
CFR video positions should also be Timecode-backed with PTS support.
tests/test_vfr.py:211
Functiontest_cli_backend
Test setting the `-b`/`--backend` argument.
tests/test_cli.py:788
Functiontest_cli_backend_unsupported
Ensure setting an invalid backend returns an error.
tests/test_cli.py:796
Functiontest_cli_chain_smoke
(test_video_file, tmp_path)
tests/release/test_cli_permutations.py:35
Functiontest_cli_crop
Test --crop functionality.
tests/test_cli.py:118
Functiontest_cli_crop_rejects_invalid
Test --crop rejects invalid options.
tests/test_cli.py:123
Functiontest_cli_default_detector
Test `scenedetect` command invoked without a detector.
tests/test_cli.py:113
Functiontest_cli_detector
Test each detection algorithm.
tests/test_cli.py:308
Functiontest_cli_detector_with_stats
Test each detection algorithm with a statsfile.
tests/test_cli.py:315
Functiontest_cli_framerate_legacy_alias
`--framerate` is the soft-deprecated hidden alias for `-f/--frame-rate` (issue #548). Both forms must be accepted; passing both should not error.
tests/test_cli.py:338
Functiontest_cli_info_command
Test `scenedetect` info commands (e.g. help, about).
tests/test_cli.py:137
Functiontest_cli_legacy_v06_config_file
A v0.6-era scenedetect.cfg using the deprecated `[export-html]` section must still load in v0.7. The parser maps `[export-html]` -> `[save-html]`
tests/test_cli.py:707
Functiontest_cli_list_scenes
Test `list-scenes` command.
tests/test_cli.py:411
Functiontest_cli_list_scenes_custom_delimiter
Test `list-scenes` command with custom delimiters set in a config file.
tests/test_cli.py:471
Functiontest_cli_list_scenes_no_output
Test `list-scenes` command with the -n flag.
tests/test_cli.py:458
Functiontest_cli_list_scenes_rejects_multichar_col_separator
Test `list-scenes` command with custom delimiters set in a config file.
tests/test_cli.py:497
Functiontest_cli_list_scenes_skip_cuts
Test `list-scenes` command with the -s/--skip-cuts option for RFC 4180 compliance.
tests/test_cli.py:439
Functiontest_cli_load_scenes_options
Ensure we can load scenes both with and without the cut row.
tests/test_cli.py:804
Functiontest_cli_load_scenes_output
Verify we can use `load-scenes` with the `time` command and get the desired output.
tests/test_cli.py:822
Functiontest_cli_load_scenes_round_trip
Verify we can use `load-scenes` and get the same scenes as output with `list-scenes`.
tests/test_cli.py:864
Functiontest_cli_min_scene_len_accepts_all_timecode_forms
`--min-scene-len` (and equivalent options) must accept frames, seconds, and timecodes in v0.7 per the changelog. The four forms below all resolve
tests/test_cli.py:370
← previousnext →401–500 of 660, ranked by callers