The one you have installed. :) We don't distribute FFmpeg and instead find your installed version at runtime. We support versions 4 through 8.
Do you link to the shared object files? Or do you use subprocess?
Solutions that shell out to the `ffmpeg` binary are not going to perform well.