Pin


channels

Set the number of output channels (currently limited to 2), value parameter is text string with number of channels. The default setting is 1. Change this pin before writing to other pins.


deleteclip

Deletes video clip. Value parameter holds text string with clip name.


in <channel>

Marks current timecode for <channel> as IN point if the value parameter is true, or erases the IN point if value is false. Reads IN timecode for <channel>.


live <channel>

Enables/disables live mode for <channel>. Value parameter is "true" or "false".


loadclip

Loads video clip into play buffer. Value parameter is text string with clip name.


off

Disables the module and stops internal recorder. Value parameter is ignored.


on

Enables the module and starts internal recorder. Value parameter is ignored.


out <channel>

Marks current timecode for <channel> as out point if the value parameter is true, or erases the out point if value is false.

Read out timecode for <channel>.


saveclip

Saves recording from in to out point as video clip. Value parameter is text string with clip name.


speed <channel>

Sets speed of <channel> at which frames are output. Fixed frame output is set with speed 0, (delayed) real time playback with speed 100. Value parameter is text string with percentage value.


timecode <channel>

Changes <channel> to <timecode>. Value parameter is text string with timecode.
Read current timecode of <channel>.


Note by default 2 channels are available: 1 (PGM) and 2 (PVW).

Note timecode is in seconds with optional decimals.


Example


The following example sets playback to half speed.



apiwrite slomo 1, speed, 50