23
submitted 4 months ago by Waffelson@lemmy.world to c/linux@lemmy.ml

I know that OBS has pipewire window/screen capture but I want to use ffmpeg to capture as I can use x11grab on xorg

top 5 comments
sorted by: hot top controversial new old
[-] bacon_pdp@lemmy.world 14 points 4 months ago
[-] TMP_NKcYUEoM7kXg4qYe@lemmy.world 3 points 4 months ago* (last edited 4 months ago)

Also depends if FFmpeg supports it. Wayland is not mentioned in the Documentation.

https://ffmpeg.org/ffmpeg-devices.html

Edit: Different comment mentioned the wf-recorder, which uses FFmpeg's libraries but not the CLI utility, so I guess that's the closest you can get to using FFmpeg. They also show some CLI usage.

[-] tekato@lemmy.world 6 points 4 months ago

Do you specifically need ffmpeg? If it’s just screen recording from the terminal, wl-screenrec has the best performance (meaning low CPU usage) for Wayland screen capture. It does require the new screen capture extensions so it will depend on your compositor.

[-] Waffelson@lemmy.world 1 points 4 months ago

ffmpeg has very customizable options to record/stream, it gives many options to control which encoder to use, which max/min bitrate to use, which audio codec use, so it's almost obs but in cli world

[-] StrangeAstronomer@lemmy.ml 3 points 4 months ago
this post was submitted on 31 Jul 2025
23 points (96.0% liked)

Linux

57274 readers
250 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS