Add support for XVID, AMR-NB, and AMR-WB. Use ffmpeg master.