Changes between Version 61 and Version 62 of CompilationGuide/Ubuntu
- Timestamp:
- May 16, 2013, 6:52:20 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Ubuntu
v61 v62 5 5 This guide for '''Ubuntu 13.04 Raring Ringtail''' will provide a local install of the latest FFmpeg tools and libraries including several external encoding and decoding libraries (codecs). This will not provide a system installation and therefore will not interfere with anything such as repository packages. 6 6 7 Separate guides are available for [[UbuntuCompilationGuideQuantal|Ubuntu 12.10 Quantal Quetzal, Ubuntu 12.04 Precise Pangolin, Ubuntu 11.10 Oneiric Ocelot]], [[UbuntuCompilationGuideLucid|Ubuntu 10.04 Lucid Lynx]], and [[UbuntuCompilationGuideHardy|Ubuntu 8.04 Hardy Heron]]. 7 Separate guides are available for: 8 * [[UbuntuCompilationGuideQuantal|Ubuntu 12.10 Quantal Quetzal]] 9 * [[UbuntuCompilationGuideQuantal|Ubuntu 12.04 Precise Pangolin]] 10 * [[UbuntuCompilationGuideQuantal|Ubuntu 11.10 Oneiric Ocelot]] 11 * [[UbuntuCompilationGuideLucid|Ubuntu 10.04 Lucid Lynx]] 12 * [[UbuntuCompilationGuideHardy|Ubuntu 8.04 Hardy Heron]] 8 13 14 ---- 15 16 == Get the dependencies == 9 17 '''Note:''' Copy and paste the whole code box for each step. 10 18 11 == Preparation == 12 13 Get the dependencies ('''Ubuntu Desktop'''): 19 '''Ubuntu Desktop''': 14 20 {{{ 15 21 sudo apt-get update && \ … … 19 25 }}} 20 26 21 Get the dependencies ('''Ubuntu Server'''):27 '''Ubuntu Server''': 22 28 {{{ 23 29 sudo apt-get update && \ … … 34 40 H.264 video encoder. The following commands will get the current source files, compile, and install x264. See the [[x264EncodingGuide|x264 Encoding Guide]] for some usage examples. 35 41 {{{ 36 cd && \ 42 mkdir ~/ffmpeg_sources && | 43 cd ~/ffmpeg_sources && \ 37 44 git clone --depth 1 git://git.videolan.org/x264.git && \ 38 45 cd x264 && \ … … 48 55 AAC audio encoder. 49 56 {{{ 50 cd && \57 cd ~/ffmpeg_sources && \ 51 58 git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git && \ 52 59 cd fdk-aac && \ … … 65 72 66 73 {{{ 67 cd && \74 cd ~/ffmpeg_sources && \ 68 75 git clone --depth 1 git://source.ffmpeg.org/ffmpeg && \ 69 76 cd ffmpeg && \ … … 82 89 83 90 == Finish == 84 Installation is now complete and ffmpeg is now ready for use. You can keep the `ffmpeg ,` `fdk-aac`, and `x264` directories in your homedirectory if you plan on updating later. See [#update Updating FFmpeg] below for more details followed by instructions for reverting all changes made by this guide.91 Installation is now complete and ffmpeg is now ready for use. You can keep the `ffmpeg_sources` directory if you plan on updating later. See [#update Updating FFmpeg] below for more details followed by instructions for reverting all changes made by this guide. 85 92 86 93 ---- 87 94 88 == Updating FFmpeg ( '''Ubuntu Desktop''') ==#update95 == Updating FFmpeg (Ubuntu Desktop) ==#update 89 96 Development of FFmpeg and x264 is active and an occasional update can give you new features and bug fixes. First, remove (or move) the old files and then update the dependencies: 90 97 {{{ … … 99 106 === x264 === 100 107 {{{ 101 cd ~/ x264108 cd ~/ffmpeg_sources/x264 102 109 make distclean 103 110 git pull … … 107 114 === fdk-aac === 108 115 {{{ 109 cd ~/f dk-aac116 cd ~/ffmpeg_sources/fdk-aac 110 117 make distclean 111 118 git pull … … 115 122 === ffmpeg === 116 123 {{{ 117 cd ~/ffmpeg 124 cd ~/ffmpeg_sources/ffmpeg 118 125 make distclean 119 126 git pull … … 126 133 To remove ffmpeg, x264, and dependencies installed for this guide: 127 134 {{{ 128 rm -rf ~/ffmpeg_builds ~/ffmpeg ~/fdk-aac ~/x264&& \135 rm -rf ~/ffmpeg_builds ~/ffmpeg_sources && \ 129 136 rm -f ~/bin/{ffmpeg,ffplay,ffprobe,ffserver,x264} && \ 130 137 sudo apt-get autoremove autoconf automake build-essential git libass-dev libfaac-dev libgpac-dev \ … … 132 139 libvorbis-dev libvpx-dev libx11-dev libxext-dev libxfixes-dev pkg-config texi2html yasm zlib1g-dev 133 140 }}} 141 142 ---- 134 143 135 144 == If You Need Help ==
