LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-28-2020, 07:27 PM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Rep: Reputation: 110Reputation: 110
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.

Is there any screen recorder that can do that?
 
Old 12-28-2020, 07:53 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,366
Blog Entries: 28

Rep: Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161
I believe that recordmydesktop has that capability.
 
1 members found this post helpful.
Old 12-28-2020, 10:04 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,988

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Try OBS Studio. Last time I used it, OBS was able to record a designated window:

https://obsproject.com/
 
1 members found this post helpful.
Old 12-29-2020, 09:08 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,366
Blog Entries: 28

Rep: Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161Reputation: 6161
You may find this post useful: https://www.linuxquestions.org/quest...rs-4175687692/
 
1 members found this post helpful.
Old 12-30-2020, 05:44 PM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
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.

Simple Screen Recorder does that too.

Looks like what I want is not possible.

But thanks for the help.
 
Old 12-30-2020, 06:03 PM   #6
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
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.
 
Old 12-30-2020, 07:52 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
You could write yourself a script with slop (possibly packaged with maim) and ffmpeg.
 
Old 12-30-2020, 09:46 PM   #8
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by ondoho View Post
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.
 
Old 12-31-2020, 06:12 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by lucmove View Post
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".
 
Old 01-09-2021, 01:04 AM   #10
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
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."
 
Old 01-09-2021, 12:28 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by lucmove View Post
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?

Last edited by ondoho; 01-09-2021 at 12:32 PM.
 
Old 01-09-2021, 12:44 PM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,996

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
Quote:
Originally Posted by lucmove View Post
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.
 
Old 01-10-2021, 12:33 PM   #13
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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.
 
Old 01-10-2021, 04:07 PM   #14
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Can I ask what this widow is? Or what does this window do? Do you need to see the widow or some of the outputs that are happening in the window?
 
Old 01-11-2021, 01:31 PM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by teckk View Post
Can I ask what this widow is? Or what does this window do? Do you need to see the widow or some of the outputs that are happening in the window?
https://www.linuxquestions.org/quest...op-4175679061/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Green Recorder – A Simple Screen Recorder For Linux With Wayland Support LXer Syndicated Linux News 0 09-08-2017 01:37 PM
LXer: Linux Desktop Recorder App Green Recorder 3.0 Released LXer Syndicated Linux News 0 08-08-2017 04:55 PM
Screen recorder with audio recorder JJJCR Linux - Software 1 07-04-2017 02:02 AM
VOX Recorder and Audio Timer Recorder? devmoc Linux - Software 6 10-23-2009 11:55 PM
I can't configure my cd-dvd recorder as a recorder!!! slamd64 Lier Linux - Software 4 10-26-2006 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration