# DASH SegmentTimeline Negative Repeat Exact Period Projection

> DASH SegmentTimeline Negative Repeat Exact Period Projection is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-17).

Expands a DASH SegmentTimeline with negative repeat bounds, timescale, presentation time offset, and start number into an exact list of anonymous segment presentation intervals.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-02/dash-segmenttimeline-negative-repeat-exact-period-projection?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dash-segmenttimeline-negative-repeat-exact-period-projection-c5c9b7d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_25dHf-nsLLybsEgzGLJ6X

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dash-segmenttimeline-negative-repeat-exact-period-projection-c5c9b7d5 -d '<json body>'
```

Example prompt: Expand this DASH SegmentTimeline into exact segment presentation intervals — timescale is 90000, presentation_time_offset is 0, start_number is 1, period_start is 0/1, period_duration is 60/1, and the timeline has entries like {t: 0, d: 9000, r: -1} to fill the whole period.

## When to prefer this

Use this endpoint when you need deterministic, arithmetic expansion of DASH SegmentTimeline entries — especially those using negative repeat (r=-1) to fill a period — into exact per-segment presentation intervals with correct timescale, PTO, and start_number accounting. Prefer it over manual calculation when DASH compliance and precision matter, or when building segment indexes, seek maps, or conformance tests for MPEG-DASH adaptive streaming workflows.

## Known failure modes

- Invalid or missing required fields (timescale, period_duration, timeline) return 400 validation errors
- Negative repeat with no resolvable period_duration leads to unbounded expansion error
- Inconsistent or overflowing t/d values exceeding max bounds return schema validation failure
- Timeline with zero or no items returns a minItems constraint error
- Period duration mismatch with timeline entries may produce zero or partial segment lists

## How this service works

Expand complete DASH SegmentTimeline entries, negative repeat bounds, timescale/PTO/startNumber into exact anonymous segment presentation intervals.

## Output

Returns a structured list of fully resolved segment objects, each containing segment_number, timeline_entry index, media_time (as string), duration_ticks, presentation_start, and presentation_end (as rational numerator/denominator pairs), plus end_media_time and next_number for the period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "dashTimeline"
   ],
   "properties": {
    "dashTimeline": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "timescale",
        "presentation_time_offset",
        "start_number",
        "period_start",
        "period_duration",
        "timeline"
       ],
       "properties": {
        "timeline": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "t",
           "d",
           "r"
          ],
          "properties": {
           "d": {
            "type": "integer",
            "maximum": 1000000000,
            "minimum": 0
           },
           "r": {
            "type": "integer",
            "maximum": 512,
            "minimum": -1
           },
           "t": {
            "anyOf": [
             {
              "type": "null"
             },
             {
              "type": "integer",
              "maximum": 1000000000000,
              "minimum": 0
             }
            ]
           }
          },
          "additionalProperties": false
         },
         "maxItems": 128,
         "minItems": 1
        },
        "timescale": {
         "type": "integer",
         "maximum": 1000000000,
         "minimum": 1
        },
        "period_start": {
         "type": "object",
         "required": [
          "numerator",
          "denominator"
         ],
         "properties": {
          "numerator": {
           "type": "integer",
           "maximum": 1000000000000,
           "minimum": -1000000000000
          },
          "denominator": {
           "type": "integer",
           "maximum": 1000000000,
           "minimum": 1
          }
         },
         "additionalProperties": false
        },
        "start_number": {
         "type": "integer",
         "maximum": 1000000000000,
         "minimum": 0
        },
        "period_duration": {
         "type": "object",
         "required": [
          "numerator",
          "denominator"
         ],
         "properties": {
          "numerator": {
           "type": "integer",
           "maximum": 1000000000000,
           "minimum": 1
          },
          "denominator": {
           "type": "integer",
           "maximum": 1000000000,
           "minimum": 1
          }
         },
        
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dash-segmenttimeline-negative-repeat-exact-period-projection-c5c9b7d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
