Transloadit offers a variety of features to reduce video size while maintaining quality, as well as add effects like watermarks.
The /video/thumbs Robot extracts any number of images from videos for use as previews.
Selects the FFmpeg stack for the encoding. Valid values are "v1.0.0" , "v2.0.0", "v2.1.0" and "v2.2.3". These versions do not reflect any real FFmpeg versions, they reflect our own internal (non-semantic) versioning for our custom FFmpeg builds. The recommended value here is "v2.2.3".
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 [ 2, 45, 120 ]. Offsets can also be percentage values such as [ "2%", "50%", "75%" ]. This option cannot be used with the count parameter, and takes precedence if both are specified. Out-of-range offsets are silently ignored.
The format of the extracted thumbnail. Supported values are "jpg", "jpeg" and "png". Even if you specify the format to be "jpeg" the resulting thumbnails will have a "jpg" file extension.
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, and the required the Assembly Instructions to implement them.
You can also try demos of these examples right here, live on our website.
Encode a video, extract 8 thumbnails and store everything in your S3 bucket