MLT Video Control Protocol (MVCP) Reference Documentation
Copyright (C) 2004-2009 Ushodaya Enterprised Limited
+Copyright (C) 2010-2011 Dan R. Dennedy
Author: Dan Dennedy <dan@dennedy.org>
-Last Revision: 2009-05-15
+Last Revision: 2011-04-17
General Format
The response body contains each command sent along with its arguments,
followed by each command's response status code and response body.
-
STATUS
Responds with the output of USTA for each unit and accepts no further
input. Each time the state of the unit changes, a new row is returned by
the server containing the state of the unit.
+
Unit Management
The following global commands manage the playout units within the server.
NLS
* NOT IMPLEMENTED IN MELTED YET *
-
UADD mlt-consumer[:argument]
Add a unit based upon the mlt-consumer id and optional constructor
argument.
Property "points" determines whether the playback engine restricts the
playback region to the in and out points. It takes one of the following
- values: use, ignore.
+ values: use, ignore. (not currently implemented)
UGET {unit} {key}
Get a unit's configuration property.
currently playing clip index.
CLEAN {unit}
- Removes all by the playing clip.
+ Removes all but the playing clip.
WIPE {unit}
Removes all clips before the playing clip.
(200%).
If the unit is stopped, then the frame position is reset to the first
frame. First frame depends upon the "points" unit configuration property
- and whether an in point has been established for the clip using the SIN
- command.
- Set the currently loaded clip's in point.
- Frame is zero-based and absolute. It is not dependent upon the clip's
- current in point.
- A frame-number of -1, resets the in point to 0.
+ (not currently implemented) and whether an in point has been established
+ for the clip using the SIN command.
FF {unit}
Fast forward the unit.
in reverse).
If the unit is stopped, then the frame position is reset to the first
frame. First frame depends upon the "points" unit configuration property
- and whether an in point has been established for the clip using the SIN
- command.
+ (not currently implemented) and whether an in point has been established
+ for the clip using the SIN command.
STEP {unit} {number-of-frames}
Adjust the current frame position by the number of frames specified.
Transfer the unit's clip to the target unit.
The clip inherently includes the in- and out-point information.
The target unit's "points" configuration property is set to "use."
+
+PUSH {unit}
+{size}
+{XML}
+ Append an in-band MLT XML document to the unit.
+ Do note that the size and XML arguments are on new lines.
+ Size is the size of the XML payload in bytes.
+ Returns 404 if the XML is malformed or if the XML producer fails parsing.