Splitting a video in intervals

Hi all!

I was wondering if I would be able to split a video (e.g. a 4 minute video into 4 one minute videos) and then upload all these resulting videos to e.g. S3.

I was trying to use ffmpeg to do that, with the encode robot:

    "custom": {
      "robot": "/video/encode",
      "use": ":original",
      "ffmpeg_stack": "v4.3.1",
      "ffmpeg": {
        "f": "segment",
        "segment_time": "1:00"
      }
    },

But I’m getting some errors.

Is it possible to split videos with transloadit?