FFmpeg is around 750MB last I checked, it'd be better installed on the whole app server level (otherwise that'll balloon your storage and your backups) and will then be available to the user level without sudo by default (I haven't tested this with FFmpeg as I don't want to support it until we have resource controls/limits, but that's certainly the case with ImageMagick).