-
Notifications
You must be signed in to change notification settings - Fork 5
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
Mouse pointer offset. #2
Comments
Offset happens when you resize the source which is used for cursor. This is fixed in Multiple monitors setup is not supported. |
@mayank1513 resizing now works. Let me know if bug is persist. |
Update crop doesn't change anything. I have cropped area and highlight image follows cursor as if recorded area wasn't cropped. It matches cursor when in one corner, but moving away from the corner increases the offset. What am I missing? |
@Karmalakas what is your use case? If you are trying to create zoom, might as well try using this script https://github.com/tryptech/obs-zoom-and-follow . Update crop checkbox is used for highlighting e.g: invert color, change gamma via color correction filter. It can be used as zoom but there is better solution for that by zoom and follow script. |
Here you go. I hope this clarifies what I mean :) All I want, is just for the image to follow cursor |
Do your monitor resolution match base canvas resolution? |
There can't be any offset issue if you'll set base canvas resolution to your monitor resolution. Try adding a desktop capture again( so it will be updated). Also, did you resize your cursor (some scene item) ? |
Also noticed, if crop ratio doesn't match output ratio and I move desktop source to the left, cursor image completely ignores where my desktop ends and goes beyond the monitor frame (don't even know how to explain). It seems all cursor script cares about, is full display resolution and where cursor is on display and calculates where it should be on the output |
Exactly, here is the logic behind that OBS-Studio-Cursor-skin/mouse_skin_obs.py Lines 32 to 42 in e02d2bd
You might also try different approach with scene item transform, hold alt and adjust crop region via dragging borders. |
But then in output video it leaves all this black area :( Anyway, thank you for this nice script :) |
Okay, I am closing it then. |
Nice script but some issues needs to be resolved before it can be used.
The image and cursor have large offset. I am using two monitors/display. I am capturing my second display. But image follows the mouse pointer only on primary display and that too with large offset.
The text was updated successfully, but these errors were encountered: