Skip to content

scene list output to csv: last scene is only 1 frame long #539

Description

@theojk2

Description:

when using "list-scenes" parameter, the last scene in the generated csv file is only 1 frame long. With parameter -m 5 this shouldnt be possible. I would expect, if last scene is too short (as setup in -m parameter), it should be appended to the previous scene

Command:

"PySceneDetect-0.6.7-win64\scenedetect.exe" -i "%cd%\VTS_01_x.VOB" -o "%cd%\ENC" -m 5s --stats "%cd%\ENC\Stats.csv" detect-content -t 40 list-scenes

Output:

last 3 lines of generated listfile:
201,146599,01:37:43.920,5863.920,147005,01:38:00.200,5880.200,407,00:00:16.280,16.280
202,147006,01:38:00.200,5880.200,151550,01:41:02.000,6062.000,4545,00:03:01.800,181.800
203,151551,01:41:02.000,6062.000,151551,01:41:02.040,6062.040,1,00:00:00.040,0.040

Environment:

[PySceneDetect] PySceneDetect 0.6.7

System Info

OS Windows-10-10.0.19045-SP0
Python CPython 3.13.1
Architecture 64bit + WindowsPE

Packages

av 14.2.0
click 8.1.8
cv2 4.11.0
imageio 2.37.0
imageio_ffmpeg 0.6.0
moviepy 2.1.1
numpy 2.2.3
platformdirs 4.3.6
scenedetect 0.6.7
tqdm 4.67.1

Tools

ffmpeg 8.0-full_build-www.gyan.dev
mkvmerge Not Installed
Media/Files:

Attach or link to any files relevant to the issue, including videos (or YouTube links), scene files, stats files, and log output.

VTS_01_x-Scenes.csv

Stats.csv

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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