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
- NVIDIA announce a native Linux app for GeForce NOW
- KDE Plasma 6.6 will finally stop the system sleeping when gaming with a controller
- NVIDIA announce DLSS 4.5 with Dynamic Multi Frame Generation, plus DLSS Updater gets Linux support
- Linaro reveal they're collaborating with Valve for the Steam Frame
- Mesa RADV driver on Linux looks set for a big ray tracing performance boost
- > See more over 30 days here
- Weekend Players' Club 2026-01-09
- JSVRamirez - New Desktop Screenshot Thread
- Xpander - Will you buy the new Steam Machine?
- Xpander - Browsers
- Xpander - A succesfull Windows-Ubuntu migration the story
- LoudTechie - 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
View PC info
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.
View PC info
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.
View PC info
View PC info
Last edited by Shmerl on 5 Jul 2022 at 3:43 am UTC
View PC info
https://trac.ffmpeg.org/ticket/10742
But it's simple and does wonderfully capture screen and audio.
View PC info
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...
View PC info
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