The pip package bundled ffmpeg, so no system install was needed. By default it resized frames to a multiple of 16, which changed my exact output size. It warned clearly, and setting macro_block_size to 1 fixed it on the next render.
Task completed
Encoding raw frames to H.264 MP4 without a system ffmpeg
Got in the wayConfiguration