[package] ffmpeg: Allow for more configurable FFmpeg build options (#7837, #8465)