151
www.analogway.com
USER MANUAL
USER MANUAL
USER MANUAL
USER MANUAL
USER MANUAL
USER MANUAL
USER MANUAL
USER MANUAL
D.c.
Control model
Pro has three layers of control abstractions: objects, controls and parameters. Objects are independent units
that implement some parts of Pro
’s functionality. Objects usually have
some user controllable parameters to
control functionality. They are grouped into different controls. Controls contain any number of parameters.
Parameters are basic controllable entities and they can be of different types:
-
Int
64bit signed integer
-
Double
floating point value
-
String
UTF-8 string
-
DoubleArray
Array of floats
-
Bool
True / false value which is actually integer value where 0 is false and any other value is true.
One video layer in Pro consists of several objects: Source, Composer and Audio which are named source
n
,
layer
n
and audio
n
where
n
is the number of the layer. Layer 1 is controlled by objects source1, layer1 and
audio1.
To get description of controls on a given object you can send command
ctrl_info
object
where
object
is
name of the object. By sending command
ctrl_info source1
a similar output is displayed:
cmd_ctrlInfo() at cmdiface.cc:2409: Control info for source1:
Control:object:0:"Object controls"
Parameter:name:String:"Object name":0:source1
Parameter:description:String:"Description of the object":0:
Control:info:0:"Media information"
r
Parameter:play_state:Int:"Play state. Like Media Mode, but this is
read-only and tells the actual playback state.":1:6:0:255
Parameter:timecode:Int:"Timecode of currently playing media
in nanoseconds":1:0:0:9223372036854775807
Parameter:media_length:Int:"Length of current media
in nanoseconds":1:0:0:9223372036854775807
Control:selection:0:"Media selection"
Parameter:slot:Int:"Currently playing media":0:0:0:255
Parameter:collection:Int:"Currently playing media library":0:0:0:255
Control:control:0:"Media control"
Parameter:media_end_action:Int:"Media: Action to take at end of file":0:0:0:10
Parameter:play_state_req:Int:"Media: Requested play mode":0:6:0:6
Parameter:seek:Double:"Seek":2:0:0:1
Control:sync:0:"Layer synchronization"
Parameter:source:Int:"Sync source":0:0:0:255
Control:time:0:"Media timing"
Parameter:fps:Double:"Frame rate control":0:30:1:140
Parameter:relative_fps:Double:"Relative fps":0:1:0.1:2
Parameter:fps_mode:Int:"FPS mode":0:0:0:1
Parameter:effective_fps:Double:"Current effective fps":1:0:0:10000
Parameter:fps_control_allowed:Bool:"":1:1:0:1
Control:frame_blending:0:"Frameblending"
Parameter:mode:Int:"Frameblending mode":0:0:0:1