Our /video/encode robot offers you the required tools to change the dimensions of a video. You can specify a resize strategy to get the video dimensions you want without distorting the original aspect ratio. The following demo uses the "pad" resize strategy which scales the video to fit the container and then fills the remaining width and height area with black. » See full documentation
"steps": {
"flash_video": {
"robot": "/video/encode",
"preset": "flash",
"width": 640,
"height": 480,
"resize_strategy": "pad"
}
}
$(function() {
$('form').transloadit({
wait: true,
autoSubmit: true
});
});
For demos we allow a maximum of 30MB.
This form is html5-multiupload enabled. If your browser supports it, you can select multiple files and execute the template with them.