I don't know whether it would be impossible to do, but using OBS would be much easier both on the short and long term
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
As long as you make yourself some aliases for your common ffmpeg commands including flags I'm sure it's gonna work out fine. Using something like OBS is gonna make it a lot easier of course.
does OBS just do everything with ffmpeg, or does it introduce extra functionality?
I guess no Wayland support, which is pretty big
Actually there's some support for Wayland. Tried it last year, but had to do serious rummage trying to make it work. For starters I can recall it spitted a video but the command throwed an error at the end and could not understand why. Also i seem to recall the video stopped way after finishing the command.
Even had to recompile all of ffmeg to add support for wayland recording (though Gentoo makes this really easy). One thing for certain is that Gentoo's ffmpeg stable version is fairly behind from upstream's so that could have had a hand on it too.
what do screen recording softwares for wayland use under the hood then?
They use XDG Desktop Portal, which makes video and audio capture system level instead of application level to enhance security. When a program wants to record your screen you get a pop up to choose which screen/window to share. After that the app can only see that window or screen.
I don't know of such limitations and I've done some screen recording that way. But yeah the CLI options are confusing. The wiki (trac.ffmpeg.org) and libera irc channel #ffmpeg both help.
GNOME has a screen recorder built in, but I use OBS because it's a swiss army knife of (screen) recording.
Surprisingly, VLC has a simple screen recording feature in the GUI. Record by screen or by individual app.
VLC also has a very comprehensive cli.
vlc -H
gives almost every possible option with useful descriptions of them
You can configure everything to your needs. Inputs, outputs, framerate, audio and video encoders, muxers, filters, network live stream or to file or both, in the background, etc. Everything
GUI
One page of the advanced settings options (using the -H option gives me 60 full pages of options in this portrait format)