← 返回支持中心
proEvents

活动与广电专业支持

查看支持范围

如问题跨越现场活动、移动制作、广电运营或混合 proAV 与流媒体部署,请从这里开始。

  • 活动、广电、租赁与制作运营
  • 结合 proAV 处理器与流媒体设备的混合工作流
  • 适用于演出关键或时间敏感问题的快速分流

开始支持对话

告诉我们您的设备型号和问题,或选择一个示例问题。

支持知识

从左侧目录选择文章后,在此查看完整内容。

API / mini Series API / 0x01 Set Layer Parameters

Set The Layer Parameters of The Preview Scene

Applicable Devices : mini-pro, mini-pro V3, mini v3, mini-ISO, mini-edge SDI, mini-mx SDI, mini-max, mini-extreme ISO

🚨  These commands contain a data block buffer[].

For clarity, the first 19 bytes are displayed as text, while the data block is displayed in HEX format.
SymbolDefinitionRemarks
Start bit<The command uses "<" as the start bit
TransmitT
ADDR0x00
SN0x00
CMD0xF0
DAT10x01Set layer parameters
DAT20x00Layer index value 0-63
DAT30x14buffer block length (low byte)
DAT40x00buffer block length (high byte)
CHKSUM0x05Check sum = ADDR + SN + CMD + DAT1 + DAT2 + DAT3 + DAT4
End bit>The command uses ">" as the end bit
data block (hex)buffer[0]crop pos_x (low byte)
buffer[1]crop pos_x (high byte)
buffer[2]crop pos_y (low byte)
buffer[3]crop pos_y (high byte)
buffer[4]crop size_w (low byte)
buffer[5]crop size_w (high byte)
buffer[6]crop size_h (low byte)
buffer[7]crop size_h (high byte)
buffer[8]scale pos_x (low byte)
buffer[9]scale pos_x (high byte)
buffer[10]scale pos_y (low byte)
buffer[11]scale pos_y (high byte)
buffer[12]scale size_w (low byte)
buffer[13]scale size_w (high byte)
buffer[14]scale size_h (low byte)
buffer[15]scale size_h (high byte)
buffer[16]freeze 0: active 1: frozen
buffer[17]mirror 0: normal 1: mirror
buffer[18]input port input source index 0-15
buffer[19]Check sum = buffer[0] + buffer[1] + buffer[2]+... + buffer[18]

Command list

Start bitInstruction TypeAddressSNCommandData 1Data 2Data 3Data 4ChecksumEnd bitdata block(Hex)
Set layer parameters<T0000F00100140005>0000000080073804000000008007380400000C92

Application example

FunctionSend & readbackResult
Set layer 1 parameters (cropX:0,cropY:0,cropW: 1920,cropH:1080, scaleX:0, scaleY:0, scaleW:1920, scaleH:1080,freeze :0, mirror:0,input port:13)<T0000F00100140005> 0000000080073804000000008007380400000C92
<F0000F01A0041004B>Set successfully
After configuring the basic layer parameters, synchronize the remaining layer parameters and save them to the scene.
FunctionSend & readbackResult
Set the alpha and order of layer 1Refer to 0xF0, 0x02
Set the screen group index of layer 1Refer to 0xF0, 0x1D
Set the layer group of layer 1Refer to 0xF0, 0x1A
Set the layer lock of layer 1Refer to 0xF0, 0x17
Save scene 1Refer to 0x68, 0x1A
Push to the main output for displayRefer to 0xF0, 0x18