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].

preguntada hace 10 meses248 visualizaciones
2 Respuestas
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
respondido hace 9 meses
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
INGENIERO DE SOPORTE
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas