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
- Kerbal Space Program spiritual successor Kitten Space Agency now has a Linux version
- NVIDIA hiring Linux driver engineers to help with Vulkan, Proton and more
- The "video game preservation service" Myrient is shutting down in March
- Discord delay global rollout of age verification to improve transparency and add more options
- Steam Next Fest - February 2026 is live with tons of demos
- > See more over 30 days here
- steam overlay performance monitor - issues
- Xpander - Nacon under financial troubles... no new WRC game (?)
- Xpander - Establishing root of ownership for Steam account
- Nonjuffo - Total Noob general questions about gaming and squeezing every oun…
- GustyGhost - Looking for Linux MMORPG sandbox players (Open Source–friendly …
- Jarmer - 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