Switcher hardware control

Multiviewer routing

class pyatem.command.MultiviewPropertiesCommand(index, layout=None, swap=None)

Implementation of the CMvP command. This sets the layout of a multiview output and can set a flag for swapping the program and preview window.

Offset

Size

Type

Description

0

1

u8

Mask, see table below

1

1

u8

Multiviewer index

2

1

u8

Layout

3

1

bool

Swap program/preview

See the MultiviewPropertiesField for the description of the layout value.

__init__(index, layout=None, swap=None)
Parameters
  • index – 0-indexed multiview output number

  • layout – The layout number to use, or None

  • swap – Make the program/preview swapped or not, or None

class pyatem.command.MultiviewInputCommand(index, window, source)

Implementation of the CMvI command. This routes a source to one of the windows in a multiview output

Offset

Size

Type

Description

0

1

u8

Multiviewer index

1

1

u8

Window index

2

2

u16

Source index

__init__(index, window, source)
Parameters
  • index – 0-indexed multiview output number

  • window – The window number on the multiview

  • source – The source index index to route to the window