SCTE-35 enhanced refers to improvements and additions to the original SCTE-35 standard for signaling commercial breaks in digital cable and IP video streams. These enhancements primarily focus on providing more precise and detailed information about ad insertion, including improved timing accuracy, support for more complex ad insertion scenarios (like dynamic ad insertion), and the ability to convey more metadata about the advertisements themselves for better targeting and analytics. This results in a more robust and flexible system for managing and delivering advertisements within video streams.
HLS Object Structure Segment Tag Tag Count Segment in which the ad avail starts. OATCLS-SCTE35 1 Segment in which the ad avail starts. ASSET 1 Segment in which the ad avail starts. CUE-OUT 0-n Each succeeding segment. CUE-OUT-CONT 1 Segment in which ad avail ends. CUE-IN
HLS Tag contentsOATCLS-SCTE35 containing the base64 encoded raw bytes of the original SCTE-35 ad avail message. ASSET containing the CAID or UPID as specified in the original SCTE35 message. 1 CUE-OUT per ad avail. CUE-OUT-CONT containing the following:The elapsed time of the avail. The duration declared in the original SCTE35 message. SCTE35 containing the base64 encoded raw bytes of the original SCTE-35 ad avail message. These lines repeat until the ad avail ends. CUE-IN to indicate the end of the avail.
Example
#EXT-OATCLS-SCTE35:/DA0AAAAAAAAAAAABQb+ADAQ6QAeAhxDVUVJQAAAO3/PAAEUrEoICAAAAAAg+2UBNAAANvrtoQ==
#EXT-X-ASSET:CAID=0x0000000020FB6501
#EXT-X-CUE-OUT:201.467
.
.
.
#EXT-X-CUE-OUT-CONT:ElapsedTime=5.939,Duration=201.467,SCTE35=/DA0AAAA+…AAg+2UBNAAANvrtoQ==
.
.
.
#EXT-X-CUE-IN Meaning of /DA0AAAAAAAAAAAABQb+ADAQ6QAeAhxDVUVJQAAAO3/PAAEUrEoICAAAAAAg+2UBNAAANvrtoQ== acquired at https://comcast.github.io/scte35-js/ tableId: 252 selectionSyntaxIndicator: false privateIndicator: false sectionLength: 52 protocolVersion: 0 encryptedPacket: false encryptedAlgorithm: 0 ptsAdjustment: 0 cwIndex: 0 tier: 0 spliceCommandLength: 5 spliceCommandType: 6 spliceCommand:specified: true pts: 3150057 descriptorLoopLength: 30descriptors:0:spliceDescriptorTag: 2 descriptorLength: 28 indentifier: “CUEI” segmentationEventId: 1073741883 segmentationEventCancelIndicator: false programSegmentationFlag: true segmentationDurationFlag: true deliveryNotRestrictedFlag: false webDeliveryAllowedFlag: false noRegionalBlackoutFlag: true archiveAllowedFlag: true deviceResctrictions: 3 segmentationDuration: 18132042 segmentationUpidType: 8 segmentationUpidLength: 8 segmentationUpid:0: 0 1: 0 2: 0 3: 0 4: 32 5: 251 6: 101 7: 1 segmentationTypeId: 52 segmentNum: 0 segmentsExpected: 0 crc: 922414497
Reference Splice Info Table containing PID * SCTE 35 Splice Information, TID 252 (0xFC), PID 1055 (0x041F)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x00000012, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x075C14B4A
Duration PTS: 0x00066FF30 (6750000), auto return: no
Unique program id: 0x0001 (1), avail: 0x12 (18), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000012
CRC32: 0xEAA8473F (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1055 (0x041F)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x00000012, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x075C14B4A
Duration PTS: 0x00066FF30 (6750000), auto return: no
Unique program id: 0x0001 (1), avail: 0x12 (18), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000012
CRC32: 0xEAA8473F (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1055 (0x041F)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x00000012, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x075C14B4A
Duration PTS: 0x00066FF30 (6750000), auto return: no
Unique program id: 0x0001 (1), avail: 0x12 (18), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000012
CRC32: 0xEAA8473F (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x400004F6, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x078CA4459
Duration PTS: 0x000F73140 (16200000), auto return: no
Unique program id: 0x0001 (1), avail: 0x0B (11), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000B
CRC32: 0x045999F6 (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x400004F6, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x078CA4459
Duration PTS: 0x000F73140 (16200000), auto return: no
Unique program id: 0x0001 (1), avail: 0x0B (11), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000B
CRC32: 0x045999F6 (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1055 (0x041F)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x00000012, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x076284A7A
Unique program id: 0x0001 (1), avail: 0x12 (18), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000012
CRC32: 0x1ED64BDB (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1055 (0x041F)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x00000012, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x076284A7A
Unique program id: 0x0001 (1), avail: 0x12 (18), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000012
CRC32: 0x1ED64BDB (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1055 (0x041F)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x00000012, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x076284A7A
Unique program id: 0x0001 (1), avail: 0x12 (18), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000012
CRC32: 0x1ED64BDB (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1045 (0x0415)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x00000016, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x07AA76812
Duration PTS: 0x00083D600 (8640000), auto return: yes
Unique program id: 0x000A (10), avail: 0x08 (8), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000008
CRC32: 0x43101852 (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1045 (0x0415)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x00000017, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x07AAFA572
Duration PTS: 0x0007B98A0 (8100000), auto return: yes
Unique program id: 0x0001 (1), avail: 0x08 (8), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000008
CRC32: 0x4ADEEB3E (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x400004F6, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x079C17599
Unique program id: 0x0001 (1), avail: 0x0B (11), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000B
CRC32: 0x2E655951 (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x400004F6, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x079C17599
Unique program id: 0x0001 (1), avail: 0x0B (11), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000B
CRC32: 0x2E655951 (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1045 (0x0415)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x00000018, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x07B2B3E12
Unique program id: 0x0001 (1), avail: 0x08 (8), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000008
CRC32: 0xD497DA82 (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x400004F7, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x07E2772B9
Duration PTS: 0x000F73140 (16200000), auto return: no
Unique program id: 0x0001 (1), avail: 0x0C (12), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000C
CRC32: 0xF85CCA9D (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 50 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 20 bytes
Splice event id: 0x400004F7, cancel: 0
Out of network: yes, program splice: yes, duration set: yes, immediate: no
Time PTS: 0x07E2772B9
Duration PTS: 0x000F73140 (16200000), auto return: no
Unique program id: 0x0001 (1), avail: 0x0C (12), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000C
CRC32: 0xF85CCA9D (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x400004F7, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x07F1EA3F9
Unique program id: 0x0001 (1), avail: 0x0C (12), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000C
CRC32: 0x33F3C14D (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1015 (0x03F7)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x400004F7, cancel: 0
Out of network: no, program splice: yes, duration set: no, immediate: no
Time PTS: 0x07F1EA3F9
Unique program id: 0x0001 (1), avail: 0x0C (12), avails expected: 255
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x0000000C
CRC32: 0x33F3C14D (OK)
* SCTE 35 Splice Information, TID 252 (0xFC), PID 1035 (0x040B)
Short section, total size: 45 bytes
- Section 0:
Protocol version: 0x00 (0)
Encryption: none
PTS adjustment: 0x000000000 (0)
CW index: 0xFF (255), tier: 0xFFF (4095)
Command type: 0x05 (SpliceInsert), size: 15 bytes
Splice event id: 0x0000163A, cancel: 0
Out of network: yes, program splice: yes, duration set: no, immediate: no
Time PTS: 0x07F0C4F73
Unique program id: 0x0000 (0), avail: 0x00 (0), avails expected: 0
- Descriptor 0: SCTE 35 Avail (0x00, 0), 8 bytes
Identifier: 0x43554549 ("CUEI")
Provider id: 0x00000000
CRC32: 0xD7165C79 (OK)
Others
https://docs.aws.amazon.com/medialive/latest/ug/schedule-fields-for-splice_insert.html