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

Set Key DVE Fill Source and Position #21

Closed maanitm closed 2 years ago

maanitm commented 2 years ago

How can you set the DVE Upstream Key, choose the two cameras, and set position. I am trying to build a Picture in Picture function using this library.

clvLabs commented 2 years ago

I don't know much about switchers, so my guess here can be wrong...

Reference: "set" methods documentation.

As far as I can see, there's only downstream methods in the library, I'm guessing the DVE Upstream Key you mention is what the library calls the Keyer, so you could try with the setKeyerXXXX() methods:

The related values can be read from switcher.keyer[mE][keyer] (see the keyer section in switcher state docs).

Please tell me if it helped so I can close the issue.