The Time Span Processor is used to convert between various duration formats. Its most common use is to convert a cue duration into milliseconds. It uses the .NET custom TimeSpan format strings for the input-format and output-format (https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-timespan-format-strings).
Param name | Mandatory | Description | Default Value | Possible Value |
---|---|---|---|---|
key | Yes | Name of the attribute we will be modifying. |
| Not null. |
input-format | Yes | Time format for the input format. |
| See Date Time Formats. |
output-format | Yes | Time format for the output format. | fff | See Date Time Formats. |
Example XML:
<TimeSpanProcessor>
<TimeSpanItems>
<TimeSpanItem key="cue_time_duration" input-format="s" output-format="fff" />
</TimeSpanItems>
</TimeSpanProcessor>