m3u8-create-edit

{
    "tags": [
        "itest",
        "encoding",
        "m3u8-create-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",
                    "master_no_subs.m3u8"
                ]
            }
        },
        {
            "tool": "m3u8_generate:subs_playlist",
            "parameters": {
                "input_vtt": "tos-deu.vtt",
                "playlist_filename": "tos-deu.vtt",
                "output_file": "subs-deu.m3u8"
            }
        },
        {
            "tool": "m3u8_edit:add_subtitles",
            "parameters": {
                "input_master_playlist": "master_no_subs.m3u8",
                "output_master_playlist": "master_w_subs.m3u8",
                "inputs": [
                    {
                        "name": "deu",
                        "group_id": "subtitles",
                        "uri": "subs-deu.m3u8",
                        "language": "deu",
                        "autoselect": true,
                        "default": true,
                        "forced": false,
                        "closed_captions": true,
                        "characteristics": [
                            "a.custom.uti.01"
                        ]
                    }
                ]
            }
        },
        {
            "tool": "storage:put",
            "parameters": {
                "location": "s3://{com-castlabs-vtk-test-access-keys}@com.castlabs.vtk.test/OUT/m3u8-create-edit_{job_id}",
                "files": [
                    "master_w_subs.m3u8",
                    "subs-deu.m3u8"
                ]
            }
        }
    ]
}