Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 27th, 2010  |  syntax: None  |  size: 3.27 KB  |  views: 149  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash
  2.  
  3. # x264
  4. git clone git://git.videolan.org/x264.git
  5. cd x264
  6. ./configure --enable-shared
  7. make -j3
  8. make install
  9. ldconfig
  10. cd ..
  11.  
  12. # ffmpeg
  13. svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
  14. cd ffmpeg
  15. ./configure --disable-debug --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab --enable-libx264 --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libmp3lame
  16. make -j3
  17. make install
  18. make install-libs
  19. ldconfig
  20.  
  21.  
  22.  
  23. └─[17:14]-> make install
  24. INSTALL libavdevice/libavdevice.a
  25. INSTALL libavdevice/libavdevice.so
  26. INSTALL libavfilter/libavfilter.a
  27. STRIP   install-libavdevice-shared
  28. INSTALL libavformat/libavformat.a
  29. INSTALL libavfilter/libavfilter.so
  30. INSTALL libavformat/libavformat.so
  31. STRIP   install-libavfilter-shared
  32. INSTALL libavcodec/libavcodec.a
  33. STRIP   install-libavformat-shared
  34. INSTALL libavcodec/libavcodec.so
  35. INSTALL libpostproc/libpostproc.a
  36. STRIP   install-libavcodec-shared
  37. INSTALL libpostproc/libpostproc.so
  38. INSTALL libswscale/libswscale.a
  39. INSTALL libswscale/libswscale.so
  40. STRIP   install-libpostproc-shared
  41. INSTALL libavcore/libavcore.a
  42. INSTALL libavcore/libavcore.so
  43. STRIP   install-libswscale-shared
  44. INSTALL libavutil/libavutil.a
  45. INSTALL libavutil/libavutil.so
  46. STRIP   install-libavcore-shared
  47. INSTALL libavdevice/avdevice.h
  48. INSTALL libavdevice/libavdevice.pc
  49. STRIP   install-libavutil-shared
  50. INSTALL libavfilter/avfilter.h
  51. INSTALL libavfilter/libavfilter.pc
  52. INSTALL libavformat/avformat.h
  53. INSTALL libavformat/avio.h
  54. INSTALL libavformat/libavformat.pc
  55. INSTALL libavcodec/avcodec.h
  56. INSTALL libavcodec/avfft.h
  57. INSTALL libavcodec/dxva2.h
  58. INSTALL libavcodec/opt.h
  59. INSTALL libavcodec/vaapi.h
  60. INSTALL libavcodec/vdpau.h
  61. INSTALL libavcodec/xvmc.h
  62. INSTALL libavcodec/libavcodec.pc
  63. INSTALL libpostproc/postprocess.h
  64. INSTALL libpostproc/libpostproc.pc
  65. INSTALL libswscale/swscale.h
  66. INSTALL libswscale/libswscale.pc
  67. INSTALL libavcore/avcore.h
  68. INSTALL libavcore/parseutils.h
  69. INSTALL libavcore/libavcore.pc
  70. INSTALL libavutil/adler32.h
  71. INSTALL libavutil/attributes.h
  72. INSTALL libavutil/avstring.h
  73. INSTALL libavutil/avutil.h
  74. INSTALL libavutil/base64.h
  75. INSTALL libavutil/bswap.h
  76. INSTALL libavutil/common.h
  77. INSTALL libavutil/crc.h
  78. INSTALL libavutil/error.h
  79. INSTALL libavutil/eval.h
  80. INSTALL libavutil/fifo.h
  81. INSTALL libavutil/intfloat_readwrite.h
  82. INSTALL libavutil/intreadwrite.h
  83. INSTALL libavutil/lfg.h
  84. INSTALL libavutil/log.h
  85. INSTALL libavutil/lzo.h
  86. INSTALL libavutil/mathematics.h
  87. INSTALL libavutil/md5.h
  88. INSTALL libavutil/mem.h
  89. INSTALL libavutil/pixdesc.h
  90. INSTALL libavutil/pixfmt.h
  91. INSTALL libavutil/random_seed.h
  92. INSTALL libavutil/rational.h
  93. INSTALL libavutil/sha1.h
  94. INSTALL libavutil/avconfig.h
  95. INSTALL libavutil/libavutil.pc
  96. LD      ffmpeg_g
  97. LD      ffprobe_g
  98. LD      ffserver_g
  99. /home/matt/src/ffmpeg/libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_104'
  100. collect2: ld returned 1 exit status
  101. make: *** [ffmpeg_g] Error 1
  102. make: *** Waiting for unfinished jobs....
  103. /home/matt/src/ffmpeg/libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_104'
  104. collect2: ld returned 1 exit status
  105. make: *** [ffprobe_g] Error 1
  106. /home/matt/src/ffmpeg/libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_104'
  107. collect2: ld returned 1 exit status
  108. make: *** [ffserver_g] Error 1
clone this paste RAW Paste Data