clvLabs / PyATEMMax

A Python library to monitor and control Blackmagic Design ATEM video switchers.
https://clvlabs.github.io/PyATEMMax/
GNU General Public License v3.0
77 stars 20 forks source link

SuperSource cannot select a video source #41

Open ThomasBaeker opened 1 year ago

ThomasBaeker commented 1 year ago

Hello, I have an ATEM Mini Extreme and I want to use PyATEMMax to display multiple sources on the screen. Similar to a quad splitter. SuperSource is good for this and I've been trying to display a video source for several days now.

With small scripts I made the first attempts to change the position and size of the boxes. It is working.

Here is my test code to display source 1 in box 1:

import PyATEMMax

switcher = PyATEMMax.ATEMMax() switcher.connect("192.168.178.50") if switcher.waitForConnection(infinite=False): switcher.setSuperSourceBoxParametersEnabled(switcher.atem.boxes.box1,1) switcher.setSuperSourceBoxParametersInputSource(switcher.atem.boxes.box1,switcher.atem.videoSources.input1.value) switcher.setSuperSourceBoxParametersPositionX(switcher.atem.boxes.box1,-2) switcher.setSuperSourceBoxParametersPositionY(switcher.atem.boxes.box1,2) switcher.setSuperSourceBoxParametersSize(switcher.atem.boxes.box1, 0.4) print("Settings updated") otherwise: print("ERROR: no response from switcher") switcher.disconnect()

Can someone help me out?

stefanoskj commented 1 year ago

Hello Thomas, Have you found a solution? I have the same problem , I don't manage to change input in supersource. Let me know Thanks

ThomasBaeker commented 1 year ago

unfortunately not. I haven't found a solution. The author has unfortunately not reported. too bad