Changes between Version 106 and Version 107 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
Apr 23, 2015, 9:58:56 PM (4 years ago)
Author:
llogan
Comment:

add x265

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v106 v107  
    9191}}}
    9292
     93=== libx265 ===
     94
     95H.265/HEVC video encoder. See the [[Encode/H.265|H.265 Encoding Guide]] for more information and usage examples.
     96
     97{{{
     98sudo apt-get install cmake mercurial
     99cd ~/ffmpeg_sources
     100hg clone https://bitbucket.org/multicoreware/x265
     101cd ~/ffmpeg_sources/x265/build/linux
     102PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source
     103make
     104make install
     105make distclean
     106}}}
     107
    93108=== libfdk-aac ===
    94109
     
    172187tar xjvf libvpx-v1.3.0.tar.bz2
    173188cd libvpx-v1.3.0
    174 PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples
     189PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests
    175190PATH="$HOME/bin:$PATH" make
    176191make install
     
    187202PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
    188203  --prefix="$HOME/ffmpeg_build" \
     204  --pkg-config-flags="--static" \
    189205  --extra-cflags="-I$HOME/ffmpeg_build/include" \
    190206  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
     
    200216  --enable-libvpx \
    201217  --enable-libx264 \
     218  --enable-libx265 \
    202219  --enable-nonfree
    203220PATH="$HOME/bin:$PATH" make
     
    253270
    254271{{{
    255 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,yasm,ytasm}
     272rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,x265,yasm,ytasm}
    256273}}}
    257274
     
    263280
    264281{{{
    265 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,yasm,ytasm}
    266 sudo apt-get autoremove autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
     282rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,x265,yasm,ytasm}
     283sudo apt-get autoremove autoconf automake build-essential cmake libass-dev libfreetype6-dev libgpac-dev \
    267284  libmp3lame-dev libopus-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev \
    268   libvorbis-dev libvpx-dev libx264-dev libxcb1-dev libxcb-shm0-dev ibxcb-xfixes0-dev texi2html zlib1g-dev
     285  libvorbis-dev libvpx-dev libx264-dev libxcb1-dev libxcb-shm0-dev ibxcb-xfixes0-dev mercurial texi2html zlib1g-dev
    269286sed -i '/ffmpeg_build/c\' ~/.manpath
    270287hash -r