Scte35_in_json
Name | Type | Description |
---|---|---|
scte35_sections | array | An array describing the insertion points for the SCTE35 markers. Each element in the array describes the parameters of the SCTE35 marker. |
write_scte35_packets | boolean | This setting may be set to false in order to insert i-frames at the locations defined by the SCTE35 metadata but not actually insert the SCTE35 packets. default: true |
packet_retiming | integer | The parameter allows choosing a method how PTS offset is applied. 0: off, 1: add offset to event time, 2 (default): add offset to pts_adjustment. maximum: 2 default: 2 |
Example scte35_in_json
{
"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
}
}
}
}
},
{
"insertTime": 450000,
"spliceInfoSection": {
"spliceInsert": {
"spliceEventId": 9,
"program": {
"spliceTime": {
"ptsTime": 630000
}
}
}
}
},
{
"insertTime": 810000,
"spliceInfoSection": {
"spliceInsert": {
"spliceEventId": 10,
"program": {
"spliceTime": {
"ptsTime": 900000
}
}
}
}
}
]
},
"pmt_pid": 480,
"transport_id": 1,
"muxrate_kb": 2860
},
"video": {
"codec": "mpeg2",
"pid": 481,
"width": 720,
"height": 480,
"max_bframes": 2,
"idr_interval": {
"frames": 90
}
},
"audio": [
{
"pid": 482,
"codec": "ac3",
"channels": 2,
"sample_rate": 48000,
"bitrate_kb": 224,
"language": "eng"
}
]
}
]
}
}