Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Breakthrough/PySceneDetect
/ functions
Functions
660 in github.com/Breakthrough/PySceneDetect
⨍
Functions
660
◇
Types & classes
69
↳
Endpoints
18
Function
test_subtraction
Test FrameTimecode subtraction (-/-=, __sub__) operator.
tests/test_timecode.py:318
Function
test_synthetic_matrix
(synthetic_matrix_generator, codec, container, extra_args, backend)
tests/release/test_input_matrix.py:38
Method
test_time_invariants
Validate the `frame_number`, `position`, and `position_ms` properties.
tests/test_video_stream.py:173
Function
test_timecode_arithmetic_mixed_time_base
Arithmetic with FrameTimecodes using different time_bases should work.
tests/test_timecode.py:424
Function
test_timecode_frame_num_for_vfr
frame_num should return approximate values for Timecode-backed objects without warning.
tests/test_timecode.py:438
Function
test_timecode_numeric
Test FrameTimecode constructor argument "timecode" with numeric arguments.
tests/test_timecode.py:124
Function
test_timecode_string
Test FrameTimecode constructor argument "timecode" with string arguments.
tests/test_timecode.py:140
Function
test_vfr_bframes_accuracy
(vfr_bframes_video, backend)
tests/release/test_vfr.py:63
Function
test_vfr_csv_accuracy
CSV timecodes for VFR video should match known ground truth for both backends.
tests/test_vfr.py:274
Function
test_vfr_csv_backend_conformance
PyAV and OpenCV should produce identical scene timecodes for VFR video. Only the known interior scenes are compared; the last scene's end time ma
tests/test_vfr.py:409
Function
test_vfr_csv_output
CSV export should work correctly with VFR video.
tests/test_vfr.py:147
Function
test_vfr_drop3_position_monotonic
PTS-based position should be monotonically non-decreasing on synthetic VFR video.
tests/test_vfr.py:194
Function
test_vfr_drop3_scene_detection
Synthetic VFR video (drop every 3rd frame, alternating 1x/2x durations) should produce timecodes matching known ground truth with both backends.
tests/test_vfr.py:170
Function
test_vfr_drop3_video
Synthetic VFR video created from goldeneye.mp4 by dropping every 3rd frame. Frame pattern: keeps frames where (n+1) % 3 != 0 (i.e. drops frames 2
tests/conftest.py:123
Function
test_vfr_edl_export
EDL export for VFR video should succeed and contain valid edit entries. EDL uses HH:MM:SS:FF frame counts at nominal fps, which is an approximati
tests/test_vfr.py:357
Function
test_vfr_fcp_export
`save-fcp` should succeed on VFR video and produce well-formed output in either dialect.
tests/test_vfr.py:384
Function
test_vfr_otio_export
OTIO export for VFR video should have no spurious float precision and correct timecodes. Regression test for the float precision bug where second
tests/test_vfr.py:300
Function
test_vfr_position_is_timecode
Position should be a Timecode-backed FrameTimecode.
tests/test_vfr.py:55
Function
test_vfr_position_monotonic_opencv
PTS-based position should be monotonically non-decreasing (OpenCV).
tests/test_vfr.py:80
Function
test_vfr_position_monotonic_pyav
PTS-based position should be monotonically non-decreasing (PyAV).
tests/test_vfr.py:62
Function
test_vfr_pts_gap_accuracy
(vfr_pts_gap_video, backend)
tests/release/test_vfr.py:45
Function
test_vfr_save_images_opencv_matches_pyav
OpenCV save-images thumbnails should match PyAV thumbnails for all scenes. If the OpenCV seek off-by-one bug is present, scene thumbnails will sh
tests/test_vfr.py:226
Function
test_vfr_scene_detection
Scene detection on VFR video should produce timestamps matching known ground truth. Both PyAV (native PTS) and OpenCV (CAP_PROP_POS_MSEC) should
tests/test_vfr.py:99
Function
test_vfr_seek_pyav
Seeking should work with VFR video.
tests/test_vfr.py:126
Function
test_vfr_stats_manager
StatsManager should work correctly with VFR video.
tests/test_vfr.py:137
Function
test_vfr_swing_accuracy
(vfr_swing_video, backend)
tests/release/test_vfr.py:25
Function
test_vfr_swing_cross_backend_parity
OpenCV and PyAV must agree on cuts in a synthetic VFR clip with known ground truth. MoviePy is excluded because it does not honor per-frame PTS o
tests/release/test_vfr.py:75
Function
test_vfr_video
Movie clip containing fast cut, but encoded as variable framerate.
tests/conftest.py:117
Function
test_video_file
Simple test video containing both fast cuts and fades/dissolves.
tests/conftest.py:105
Function
test_video_stream_pyav_bytesio
Test that VideoStreamAv works with a BytesIO input in addition to a path.
tests/test_backend_pyav.py:23
Function
test_write_scene_list_edl
EDL output has title header, FCM line, and one event per scene in CMX 3600 format.
tests/test_output.py:251
Function
test_write_scene_list_edl_accepts_str_path
`output_path` must accept both Path and str.
tests/test_output.py:264
Function
test_write_scene_list_edl_default_no_offset
Omitting `start_timecode` (or passing ``None``/empty) preserves the existing baseline.
tests/test_output.py:304
Function
test_write_scene_list_edl_with_start_timecode_digits
8-digit form (numpad-friendly) yields the same output as the colon-separated form.
tests/test_output.py:283
Function
test_write_scene_list_edl_with_start_timecode_invalid_format
Malformed start timecodes raise ValueError before writing.
tests/test_output.py:328
Function
test_write_scene_list_edl_with_start_timecode_out_of_range
Out-of-range SMPTE components raise ValueError.
tests/test_output.py:343
Function
test_write_scene_list_edl_with_start_timecode_smpte
`start_timecode` shifts every event by the supplied SMPTE offset (source + record).
tests/test_output.py:272
Function
test_write_scene_list_edl_with_start_timecode_subsecond
A sub-second frame offset (FF component) is added to every event.
tests/test_output.py:294
Function
test_write_scene_list_fcp7
FCP7 xmeml declares version 5, a clipitem per scene, and a shared <file id> reference.
tests/test_output.py:401
Function
test_write_scene_list_fcp7_cfr_sets_ntsc_false
Integer frame rates (denominator == 1) must set ntsc="False".
tests/test_output.py:435
Function
test_write_scene_list_fcpx
FCPXML output declares version 1.9, rational time strings, and an asset-clip per scene.
tests/test_output.py:350
Function
test_write_scene_list_fcpx_video_name_defaults_to_path_stem
Omitting `video_name` falls back to the stem of `video_path`.
tests/test_output.py:385
Function
test_write_scene_list_otio
OTIO output is valid JSON with a Timeline.1 schema and one Clip.2 per scene per track.
tests/test_output.py:451
Function
test_write_scene_list_otio_no_audio
`audio=False` omits the audio track.
tests/test_output.py:480
Function
test_write_scene_list_otio_rational_time_precision
Serialized frame-count values must be free of sub-10us float drift (cf. 914ca31).
tests/test_output.py:496
Method
time_base
The time base in which presentation time is calculated.
scenedetect/common.py:302
Method
time_base
(self)
scenedetect/backends/pyav.py:229
Function
time_command
( ctx: click.Context, start: str | None, duration: str | None, end: str | None, )
scenedetect/_cli/__init__.py:496
Method
timecode
Current position within stream as a Timecode.
scenedetect/backends/opencv.py:212
Method
value
Get the value after validation.
scenedetect/_cli/config.py:54
Method
value
(self)
scenedetect/_cli/config.py:86
Method
value
(self)
scenedetect/_cli/config.py:116
Method
value
(self)
scenedetect/_cli/config.py:180
Method
value
(self)
scenedetect/_cli/config.py:216
Method
value
(self)
scenedetect/_cli/config.py:251
Method
value
Get the value after validation.
scenedetect/_cli/config.py:278
Function
version_command
Print PySceneDetect version.
scenedetect/_cli/__init__.py:449
Function
vfr_bframes_video
(tmp_path)
tests/release/conftest.py:50
Function
vfr_pts_gap_video
(tmp_path)
tests/release/conftest.py:43
Function
vfr_swing_video
(tmp_path)
tests/release/conftest.py:36
← previous
601–660 of 660, ranked by callers