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

Not able to get it to work on M2 Macbook #39

Open
ApexTrades opened this issue Jul 7, 2024 · 1 comment
Open

Not able to get it to work on M2 Macbook #39

ApexTrades opened this issue Jul 7, 2024 · 1 comment

Comments

@ApexTrades
Copy link

Hey, I can't seem to get this working on a Mac here is the debug. If anyone could help i'd appreciate this.

[obs-zoom-to-mouse.lua]
[obs-zoom-to-mouse.lua] ----------------------------------------------------
[obs-zoom-to-mouse.lua] Help Information for OBS-Zoom-To-Mouse v1.0
[obs-zoom-to-mouse.lua] https://github.com/BlankSourceCode/obs-zoom-to-mouse
[obs-zoom-to-mouse.lua] ----------------------------------------------------
[obs-zoom-to-mouse.lua] This script will zoom the selected display-capture source to focus on the mouse
[obs-zoom-to-mouse.lua]
[obs-zoom-to-mouse.lua] Zoom Source: The display capture in the current scene to use for zooming
[obs-zoom-to-mouse.lua] Zoom Factor: How much to zoom in by
[obs-zoom-to-mouse.lua] Zoom Speed: The speed of the zoom in/out animation
[obs-zoom-to-mouse.lua] Auto follow mouse: True to track the cursor while you are zoomed in
[obs-zoom-to-mouse.lua] Follow outside bounds: True to track the cursor even when it is outside the bounds of the source
[obs-zoom-to-mouse.lua] Follow Speed: The speed at which the zoomed area will follow the mouse when tracking
[obs-zoom-to-mouse.lua] Follow Border: The %distance from the edge of the source that will re-enable mouse tracking
[obs-zoom-to-mouse.lua] Lock Sensitivity: How close the tracking needs to get before it locks into position and stops tracking until you enter the follow border
[obs-zoom-to-mouse.lua] Auto Lock on reverse direction: Automatically stop tracking if you reverse the direction of the mouse
[obs-zoom-to-mouse.lua] Show all sources: True to allow selecting any source as the Zoom Source - You MUST set manual source position for non-display capture sources
[obs-zoom-to-mouse.lua] Set manual source position: True to override the calculated x/y (topleft position), width/height (size), and scaleX/scaleY (canvas scale factor) for the selected source
[obs-zoom-to-mouse.lua] X: The coordinate of the left most pixel of the source
[obs-zoom-to-mouse.lua] Y: The coordinate of the top most pixel of the source
[obs-zoom-to-mouse.lua] Width: The width of the source (in pixels)
[obs-zoom-to-mouse.lua] Height: The height of the source (in pixels)
[obs-zoom-to-mouse.lua] Scale X: The x scale factor to apply to the mouse position if the source size is not 1:1 (useful for cloned sources)
[obs-zoom-to-mouse.lua] Scale Y: The y scale factor to apply to the mouse position if the source size is not 1:1 (useful for cloned sources)
[obs-zoom-to-mouse.lua] Monitor Width: The width of the monitor that is showing the source (in pixels)
[obs-zoom-to-mouse.lua] Monitor Height: The height of the monitor that is showing the source (in pixels)
[obs-zoom-to-mouse.lua] More Info: Show this text in the script log
[obs-zoom-to-mouse.lua] Enable debug logging: Show additional debug information in the script log
[obs-zoom-to-mouse.lua]
[obs-zoom-to-mouse.lua] OBS Version: 30.1
[obs-zoom-to-mouse.lua] Current settings:
[obs-zoom-to-mouse.lua] {
[obs-zoom-to-mouse.lua] use_auto_follow_mouse = true,
[obs-zoom-to-mouse.lua] use_follow_outside_bounds = true,
[obs-zoom-to-mouse.lua] follow_speed = 1,
[obs-zoom-to-mouse.lua] follow_border = 50,
[obs-zoom-to-mouse.lua] follow_safezone_sensitivity = 4,
[obs-zoom-to-mouse.lua] use_follow_auto_lock = false,
[obs-zoom-to-mouse.lua] zoom_value = 5,
[obs-zoom-to-mouse.lua] zoom_speed = 1,
[obs-zoom-to-mouse.lua] use_monitor_override = false,
[obs-zoom-to-mouse.lua] monitor_override_x = 0,
[obs-zoom-to-mouse.lua] monitor_override_y = 0,
[obs-zoom-to-mouse.lua] monitor_override_w = 1920,
[obs-zoom-to-mouse.lua] monitor_override_h = 1080,
[obs-zoom-to-mouse.lua] monitor_override_sx = 1,
[obs-zoom-to-mouse.lua] monitor_override_sy = 1,
[obs-zoom-to-mouse.lua] monitor_override_dw = 1920,
[obs-zoom-to-mouse.lua] monitor_override_dh = 1080,
[obs-zoom-to-mouse.lua] debug_logs = true,
[obs-zoom-to-mouse.lua] }
[obs-zoom-to-mouse.lua] WARNING: Could not auto calculate zoom source position and size.
[obs-zoom-to-mouse.lua] Try using the 'Set manual source position' option and adding override values
[obs-zoom-to-mouse.lua] WARNING: Could not auto calculate zoom source position and size.
[obs-zoom-to-mouse.lua] Try using the 'Set manual source position' option and adding override values
[obs-zoom-to-mouse.lua] Zooming out
[obs-zoom-to-mouse.lua] Tracking mouse is off (due to zoom out)
[obs-zoom-to-mouse.lua] Zoomed out
[obs-zoom-to-mouse.lua] Zooming in
[obs-zoom-to-mouse.lua] Zoomed in
[obs-zoom-to-mouse.lua] Tracking mouse is on (due to auto follow)
[obs-zoom-to-mouse.lua] Zooming out
[obs-zoom-to-mouse.lua] Tracking mouse is off (due to zoom out)
[obs-zoom-to-mouse.lua] Zoomed out
[obs-zoom-to-mouse.lua] Zooming in
[obs-zoom-to-mouse.lua] Zoomed in
[obs-zoom-to-mouse.lua] Tracking mouse is on (due to auto follow)
[obs-zoom-to-mouse.lua] Tracking mouse is off
[obs-zoom-to-mouse.lua] Tracking mouse is on
[obs-zoom-to-mouse.lua] Tracking mouse is off
[obs-zoom-to-mouse.lua] Tracking mouse is on
[obs-zoom-to-mouse.lua] OBS Version: 30.1
[obs-zoom-to-mouse.lua] Current settings:
[obs-zoom-to-mouse.lua] {
[obs-zoom-to-mouse.lua] use_monitor_override = false,
[obs-zoom-to-mouse.lua] monitor_override_x = 0,
[obs-zoom-to-mouse.lua] monitor_override_y = 0,
[obs-zoom-to-mouse.lua] monitor_override_w = 1920,
[obs-zoom-to-mouse.lua] monitor_override_h = 1080,
[obs-zoom-to-mouse.lua] monitor_override_sx = 1,
[obs-zoom-to-mouse.lua] monitor_override_sy = 1,
[obs-zoom-to-mouse.lua] monitor_override_dw = 1920,
[obs-zoom-to-mouse.lua] monitor_override_dh = 1080,
[obs-zoom-to-mouse.lua] debug_logs = true,
[obs-zoom-to-mouse.lua] use_auto_follow_mouse = true,
[obs-zoom-to-mouse.lua] use_follow_outside_bounds = false,
[obs-zoom-to-mouse.lua] follow_speed = 0.25,
[obs-zoom-to-mouse.lua] follow_border = 8,
[obs-zoom-to-mouse.lua] follow_safezone_sensitivity = 4,
[obs-zoom-to-mouse.lua] use_follow_auto_lock = false,
[obs-zoom-to-mouse.lua] zoom_value = 2,
[obs-zoom-to-mouse.lua] zoom_speed = 0.06,
[obs-zoom-to-mouse.lua] }
[obs-zoom-to-mouse.lua] Tracking mouse is on
[obs-zoom-to-mouse.lua] Zooming in
[obs-zoom-to-mouse.lua] Zoomed in
[obs-zoom-to-mouse.lua] Tracking mouse is on (due to auto follow)
[obs-zoom-to-mouse.lua] Cursor stopped. Tracking locked to 0, 0
[obs-zoom-to-mouse.lua] Zooming out
[obs-zoom-to-mouse.lua] Tracking mouse is off (due to zoom out)
[obs-zoom-to-mouse.lua] Zoomed out
[obs-zoom-to-mouse.lua] Zooming in
[obs-zoom-to-mouse.lua] Zoomed in
[obs-zoom-to-mouse.lua] Tracking mouse is on (due to auto follow)
[obs-zoom-to-mouse.lua] Cursor stopped. Tracking locked to 0, 0
[obs-zoom-to-mouse.lua] WARNING: Could not auto calculate zoom source position and size.
[obs-zoom-to-mouse.lua] Try using the 'Set manual source position' option and adding override values
[obs-zoom-to-mouse.lua] Locked area exited - resume tracking
[obs-zoom-to-mouse.lua] WARNING: Could not auto calculate zoom source position and size.
[obs-zoom-to-mouse.lua] Try using the 'Set manual source position' option and adding override values
[obs-zoom-to-mouse.lua] Zooming out
[obs-zoom-to-mouse.lua] Tracking mouse is off (due to zoom out)
[obs-zoom-to-mouse.lua] Zoomed out
[obs-zoom-to-mouse.lua] Zooming in
[obs-zoom-to-mouse.lua] Zoomed in
[obs-zoom-to-mouse.lua] Tracking mouse is on (due to auto follow)
[obs-zoom-to-mouse.lua] Cursor stopped. Tracking locked to 0, 0
[obs-zoom-to-mouse.lua] Locked area exited - resume tracking
[obs-zoom-to-mouse.lua] Zooming out
[obs-zoom-to-mouse.lua] Tracking mouse is off (due to zoom out)
[obs-zoom-to-mouse.lua] Zoomed out
[obs-zoom-to-mouse.lua] Zooming in
[obs-zoom-to-mouse.lua] Zoomed in
[obs-zoom-to-mouse.lua] Tracking mouse is on (due to auto follow)
[obs-zoom-to-mouse.lua] Cursor stopped. Tracking locked to 0, 0
[obs-zoom-to-mouse.lua] Locked area exited - resume tracking
[obs-zoom-to-mouse.lua] Tracking mouse is off
[obs-zoom-to-mouse.lua] Tracking mouse is on
[obs-zoom-to-mouse.lua] Zooming out
[obs-zoom-to-mouse.lua] Tracking mouse is off (due to zoom out)
[obs-zoom-to-mouse.lua] Zoomed out
[obs-zoom-to-mouse.lua] Zooming in
[obs-zoom-to-mouse.lua] Zoomed in
[obs-zoom-to-mouse.lua] Tracking mouse is on (due to auto follow)
[obs-zoom-to-mouse.lua] Cursor stopped. Tracking locked to 0, 0
[obs-zoom-to-mouse.lua] Locked area exited - resume tracking
[obs-zoom-to-mouse.lua] Tracking mouse is off

@ZakirG
Copy link

ZakirG commented Feb 8, 2025

I may have fixed your issues in my version of the script. The original script did not work for me on Mac OS Sequoia on M4 Pro with Retina display. Feel free to try mine: https://github.com/ZakirG/obs-zoom-to-mouse-mac-sequoia

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