Camera control

The camera control command is for sending commands to attached Blackmagic Design cameras. On most ATEM hardware these commands are sent out over the program SDI output and received on the SDI inputs of the cameras. The ATEM Mini series can send the same commands over the HDMI inputs to attached Pocket Cinema cameras.

For connecting these two universes the Bidirectional SDI to HDMI mini converter can be used.

class pyatem.command.CameraControlCommand(destination, category, parameter, relative=False, datatype=None, data=None)

Implementation of the CCmd command. This sends a camera control command to an attached blackmagic design camera.

Offset

Size

Type

Description

0

1

int8

Destination

1

1

int8

Category

2

1

int8

Parameter

3

1

int8

Relative 0=off 1=on

4

1

int8

Datatype

5

4

?

unknown

8

1

int8

Number of elements

9

6

?

unknown

data depending on command

__init__(destination, category, parameter, relative=False, datatype=None, data=None)
Parameters
  • destination – Camera index, or 255 for broadcast

  • category – Command category

  • parameter – Command parameter

  • relative – Relative adjustment enable

  • datatype – Data type index

  • data – Data elements for command