Targets
Name | Type | Description |
---|---|---|
uid | string | A UID (arbitrary string) to allow referencing this target. This UID may be used, for example, to specify a target for preview generation. User supplied, must be unique within an array of targets. |
location | object | A location that overrides any location defined within the parents of this encode target. |
file_pattern | string | This describes the target file name. Placeholders such as {source_basename} for source file name are supported.default: {source_basename} |
existing_files | enum delete_and_replace replace replace_late rename_new rename_org fail | The desired behavior when a target file already exists. "replace": will delete the original file and write the new one. "rename_new": gives the new file a different auto-generated name. "rename_org": renames the original file. Note that renaming the original file may not be possible depending on the target location. "delete_and_replace": attempts to immediately delete the original file. This will allow for fast failure in the case of inadequate permissions. "replace_late": does not attempt to delete the original -- simply executes a write. default: fail |
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. |
prepend_silence_sec | number | Duration of silence prepended to the output. Provided as seconds. |
append_silence_sec | number | Duration of silence appended to the output. Provided as seconds. |
no_ffoa | boolean | Don't include FFOA in the target output. Currently, valid only for Dolby Atmos master conversion. |
container | object | ***** |
audio | array | ***** |
Example targets
{
"uid": "dolby_audio_encoder",
"kind": "dolby_audio_encoder",
"payload": {
"location": {
"storage_provider": "s3",
"path": "{{destination_path}}"
},
"music_mode": true,
"targets": [
{
"file_pattern": "{{file_pattern}}.eac3",
"existing_files": "replace",
"container": {
"kind": "elementary"
},
"audio": [
{
"codec": "ddp_joc",
"bitrate_kb": 448
}
]
}
]
}
}