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

Implement window capture #41

Open
adryzz opened this issue Oct 30, 2022 · 3 comments
Open

Implement window capture #41

adryzz opened this issue Oct 30, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@adryzz
Copy link
Collaborator

adryzz commented Oct 30, 2022

On x11grab the window_id input option is available, while on gdigrab the window title can be provided, but i need to look further into using a HWND instead of a title

@adryzz adryzz added enhancement New feature or request help wanted Extra attention is needed labels Oct 30, 2022
@adryzz adryzz self-assigned this Oct 30, 2022
@adryzz
Copy link
Collaborator Author

adryzz commented Oct 30, 2022

Was able to get it to work for x11grab, using the windows_id input option

image

@Redth
Copy link

Redth commented Oct 30, 2022

Any idea what the equivalent should be in theory on macos? Happy to try and help test it out if you can point me in the right direction.

@Speykious
Copy link
Owner

Any idea what the equivalent should be in theory on macos? Happy to try and help test it out if you can point me in the right direction.

And we would be very happy to have a Mac user help us here! None of us have Macs, so we can only rely on FFmpeg's support for Mac input formats and haven't really been able to test anything Mac-related. :(

So the first place we can look at for this is FFmpeg's documentation on input formats. The ones that MacOS uses to my knowledge are AVFoundation and QTKit (which I think is no longer available).

In https://ffmpeg.org/ffmpeg-all.html#avfoundation, I didn't really see any option for capturing a window... I hope we don't have to use another native solution for this...

@adryzz adryzz mentioned this issue Oct 30, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants