Merging Audio and Video using Zapier

Started by quidsibi0 replies578 views
quidsibiOriginal post
#1

Haven’t been able to find the documentation I’m looking for in regards to this, so hoping someone here can help.

I’m looking to merge an audio file and a video file automatically using zapier, however I cannot figure out how to properly send the files to the proper places in the template.

The template I’m using:

{
  "steps": {
    ":original": {
      "robot": "/upload/handle"
    },
    "imported_video": {
      "robot": "/http/import",
      "url": "https://demos.transloadit.com/inputs/big-buck-bunny-10s.mp4"
    },
    "replaced_audio_track": {
      "use": [
        {
          "name": ":original",
          "as": "audio"
        },
        {
          "name": "imported_video",
          "as": "video"
        }
      ],
      "robot": "/video/merge",
      "result": true,
      "ffmpeg_stack": "v4.3.1",
      "preset": "iphone-high"
    },
    "exported": {
      "use": [
        "imported_video",
        "replaced_audio_track",
        ":original"
      ],
      "robot": "/youtube/store",
      "credentials": "Quid Sibi Media",
      "category": "people & blogs",
      "description": "Some description",
      "keywords": "testing, example",
      "title": "Some title"
    }
  }
}

The error that I’m receiving after passing through a file to be merged:

node:events:491 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open 'public' Emitted 'error' event on ReadStream instance at: at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'open', path: 'public' }

Gonna be honest I have no idea what I’m doing with this, so happy to provide more info if needed.