obs-zoom-and-follow icon indicating copy to clipboard operation
obs-zoom-and-follow copied to clipboard

Empty zoom source list [Linux] [BSPWM]

Open Flinner opened this issue 3 years ago • 1 comments

This is related to #74 but i see no error logs at all.

testing these lines manually

https://github.com/tryptech/obs-zoom-and-follow/blob/1006b7b33ea69b3cde75a9a8ce0ec17a0622a5c1/zoom_and_follow_mouse.py#L60-L67

gives

>>> import pywinctl as pwc
>>> pwc.getAllWindows()
[LinuxWindow(hWnd=<class 'Xlib.display.Window'>(0x01200003)), .....]
>>> pwc.getAllScreens()
{'eDP-1': ........}}

so the library works (?) for me, but the source list is still empty

I use v2022.09.26, copied the script directly from the repo (so it is latest version)

when i press "Refresh list of sources" nothing happens, zero logs from the script

thanks for making this tool, any help is appreciated

Flinner avatar Oct 17 '22 10:10 Flinner

https://github.com/tryptech/obs-zoom-and-follow/blob/1006b7b33ea69b3cde75a9a8ce0ec17a0622a5c1/zoom_and_follow_mouse.py#L631-L632

my source is of type "xshm_input", tried adding it like so:

            if source_type in { "monitor_capture", "window_capture",
                                "game_capture","xshm_input", "display_capture" }:

it is now detected! but look how "zooming" looks like :( i have to type manually the resolution to remove the zoom

https://user-images.githubusercontent.com/85732279/196154827-84a9344c-e883-47c8-bade-a6ff8e57680a.mp4

To describe it, i would say my video is cropped not zoomed

EDIT

I followed instructions about "Edit Transform" and now it works, but i had to manually set screen size for it to work

Flinner avatar Oct 17 '22 10:10 Flinner

Thank you for finding that information, I have updated the script accordingly, but I'm not sure if monitor sizes will be reported properly. If not, you will have to continue to manually set the screen size.

tryptech avatar Oct 21 '22 21:10 tryptech