---
title: "List encoding constraints."
method: GET
path: "/2/vod/encodings/constraints"
tags: ["V3 > Encoding"]
---

# List encoding constraints.

`GET /2/vod/encodings/constraints`

List major encoding constraints that should be respected
in order to guarantee correct output encoding in most cases.

Still, following these rules may lead to incorrect encodings.
For example, trying to encode something into a flv container
will fail if the audio sampling rate is not 44100, 22050 or 11025 Hz.

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 1527df96EncodingConstraints
    - `video_aspects` string[], required — Available video aspect ratios for encoding
    - `video_codecs` 1527df96VideoEncodingCodec[], required — Available video codecs for encoding
      - `name` string, required — The name of the Video Encoding Codec
      - `value` string, required — The value associated with the Video Encoding Codec
      - `description` string, required — The description of the Video Encoding Codec
      - `supported_by_player` boolean, required — Indicates whether the Video Encoding Codec is supported by the player
      - `bitrate_min` integer — The minimum bitrate supported by the Video Encoding Codec
      - `bitrate_max` integer — The maximum bitrate supported by the Video Encoding Codec
      - `resolution_min` 1527df96Resolution, required
        - `width` number, required — The width of Resolution
        - `height` number, required — The height of Resolution
      - `resolution_max` 1527df96Resolution, required
        - `width` number, required — The width of Resolution
        - `height` number, required — The height of Resolution
      - `fps_min` number, required — The minimum frames per second (FPS) supported by the Video Encoding Codec
      - `fps_max` number, required — The maximum frames per second (FPS) supported by the Video Encoding Codec
    - `audio_codecs` 1527df96AudioEncodingCodec[], required — Available audio codecs for encoding
      - `name` string, required — The name of the Audio Encoding Codec
      - `value` string, required — The value associated with the Audio Encoding Codec
      - `description` string, required — The codec description
      - `supported_by_player` boolean, required — Indicates whether the Audio Encoding Codec is supported by the player
      - `bitrate_min` integer — The minimum bitrate supported by the Audio Encoding Codec
      - `bitrate_max` integer — The maximum bitrate supported by the Audio Encoding Codec
      - `samplings` integer[], required — The samplings supported by the Audio Encoding Codec
    - `containers` 1527df96EncodingContainer[], required — Available containers for encoding
      - `name` string, required — The name of the Encoding Container
      - `value` string, required — The value associated with the Encoding Container
      - `audio` boolean, required — Can contain audio streams ?
      - `video` boolean, required — Can contain video streams ?
      - `supported_codecs` string[], required

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
