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

Dynamic zoom/crop #5

Open
cordellstoyer opened this issue Nov 30, 2020 · 5 comments
Open

Dynamic zoom/crop #5

cordellstoyer opened this issue Nov 30, 2020 · 5 comments

Comments

@cordellstoyer
Copy link

Hey friend, I had an idea but wasn't sure if it was technically possible. I do my edits in Adobe Premiere, and one of my methods is utilizing zoom to crop out undesirable elements. Let's say for example a female is wearing a revealing shirt, well instead of blacking out the entire screen I can simply zoom in and pan up a bit to effectively crop out unwanted elements. Would such a thing be possible with VideoSkip?

@fruiz500
Copy link
Owner

fruiz500 commented Nov 30, 2020 via email

@cordellstoyer
Copy link
Author

X, Y, and scale would be perfect, that's what Premiere uses. Blur might also be useful for certain things, like maybe a small picture on the wall or something.

@cordellstoyer
Copy link
Author

Follow up on that, is it possible to animate the zoom and pan? Like you specify Time A with x,y and Time B with another set of x,y values and it would animate from point A to B? I might be getting ahead of myself sorry lol, I'm just excited to try it out.

@fruiz500
Copy link
Owner

fruiz500 commented Dec 5, 2020

I've looked into it, and it's harder than anticipated. Sure, it is relatively easy to do a zoom on the video, but since the goal is to stop showing the part of the zoomed image that falls outside the original viewport, this requires a framing element with special overflow settings. Here's an article explaining how to do it: https://code-boxx.com/image-zoom-css-javascript/

The problem is that, at least in the extension version of VideoSkip, introducing this special element as a parent to the video is rather awkward and may break things on the page. Since the extension is the version that most people would use, it doesn't seem proper to introduce a capability that only the standalone version would be able to perform, with the extension falling back to simple screen blanking in the VideoSkip extension.

Please comment.

@fruiz500
Copy link
Owner

fruiz500 commented Dec 5, 2020 via email

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

2 participants