I really thought I could follow the instructions and make this work, but I’m not having much luck.
I’m trying to code about 25 video clips (all from one incoming video at a time) and 1 text string, onto an underlying 8 minute video. For each clip, I want to use a start point on the video, trim, length, chromakey, x/y positioning, scale, volume, and eventually luma mattes (once I’ve learnt about them) for the videos. I need merge fields for the incoming video and the text.
I’ve tried a very cut down version for testing, with a 57 second underlying video, 2 incoming video clips and the text edit. I’ve spent hundreds of hours trying to make that work, without success.
Now I’m trying just the text edit, and ignoring all the video clips for now. I’ve got a merge field for the text.
I’ve run the json through a validator, but I’m just getting an error from command prompt, which seems to be about it expecting audio tracks. I don’t need to use any audio tracks, because I’ve got audio on the underlying video and on the incoming clips.
ChatGPT said I should add a dummy audio track, but doing that just makes command tell me that its expecting the FOLLOWING track to have “type”: “audio”, so that’s not working.
I appreciate that I’ve written a lot of words for what is probably a simple error! Can anyone help me please?
Here’s what I get:
HTTP/1.1 400 Bad Request…
{“success”:true,“message”:“Bad Request”,“response”:{“error”:{“name”:“ValidationError”,“details”:[{“message”:“"timeline.tracks[0].clips[0].asset.type" must be [audio]”,“path”:[“timeline”,“tracks”,0,“clips”,0,“asset”,“type”],“type”:“any.only”}]}}}