clvLabs/PyATEMMax

Chroma Keying - Advanced Settings

jannickgl opened this issue · 1 comments

Is there a way to set and read advanced upstream key settings like Key Adjustement, Chroma Correction or Color Adjustement of the Upstream Key when using Chroma ?

And if not, is it planned to add this functionality in the future ? 😄

Thanks in advance.

Capture

Hi @jackygeee,

Having a look at the Set methods documentation I find a few methods to make adjustments to keys and keyers (sorry... don't know the difference)

Have you tried with any of these ?

Keys

  • setKeyChromaGain(mE, keyer, gain)
  • setKeyChromaHue(mE, keyer, hue)
  • setKeyChromaLift(mE, keyer, lift)
  • setKeyChromaNarrow(mE, keyer, narrow)
  • setKeyChromaYSuppress(mE, keyer, ySuppress)
  • setKeyDVEBorderBevel(mE, keyer, borderBevel)
  • setKeyDVEBorderBevelPosition(mE, keyer, borderBevelPosition)
  • setKeyDVEBorderBevelSoftness(mE, keyer, borderBevelSoftness)
  • setKeyDVEBorderEnabled(mE, keyer, borderEnabled)
  • setKeyDVEBorderHue(mE, keyer, borderHue)
  • setKeyDVEBorderInnerSoftness(mE, keyer, borderInnerSoftness)
  • setKeyDVEBorderInnerWidth(mE, keyer, borderInnerWidth)
  • setKeyDVEBorderLuma(mE, keyer, borderLuma)
  • setKeyDVEBorderOpacity(mE, keyer, borderOpacity)
  • setKeyDVEBorderOuterSoftness(mE, keyer, borderOuterSoftness)
  • setKeyDVEBorderOuterWidth(mE, keyer, borderOuterWidth)
  • setKeyDVEBorderSaturation(mE, keyer, borderSaturation)
  • setKeyDVEBottom(mE, keyer, bottom)
  • setKeyDVELeft(mE, keyer, left)
  • setKeyDVELightSourceAltitude(mE, keyer, lightSourceAltitude)
  • setKeyDVELightSourceDirection(mE, keyer, lightSourceDirection)
  • setKeyDVEMasked(mE, keyer, masked)
  • setKeyDVEPositionX(mE, keyer, positionX)
  • setKeyDVEPositionY(mE, keyer, positionY)
  • setKeyDVERate(mE, keyer, rate)
  • setKeyDVERight(mE, keyer, right)
  • setKeyDVERotation(mE, keyer, rotation)
  • setKeyDVEShadow(mE, keyer, shadow)
  • setKeyDVESizeX(mE, keyer, sizeX)
  • setKeyDVESizeY(mE, keyer, sizeY)
  • setKeyDVETop(mE, keyer, top)
  • setKeyLumaClip(mE, keyer, clip)
  • setKeyLumaGain(mE, keyer, gain)
  • setKeyLumaInvertKey(mE, keyer, invertKey)
  • setKeyLumaPreMultiplied(mE, keyer, preMultiplied)
  • setKeyPatternInvertPattern(mE, keyer, invertPattern)
  • setKeyPatternPattern(mE, keyer, pattern)
  • setKeyPatternPositionX(mE, keyer, positionX)
  • setKeyPatternPositionY(mE, keyer, positionY)
  • setKeyPatternSize(mE, keyer, size)
  • setKeyPatternSoftness(mE, keyer, softness)
  • setKeyPatternSymmetry(mE, keyer, symmetry)

Keyers

  • setKeyerBottom(mE, keyer, bottom)
  • setKeyerFillSource(mE, keyer, fillSource)
  • setKeyerFlyEnabled(mE, keyer, flyEnabled)
  • setKeyerFlyKeyFrame(mE, keyer, keyFrame)
  • setKeyerKeySource(mE, keyer, keySource)
  • setKeyerLeft(mE, keyer, left)
  • setKeyerMasked(mE, keyer, masked)
  • setKeyerOnAirEnabled(mE, keyer, enabled)
  • setKeyerRight(mE, keyer, right)
  • setKeyerTop(mE, keyer, top)
  • setKeyerType(mE, keyer, type_)

If you don't find what you need there, I'm afraid I won't be able to add it myself (would take too much time as it needs protocol reverse engineering), but the issue could be kept open in case somebody wants to have a go with it.