How to extract each video scene with FFmpeg
Using the encoder's scenecut to detect scenes is not advisable, since its purpose is efficient GOP splitting taking into account other encoding parameters. It is not a "pure" scene detector. Its propensity to mark a "scene change" increases as it gets closer to the the next forced keyframe target (set by keyint).

Consider using https://github.com/Breakthrough/PySceneDetect instead.