Hi John,
Thanks for the explanation. I think first of all, you should really use the use parameter. For instance:
{
"steps": {
"import": {
"robot": "/s3/import"
},
"convert-thumbnail_photo": {
"use": "import",
"width": 200,
"height": 200,
"resize_strategy": "crop",
"robot": "/image/resize"
"result": true,
},
"convert-thumbnail_smaller_photo": {
"use": "import",
"width": 100,
"height": 100,
"resize_strategy": "crop",
"robot": "/image/resize"
"result": true,
},
"convert-thumbnail_smallest_photo": {
"use": "import",
"width": 50,
"height": 50,
"resize_strategy": "crop",
"robot": "/image/resize"
"result": true,
},
"store-thumbnail": {
"use": [
"import",
"convert-thumbnail_photo",
"convert-thumbnail_smaller_photo",
"convert-thumbnail_smallest_photo",
],
"robot": "/s3/store"
}
}
That should solve the ordering of the ‘hash’. It’s recommended you do this anyway for best results.
I think you should then also be able to access all the metadata via code such as:
for stepName, files of response.results
console.log files[0].meta.video_codec
Hope this helps!
Best,
Kevin