You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ I made this for my own use when recording videos as I wanted a way to zoom into
6
6
7
7
Built with OBS v29.1.3
8
8
9
+
Now works on **Windows**, **Linux**, and **Mac**
10
+
9
11
Inspired by [tryptech](https://github.com/tryptech)'s [obs-zoom-and-follow](https://github.com/tryptech/obs-zoom-and-follow)
10
12
11
13
## Example
@@ -105,14 +107,17 @@ I don't know of an easy way of getting these values automatically otherwise I wo
105
107
Note: If you are also using a `transform crop` on the non-display capture source, you will need to manually convert it to a `Crop/Pad Filter` instead (the script has trouble trying to auto convert it for you for non-display sources).
106
108
107
109
## Known Limitations
108
-
* Currently this script is only tested on **Windows**
109
-
* Internally it uses [FFI](https://luajit.org/ext_ffi.html) to get the mouse position by loading the Win32 `GetCursorPos()` function
110
-
* You can now try out support for **Linux** and **Mac** using the latest version of the script (they have their own [FFI](https://luajit.org/ext_ffi.html) defines for getting the mouse position)
111
-
112
110
* Only works on `Display Capture` sources (automatically)
113
111
* In theory it should be able to work on window captures too, if there was a way to get the mouse position relative to that specific window
114
112
* You can now enable the [`Show all sources`](#More-information-on-'Show-All-Sources') option to select a non-display capture source, but you MUST set manual source position values
115
113
114
+
* Using Linux:
115
+
* You may need to install the [loopback package](https://obsproject.com/forum/threads/obs-no-display-screen-capture-option.156314/) to enable `XSHM` display capture sources. This source acts most like the ones used by Windows and Mac so the script can auto calculate sizes for you.
116
+
* The script will also work with `Pipewire` sources, but you will need to enable `Allow any zoom source` and `Set manual source position` since the script cannot get the size by itself.
117
+
118
+
* Using Mac:
119
+
* When using `Set manual source position` you may need to set the `Monitor Height` value as it is used to invert the Y coordinate of the mouse position so that it matches the values of Windows and Linux that the script expects.
0 commit comments