Skip to content
HALOWERK

File Formats and Conversion

hls playlist byte slices

HLS byte ranges resolve implicit offsets into inclusive byte intervals for each ranged media segment. Use it when an agent needs preparing range reads from an indexed media file.

POST https://format.halowerk.com/v1/hls-playlist-byte-slices

Inputs

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

Open original schema

Published input example

{
  "playlist": "#EXTM3U\n#EXT-X-VERSION:4\n#EXT-X-TARGETDURATION:2\n#EXT-X-MEDIA-SEQUENCE:0\n#EXTINF:2,\n#EXT-X-BYTERANGE:1880@0\na.ts\n#EXTINF:2,\n#EXT-X-BYTERANGE:940\na.ts\n#EXT-X-ENDLIST"
}

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": {
        "ranges": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "sequence": {
                "type": "integer"
              },
              "first": {
                "type": "integer"
              },
              "last": {
                "type": "integer"
              }
            },
            "required": [
              "sequence",
              "first",
              "last"
            ]
          }
        },
        "ranged_bytes": {
          "type": "integer"
        }
      },
      "required": [
        "ranges",
        "ranged_bytes"
      ]
    },
    "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 โ†’