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

Removing black bars from captured video #110

Open
darind opened this issue Mar 16, 2022 · 0 comments
Open

Removing black bars from captured video #110

darind opened this issue Mar 16, 2022 · 0 comments

Comments

@darind
Copy link

darind commented Mar 16, 2022

When using RecordRTC in a chrome extension to capture the active tab, the resulting video is scaled and some black bars appear on top and bottom (letterboxed). Is it possible to control this behaviour with the API in order to remove those bars or at least be able to calculate their exact size?

The reason I need to know their size is because I perform some transformations on the video frames and I have to draw some shapes on specific position relative to the screen origin point (0x0).

image

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

No branches or pull requests

1 participant