Guest User

FFmpeg quick compilation

a guest
Nov 17th, 2011
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # if you run as root, you don't need 'sudo', just run commands without 'sudo' prefix
  2.  
  3. # we will compile everything in some tmp folder, to keep everything in one place
  4. mkdir tmp
  5. cd tmp
  6.  
  7. # compile x264
  8. git clone git://git.videolan.org/x264.git
  9. cd x264
  10. ./configure --enable-shared --enable-static
  11. make
  12. sudo make install
  13. ldconfig
  14. cd ..
  15.  
  16. # compile ffmpeg
  17. git clone git://git.videolan.org/ffmpeg.git
  18. cd ffmpeg
  19. # for the list of all options, type: ./configure --help
  20. # this example will show how to compile ffmpeg with mp3 + h264 only
  21. apt-get install libmp3lame-dev
  22. ldconfig
  23. ./configure --enable-shared --enable-static --enable-libx264 --enable-libmp3lame
  24. make
  25. sudo make install
  26. ldconfig
  27. cd ..
  28.  
  29.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×