mpd-edit

{
    "tags": [
        "itest",
        "encoding",
        "mpd-edit"
    ],
    "region": "aws:eu-west-1",
    "tasks": [
        {
            "tool": "storage:get",
            "parameters": {
                "location": "s3://{com-castlabs-vtk-test-access-keys}@com.castlabs.vtk.test/IN",
                "files": [
                    "tos-deu.vtt",
                    "dash-no-subs.mpd"
                ]
            }
        },
        {
            "tool": "mpd_edit:add_subtitles",
            "parameters": {
                "input_manifest": "dash-no-subs.mpd",
                "output_manifest": "dash-w-subs.mpd",
                "inputs": [
                    {
                        "base_url": "tos-deu.vtt",
                        "language": "deu",
                        "textrole": "caption"
                    }
                ]
            }
        },
        {
            "tool": "storage:put",
            "parameters": {
                "location": "s3://{com-castlabs-vtk-test-access-keys}@com.castlabs.vtk.test/OUT/mpd-edit_{job_id}",
                "files": [
                    "dash-w-subs.mpd"
                ]
            }
        }
    ]
}