You are getting down voted, but you aren't really wrong, there have been 142 vulnerabilities[1] in ffmpeg since 2018, 3 in this year so far. The attack surface is huge, with mostly memory corruption issues being found.
Not sure rust is the answer or what else could be done, but we shouldn't pretend it isn't an issue.