[compat-ffmpeg28] WIP: reduce dependencies