Cap icon indicating copy to clipboard operation
Cap copied to clipboard

Record a specific window (macOS)

Open richiemcilroy opened this issue 10 months ago • 6 comments

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 avatar Apr 11 '24 12:04 richiemcilroy

/bounty $150

richiemcilroy avatar Apr 11 '24 12:04 richiemcilroy

~~## 💎 $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

algora-pbc[bot] avatar Apr 11 '24 12:04 algora-pbc[bot]

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

devrajgadhvi avatar Apr 13 '24 08:04 devrajgadhvi

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

devrajgadhvi avatar Apr 23 '24 09:04 devrajgadhvi

@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.

syedbarimanjan avatar Apr 23 '24 12:04 syedbarimanjan

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.

ItsEeleeya avatar Apr 30 '24 18:04 ItsEeleeya

Curious why we closed this issue

daidi avatar Aug 14 '24 06:08 daidi

Hey @daidi, I'm currently working on this and it should be ready for review during next week.

ItsEeleeya avatar Aug 14 '24 11:08 ItsEeleeya

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~~~~ :)

daidi avatar Aug 14 '24 14:08 daidi

Hey @daidi, I'm currently working on this and it should be ready for review during next week.

any update?bro

daidi avatar Sep 06 '24 10:09 daidi

hey @daidi - we're close to releasing Cap v0.5, which includes support for this. Cheers!

richiemcilroy avatar Sep 06 '24 12:09 richiemcilroy