Improve ffmpeg dependencies