Segmented_rendering
Name | Type | Description |
---|---|---|
duration_sec | number | Duration (in seconds) of a segment in segment encode mode. minimum: 1 |
pts_zero_base | boolean | Setting this to true will reset PTS stamps in the stream to a zero-based start. |
scene_changes_search_duration_sec | number | Duration (in seconds) to look for a dominant previous or following scene change. Note that the segment duration can then be up to duration_sec + scene_changes_search_duration_sec long. |
generate_extended_report | boolean | Setting this to true will produce extended report and commit to extended JSON. |
strict_cfr | boolean | Combiner will merge and re-stripe transport streams |
mux_offset_otb | integer | Timebase offset to be used by the muxer. |
min_preroll_sec | number | Minimum preroll (in seconds) of a segment in segment encode mode. |
min_postroll_sec | number | Minimum postroll (in seconds) of a segment in segment encode mode. |
combiner_task_tags | array | A list of task tags for combiner task in case of segmented rendering. Tags are custom strings that are used to match tasks to specific computing groups. |
Example segmented_rendering
{
"uid": "transcode_task",
"kind": "transcode",
"payload": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_folder"
},
"source_pipeline": {
"segmented_rendering": {
"duration_sec": 180
}
},
"targets": [
{
"file_pattern": "{source_basename}_output.mp4",
"existing_files": "replace",
"container": {
"kind": "mp4"
},
"video": {
"width": 1280,
"height": 720,
"codec": "h264"
},
"audio": [
{
"codec": "aac",
"channels": 2,
"bitrate_kb": 128
}
]
}
]
}
}