MediaConvert does not entertain Odd values for thumbnail sizes

0

I am trying to generate thumbnail images from video via AWS MediaConvert transcoding along with HLS processed outputs And i have below output group set for a thumbnail with with & height set to 453

{
        "CustomName": "Thumbnails Output",
        "Name": "Thumbnails",
        "Outputs": [
          {
            "ContainerSettings": {
              "Container": "RAW"
            },
            "VideoDescription": {
              "Width": 453,
              "Height": 453,
              "CodecSettings": {
                "Codec": "FRAME_CAPTURE",
                "FrameCaptureSettings": {
                  "FramerateNumerator": 1,
                  "FramerateDenominator": 1,
                  "MaxCaptures": 2,
                  "Quality": 100
                }
              }
            },
            "NameModifier": "_453"
          }
        ],
        "OutputGroupSettings": {
          "Type": "FILE_GROUP_SETTINGS",
          "FileGroupSettings": {
            "Destination": "s3://my-test-bucket/Thumbnails_test"
          }
        }
      }

I see below errors , Why doesn't MediaConvert like Odd values, is there any workaround to accept odd values ?

Invalid resolution [453 x 453], only even values are supported. video_description [3].

posta 10 mesi fa248 visualizzazioni
2 Risposte
0

At present, the scaler function within the service uses even size numbers only. Virtually all popular broadcast and streaming formats use even numbered dimensions. To make you job work, you can either add or remove one pixel in each dimension.

profile picture
rtcAMZN
con risposta 9 mesi fa
0

Hello,

MediaConvert supports only even values for resolution due to the video compression algorithms as they have constraints on the minimum dimensions that are powers of 2 from a performance perspective. This is common industry standard which MediaConvert follows.

The current workaround would be to add or remove one pixel from the resolution to make it even value.

Please feel free to reach out for further queries on this. Thank you.

Regards,
Vineet

AWS
TECNICO DI SUPPORTO
con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande