Originally, on the blog together on the written is very complete, unfortunately, the original pure technology blog by the Wall, and at the same time, must use a amrnb and AMRWB download site also seems to be wall, or hung, helpless, and must use this thing, so with that new open AMR. After the completion of the download compiled with such parameters to compile the good.
The configuration of MEncoder is as follows: (This time the configuration is closed a lot of things, mainly useless)
Because of the opening of the Theora, so to go to the next Theora and Ogg source code into the MPlayer directory
Cp-r Include/theora. /mplayer-checkout-2009-11-20/cp-r Inclde/ogg. /mplayer-checkout-2009-11-20/
Notice, this ogg inside has a config_type.h.in, the content is not right, and the file name that needs is config_type.h, here is not clear what reason does not have, from 1.0 version inside directly copy content to come over:
#ifndef __config_types_h__ #define __CONFIG_TYPES_H__/* These are filled under configure/typedef int16_t ogg_int16_t; typedef int32_t OGG_INT32_T; typedef u_int32_t OGG_UINT32_T; typedef int64_t OGG_INT64_T; #endif
./configure--prefix=/usr/local/mencoder--codecsdir=/usr/local/mencoder/codecs--win32codecsdir=/usr/local/ Mencoder/codecs--realcodecsdir=/usr/local/codecs--enable-x264--enable-theora--enable-faad--ENABLE-FAAC-- Enable-libopencore_amrnb--ENABLE-LIBOPENCORE_AMRWB
Compilation parameters for FFmpeg
./configure--prefix=/usr/local/ffmpeg--ENABLE-LIBFAAC--enable-libfaad--enable-libx264--ENABLE-GPL- enable-shared--enable-libopencore-amrnb--ENABLE-LIBOPENCORE-AMRWB--enable-nonfree--enable-version3