1# Copyright (c) 2023, Alliance for Open Media. All rights reserved 2# 3# This source code is subject to the terms of the BSD 3-Clause Clear License 4# and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear 5# License was not distributed with this source code in the LICENSE file, you 6# can obtain it at www.aomedia.org/license/software-license/bsd-3-c-c. If the 7# Alliance for Open Media Patent License 1.0 was not distributed with this 8# source code in the PATENTS file, you can obtain it at 9# www.aomedia.org/license/patent. 10 11# proto-file: iamf/cli/proto/user_metadata.proto 12# proto-message: UserMetadata 13 14test_vector_metadata { 15 human_readable_description: 16 "A 7.1.4 IAMF stream using " 17 "`default_demixing_info_parameter_data`." 18 file_name_prefix: "test_000209" 19 is_valid: true 20 is_valid_to_decode: true 21 validate_user_loudness: true 22 mp4_fixed_timestamp: "2023-05-12 00:00:00" 23 test_repository_tags: [ 24 "github/aomediacodec/libiamf/main", 25 "github/aomediacodec/libiamf/v1.0.0-errata" 26 ] 27 primary_tested_spec_sections: [ 28 "3.6/demixing_info", 29 "3.6/default_demixing_info_parameter_data", 30 "3.6/default_w", 31 "7/IAMF Processing", 32 "7.3.2.1/Rendering a Channel-Based Audio Element to Loudspeakers", 33 "7.5.1/Loudness Normalization", 34 "7.5.2/Limiter", 35 "9.1.2.1/Annex A2.1: Down-mix parameter and Loudness" 36 ] 37 base_test: "test_000208" 38} 39 40encoder_control_metadata { 41 add_build_information_tag: false 42} 43 44ia_sequence_header_metadata { 45 primary_profile: PROFILE_VERSION_SIMPLE 46 additional_profile: PROFILE_VERSION_SIMPLE 47} 48 49codec_config_metadata { 50 codec_config_id: 200 51 codec_config { 52 codec_id: CODEC_ID_LPCM 53 num_samples_per_frame: 1024 54 audio_roll_distance: 0 55 decoder_config_lpcm { 56 sample_format_flags: LPCM_LITTLE_ENDIAN 57 sample_size: 16 58 sample_rate: 48000 59 } 60 } 61} 62 63audio_element_metadata { 64 audio_element_id: 300 65 audio_element_type: AUDIO_ELEMENT_CHANNEL_BASED 66 reserved: 0 67 codec_config_id: 200 68 num_substreams: 7 69 audio_substream_ids: [0, 1, 2, 3, 4, 5, 6] 70 num_parameters: 1 71 audio_element_params { 72 param_definition_type: PARAM_DEFINITION_TYPE_DEMIXING 73 demixing_param: { 74 param_definition { 75 parameter_id: 999 # Non-existent; default will be used 76 parameter_rate: 48000 77 param_definition_mode: 0 78 reserved: 0 79 duration: 1024 80 num_subblocks: 1 81 constant_subblock_duration: 1024 82 } 83 default_demixing_info_parameter_data: { 84 dmixp_mode: DMIXP_MODE_2 85 } 86 default_w: 0 87 } 88 } 89 scalable_channel_layout_config { 90 num_layers: 1 91 reserved: 0 92 channel_audio_layer_configs: [ 93 { 94 loudspeaker_layout: LOUDSPEAKER_LAYOUT_7_1_4_CH 95 output_gain_is_present_flag: 0 96 recon_gain_is_present_flag: 0 97 reserved_a: 0 98 substream_count: 7 99 coupled_substream_count: 5 100 } 101 ] 102 } 103} 104 105mix_presentation_metadata { 106 mix_presentation_id: 42 107 count_label: 1 108 annotations_language: ["en-us"] 109 localized_presentation_annotations: ["test_mix_pres"] 110 num_sub_mixes: 1 111 sub_mixes { 112 num_audio_elements: 1 113 audio_elements { 114 audio_element_id: 300 115 localized_element_annotations: ["test_sub_mix_0_audio_element_0"] 116 rendering_config { 117 headphones_rendering_mode: HEADPHONES_RENDERING_MODE_STEREO 118 } 119 element_mix_gain { 120 param_definition { 121 parameter_id: 998 # Non-existent; default will be used 122 parameter_rate: 48000 123 param_definition_mode: 1 124 reserved: 0 125 } 126 default_mix_gain: 0 127 } 128 } 129 output_mix_gain { 130 param_definition { 131 parameter_id: 997 # Non-existent; default will be used 132 parameter_rate: 48000 133 param_definition_mode: 1 134 reserved: 0 135 } 136 default_mix_gain: 0 137 } 138 num_layouts: 4 139 layouts { 140 loudness_layout { 141 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 142 ss_layout { 143 sound_system: SOUND_SYSTEM_A_0_2_0 144 reserved: 0 145 } 146 } 147 loudness { 148 info_type_bit_masks: [] 149 integrated_loudness: -4013 150 digital_peak: 0 151 } 152 } 153 layouts { 154 loudness_layout { 155 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 156 ss_layout { 157 sound_system: SOUND_SYSTEM_B_0_5_0 158 reserved: 0 159 } 160 } 161 loudness { 162 info_type_bit_masks: [] 163 integrated_loudness: -3695 164 digital_peak: -798 165 } 166 } 167 layouts { 168 loudness_layout { 169 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 170 ss_layout { 171 sound_system: SOUND_SYSTEM_11_2_3_0 172 reserved: 0 173 } 174 } 175 loudness { 176 info_type_bit_masks: [] 177 integrated_loudness: -4290 178 digital_peak: 0 179 } 180 } 181 layouts { 182 loudness_layout { 183 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 184 ss_layout { 185 sound_system: SOUND_SYSTEM_J_4_7_0 186 reserved: 0 187 } 188 } 189 loudness { 190 info_type_bit_masks: [] 191 integrated_loudness: -4112 192 digital_peak: -998 193 } 194 } 195 } 196} 197 198audio_frame_metadata { 199 wav_filename: "Mechanism_5s.wav" 200 samples_to_trim_at_end: 640 201 samples_to_trim_at_start: 0 202 audio_element_id: 300 203 channel_metadatas: [ 204 { channel_id: 0 channel_label: CHANNEL_LABEL_L_7 }, 205 { channel_id: 1 channel_label: CHANNEL_LABEL_R_7 }, 206 { channel_id: 2 channel_label: CHANNEL_LABEL_CENTRE }, 207 { channel_id: 3 channel_label: CHANNEL_LABEL_LFE }, 208 { channel_id: 4 channel_label: CHANNEL_LABEL_LSS_7 }, 209 { channel_id: 5 channel_label: CHANNEL_LABEL_RSS_7 }, 210 { channel_id: 6 channel_label: CHANNEL_LABEL_LRS_7 }, 211 { channel_id: 7 channel_label: CHANNEL_LABEL_RRS_7 }, 212 { channel_id: 8 channel_label: CHANNEL_LABEL_LTF_4 }, 213 { channel_id: 9 channel_label: CHANNEL_LABEL_RTF_4 }, 214 { channel_id: 10 channel_label: CHANNEL_LABEL_LTB_4 }, 215 { channel_id: 11 channel_label: CHANNEL_LABEL_RTB_4 } 216 ] 217} 218 219temporal_delimiter_metadata { 220 enable_temporal_delimiters: false 221} 222