Jellyfin-ffmpeg has fixed a bunch of issues with FFMPEG. https://github.com/jellyfin/jellyfin-ffmpeg Is there a way we can utilize this in the build script?