Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # if you run as root, you don't need 'sudo', just run commands without 'sudo' prefix
- # we will compile everything in some tmp folder, to keep everything in one place
- mkdir tmp
- cd tmp
- # compile x264
- git clone git://git.videolan.org/x264.git
- cd x264
- ./configure --enable-shared --enable-static
- make
- sudo make install
- ldconfig
- cd ..
- # compile ffmpeg
- git clone git://git.videolan.org/ffmpeg.git
- cd ffmpeg
- # for the list of all options, type: ./configure --help
- # this example will show how to compile ffmpeg with mp3 + h264 only
- apt-get install libmp3lame-dev
- ldconfig
- ./configure --enable-shared --enable-static --enable-libx264 --enable-libmp3lame
- make
- sudo make install
- ldconfig
- cd ..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement