"How to Record and Stream Games on Linux: Step by Step Guide"
in this video, I cover how to record and stream games on Linux using OBS Studio.
https://obsproject.com/
Step 1. OBS Studio Installation.
https://flathub.org/apps/com.obsproje...
So, when it comes to OBS Studio, the developers recommended installation method is to use the Flatpak version of OBS Studio.
Although, in most cases, you should be fine installing OBS Studio using your Linux distribution’s package manager.
For example, to install OBS Studio in Ubuntu, use the App Centre, and once installed, launch as normal.
Step 2. OBS Optimal Recording / Streaming Configuration.
My recommended settings for streaming and recording, are as below.
First, click on File, Settings and then the Video tab.
From here, make sure that both Base (Canvas) Resolution and Output (Scaled) Resolution are set to your monitors native resolution.
All other settings can be set as per your own preference.
Once done, click Apply.
Next click on the Output tab and change the Output Mode from Simple to Advanced.
LIVE STREAMING
In the Streaming tab, under Streaming Settings, change the Video Encoder to the one that matches your hardware.
For Nvidia, this would be NVENC, for AMD, this would be VAAPI, and for Intel, this would be QuickSync.
If you do not have any of these options, you can use x264 instead.
Next, in the Encoder Settings, make the following changes.
Rate Control - CBR
Bitrate - 6000 Kbps
Keyframe Interval - 2
Preset - P6: Slower (Better Quality)
Tuning - High Quality
Multipass Mode - Two Passes (Quarter Resolution)
Profile - High
Psycho Visual Tuning - Ticked
Max B-frames - 4
Once done, click Apply and move to the Recording tab.
LOCAL RECORDING
In the Recording Settings section, use the following settings.
Recording Format - .mkv
Video Encoder - Either NVENC, VAAPI, QuickSync or x264.
All other settings are up to you.
Next, in the Encoder Settings, make the following changes.
Rate Control - CQP
Rate Level - 15
Keyframe Interval - 0
Preset - P6: Slower (Better Quality)
Tuning - High Quality
Multipass Mode - Two Passes (Quarter Resolution)
Profile - High
Psycho Visual Tuning - Ticked
Max B-frames - 4
Once done, click Apply and then OK to close the Settings menu.
Step 3. Optimal Sources.
As a rule, if you are going to be streaming or recording a game, or full screen application, then I would recommend a Window Capture method, as this is less intensive on the system.
There are two options, Window Capture (PipeWire) or Window Capture (Xcomposite) for Wayland and Xorg desktop sessions, respectively.
Alternatively, if you wish to broadcast or record your desktop before switching into a game, use Screen Capture.
Which again has two options, Screen Capture (PipeWire) or Screen Capture (XSHM), for Wayland and Xorg respectively.
Or you could use a combination of both.
The final thing to cover is recording equipment, such as microphones.
Although it is technically possible to add them as another source, I have found that it is easier to click on the Mix/Aux section in the Audio Mixer tab, then Properties, and select them from the drop down menu.
Of course, the settings demonstrated in this video can be adjusted based on your hardware and expectations in video output quality, but this should give you a decent starting point.
#obsstudio #linux #recording
Social Media Links
Discord - / discord
Reddit - / intelligentgaming2020