Software to script beat based videos?

It takes a bit to set up, and it isn’t perfect, but PythonDancer is the best I know of.