{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-elastic-transcoder/refs/heads/main/json-schema/amazon-elastic-transcoder-thumbnails-schema.json", "title": "Thumbnails", "description": "Thumbnails for videos.", "type": "object", "properties": { "Format": { "allOf": [ { "$ref": "#/components/schemas/JpgOrPng" }, { "description": "

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

" } ] }, "Interval": { "allOf": [ { "$ref": "#/components/schemas/Digits" }, { "description": "The approximate number of seconds between thumbnails. Specify an integer value." } ] }, "Resolution": { "allOf": [ { "$ref": "#/components/schemas/ThumbnailResolution" }, { "description": "

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

" } ] }, "AspectRatio": { "allOf": [ { "$ref": "#/components/schemas/AspectRatio" }, { "description": "

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

" } ] }, "MaxWidth": { "allOf": [ { "$ref": "#/components/schemas/DigitsOrAuto" }, { "description": "The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096." } ] }, "MaxHeight": { "allOf": [ { "$ref": "#/components/schemas/DigitsOrAuto" }, { "description": "The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072." } ] }, "SizingPolicy": { "allOf": [ { "$ref": "#/components/schemas/SizingPolicy" }, { "description": "

Specify one of the following values to control scaling of thumbnails:

" } ] }, "PaddingPolicy": { "allOf": [ { "$ref": "#/components/schemas/PaddingPolicy" }, { "description": "When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings." } ] } } }