Skip to main content
Deprecated. This endpoint is part of the legacy Warmup flow and is retained for backward compatibility. New integrations should use Create Task, which combines worker launch and assignment into a single call and returns the SRT URL synchronously.

Overview

Assign a processing task to a previously warmed-up instance. This endpoint is used after calling Warmup to provide the actual stream details and begin processing. This call only succeeds when the worker has both generated an SRT URL and finished initializing the SRT listener.

Request Parameters

Input Stream Requirements

When streaming to the srt_url returned by this endpoint, your input must meet these requirements: See Video Input Requirements for validation commands and FFmpeg examples.

Render Videos Object

When render_video is set to "ffmpeg", rendered highlight clips are automatically uploaded to a project in your dashboard at app.narrative-sports.com. You can review, download, and manage your clips there. See Dashboard Integration for details.

Team Names Object

For soccer, baseball, and American football, use team names. For MMA, use individual fighter names.

Example Request

Example Response

Response Fields

SRT Stream Configuration

URL Format

The srt_url includes everything needed to connect:
Connect in SRT caller mode (the default for FFmpeg/OBS) over UDP 9000. SRT latency is negotiated automatically (the server uses 5 seconds); you may also set &latency=5000000 on your encoder.
Use the complete srt_url exactly as returned by the API. It contains the per-task host and encryption passphrase and is valid only for that task — don’t rebuild or modify it.

SMPTE Timecode

The srt_zero_relative_smpte_timecode field specifies the timecode that corresponds to the start of the stream. Format: HH:MM:SS:FF (hours:minutes:seconds:frames) or drop-frame HH:MM:SS;FF. If framerate is provided, it is used to interpret the timecode. Otherwise, the framerate is inferred from the stream (note: inference can be inconsistent with VFR encoding). Drop-frame timecodes are only valid with 29.97 (30000/1001) or 59.94 (60000/1001) framerates; incompatible combinations cause the task to fail fast. For OTIO output, srt_zero_relative_smpte_timecode does not by itself shift source_range.start_time.value. Use otio.source_start_offset when you need a fixed frame offset in OTIO.

Error Responses