Given a VHS player connected to a PC via a USB video capture, what I'm looking for is a way (in software) to constantly monitor that video input, and capture any "useful" sections to files whilst discarding the rest. For "useful" read anything with actual video and/or sound, rather than white noise, blank screen, silence, etc.
In an ideal world, once set up I would put a (previously rewound) tape into the player and hit play. The software would see the content start and begin recording to file. When the tape content ends and the VHS player outputs several seconds of either white noise or (more likely) a blank screen (probably black or blue) the recording is stopped and the file closed. The software would then watch for the next tape to be inserted and start again with a new file.
The object, of course, is to allow me to work through my tape collection, converting them all to files, without having to constantly stop/start the recordings manually and without storing lots of non-content.
Preference for Linux (Ubuntu) command-line tools but open to GUI (inc Windows) suggestions.
Everything I have seen tends towards manually starting the recording, and stopping it based on time, but the idea of splitting a video stream into files at blank screens seems like it ought to be possible.
Or if there are good reasons not to do something like this I'd love to know.