Video/ Screen Recorder (CentOS7) OBS Studion installation on Red Hat/Fedora-based Build Directions

Red Hat/Fedora-based Build Directions

  • Get RPM fusion at http://rpmfusion.org/Configuration/ (Nux Desktop is an alternative that may include better packages for RHEL/CentOS 7 and newer Fedora)

  • Set up a build environment:
    sudo dnf install gcc gcc-c++ gcc-objc cmake git
     
  • Get the required packages:
    sudo yum install libX11-devel mesa-libGL-devel libv4l-devel \
            pulseaudio-libs-devel x264-devel freetype-devel \
            fontconfig-devel libXcomposite-devel libXinerama-devel \
            qt5-qtbase-devel qt5-qtx11extras-devel libcurl-devel \
            systemd-devel ffmpeg luajit-devel swig python36-devel
    (Note: you might also need to install ffmpeg-devel)

  • Building and installing OBS:
    git clone --recursive https://github.com/obsproject/obs-studio.git
    cd obs-studio
    mkdir build && cd build
    cmake -DUNIX_STRUCTURE=1 ..
    make -j4
    sudo make install
     
  • By default obs installs libraries in /usr/local/lib. To make sure that the loader can find them there, create a file /etc/ld.so.conf.d/local.conf with the single line
    /usr/local/lib  

    and then run

    sudo ldconfig


Comments

Popular posts from this blog

Gateway to Gateway - Intro to Configure IPsec VPN (Gateway-to-Gateway ) using Strongswan

Configure a Postfix Relay through Gmail on CentOS 7

Monitoring Server : Complete guide to install Zabbix on CentOS7