SpliceInsert
Name | Type | Description |
---|---|---|
spliceEventId | integer | The ID for the splice event. |
spliceEventCancelIndicator | boolean | In a broadcast, indicates whether a specific insertion has been cancelled. |
outOfNetworkIndicator | boolean | True indicates cue-out from the network (the start of an ad). False indicates cue-in from the ad to the network. |
programSpliceFlag | boolean | Setting this flag to true indicates Program Splice Mode, where setting it to false indicates a Component Splice Mode. |
uniqueProgramId | integer | A unique identifier for the viewing event. |
availNum | integer | An identification for a specific avail within one Unique Program ID. |
availsExpected | integer | The count for the expected number of individual avails within the current viewing event. If this field is set to zero, then the availNum filed is ignored. |
program | object | Object to specify the spliceTime of the Program. |
Example spliceInsert
{
"uid": "transcode_task",
"kind": "transcode",
"payload": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_folder"
},
"targets": [
{
"file_pattern": "{source_basename}_scte35.ts",
"existing_files": "replace",
"container": {
"kind": "mpegts",
"scte35": {
"write_scte35_packets": true,
"scte35_sections": [
{
"insertTime": 180000,
"spliceInfoSection": {
"spliceInsert": {
"spliceEventId": 8,
"program": {
"spliceTime": {
"ptsTime": 360000
}
}
}
}
}
]
}
},
"video": {
"codec": "mpeg2",
"width": 720,
"height": 480
},
"audio": [
{
"codec": "ac3",
"channels": 2,
"sample_rate": 48000,
"bitrate_kb": 224
}
]
}
]
}
}