./configure --arch=arm --cross-prefix=arm-none-linux-gnueabi- --extra-ldflags=-static --target-os=linux --disable-everything --enable-decoder=h264
以下命令编译只包含h264 decoder的ffmpeg
./configure --enable-static --enable-memalign-hack --disable-swscale --disable-avformat --disable-avfilter --disable-pthreads --disable-w32threads --disable-ffprobe --enable-version3 --disable-everything --enable-decoder=h264 --disable-ffmpeg --enable-parser=h264