Ad-marker specification: SSAI live - SCTE35
Overview
SCTE-35 marker requirements
Examples
SCTE35 marker in HLS Live
CUE-OUT-Style: elemental
CUE-OUT-Style: scte35 enhanced
CUE-OUT-Style: UnifiedStreaming
CueOutStyle: EdgeWare scte35
CueOutStyle: GAM scte35
CueOutStyle: DATERANGE
CueOutStyle: Harmonic
CueOutStyle: EXT-X-SPLICEPOINT
SCTE35 marker in MPEG-DASH live
EventStream
Conditions
Overview
This document describes the SCTE-35 marker requirements for ad insertion in live and VoD content.
SCTE-35 marker requirements
For accurate ad insertion or replacement, the type and timing of the SCTE-35 marker are critical and must meet the following requirements:
- The signal must follow the SCTE-35 specification. For more information, see this document.
- The signal must include a cue-out marker with the duration of the ad break.
- The ad marker must be present in every HLS rendition, submanifest, or playlist.
- The ad marker must be present for at least five seconds before the ad break starts.
Examples
SCTE35 marker in HLS Live
The following examples display how SCTE-35 markers might appear in HLS live streams to indicate ad breaks.
CUE-OUT-Style: elemental
#EXT-X-CUE-OUT:30.000
.
#EXT-X-CUE-OUT-CONT: 8.308/30
.
#EXT-X-CUE-OUT-CONT: 20.391/30
.
#EXT-X-CUE-IN CUE-OUT-Style: scte35 enhanced
#EXT-OATCLS-SCTE35:/DA0AAAAAAAAAAAABQb+ADAQ6QAeAhxDVUVJQAAAO3/PAAEUrEoICAAAAAAg+2UBNAAANvrtoQ==
#EXT-X-ASSET:CAID=0x0000000020FB6501
#EXT-X-CUE-OUT:30.000
.
#EXT-X-CUE-OUT-CONT:ElapsedTime=5.939,Duration=30.000,SCTE35=/DA0AAAA+…AAg+2UBNAAANvrtoQ==
.
#EXT-X-CUE-INCUE-OUT-Style: UnifiedStreaming
#EXT-X-DATERANGE:ID="20",START-DATE="2020-06-03T14:56:00Z",PLANNED-DURATION=19,SCTE35-OUT=0xFC302000000000000000FFF00F05000000147FFFFE001A17B0C0000000000061DFD67D
#EXT-X-CUE-OUT:19
#EXT-X-PROGRAM-DATE-TIME:2020-06-03T14:56:00Z
.
#EXT-X-CUE-INCueOutStyle: EdgeWare scte35
#EXT-X-SCTE35:CUE-OUT=YES,ID="22",DURATION=22.000,CUE="/DAlAAETZlHBAP/wFAUAAAAWf+//UmtLsH4AHjZgAAAAAAAAsf7cfA=="
.
#EXT-X-SCTE35:CUE-IN=YES,ID="22",DURATION=22.000,CUE="/DAlAAETZlHBAP/wFAUAAAAWf+//UmtLsH4AHjZgAAAAAAAAsf7cfA=="CueOutStyle: GAM scte35
#EXT-X-CUE-OUT:DURATION=30
#EXT-X-CUE-OUT-CONT: 20.391/30
.
#EXT-X-CUE-INCueOutStyle: DATERANGE
#EXT-X-DATERANGE:ID="250520230322162753",START-DATE="2021-01-22T16:27:53.680Z",PLANNED-DURATION=135.200,SCTE35-OUT=0xfc302500000d9c536700fff01405000009c97fefffc6533580fe00b9ab40000000000000f6d0864cCueOutStyle: Harmonic
#EXT-X-SCTE35:TYPE=0x37,CUE="/DBQAAAAAAAAAP/wFAUAAAfRf+//hxagD34AUpJOAAEAAAArAQpDVUVJPJ8jKjAwAh1DVUVJAAAH0X//AABSZcABCTAwMDAwMDAwMDYAAJ2hyjY="
.
#EXT-X-SCTE35:TYPE=0x22,ELAPSED=0.000,CUE="/DBBAAAAAAAAAP/wBQb/ht+vOgArAQpDVUVJFJ8jKjAyAh1DVUVJAAAD6X//AACJgywBCTAwMDAwMDAwMCIBAUtyN64="CueOutStyle: EXT-X-SPLICEPOINT
#EXT-X-SPLICEPOINT-SCTE35:/DBgAAAAAAAAAP/wBQb/zSI7PwBKAh5DVUVJAAAAHn+DDA9NRFNOQjAwMTc5ODA1NTI3AAACKENVRUkAAAAff8MAAKpl4AwUTURTTkYzMTIwNTgzMDEwMDIzMDEQAADq1t3OSCTE35 marker in MPEG-DASH live
The following example displays how an SCTE-35 marker might appear in a MPEG-DASH live stream to indicate ad breaks, including the timing and duration of the break.
EventStream
<EventStream schemeIdUri="urn:scte:scte35:2013a:bin" value="scte35_track_001_000" timescale="50000">
<Event presentationTime="77934885650300" duration="1500000" id="31218">/DAlAAAAAAAAAP/wFAUAAHnyf+/+Ih1YrP4AKTLgAAAAAAAAXos7AQ==</Event>
</EventStream>Conditions
- Cue-out and cue-in triggers are supported only if both markers (cue-out and cue-in) are present in the signal for at least five seconds before the cue-out event occurs.
- SCTE-104 (ad markers within an SDI signal) is supported only if the encoder, packager, or origin can perform SCTE-104 to SCTE-35 translation, such as the Elemental Live encoder.