Check out the full guide for this repo here
Example project demonstating how to use StreamPot to automatically get short video clips from a longer video