Some time ago I also needed to do a (one off) set of images to movie. I based my hack on the following;
https://github.com/dbridges/cocoa-tlassemble
"tlassemble" used to be available on HomeBrew. The original no longer compiles cleanly. However, looks like there is a usable fork that does compile with some warnings.
https://github.com/wadetregaskis/cocoa-tlassemble.git
[edited text and made the github links followable]