Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Screencasting with Simple Screen Recorder in Linux

· 6 min read · Home Tech

In this article
  1. What Is Simple Screen Recorder?
  2. How It Works
  3. How to Choose the Right Settings
  4. Common Problems and Solutions
  5. Comparison with Other Linux Screen Recorders
  6. Cost and Availability
  7. Safety and Privacy Considerations
  8. Frequently Asked Questions

Yes, Simple Screen Recorder is a reliable, feature-rich tool for screencasting on Linux, and it's one of the best options for capturing your screen with minimal hassle. It records video and audio, supports multiple sources, and offers a straightforward interface that balances power with usability.

What Is Simple Screen Recorder?

Simple Screen Recorder (SSR) is an open-source application designed specifically for Linux. It was created by Maarten Baert and has been actively maintained since 2012. Unlike many other recording tools that rely on system-specific APIs or work only with certain desktop environments, SSR is built to work across a wide range of Linux setups, including X11 and, more recently, Wayland (with some limitations). It's known for its low overhead and high-quality output, making it a favorite among gamers, educators, and developers who need to capture their screens without slowing down their systems.

How It Works

Simple Screen Recorder works by capturing your screen in real time, encoding the video and audio streams, and writing them to a file. It uses the FFmpeg libraries under the hood, which means it supports a vast array of codecs and containers. The recording process is efficient because it uses the GPU for scaling and color conversion when possible, and it allows you to set a frame rate and bitrate to balance quality against file size.

Key features include:

  • Recording the full screen, a specific window, or a custom region.
  • Capturing audio from multiple sources (microphone, system audio, or both) simultaneously.
  • Support for OpenGL and Vulkan capture, which is essential for recording games.
  • Preview window to see what will be recorded before you start.
  • Ability to pause and resume recording without creating separate files.
  • Post-recording options like re-encoding and cutting segments.

How to Choose the Right Settings

Choosing the right settings depends on what you're recording and what you plan to do with the video. For most screencasts, a resolution of 1080p at 30 frames per second (fps) is a good starting point. If you're recording fast-paced action, like a game, you might want 60 fps, but that will increase file size and CPU usage.

For video codec, H.264 is widely supported and gives a good balance of quality and size. If you need lossless quality for editing, consider using the lossless preset or the FFV1 codec. For audio, AAC at 192 kbps is a solid choice for voice and system sounds. You can also record in MKV container, which is more resilient to crashes than MP4, and then remux to MP4 later if needed.

Here are some common presets you can use:

  • Gaming: 1080p, 60 fps, H.264, high bitrate (e.g., 20 Mbps), audio AAC 192 kbps.
  • Tutorial: 1080p, 30 fps, H.264, medium bitrate (e.g., 10 Mbps), audio AAC 128 kbps.
  • Lossless: Use the lossless preset, which uses FFV1 or H.264 lossless, and no audio compression.

Common Problems and Solutions

Even though Simple Screen Recorder is reliable, you might encounter issues. Here are some common problems and how to fix them:

  • No audio recorded: Make sure you've selected the correct audio input. On PulseAudio systems, you can choose "Default" or specify a particular device. If you're using PipeWire, you may need to select the PipeWire sink.
  • Video is choppy or laggy: This usually indicates that your CPU can't keep up with the encoding. Try lowering the resolution, frame rate, or bitrate. You can also try using a different preset (e.g., "ultrafast" for x264) or enabling hardware encoding if your GPU supports it.
  • Black screen when recording a game: If the game uses Vulkan, you need to enable "Record OpenGL/Vulkan" in the settings. For older games, make sure you're using the right capture method (e.g., X11 or GLX).
  • File is corrupted after a crash: If you record to MP4 and the system crashes, the file may be unreadable. To avoid this, record to MKV, which is more resilient, and then remux to MP4 using the built-in "Remux" feature.

Comparison with Other Linux Screen Recorders

Simple Screen Recorder is often compared to other tools like OBS Studio and Kazam. Here's a quick breakdown:

  • OBS Studio: More powerful and feature-rich, with scene composition, streaming support, and plugins. However, it has a steeper learning curve and can be overkill for simple recordings.
  • Kazam: Simpler and more lightweight, but lacks advanced features like OpenGL capture and audio from multiple sources.
  • GNOME Screen Recorder: Built into GNOME, very easy to use, but limited to full-screen or window recording, no audio options, and only outputs to WebM.

For most users, Simple Screen Recorder strikes the best balance between simplicity and functionality. It's more approachable than OBS, but more capable than Kazam.

Cost and Availability

Simple Screen Recorder is completely free and open-source, released under the GPLv3 license. You can install it from the official repositories of most Linux distributions. For example, on Ubuntu or Debian, you can use:

sudo apt install simplescreenrecorder

On Fedora, use:

sudo dnf install simplescreenrecorder

For other distributions, you can download the source code from the project's website on GitHub and build it yourself, though this requires some technical knowledge.

Safety and Privacy Considerations

When recording your screen, be mindful of what's on it. Simple Screen Recorder captures whatever is visible, so ensure you don't accidentally record sensitive information like passwords, personal messages, or confidential documents. If you need to hide certain windows, you can use the "Record a window" option and select only the window you want. Also, be aware that some applications, like video players with DRM, may appear black when recorded due to copyright protection.

There's no risk of malware from the official package, but always download from your distribution's repository or the official GitHub page to avoid compromised versions.

Frequently Asked Questions

Can I record my microphone and system audio at the same time?

Yes, Simple Screen Recorder allows you to add multiple audio sources. In the "Audio" tab, you can enable both the system audio (e.g., "Default" or "Monitor of ...") and your microphone. They will be mixed into the recording.

Does Simple Screen Recorder work on Wayland?

Wayland support is limited. As of version 0.4.0, SSR has experimental support for Wayland using the wlr-screencopy protocol, but it requires a compositor that implements it (like Sway). Many users still use X11 (or XWayland) for recording, as it's fully supported.

How do I record a specific window?

In the "Video" tab, select "Record a fixed rectangle" and then click "Select area". You can then click on the window you want to record. Alternatively, choose "Record a window" and pick the window from the list.

Why is my recording file so large?

File size depends on resolution, frame rate, and bitrate. Higher bitrates produce better quality but larger files. You can reduce the file size by lowering the bitrate or using a more efficient codec like H.265 (HEVC), though not all players support it.

Can I pause a recording and resume later?

Yes, you can click the "Pause" button during recording, and then click "Resume" to continue. This creates a single file with no gaps, which is great for editing out interruptions.

How do I remux an MKV file to MP4?

After recording, you can use the "Remux" feature in the "File" menu. Select the MKV file, choose MP4 as the output format, and SSR will quickly copy the streams without re-encoding, preserving quality.