Is this because you want to use it in a commercial app? You could use an LGPL implementation, eg. ffmpeg. I don't know of any MIT/BSD ones.
www.google.com.tw