utils-mkfifo

{
    "tags": [
        "itest",
        "utils",
        "mkfifo"
    ],
    "region": "aws:eu-west-1",
    "tasks": [
        {
            "tool": "storage:get",
            "parameters": {
                "location": "s3://{com-castlabs-vtk-itest-access-keys}@com.castlabs.vtk.itest/IN",
                "files": [
                    "tos_5s_video_1920x1080_2mbps.mp4"
                ]
            }
        },
        {
            "tool": "utils:mkfifo",
            "parameters": {
                "pipe_name": "PIPE"
            }
        },
        {
            "tool": "ffmpeg:cmd",
            "parameters": {
                "arguments": [
                    "-y",
                    "-i",
                    "tos_5s_video_1920x1080_2mbps.mp4",
                    "-c:v",
                    "copy",
                    "-f",
                    "h264",
                    "PIPE"
                ]
            }
        },
        {
            "tool": "ffmpeg:cmd|p",
            "parameters": {
                "arguments": [
                    "-y",
                    "-f",
                    "h264",
                    "-i",
                    "PIPE",
                    "-c:v",
                    "copy",
                    "piped.mp4"
                ]
            }
        },
        {
            "tool": "storage:put",
            "parameters": {
                "location": "s3://{com-castlabs-vtk-itest-access-keys}@com.castlabs.vtk.itest/OUT/utils_mkfifo_{job_id}",
                "files": [
                    "piped.mp4"
                ]
            }
        }
    ]
}