Advertisement
Guest User

FFmpeg quick compilation

a guest
Nov 17th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement