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

Record a specific window (macOS) #23

Open
richiemcilroy opened this issue Apr 11, 2024 · 6 comments
Open

Record a specific window (macOS) #23

richiemcilroy opened this issue Apr 11, 2024 · 6 comments

Comments

@richiemcilroy
Copy link
Contributor

richiemcilroy commented Apr 11, 2024

Requirements

  • When clicking "Window" display option, open a context menu with the names of available windows to capture from (e.g. whatever apps are open, Spotify, Chrome, VSCode, etc...).
  • When an option is selected, focus on that window and bring it into view.
  • When recording, only record the parameters of that Window (size, position, etc).
    -- For now, this can just be done by adding a filter to the Ffmpeg command, or directly editing the raw frame data in media.rs.
  • Show the "Window" display option as the selected option

Screenshot 2024-04-11 at 13 45 26

You can use this guide to help you get started developing locally as quickly as possible.

@richiemcilroy
Copy link
Contributor Author

/bounty $150

Copy link

algora-pbc bot commented Apr 11, 2024

💎 $150 bounty • Cap

Steps to solve:

  1. Start working: Comment /attempt #23 with your implementation plan
  2. Submit work: Create a pull request including /claim #23 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to CapSoftware/Cap!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @devrajgadhvi Apr 13, 2024, 8:54:13 AM WIP
🟢 @syedbarimanjan Apr 21, 2024, 4:28:06 PM WIP

@devrajgadhvi
Copy link

devrajgadhvi commented Apr 13, 2024

I am trying to implement this, currently I am setting up dev environment and then procced with the issue further. Recently found out about Cap from a opensource thread. You can take this as /attempt #23

Out of the two options which one is preferred more? As I am going to learn about both anyway so I will focus on that one more.

@devrajgadhvi
Copy link

@richiemcilroy Is it possible to test this on windows by any chance? Dropped my macbook , it will take sometime to get it back :(

@syedbarimanjan
Copy link

@richiemcilroy Is it possible to test this on windows by any chance? Dropped my macbook , it will take sometime to get it back :(

you will get some errors on windows if you are able to solve them then you are good to go.

@ItsEeleeya
Copy link
Contributor

For macOS, if we add support for Safari in the web version then in theory we could share the logic with the desktop app?
(I'm not totally sure if the WebKit that's used for the WebView supports this)

I believe one of the benefits to that is how well integrated it is with macOS, which would make implementing and maintaining it much easier. It already lets you easily select a video and gives the same recording options in the menu bar as if you were using FaceTime or some other app like Discord.
Later on this would also work on Linux.

If this is ok instead of doing it with ffmpeg, I'll start working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants