Sample Configuration File

Windows Media Encoder SDK banner art

The following XML code is a sample configuration file that performs the following operations on a Windows Media file:

  • Adds two attributes (Author and Description).
  • Adds a marker (Chapter 1) and removes a marker (Chapter 2).
  • Adds two scripts (URL and FILENAME types):
  <?xml version="1.0"?>
<WMBasicEdit >
    <Attributes >
        <WMENC_STRING Name="Author" Value="Author's Name" />
        <WMENC_STRING Name="Description" Value="Descriptive text" />
                  </Attributes>

    <Markers >
        <Marker Name="Chapter1" Time="1950000000" />
        <Marker Name="Chapter2" Time="2700000000" Operation="remove" />
    </Markers>

    <Scripts >
        <Script Type="URL"
            Command="http://www.microsoft.com"
            Time="750000000" />
        <Script Type="FILENAME"
            Command="foo.wmv"
            Time="1250000000" />
    </Scripts>
</WMBasicEdit>

See Also



Page view tracker