cente os 6 LINUX下编译ffmpeg-x264 1.汇编编译器 tar xzvf yasm-1.2.0.tar.gz cd yasm-0.6.0 ./configure --prefix=/usr/local/yasm make make install 2.x264编译 tar jxfz last_x264.tar.bz2 ./configure --prefix=/usr/local/yasm make make install cp libx264.a /usr/lib cp x264.h /usr/include cp x264_config.h /usr/include 如果没找到yasm, 将/usr/local/yasm考到/bin 目录下 3.ffmpeg 编译 tar xvfz ffmpeg-2.0.1.tar.gz cd ffmpeg-2.0.1 我执行的是静态编译