Skip to content
HALOWERK

File Formats and Conversion

hls playlist codec compatibility

HLS decoder compatibility lists variants whose declared codec families are all supported by a client. Use it when an agent needs avoiding streams that require an unavailable codec.

POST https://format.halowerk.com/v1/hls-playlist-codec-compatibility

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
playliststringYes
codecsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "playlist": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    },
    "codecs": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 40,
        "minLength": 1
      },
      "minItems": 1,
      "maxItems": 20
    }
  },
  "required": [
    "playlist",
    "codecs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "playlist": "#EXTM3U\n#EXT-X-STREAM-INF:BANDWIDTH=92000,RESOLUTION=320x180,CODECS=\"avc1.4d401e,mp4a.40.2\"\nlo.m3u8\n#EXT-X-STREAM-INF:BANDWIDTH=250000,RESOLUTION=640x360\nhi.m3u8",
  "codecs": [
    "avc1",
    "mp4a"
  ]
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "compatible": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unknown": {
          "type": "integer"
        }
      },
      "required": [
        "compatible",
        "unknown"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’