Skip to content

Reason to set min-scene-len == TimeCodeValue("0.6s") as a default value #477

@awkrail

Description

@awkrail

Description:

Thank you for your work! I downloaded a video from here and applied HistDetector to it via both Python API and command line. I found that they outputs different scene cuts, and the parameter of min-scene-len is different. In Python API version, the default value =15 is set, but in command line version, value = TimeCodeValue("0.6s") is set in the code.
Could you tell me why min-scene-len is set to be TimeCodeValue("0.6s") as a default?
Example:

Python API

from scenedetect import detect, HistogramDetector
scene_list = detect('RoripwjYFp8_60.0_210.0.mp4', HistogramDetector())

Command line

scenedetect -i RoripwjYFp8_60.0_210.0.mp4 list-scenes detect-hist

Environment:
PySceneDetect: 0.6.5
Ubuntu

Media/Files:
Input video file:

RoripwjYFp8_60.0_210.0.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions