Does anyone know of a software that can do motion detection and spit out timestamps in a video for use in ffmpeg or the like?
But whatever you mean, the answer is probably VapourSynth. In fact, you can probably do whatever you are trying to do inside VapourSynth instead of ffmpeg.