The /video/thumbs Robot
We offer a variety of video encoding features like optimizing for different devices, merging, injecting ads, changing audio tracks, or adding company logos.
/video/thumbs Robot extracts any number of images from videos for use as previews.
||(required) String / Array of Strings||
GeneralSpecifies which Step(s) to use as the input to this Robot.
Special Step namesA special Step name is
Providing several Steps as inputYou can add arrays to
Step bundlingSome Robots can gather several Step results for a single invocation. For example, the /file/compress Robot would normally create one Zip file for each file passed to it. If you'd set
This is a crucial parameter for the /video/adaptive Robot, otherwise you'll generate 1 playlist for each viewing quality.
Keep in mind that all input Steps must be present in your Template. If one of them is missing, no result is generated because the Robot waits indefinitely for all input Steps to be finished.
Group by originalSticking with the /file/compress Robot example, you can set
DemoSee a demo for the
||The number of thumbnails to be extracted. As some videos have incorrect durations, the actual number of thumbnails generated may be less in rare cases. The maximum number of thumbails we currently allow is 999.|
||Array of Integers / Array of Strings||
||An array of offsets representing seconds of the file duration, such as
||The format of the extracted thumbnail. Supported values are
||Width of the video||The width of the thumbnail, in pixels.|
||Height of the video||The height of the thumbnail, in pixels.|
||One of the available resize strategies.|
||The background color of the resulting thumbnails in the "rrggbbaa" format (red, green, blue, alpha) when used with the
||Integer||Auto||Forces the video to be rotated by the specified degree integer. Currently, only multiples of 90 are supported. We automatically correct the orientation of many videos when the orientation is provided by the camera. This option is only useful for videos requiring rotation because it was not detected by the camera.|
Our /video/thumbs Robot can be used in combination with other Robots, to create powerful workflows unique to your use case. Here are a few example scenarios that you can try live on our website:
- Save your results to Dropbox
- Use Google Cloud Storage to store your results from Transloadit
- Encode a video, extract 8 thumbnails and store everything in an S3 bucket
- Specify multiple encoding Steps for a single file
- Automatically process multiple file types
- Make video compatible for all devices
- Convert any video to animated GIF
- Encode video for browsers in 720p
- Extract 10 thumbnails and modify their size
Blog posts about the /video/thumbs Robot
We wrote the following posts about the /video/thumbs Robot on our blog:
- Upgrading Encoding Engines July 31, 2015
- Kicking Transloadit Into Gear for the New Year February 1, 2015
Did you know?
You can easily combine Robots to create powerful workflows, unique to your business.
This is the power of Transloadit.