Skip to main content

Peak

NameTypeDescription
sourceobjectNormalization analysis results for cases where the analysis was run separately.
peak_level_dbnumberAudio peak level in decibels (dB).
analyzer_track_indexintegerLimits analyzer to run on a particular track.
is_optionalbooleanif set to true, the transcode will not fail if this media type did not exist in the source.

Example peak

{
"uid": "transcode_media",
"kind": "transcode",
"payload": {
"location": {
},
"targets": [
{
"file_pattern": "{source_basename}_converted.mp4",
"container": {
"kind": "mp4"
},
"video": {
},
"audio": [
{
"codec": "heaac_v2",
"channels": 4,
"sample_rate": 48000,
"filters": [
{
"kind": "normalize",
"payload": {
"kind": "peak",
"payload": {
"peak_level_db": -3
}
}
}
]
}
]
}
]
}
}