Archived from the Transloadit support forum. Originally posted on January 18, 2014; details may be outdated, see our docs for current behavior. Original thread
Hej,
I am quite new to Transloadit but already love the service! However, I am currently stuck to get the following to work:
- Upload audio file and encode to MP3 using
/audio/encode - Generate a waveform image of the MP3 using
/audio/waveform - Merge MP3 and waveform image to a video using
/video/merge - Store it.
The single steps are pretty easy to achieve.
I am stuck at #3 since this robot requires an image URL instead of making use a of previous step.
Is it possible to make this workflow work in one template?
This is my template so far:
{
"steps": {
"mp3": {
"robot": "/audio/encode",
"preset": "mp3"
},
"waveform": {
"robot": "/audio/waveform",
"use": "mp3",
"width": 1280,
"height": 720,
"background_color": "000000FF",
"center_color": "FFFFFFFF",
"outer_color": "CCE3D3FF"
},
"video": {
"robot": "/video/merge",
"use": ":original",
"image_url": "[HELP!]",
"preset": "ipad-high",
"width": 1280,
"height": 720,
"resize_strategy": "fillcrop"
}
}
}
Thanks for any suggestions on that!