Videogrep is a free command line tool that searches through video files' dialog and creates "supercuts" based on the results. It supports .srt or .vtt subtitle tracks and transcriptions generated with vosk. Find installation instructions and code on GitHub.