Movie Masher

open source video editing tools for your site

HomeExamplesFAQDocumentationDownload

XML Tags

All Movie Masher data is described in XML format - tags are used to define media, mashes, interface layout and runtime options. Each XML configuration document contains a moviemasher tag which acts as a top level container for all other tags:
<moviemasher>
  <panels>
    <panel>
      <bar>
        <control />
      </bar>
    </panel>
  </panels>
  <mash>
    <clip />
  </mash>
  <source>
    <media /> 
  </source>
  <option />
</moviemasher>

A single interface layout is described using the panels tag, with each boxed area represented by a separate panel tag. These areas are further segmented using the bar tag which ultimately contains a control tag for each button, slider and other interface widget including the player, timeline and media browser. Collectively these are referred to as Controls.

There will be a single media tag for each video, audio and image asset that can be used in the system, as well as each of the Effects and Transitions. An arrangement of media items is described using the mash tag, which contains a clip tag for each instance.

The source tag can be used to load additional mash and media related configuration, that can be tied to the player or browser controls. And the option tag can be used to specify typefaces, preferences and security options to the system.

© Movie Masher 2006-2010