Cut Marks to Smil Operation

ID: cut-marks-to-smil


This operation parses a JSON containing cut marks into a SMIL that can be used by the Video Editor. It does this by attributing the given times to the specified tracks.

Tracks are assumed to start at 0. Likewise, cut marks are assumed to be specified relative to the beginning of the tracks.

Parameter Table

Configuration Keys Example Description
source-media-flavors presenter/prepared The flavors containing the video tracks.
source-json-flavor cut-marks/json The flavor of the JSON. Must contain exactly one file.
target-smil-flavor smil/cutmarks The flavor of the resulting SMIL.
target-tags archive (Optional) Tags to add to the resulting SMIL. Default is null

JSON Format

The JSON structure specifies all segments which should be kept after cutting. The property begin marks the start of a segment while duration its duration. The values are specified in milliseconds.

    "begin": 1672,
    "duration": 7199

Operation Example

    description="Process ingested cut marks by applying them to current tracks"
    <configuration key="source-media-flavors">presenter/prepared,presentation/prepared</configuration>
    <configuration key="source-json-flavor">cut-marks/json</configuration>
    <configuration key="target-smil-flavor">smil/cutting</configuration>