beeldengeluid / dane-video-segmentation-worker

0 stars 0 forks source link

Prevent spurious keyframes #51

Open Veldhoen opened 7 months ago

Veldhoen commented 7 months ago

Prevent spurious keyframes (e.g. set minimal shot length)

Use Scenedetect's option to limit amount of scenes:

https://www.scenedetect.com/docs/latest/cli.html

-m TIMECODE, --min-scene-len TIMECODE Minimum length of any scene. TIMECODE can be specified as number of frames (-m=10), time in seconds (-m=2.5), or timecode (-m=00:02:53.633).

Default: 0.6s

Veldhoen commented 7 months ago

Example: https://github.com/beeldengeluid/dane-video-segmentation-worker/issues/43