Skip to content
HALOWERK

File Formats and Conversion

media playlist decoder periods

HLS discontinuity analysis counts decoding periods and identifies the longest continuous presentation span. Use it when an agent needs decoder reset boundaries before playback.

POST https://format.halowerk.com/v1/media-playlist-decoder-periods

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
playliststringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "playlist": {
      "type": "string",
      "maxLength": 18000,
      "minLength": 1
    }
  },
  "required": [
    "playlist"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "playlist": "#EXTM3U\n#EXT-X-VERSION:3\n#EXT-X-TARGETDURATION:2\n#EXT-X-MEDIA-SEQUENCE:10\n#EXT-X-PLAYLIST-TYPE:VOD\n#EXTINF:2.005333,\nstudio-tone-010.ts\n#EXTINF:2.005333,\nstudio-tone-011.ts\n#EXTINF:2.005333,\nstudio-tone-012.ts\n#EXTINF:0.526667,\nstudio-tone-013.ts\n#EXT-X-ENDLIST\n"
}

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": {
        "periods": {
          "type": "integer"
        },
        "longest_seconds": {
          "type": "number"
        },
        "first_sequence": {
          "type": "integer"
        }
      },
      "required": [
        "periods",
        "longest_seconds",
        "first_sequence"
      ]
    },
    "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 โ†’