If the add_cue_info parameter is present, the generated M3U8 file contains the #EXT-X-CUE custom tag associated with URI of the segment which starts at this cue-time or the splice point. If a splice duration is specified (content needs to be replaced), the main content segment URIs, that lies in the advertisement break, are associated with the #EXT-X-CUE-CONT tag.
#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:7 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:4.004, sample0.ts #EXTINF:4.004, sample4004.ts #EXTINF:2.502, sample8008.ts #EXT-X-CUE:TYPE=SpliceInsert,ID=a1,TIME=10.5 #EXTINF:1.502, sample10510.ts ... #EXT-X-CUE:TYPE=SpliceOut,ID=a2,TIME=33.3,DURATION=10.0 #EXTINF:2.735, sample33301.ts #EXT-X-CUE-CONT:ID=a2 #EXTINF:4.004, sample36036.ts #EXT-X-CUE-CONT:ID=a2 #EXTINF:3.266, sample40040.ts #EXTINF:0.738, sample43306.ts ... #EXT-X-CUE:TYPE=SpliceInsert,ID=a3,TIME=77.8 ....
| Attribute | Type | Required | Description | Source field of SCTE35 message |
|---|---|---|---|---|
TYPE |
String |
Required |
The event type which must be "SpliceOut" or "SpliceIn" |
out_of_network_indicator |
ID |
String |
Required |
A unique identifier for this event within the context of the program stream. |
splice_event_id |
TIME |
Number |
Required |
The stream's presentation time in fractional seconds at which point the splice out should occur. |
pts_time + pts_adjustment |
DURATION |
Number |
Required |
The splice duration in fractional seconds. A value of "0" means the duration is not known. |
duration (in break_duration()) |
PROGRAM- ID |
Integer |
Optional |
Identifier for the program content this splice applies to. |
unique_program_id |
AVAIL-NUM |
Integer |
Optional |
Index of this specific avail within the total set of avails within the viewing event (identified by PROGRAM-ID). |
avail_num |
AVAILS- EXPECTED |
Integer |
Optional |
The expected total number of avails within the viewing event (identified by PROGRAM-ID). |
avails_expected |