Cap
Cap copied to clipboard
Record a specific window (macOS)
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
You can use this guide to help you get started developing locally as quickly as possible.
/bounty $150
~~## 💎 $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 bounty • Share 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 |
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.
Options
@richiemcilroy Is it possible to test this on windows by any chance? Dropped my macbook , it will take sometime to get it back :(
@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.
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.
Curious why we closed this issue
Hey @daidi, I'm currently working on this and it should be ready for review during next week.
Hey @daidi, I'm currently working on this and it should be ready for review during next week.
wow, look forward to this and looking forward to coming online soon. feels important to me, thank you~~~~ :)
Hey @daidi, I'm currently working on this and it should be ready for review during next week.
any update?bro
hey @daidi - we're close to releasing Cap v0.5, which includes support for this. Cheers!