Join us on our own very special Reddit: /r/Linuxers
App to record screen ?
Page: «2/2
  Go to:
Shmerl 5 Oct

Quoting: VinouchI found exactly what I need.

A small GUI to record in VAAPI:

https://github.com/Philippe734/tiny.vaapi.recorder

Nice, it's a small bash script which you can modify for your needs (like changing the codec and etc.).

https://github.com/Philippe734/tiny.vaapi.recorder/blob/main/tiny.vaapi.recorder.sh

Also, I wonder what's the method in the Wayland session where x11grab is not an option. I suppose there must be some ffmpeg / Pipewire integration for that?

Last edited by Shmerl on 5 October 2020 at 9:32 pm UTC

whizse 5 Oct
  • Supporter

Quoting: VinouchI found exactly what I need.

A small GUI to record in VAAPI:

https://github.com/Philippe734/tiny.vaapi.recorder
Nice!

You might want to remove the preset option though. It has no effect with vaapi, it's a libx264 setting.

You might also want to experiment with using constant quality in lossless mode (if you don't mind large files) using -qp 0 instead of VBR. I seem to recall getting better results with that, but it probably varies from system to system.

whizse 5 Oct
  • Supporter

Quoting: ShmerlAlso, I wonder what's the method in the Wayland session where x11grab is not an option. I suppose there must be some ffmpeg / Pipewire integration for that?
kmsgrab as mentioned in the thread previously, skips those nasty roundtrips to the CPU.

Shmerl 5 Oct

Quoting: whizsekmsgrab as mentioned in the thread previously, skips those nasty roundtrips to the CPU.

That doesn't sound like a good method - it requires some explicit permissions access that's not on compositor level. The proper way would be something like pipewire and access controlled by the compositor. For less trips, it can be using DMA-BUF.

Last edited by Shmerl on 5 October 2020 at 9:52 pm UTC

whizse 5 Oct
  • Supporter
While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

We have no adverts, no paywalls, no timed exclusive articles. Just 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

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.

Livestreams & Videos
Community Livestreams