Mashes are essentially edit decision lists and can be described completely by the mash tag and its children. Together they supply all the information needed to either display or render a mash, so they can be included directly in applet configuration or API requests.
<mash>
<clip />
<media />
<option />
</mash>
The clip tags represent instances of media assets which in turn are
represented by media tags having the same 'id' attribute. The option tag is used to define fonts referenced in clips - there will be one for every unique font ID found in Modular Media tags.
The clip tags must all be within the mash tag, but media and option tags can also appear elsewhere in the configuration. In the context of API requests this means alternative syntax like this is supported:
<moviemasher>
<mash>
<clip />
</mash>
<media />
<option />
</moviemasher>
In the context of applet configuration this means that media and option tags can appear in any configuration loaded at launch time, before remote source tags are triggered.
The mash and clip tags also support the addition of arbitrary attributes and children as long as their names don't conflict with existing ones. These are simply passed through whenever the mash is posted as XML data by the CGI control and are ignored by the Transcoder during rendering.
Attributes config: url to a configuration file with a moviemasher tag
clip:
crop: boolean - zero (false) or one (true)
media:
option:
fps: integer frames per second
id: any alphanumeric string
quantize: integer frames per second
|