Archived from the Transloadit support forum. Originally posted on October 3, 2013; details may be outdated, see our docs for current behavior. Original thread
My template:
{
"steps": {
"ogv_encode": {
"robot": "/video/encode",
"use": ":original",
"realtime": true,
"width": 670,
"height": 380,
"resize_strategy": "fit",
"result": true,
"ffmpeg": {
"vcodec": "libtheora",
"b": "1200K",
"acodec": "libvorbis",
"ab": "128K",
"ar": "44100",
"f": "ogg"
}
},
"webm_encode": {
"robot": "/video/encode",
"use": ":original",
"preset": "webm",
"realtime": true,
"width": 670,
"height": 380,
"resize_strategy": "fit",
"result": true
},
"mp4_encode": {
"robot": "/video/encode",
"use": ":original",
"preset": "ipad-high",
"realtime": true,
"width": 670,
"height": 380,
"resize_strategy": "fit",
"result": true
},
"thumbs": {
"use": "ogv_encode",
"robot": "/video/thumbs",
"count": 1,
"result": true
},
"small_thumbs": {
"robot": "/image/resize",
"width": 293,
"resize_strategy": "fit",
"result": true
}
}
1. I havn’t small_thumbs results at Assembly
2. thumbs result field have extension: videp.ogv (not video.jpg)
What I do wrong?