Enable shared libraries in ffmpeg