Source_pipeline
Name | Type | Description |
---|---|---|
trim | anyOf by_sec_in_out by_sec_in_dur by_timecode by_asset_timecode by_frame_nr by_section_nr by_media_track by_nothing | Object defining the type of trim operation to perform on an asset. |
ffmpeg_source_args | string | The FFmpeg source string to be applied to the source file. Use {source_url} within this string to insert the source file name(s). |
options | object | Options to be used during the decoding of the source. |
accelerated_prores | boolean | Use accelerated Apple ProRes decoder. |
segmented_rendering | object | Segmented rendering parameters. |
manifest_decode_strategy | enum simple reject_complex reject_master_playlist | Defines the level of complexity allowed when using a manifest as a source. |
chroma_dither_algorithm | enum none bayer ed a_dither x_dither | The dithering algorithm to use for color conversions. |
scaler | object | The type of function to be used in scaling operations. |
frame_rate | number string | The framerate to use for this transcode. If not specified, the source framerate will be used. |
Example source_pipeline
{
"uid": "transcode_task",
"kind": "transcode",
"payload": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_folder"
},
"source_pipeline": {
"options": {
"force_ffr": true,
"max_decode_errors": 10
},
"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
}
]
}
]
}
}