Spectatr.ai

Reference

Source requirements

We pass your video through without re-encoding it, which keeps quality intact and latency low. That only works if the source meets these requirements.


A stream outside these requirements may need transcoding, which we will tell you about rather than do silently.

Transport, SRT

PropertyRequirement
ModeYour side in listener mode; we call
PayloadMPEG-TS
EncryptionNone. Encrypted SRT is not supported yet
Passphrase length10 to 79 characters
Latency120 to 1000 ms, 200 ms recommended
AvailabilityListener up from a few minutes before ingestStartTime

Transport, RTMP

PropertyRequirement
ModeYour RTMP server accepts our pull; we call
URLrtmp://host/app/streamKey, reachable from our egress range
CodecsH.264 video, AAC audio, as in the tables below
AvailabilityStream published from a few minutes before ingestStartTime

Transport, HLS

PropertyRequirement
ManifestLive .m3u8 over HTTPS, media or master playlist
SegmentsMPEG-TS or fMP4
Segment duration2 to 6 seconds
Playlist windowAt least 6 segments, so a brief poll delay loses nothing
AuthenticationSigned URL. The headers field is not applied yet
URL validityMust outlast ingestStartTime plus the full match
AvailabilityManifest live from a few minutes before ingestStartTime

HLS is easier to supply and adds latency, because we are inherently a few segments behind the live edge. That is fine for clip generation, which is not real-time, but SRT is the better choice if you ever want us closer to live. Do not point us at a playlist whose window is only three segments long: a single slow poll then drops footage permanently.

Video

PropertyRequirement
CodecH.264, High profile, level 4.0 or above
Resolution1920x1080 preferred, 1280x720 accepted
Frame rateConstant. 25, 50, 29.97 or 59.94
ScanProgressive
Bitrate6 to 12 Mbps, CBR preferred
GOPClosed, fixed 2-second interval

Audio

PropertyRequirement
CodecAAC-LC
Sample rate48 kHz
Bitrate128 kbps or above per stereo pair
TracksUp to 8, each declared in audioTracks
LayoutMono or stereo per track

A separate ambient or clean-effects track is worth sending if your production has one. It lets clips ship with crowd and pitch sound but no commentary, which is usually what social edits want, and it avoids commentary rights following the clip.

Before the first match