OBS Build on ubuntu14.04

1. 代码下载:

    git clone https://github.com/jp9000/obs-studio


2.  Wiki

     https://github.com/jp9000/obs-studio/wiki/Install-Instructions#manually-compiling-on-redhat-based-distros-such-as-fedora


3. 

      sudo apt-get install build-essential pkg-config cmake git checkinstall libx11-dev  libpulse-dev libxcomposite-dev libxinerama-dev libv4l-dev libudev-dev libfreetype6-dev libfontconfig-dev qtbase5-dev libqt5x11extras5-dev libx264-dev libxcb-xinerama0-dev libxcb-shm0-dev zlib1g-dev yasm


4.  

     sudo apt-get install libcurl4-gnutls-dev
     sudo apt-get install libqt5x11extras5 libqt5x11extras5-dev
     sudo apt-get install libxcb-xinerama0 libxcb-xinerama0-dev


5.

    git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
    cd ffmpeg
    ./configure --enable-shared --prefix=/usr
    make
    sudo checkinstall --pkgname=FFmpeg --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes

6. 

    cd obs-studio

    mkdir build

    cd build

cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo checkinstall --pkgname=obs-studio --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes

你可能感兴趣的:(多媒体_OBS)