How To Install OBS Studio on CentOS Stream 10
OBS Studio (Open Broadcaster Software) is a powerful, free, and open-source application designed for video recording and live streaming. This versatile software has become the preferred choice for content creators, gamers, educators, and professionals seeking reliable broadcasting solutions. With its comprehensive feature set, OBS allows users to capture, compose, encode, record, and stream video content seamlessly.
CentOS Stream 10 represents the latest iteration in the CentOS ecosystem, functioning as a midstream distribution between Fedora Linux and Red Hat Enterprise Linux (RHEL). This rolling-release distribution delivers the stability expected from enterprise-grade Linux while providing access to newer software packages. The combination of OBS Studio and CentOS Stream 10 creates an excellent platform for high-quality streaming and recording.
Installing OBS Studio on CentOS Stream 10 unlocks numerous possibilities for content creation. Whether you’re streaming gameplay to Twitch, recording educational tutorials, conducting virtual meetings, or broadcasting events, this guide will walk you through various installation methods, configuration options, and troubleshooting techniques to maximize your OBS experience.
Prerequisites for Installing OBS Studio
Before proceeding with installation, ensure your system meets the necessary requirements for running OBS Studio effectively.
System Requirements
OBS Studio demands considerable resources, especially when streaming or recording at higher resolutions and frame rates:
- CPU: Multi-core processor (Intel i5 6th generation/AMD Ryzen 5 or better recommended)
- RAM: 8GB minimum, 16GB recommended for complex scenes
- GPU: DirectX 10.1 compatible graphics card
- Storage: Minimum 2GB free space for application installation
- Internet Connection: Stable connection with at least 5Mbps upload speed for HD streaming
- Display Resolution: 1920×1080 or higher recommended
System Preparation
Update your CentOS Stream 10 system to the latest version:
sudo dnf update -y
Verify your CentOS version:
cat /etc/centos-release
Ensure you have sudo access, as most installation methods require administrative privileges.
Understanding Installation Methods
CentOS Stream 10 offers several approaches to install OBS Studio. Each method has distinct advantages and considerations.
Available Installation Options
- Snap Installation: Uses Canonical’s Snap package management system
- Flatpak Installation: Employs Flatpak application virtualization technology
- Source Compilation: Builds OBS directly from source code
For most users, Snap or Flatpak provides the ideal balance between ease of installation and functionality. Source compilation offers maximum customization but requires more technical knowledge.
Method 1: Installing OBS Studio via Snap
Snap packages provide a straightforward installation process with automatic updates, making this a popular option for many users.
Enabling the EPEL Repository
First, install the Extra Packages for Enterprise Linux (EPEL) repository:
sudo dnf install -y epel-release
Verify EPEL installation:
sudo dnf repolist | grep epel
Installing the Snap Package Manager
With EPEL enabled, install the Snap package manager:
sudo dnf install -y snapd
Enable and start the snapd service:
sudo systemctl enable --now snapd.socket
Create the necessary symbolic link for classic snap support:
sudo ln -s /var/lib/snapd/snap /snap
Log out and log back in or restart your system to ensure snap paths are updated correctly. Verify installation:
snap version
Installing OBS Studio via Snap
Now install OBS Studio:
sudo snap install obs-studio
This command downloads and installs the latest stable version. Verify installation:
snap list | grep obs-studio
Launch OBS Studio from your applications menu or by running:
snap run obs-studio
One significant advantage of using Snap packages is automatic updates, ensuring you always have the latest version without manual intervention.
Method 2: Installing OBS Studio via Flatpak
Flatpak provides another reliable installation method with sandbox isolation for enhanced security.
Setting up Flatpak on CentOS Stream 10
Install Flatpak:
sudo dnf install -y flatpak
Add the Flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Log out and log back in to ensure Flatpak is properly configured in your session.
Installing OBS Studio via Flatpak
With Flatpak configured, install OBS Studio:
flatpak install flathub com.obsproject.Studio
During installation, Flatpak will download OBS Studio and its dependencies. When prompted, type ‘y’ to proceed.
Launch OBS Studio:
flatpak run com.obsproject.Studio
Flatpak applications run in a sandboxed environment, which enhances security but might require additional permissions to access system resources. If you need OBS to access specific devices (like webcams) or directories, you may need to configure these permissions using Flatseal or command-line parameters.
Method 3: Building OBS Studio from Source
For users seeking the latest features or specific optimizations, compiling OBS Studio from source offers maximum flexibility.
Installing Build Dependencies
Install necessary development packages:
sudo dnf groupinstall "Development Tools" -y
sudo dnf install cmake gcc gcc-c++ git -y
sudo dnf install ffmpeg-devel x264-devel libX11-devel libGL-devel libv4l-devel \
pulseaudio-libs-devel jansson-devel libxcb-devel libXcomposite-devel \
libXinerama-devel libXrandr-devel libXcursor-devel qt5-qtbase-devel \
qt5-qtx11extras-devel systemd-devel -y
Downloading and Compiling OBS Studio
Clone the OBS Studio repository:
git clone https://github.com/obsproject/obs-studio.git
cd obs-studio
Create a build directory and configure:
mkdir build && cd build
cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
Compile OBS Studio:
make -j$(nproc)
Install the compiled application:
sudo make install
Advantages and Disadvantages of Source Installation
Building from source provides several benefits:
- Access to cutting-edge features and bug fixes
- Custom compilation options for your specific hardware
- Potential performance improvements through optimizations
However, it also presents challenges:
- More complex installation process
- Manual updates required for new versions
- Greater technical knowledge needed
Post-Installation Configuration
After installing OBS Studio, proper configuration ensures optimal performance.
First-time Setup Wizard
When first launching OBS Studio, the setup wizard helps configure the application:
- Choose between optimizing for streaming or recording
- Select target resolution and frame rate
- Configure streaming service (if applicable)
- Test settings for stability
The wizard provides sensible defaults based on your hardware capabilities, which you can fine-tune later.
Configuring Video Settings
For optimal video quality:
- Navigate to Settings > Video
- Set Base (Canvas) Resolution to match your monitor’s native resolution
- Choose Output (Scaled) Resolution (typically 1920×1080 or 1280×720)
- Select FPS Value (30 or 60 FPS are standard)
- Choose a downscale filter (Lanczos provides high quality but demands more resources)
Consider your hardware capabilities when configuring these settings. Higher resolutions and frame rates require more processing power and bandwidth.
Basic Usage Guide for OBS Studio
Understanding OBS Studio’s interface and basic functionality enables quick mastery of its features.
Understanding the OBS Interface
The OBS Studio interface includes several key components:
- Scenes Panel: Manages different scene configurations
- Sources Panel: Adds and manages content sources
- Mixer: Controls audio levels for different sources
- Controls: Buttons for starting/stopping streaming and recording
- Preview Window: Displays what will be streamed or recorded
Adding and Configuring Sources
Sources form the foundation of your content:
- Click the + button in the Sources panel
- Select the desired source type:
- Display Capture: Captures entire screen
- Window Capture: Captures specific application windows
- Video Capture Device: Utilizes webcams or capture cards
- Audio Input Capture: For microphones
- Audio Output Capture: For system audio
- Configure source properties
- Position and resize sources in the preview window
Multiple sources can be combined to create complex scenes with overlays, webcam feeds, and more.
Creating Multiple Scenes
Scenes allow preparing different layouts:
- Click the + button in the Scenes panel
- Name your new scene
- Add and arrange sources
- Switch between scenes during broadcasts by clicking them or using configured hotkeys
Advanced Configuration for Professional Use
For professional content creators, OBS Studio offers advanced features to enhance productions.
Setting Up Streaming to Services
Configure streaming to platforms like Twitch, YouTube, or Facebook:
- Go to Settings > Stream
- Select your streaming service
- Enter your stream key (found in your platform’s dashboard)
- Configure output settings:
- Navigate to Settings > Output
- Select Output Mode (Simple or Advanced)
- Set video bitrate (2500-6000 Kbps recommended)
- Choose encoder (x264 for CPU, NVENC for NVIDIA GPUs, AMF for AMD GPUs)
- Configure audio bitrate (128-320 Kbps standard)
Always run a test stream before going live to ensure everything functions correctly.
Recording Configuration
For high-quality local recordings:
- Go to Settings > Output > Recording
- Choose Recording Path
- Select Recording Format (MP4 is widely compatible, MKV protects against file corruption)
- Set Recording Quality
- Configure separate encoder for recording if hardware permits
Using a different drive than your operating system for recordings prevents performance bottlenecks.
Performance Optimization
Optimize OBS Studio’s performance:
- Navigate to Settings > Advanced
- Set Process Priority to “High” or “Above Normal”
- Configure x264 CPU Usage Preset (faster presets reduce CPU load)
- Enable Performance Metrics
- Consider hardware encoding if available
Monitor CPU usage during streaming/recording. If consistently above 80%, consider lowering settings or upgrading hardware.
Troubleshooting Common Issues
Even with proper installation and configuration, issues may arise when using OBS Studio on CentOS Stream 10.
Display Capture Not Working
Display capture problems are common on Linux systems:
- Check if using Wayland or X11 (run
echo $XDG_SESSION_TYPE
) - If using Wayland, switch to X11 for better compatibility
- Ensure proper permissions for screen capture
- Try Window Capture instead of Display Capture
- Update graphics drivers
For persistent issues, install the obs-xdg-portal
plugin for improved Wayland support.
Audio Synchronization Problems
Fix audio/video synchronization issues:
- Go to Settings > Advanced > Audio
- Adjust Audio Monitoring Device settings
- Modify Audio Sync Offset values in Advanced Audio Properties
- Match system audio sample rate with OBS settings
- Check for high CPU usage causing audio buffering issues
For USB microphones, ASIO drivers can reduce latency and improve synchronization.
Encoding Overload/Performance Issues
Address performance problems:
- Lower output resolution and/or frame rate
- Select faster encoding preset
- Switch to hardware encoding (NVENC or AMF) if available
- Close background applications
- Monitor system temperature to prevent thermal throttling
- Ensure OBS uses dedicated GPU rather than integrated graphics
Additional Plugins and Extensions
Enhance OBS Studio’s functionality with plugins:
- Source Clone: Create duplicates of sources with different filters
- Move Transition: Add smooth animations between scene transitions
- StreamFX: Implement advanced visual effects and filters
- Advanced Scene Switcher: Automate scene changes based on various triggers
- Replay Source: Instantly replay recent footage
- SE.Live Plugin: Access integrated stream management tools
Install plugins:
- Download from official sources
- Extract files to the OBS plugins directory
- Restart OBS Studio
- Configure through OBS interface
Always check plugin documentation for specific requirements and compatibility.
Congratulations! You have successfully installed OBS Studio. Thanks for using this tutorial for installing the OBS Studio on your CentOS Stream 10 system. For additional help or useful information, we recommend you check the official OBS Studio website.