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

custom recordign area #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

julapy
Copy link

@julapy julapy commented Nov 6, 2017

hi @Akevlam,

here is the code for recording a custom area of the screen.

this is just what i got working and you might want to refactor the code so that it gels better with the rest of your plugin.

ive added a couple methods in iVidCapProVideo.cs

  • SetCaptureRect
  • SetCaptureRectWithNormalisedScreenCoordinates

ive also removed SetCaptureViewport function as it now seemed redundant.

i wanted to have the entry point functions for changing the capture rect inside iVidCapPro.cs
but that would require refactoring the begin record function to accept a rect, rather then just width and height of the video. so thought that you'll probably have a better idea of how the API for the plugin should work...

let me know if you have any questions about the changes in the PR.

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

Successfully merging this pull request may close these issues.

1 participant