Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

screencast: support for capturing areas #582

Open
warningnonpotablewater opened this issue May 4, 2021 · 5 comments
Open

screencast: support for capturing areas #582

warningnonpotablewater opened this issue May 4, 2021 · 5 comments
Labels
needs discussion Needs discussion on how to implement or fix the corresponding task new api This requires adding API to an existing portal portal: screencast Screencast portal

Comments

@warningnonpotablewater
Copy link

Currently the screencast portal only supports capturing monitors and windows, but it can also be useful to support capturing arbitrary areas of the screen(s). Such a feature could be implemented using mutter's RecordArea screencast function for xdg-desktop-portal-gtk and using slurp for xdg-desktop-portal-wlr.

@matthiasclasen
Copy link
Contributor

I'd be curious what the use case is, but if you want to provide a patch that adds and handles a suitable source type for that, why not ?

@SeaDve
Copy link

SeaDve commented Jun 19, 2021

I think the use case is similar to screenshot, sometimes you don't want to record the entire window, just a section of a window, without having to crop it using video editors.

Possibly recording a video meeting, without the ui elements, only the actual meeting.

@swick
Copy link
Collaborator

swick commented Jun 19, 2021

The application receiving the video stream can crop it at will. I think you'll have to explain why cropping the stream on the compositor instead is advantageous.

@warningnonpotablewater
Copy link
Author

Consider the following case: the client wants to record an area than spans several monitors (such as, for example, the whole stage consisting of every monitor connected). In order to do that, the client needs to be aware of the logical placement of the monitors on the stage. While it's possible to do it manually, it's extremely painful and unreliable since a simple rearrangement of the monitors will break the whole thing.

@vchernin
Copy link

See also emersion/xdg-desktop-portal-wlr#154

@TingPing TingPing added the new api This requires adding API to an existing portal label Oct 26, 2021
@GeorgesStavracas GeorgesStavracas moved this to Needs Triage in Triage Oct 2, 2023
@GeorgesStavracas GeorgesStavracas added portal: screencast Screencast portal needs discussion Needs discussion on how to implement or fix the corresponding task labels Oct 5, 2023
@GeorgesStavracas GeorgesStavracas moved this from Needs Triage to Triaged in Triage Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion Needs discussion on how to implement or fix the corresponding task new api This requires adding API to an existing portal portal: screencast Screencast portal
Projects
No open projects
Status: Triaged
Development

No branches or pull requests

7 participants