While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Legendary, the free and open source Epic Games Launcher, has moved to a new organisation
- Godot gets a funding boost from Slay the Spire 2 devs Mega Crit
- Bazzite Linux gets some major upgrades for the April 2026 Update
- Valve dev fixes up VRAM management on AMD GPUs to improve performance
- Proton Experimental brings fixes for classic Resident Evil 1 & 2, Dino Crisis 1 & 2 and more
- > See more over 30 days here
Recently Updated
- Proton/Wine Games Locking Up
- Caldathras - video buffer overflow
- LoudTechie - Retrieve root (Desktop mode) without factory reset
- LoudTechie - The Great Android lockdown of 2026.
- grigi - New Desktop Screenshot Thread
- DoctorJunglist - See more posts
How to setup OpenMW for modern Morrowind on Linux / SteamOS and Steam Deck
How to install Hollow Knight: Silksong mods on Linux, SteamOS and Steam Deck
If you type:
pactl info
You should see something around the lines of:
Server Name: PulseAudio (on PipeWire 0.3.53)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-MOTU_M4_M4AE0CDBMD-00.analog-surround-40
If you do, then following the documentation here: https://trac.ffmpeg.org/wiki/Capture/PulseAudio should be fine.
I tested this with my own machine and it works as expected.
Last edited by Shmerl on 4 Jul 2022 at 8:53 pm UTC
You can capture both audio and the screen with one command operation, or you can trigger screen and audio capture independently and then mix the two together later with a Video Editor.
Last edited by Shmerl on 5 Jul 2022 at 3:43 am UTC
https://trac.ffmpeg.org/ticket/10742
But it's simple and does wonderfully capture screen and audio.
OBS can do it, but there are issues with that too.
Last edited by Shmerl on 27 Feb 2024 at 3:12 pm UTC
ffmpeg -device /dev/dri/card0 -f kmsgrab -framerate 60 -i - -vaapi_device /dev/dri/renderD128 -vf 'hwmap=derive_device=vaapi,crop=1434:650:974:774,scale_vaapi=w=1435:h=650:format=nv12' -c:v hevc_vaapi -qp 18 -y output-file.mkvBut it's downright messy. You need to figure out the window co-ordinates and the drivers seem very picky. Notice that the scale width is 1 pixel wider than the crop. I get a ton of errors and video full of noise without it...
I tried it and it didn't even work in the first place. Too many issues to dig into the method that's wrong anyway.
Last edited by Shmerl on 27 Feb 2024 at 5:33 pm UTC