Audio
| Name | Type | Description |
|---|---|---|
| include_if_source_has | array | This array allows for conditionally outputting tracks based on whether or not a specific input track exists. The tracks in the source are referred to by number reference: audio[0] refers to the first audio track. |
| include_conditions | array | This array allows for conditionally including output audio tracks based on conditions in the input file. |
| verify | boolean | Enable or disable post transcode verification for this track. default: true |
| codec | enum copyaacmpeg2_aacmpeg4_aacaac_lcheaac_v1heaac_v2heaac_autos302mmp2pcmmp3ac3aiffalacflaceac3vorbisopusdolby_digitaldolby_digital_plus | The audio codec to use. Selecting 'copy' will attempt to use the compressed source audio stream. |
| codec_provider | enum defaultffmpegmainconcept_v10mainconcept_v11mainconcept_v13 | The codec provider to be used for encoding. |
| pid | integer | The audio program ID. This is only used for MPEG transport streams. maximum: 8190 |
| channels | integer | The number of audio channels. minimum: 1maximum: 24 |
| channel_order | enum smptewave_extensible | Specify a way to assign PCM channels to predefined speaker positions. Supported only for WAVE output format. default: smpte |
| dolby_digital_plus | object | The parameters for Dolby Digital Plus encoding. |
| sample_size | enum 816243264 | The audio sample size in bits. default: 24 |
| sample_format | enum pcm_s8pcm_u8pcm_f16lepcm_f24lepcm_f32lepcm_f64lepcm_f16bepcm_f24bepcm_f32bepcm_f64bepcm_s16lepcm_s24lepcm_s32lepcm_s64lepcm_s16bepcm_s24bepcm_s32bepcm_s64bepcm_u16lepcm_u24lepcm_u32lepcm_u64lepcm_u16bepcm_u24bepcm_u32bepcm_u64be | The audio sample format/description. |
| sample_rate | integer | The audio sample rate in Hz. Typical values are 44100 and 48000. Omit to use the source sample rate. |
| bitrate_mode | enum cbrvbr | Select between constant and variable bitrate encoding. Note that not all codecs support all bitrate modes. Omit this value to use the codec's default. |
| bitrate_kb | number | The audio bitrate in kilobits per second. This is the average bitrate in the case of vbr. Not all audio codecs support this setting. Omit to use codec's default. minimum: 1maximum: 1024 |
| min_bitrate_kb | number | The minimum audio bitrate in kilobits per second. Valid for vbr only. minimum: 1maximum: 1024 |
| max_bitrate_kb | number | The maximum audio bitrate in kilobits per second. Valid for vbr only. minimum: 1maximum: 1024 |
| language | string | The audio language code. ISO-639 notation is preferred, but Hybrik will attempt to convert the passed language identifier. |
| default_language | string | The default audio language code. It is used when 'language' is not set and source language cannot be converted to valid ISO-639 notation. ISO-639 notation is preferred, but Hybrik will attempt to convert the passed language identifier. |
| disposition | enum defaultduboriginalcommentlyricskaraokeaudio_descriptionspoken_subtitlesclean_audio | The audio disposition. |
| track_name | string | The name of this audio track - will be used for mov files and MPEG-DASH (representation::id) for example. May be ignored, depending on your container format. |
| track_group_id | string | This indicates which Group this track belongs to. Multiple tracks with the same content but different bitrates would have the same track_group_id. |
| layer_id | string | This 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_affinities | array | This indicates which other layers this layer can be combined with. For example, to combine audio and video layers. |
| filters | array | An array of audio filters that will be applied in order to the output audio. |
| channel_designators | array enum unknownleftrightfront_leftfront_rightfront_centerback_leftback_rightfront_left_of_centerfront_right_of_centerback_centerside_leftside_rightleft_heightright_heightcenterlfe_screenleft_surroundright_surroundleft_centerright_centercenter_surroundleft_surround_directright_surround_directtop_center_surroundvertical_height_leftvertical_height_centervertical_height_righttop_back_lefttop_back_centertop_back_righttop_front_lefttop_front_centertop_front_rightrear_surround_leftrear_surround_rightleft_wideright_widelfe2left_totalright_totalhearing_impairednarrationmonodialog_centric_mixcenter_surround_directhapticheadphones_leftheadphones_rightclick_trackforeign_languagediscretediscrete_0discrete_1discrete_2discrete_3discrete_4discrete_5discrete_6discrete_7discrete_8discrete_9discrete_10discrete_11discrete_12discrete_13discrete_14discrete_15 | ***** |
| convert_aac_headers | enum adts_to_asc | For solving aac transmux issues between mp4 and ts/raw tracks. |
| aac_header_interval | integer | Allowing to solve specific hardware playback compliance problems. |
| dialnorm | number string | Dialogue Level (aka dialogue normalization or dialnorm) is the average dialogue level of a program over time, measured with an LAEq meter, referenced to 0 dBFS. |
| mainconcept_stream_mux_options | string | Provide direct stream instruction to the MainConcept multiplexer. Values are constructed as "prop=val,prop=val". See MainConcept documentation for valid values. |
| mainconcept_audio_options | string | MainConcept specific codec options - please reference the mainconcept codec documentation. |
| mainconcept_audio_profile | enum MPEG1MPEG2DVBDVHSVCDSVCDDVDDVD_MPEG1DVD_DVRDVD_DVR_MPEG1MMVHDV_HD1HDV_HD2 | One of the preset values for profile (e.g. mpeg1). |
| pcm_wrapping | enum rawbwfaes | The type of wrapping to use for PCM audio tracks. |
| metadata | object | ***** |
| ffmpeg_args | string | The FFmpeg (target) command line arguments to be used. Note that these will override competing settings in the JSON. |
| dolbye | object | The parameters for Dolby E encoding. |
Example audio
{
"uid": "transcode_task",
"kind": "transcode",
"payload": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_folder"
},
"targets": [
{
"file_pattern": "{source_basename}_output{default_extension}",
"existing_files": "replace",
"container": {
"kind": "mpegts"
},
"video": {
"width": 1280,
"height": 720,
"codec": "h264"
},
"audio": [
{
"codec": "ac3",
"pid": 482,
"channels": 6,
"sample_rate": 48000,
"bitrate_kb": 384
},
{
"codec": "aac_lc",
"pid": 483,
"channels": 2,
"sample_rate": 48000,
"bitrate_kb": 128
}
]
}
]
}
}