15 April 2021
over 3 years ago by Encoding.com Product Team #2
Select what ad_breaks will split Image Media Playlist
Added option that allows selecting what kind of ad_breaks will split image media playlist.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<format>
<output>[advanced_hls|advanced_dash|fmp4_hls|advanced_fmp4]</output> <!-- required-->
<destination>[DestFile]</destination> <!-- required-->
<image_media_playlist>
<segment_timeline>yes</segment_timeline>
<break_points>[default|adbreaks]</break_points>
</image_media_playlist>
<image_media_playlist>
<!-- image_media_playlist params -->
</image_media_playlist>
<!-- multiple image_media_playlist may be included -->
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<key>>", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "[advanced_hls|advanced_dash|fmp4_hls|advanced_fmp4]", // required
"destination": "[DestFile]", // required
"image_media_playlist": [
// image_media_playlist doesn't work with advanced_mss
{
"segment_timeline": "yes",
"break_points": "[default|adbreaks]"
},
{
// image_media_playlist params
}
// multiple image_media_playlist may be included
],
// format Params
}
}
}
Parameter | Description | Allowed Values | Defalt Value |
---|---|---|---|
break_points | Define which ad breaks elements is used to split image list | default – split on both ad_break and cue_insert adbreaks – split on ad_break only | default |
For break_points
The <break_points /> applieable only if <segment_timeline /> set to yes.