Try building ffmpeg with the script from http://ffmpeg.zeranoe.com/blog/?p=300