wiki:

How to quickly compile FFmpeg with libx264 (x264, H.264)


Version 2 (modified by llogan, 4 years ago) (diff)

"#" generally means as superuser; prettify

How to quickly compile FFmpeg with libx264 (x264, H.264)

  1. Compile x264. See How to quickly compile libx264 for instructions.
  1. Compile FFmpeg:
    cd /my/path/where/i/keep/compiled/stuff
    git clone git://git.videolan.org/ffmpeg.git
    cd ffmpeg
    ./configure --enable-gpl --enable-libx264
    make
    # make install
    # ldconfig