Add Thumbnail

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Id of the encoding.

string
required

Id of the stream.

Body Params

The Thumbnail to be added

string

Name of the resource. Can be freely chosen by the user.

string

Description of the resource. Can be freely chosen by the user.

string

User-specific meta data. This can hold anything.

integer

Height of the thumbnail, either height or width are required fields. If only one is given the encoder will calculate the other way value based on the aspect ratio of the video file. If the encoder version is below 2.83.0 only height is supported and mandatory.

integer

Width of the thumbnail, either height or width are required fields. If only one is given the encoder will calculate the other way value based on the aspect ratio of the video file. If the encoder version is below 2.83.0 only height is supported

string
required

Pattern which describes the thumbnail filenames. For example with thumbnail-%number%.png as pattern and 3 positions: thumbnail-3_0.png, thumbnail-5_0.png and thumbnail-25_5.png. (The number represents the position in the source video in seconds, in the previous example the first filename represents the thumbnail at 3s, the second one at 5s and the third one at 25.5s).

double

The interval in which to create thumbnails. In seconds (E.g. a value of 4 means create a thumbnail every 4 seconds). Mutually exclusive with positions/unit. Has to be equal to or greater than 1.

positions
array of doubles

Position in the unit where the thumbnail should be created from. Mutually exclusive with interval.

positions
outputs
array of objects
required
outputs*
string
Defaults to SECONDS

Unit of the values in the positions array.

string
Defaults to STRETCH

Specifies the aspect mode that is used when both height and width are specified
Only supported starting with encoder version 2.85.0.

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json