Changes between Version 138 and Version 139 of CompilationGuide/Ubuntu
- Timestamp:
- Nov 2, 2017, 3:01:57 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Ubuntu
v138 v139 29 29 Get the dependencies. These are required for compiling, but you can remove them when you are done if you prefer: 30 30 {{{ 31 #!sh 31 32 sudo apt-get update -qq && apt-get -y install autoconf automake build-essential git libass-dev libfreetype6-dev \ 32 33 libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \ … … 41 42 In your home directory make a new directory to put all of the source code and binaries into: 42 43 {{{ 44 #!sh 43 45 mkdir ~/ffmpeg_sources ~/bin 44 46 }}} … … 58 60 59 61 {{{ 62 #!sh 60 63 cd ~/ffmpeg_sources 61 64 wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.bz2 … … 75 78 76 79 {{{ 80 #!sh 77 81 sudo apt-get install yasm 78 82 }}} … … 81 85 82 86 {{{ 87 #!sh 83 88 cd ~/ffmpeg_sources 84 89 wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz … … 99 104 100 105 {{{ 106 #!sh 101 107 sudo apt-get install libx264-dev 102 108 }}} … … 105 111 106 112 {{{ 113 #!sh 107 114 cd ~/ffmpeg_sources 108 115 git clone --depth 1 http://git.videolan.org/git/x264 … … 120 127 121 128 {{{ 129 #!sh 122 130 sudo apt-get install libx265-dev 123 131 }}} … … 126 134 127 135 {{{ 136 #!sh 128 137 sudo apt-get install -y cmake mercurial 129 138 cd ~/ffmpeg_sources … … 144 153 145 154 {{{ 155 #!sh 146 156 sudo apt-get install libfdk-aac-dev 147 157 }}} … … 150 160 151 161 {{{ 162 #!sh 152 163 cd ~/ffmpeg_sources 153 164 git clone --depth 1 https://github.com/mstorsjo/fdk-aac … … 168 179 169 180 {{{ 181 #!sh 170 182 sudo apt-get install libmp3lame-dev 171 183 }}} … … 174 186 175 187 {{{ 188 #!sh 176 189 cd ~/ffmpeg_sources 177 190 wget http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz … … 192 205 193 206 {{{ 207 #!sh 194 208 sudo apt-get install libopus-dev 195 209 }}} … … 198 212 199 213 {{{ 214 #!sh 200 215 cd ~/ffmpeg_sources 201 216 wget https://archive.mozilla.org/pub/opus/opus-1.2.tar.gz … … 216 231 217 232 {{{ 233 #!sh 218 234 sudo apt-get install libvpx-dev 219 235 }}} … … 222 238 223 239 {{{ 240 #!sh 224 241 cd ~/ffmpeg_sources 225 242 git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git … … 233 250 234 251 {{{ 252 #!sh 235 253 cd ~/ffmpeg_sources 236 254 wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 … … 290 308 291 309 {{{ 310 #!sh 292 311 echo "MANPATH_MAP $HOME/bin $HOME/ffmpeg_build/share/man" >> ~/.manpath 293 312 }}} … … 306 325 307 326 {{{ 327 #!sh 308 328 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,x264,x265} 309 329 }}} … … 316 336 317 337 {{{ 338 #!sh 318 339 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,x264,x265,nasm,vsyasm,yasm,ytasm} 319 340 sudo apt-get autoremove autoconf automake build-essential cmake git libass-dev libfreetype6-dev \ 320 341 libmp3lame-dev libopus-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev \ 321 342 libvorbis-dev libvpx-dev libx264-dev libxcb1-dev libxcb-shm0-dev ibxcb-xfixes0-dev mercurial texinfo zlib1g-dev 322 sed -i '/ffmpeg_build/ c\' ~/.manpath343 sed -i '/ffmpeg_build/d' ~/.manpath 323 344 hash -r 324 345 }}}
