Archived from the Transloadit support forum. Originally posted on August 6, 2013; details may be outdated, see our docs for current behavior. Original thread
I have enabled the "calc_md5_hash": true parameter on an encoder, but I don’t see the hash anywhere in the results…
Ideally I’d like each “output” file to be renamed to include the unique hash (so overwrites don’t matter, always the same content)
{
"steps": {
"videomp4": {
"robot": "/video/encode",
"preset": "iphone-low",
"width": 320,
"height": 300,
"hint": true,
"calc_md5_hash": true
},
"export": {
"use": [
"videomp4"
],
"robot": "/cloudfiles/store",
"container": "xxxx",
"user": "xxxx",
"key": "xxxx",
"path": "${fields.dir}${file.url_basename}_${md5hash}.${file.ext}"
}
}
}