Skip to main content

Audio

NameTypeDescription
codecenum                          
eac3
ddp_joc
ddp_joc_cbi
ddp_5.1_atmos_downmix
ddp
ac4_ims
ac4_ajoc
The audio codec to use.
channelsinteger
The number of audio channels.
minimum: 1
maximum: 16
bitrate_kbnumber
The audio bitrate in kilobits per second.
minimum: 1
maximum: 1500
layer_idstringThis indicates which Layer this tracks belongs to. For example, this allows bundling one video layer and multiple audio layers with same bitrates but different languages.
layer_affinitiesarray                          This indicates which other layers this layer can be combined with. For example, to combine audio and video layers.
frame_rateenum                          
auto
23.976
24
25
29.97
30
Output frame rate.
sample_rateinteger
string
The audio sample rate in Hz. Currently, valid only for Dolby Atmos master conversion and xHEAAC encoding. Sample rate should be provided as integer. xHEAAC encoding supports 'auto' configuration.
downmix_configenum                          
off
mono
stereo
5.1
Audio output channel configuration.
lfe_onbooleanEnables LFE. Affects 5.1 only.
lfe_lowpass_filterbooleanEnables LFE lowpass filter.
dolby_surround_modeenum                          
not_indicated
yes
no
Dolby Surround mode. Affects stereo only.
dolby_surround_ex_modeenum                          
not_indicated
yes
no
Dolby Digital Surround EX mode. Affects 5.1 and 7.1.
surround_90_degree_phase_shiftboolean90-degree phase shift to surround channels. Disabled for Dolby Atmos inputs.
surround_3db_attenuationboolean3 dB attenuation to surround channels. Disabled for Dolby Atmos inputs.
languagestringThe language tag to include in the AC-4 stream, for example "eng" or "eng-US". Default is empty. The ISO 639-2 and ISO 639-3 special language codes MIS, MUL, UND, and ZXX, and the language code QAA are not allowed. If the tag is a 3 letter code according to ISO 639-2 that is not compliant to BCP 47, the tag will be converted to its 2 letter equivalent according to ISO 639-1.
warp_modeenum                          
normal
warping
pl2x
loro
Edit warpMode metadata in an ADM BWF file. When this option is used, all other target convertion options are ignored. Format change is not possible.
iframe_intervalnumber
I-frame interval expressed in seconds.
minimum: 0.5
maximum: 10
ipf_intervalnumber
Immediate Playout Frame interval expressed in seconds.
minimum: 1
maximum: 60
stream_idinteger
Allows for specifying the stream identifier. Value 0 (default) means that the stream identification will not be signaled. The assigned value should be unique within the adaptive set. Values: [0-65535].
maximum: 65535
filtersarraySpecify filters settings for Dolby Audio Encoding task.
sourcearray                          Mapping audio tracks.

Example audio

{
"uid": "dolby_audio_encoder",
"kind": "dolby_audio_encoder",
"payload": {
"location": {
"storage_provider": "s3",
"path": "{{destination_path}}"
},
"targets": [
{
"file_pattern": "{{file_pattern}}.eac3",
"existing_files": "replace",
"container": {
"kind": "elementary"
},
"audio": [
{
"codec": "ddp_joc",
"bitrate_kb": 448
}
]
}
]
}
}