Is there a screen recorder that only grabs a specific window?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there a screen recorder that only grabs a specific window?
I like Simple Screen Recorder, but I need this feature that will make the recorder stay focused only on a specific application window while I Alt+Tab away from it and do other things.
Well, I tried Kazam, OBS, recordMyDesktop and VokoscreenNG. They all failed at the task.
Kazam: it won't run. It's a Python app, so I am not surprised.
OBS: it will run, but I can't find any options to record just a window. And it crashes every time I hit 'Record.'
recordMyDesktop and VokoscreenNG: these two applications have the option to "record a window," but what that really means to them is "record whatever area of the screen that is being taken by the chosen window right now." If you move that window around during the recording, the recording will remain stuck to that area. It won't follow the target window. Likewise, if I choose a window that is in full screen mode, the entire screen will be recorded and the recording will show me Alt+Tabbing to other windows rather than restrict itself to the target window.
As lucmove explained
simple screen recorder it has been added to Slackware lineup. Well polished builds for your apt-get . https://github.com/MaartenBaert/ssr
If using dual monitors it has options to what one you want to record.
You could write yourself a script with slop (possibly packaged with maim) and ffmpeg.
That doesn't work for me. I need the full screen. I need to alt+tab at will and have the recorder ignore everything that happens on the screen except the target window.
That doesn't work for me. I need the full screen. I need to alt+tab at will and have the recorder ignore everything that happens on the screen except the target window.
First of all, that is contradicting both in itself and to your initial statement ("grab a specific window").
Secondly, I don't see why that script should interfere. It could run completely "invisible".
It's not contradictory. I was very clear about it: "make the recorder stay focused only on a specific application window while I Alt+Tab away from it and do other things."
It's not contradictory. I was very clear about it: "make the recorder stay focused only on a specific application window while I Alt+Tab away from it and do other things."
Oh, I see.
So you don't want to record the screen itself but instead the contents of a specific window.
I'm not sure it's possible; some random blog article claims that Kazam can: "Support for recording a single window or selected screen area"
Whether that actually works - well, you should test it.
FWIW, this sounds like a similar problem here on LQ which turned out to be a gigantic XY problem in the end.
Question is: Why do you want to do that?
That doesn't work for me. I need the full screen. I need to alt+tab at will and have the recorder ignore everything that happens on the screen except the target window.
I think only the visible area is painted, so if a window was hidden X will silently skip it and will not draw it at all. Screen recorders will record the specified area of the screen, and have no any idea about the focus.
If you are using dual screens / workspaces then put the window you want recorded on one screen and start recording. While that is happening use the other screen for the work you are doing that involves switching windows/etc. As long as the screen being recorded does not have another window in from of it the recorder should work as you want.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.