31 October 2019 - SCTE35 enchancements
about 5 years ago by Encoding.com Product Team #2
Added new <cue_insert /> marker types and UPID data to <ad_break /> and <cue_insert /> sections.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<output>[advanced_hls|fmp4_hls|advanced_fmp4]</output>
<!-- multiple ad_breaks may be included -->
<ad_break>
<!-- multiple marker_type parameters may be included -->
<marker_type>[MarkerType1]</marker_type>
<marker_type>[MarkerType2]</marker_type>
<marker_type>[MarkerTypeN]</marker_type>
<!-- multiple upid_data sections may be included -->
<upid_data>
<segmentation_upid_type>[SegmentationUPIDType]<segmentation_upid_type>
<segmentation_upid>[SegmentationUPID]<segmentation_upid>
</upid_data>
<upid_data>
<!-- upid_data params -->
</upid_data>
</ad_break>
<ad_break>
<!-- ad_break params -->
</ad_break>
<!-- multiple cue_inserts may be included -->
<cue_insert>
<!-- multiple marker_type parameters may be included -->
<marker_type>[MarkerType1]</marker_type>
<marker_type>[MarkerType2]</marker_type>
<marker_type>[MarkerTypeN]</marker_type>
<!-- multiple upid_data sections may be included -->
<upid_data>
<segmentation_upid_type>[SegmentationUPIDType]<segmentation_upid_type>
<segmentation_upid>[SegmentationUPID]<segmentation_upid>
</upid_data>
<upid_data>
<!-- upid_data params -->
</upid_data>
</cue_insert>
<cue_insert>
<!-- cue_insert params -->
</cue_insert>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "[advanced_hls|fmp4_hls|advanced_fmp4]",
"ad_break": [
{
"marker_type": [
"[MarkerType1]",
"[MarkerType2]",
"[MarkerTypeN]"
],
"upid_data": [
{
"segmentation_upid_type": "[SegmentationUPIDType]",
"segmentation_upid": "[SegmentationUPID]",
}
]
}
],
"cue_insert": [
{
"marker_type": [
"[MarkerType1]",
"[MarkerType2]",
"[MarkerTypeN]"
],
"upid_data": [
{
"segmentation_upid_type": "[SegmentationUPIDType]",
"segmentation_upid": "[SegmentationUPID]",
}
]
}
]
}
}
}
Parameter | Description | Allowed Values | Default Values |
---|---|---|---|
marker_type (cue_insert) | Break Marker Type | scte35-opening-credit — adds #EXT-X-SCTE35 opening credits tag. scte35-closing-credit — adds #EXT-X-SCTE35 closing credits tag. scte35-chapter-marker — adds #EXT-X-SCTE35 chapter marker tag. scte35-content-identification — adds #EXT-X-SCTE35 content identification tag. | scte35-opening-credit |
## upid_data parameters | |||
segmentation_upid_type | UPID type | Positive integer number. | none |
segmentation_upid | Unique UPID string for cue | Valid UPID string | none |
For segmentation_upid_type parameter
For now, we only support value 14 for <segmentation_upid_type /> parameter.