I thought I had it in git, but it must be on the Zimaboard I was using that's packed away right now

It wasnt a anything special; Cursor could probably make a better one in one shot.

I recall fighting with ffmpeg for a long time trying to fix audio drift in the transcodes, and I think I settled on handbrake-cli (which I think just does ffmpeg itself) because I was getting decent results.