Skip to main content

Source_pipeline

NameTypeDescription
trimanyOf         
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_argsstring
The FFmpeg source string to be applied to the source file. Use {source_url} within this string to insert the source file name(s).
optionsobjectOptions to be used during the decoding of the source.
accelerated_proresboolean
Use accelerated Apple ProRes decoder.
segmented_renderingobjectSegmented rendering parameters.
manifest_decode_strategyenum                          
simple
reject_complex
reject_master_playlist
Defines the level of complexity allowed when using a manifest as a source.
chroma_dither_algorithmenum                          
none
bayer
ed
a_dither
x_dither
The dithering algorithm to use for color conversions.
scalerobjectThe type of function to be used in scaling operations.
frame_ratenumber
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
}
]
}
]
}
}