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 third-order ambisonics IAMF stream encoded using " 17 "`ambisonics_mode` = `MONO` and a binaural layout." 18 file_name_prefix: "test_000096" 19 is_valid: true 20 is_valid_to_decode: true 21 validate_user_loudness: true 22 mp4_fixed_timestamp: "2023-07-17 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.3/ambisonics_mono_config", 29 "3.7.3/headphones_rendering_mode == 1", 30 "3.7.6/layout_type == BINAURAL", 31 "7.3.2.4/Rendering a Scene-Based Audio Element to Headphones", 32 "7.5.1/Loudness Normalization", 33 "7.5.2/Limiter" 34 ] 35 base_test: "test_000103" 36} 37 38encoder_control_metadata { 39 add_build_information_tag: false 40} 41 42ia_sequence_header_metadata { 43 primary_profile: PROFILE_VERSION_SIMPLE 44 additional_profile: PROFILE_VERSION_SIMPLE 45} 46 47codec_config_metadata { 48 codec_config_id: 200 49 codec_config { 50 codec_id: CODEC_ID_LPCM 51 num_samples_per_frame: 1024 52 audio_roll_distance: 0 53 decoder_config_lpcm { 54 sample_format_flags: LPCM_LITTLE_ENDIAN 55 sample_size: 16 56 sample_rate: 48000 57 } 58 } 59} 60 61audio_element_metadata { 62 audio_element_id: 300 63 audio_element_type: AUDIO_ELEMENT_SCENE_BASED 64 reserved: 0 65 codec_config_id: 200 66 num_substreams: 16 67 audio_substream_ids: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] 68 num_parameters: 0 69 ambisonics_config { 70 ambisonics_mode: AMBISONICS_MODE_MONO 71 ambisonics_mono_config { 72 output_channel_count: 16 73 substream_count: 16 74 channel_mapping: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] 75 } 76 } 77} 78 79mix_presentation_metadata { 80 mix_presentation_id: 42 81 count_label: 1 82 annotations_language: ["en-us"] 83 localized_presentation_annotations: ["test_mix_pres"] 84 num_sub_mixes: 1 85 sub_mixes { 86 num_audio_elements: 1 87 audio_elements { 88 audio_element_id: 300 89 localized_element_annotations: ["test_sub_mix_0_audio_element_0"] 90 rendering_config { 91 headphones_rendering_mode: HEADPHONES_RENDERING_MODE_BINAURAL 92 } 93 element_mix_gain { 94 param_definition { 95 parameter_id: 999 # Non-existent; default will be used 96 parameter_rate: 48000 97 param_definition_mode: 1 98 reserved: 0 99 } 100 default_mix_gain: 0 101 } 102 } 103 output_mix_gain { 104 param_definition { 105 parameter_id: 998 # Non-existent; default will be used 106 parameter_rate: 48000 107 param_definition_mode: 1 108 reserved: 0 109 } 110 default_mix_gain: 0 111 } 112 num_layouts: 2 113 layouts { 114 loudness_layout { 115 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 116 ss_layout { 117 sound_system: SOUND_SYSTEM_A_0_2_0 118 reserved: 0 119 } 120 } 121 loudness { 122 info_type_bit_masks: [] 123 integrated_loudness: -2834 124 digital_peak: 0 125 } 126 } 127 layouts { 128 loudness_layout { 129 layout_type: LAYOUT_TYPE_BINAURAL 130 reserved_or_binaural_layout: { 131 reserved: 0 132 } 133 } 134 loudness { 135 info_type_bit_masks: [] 136 integrated_loudness: -32768 # Loudness value should be ignored. 137 digital_peak: -32768 # Loudness value should be ignored. 138 } 139 } 140 } 141} 142 143audio_frame_metadata { 144 wav_filename: "Transport_TOA_5s.wav" 145 samples_to_trim_at_end: 640 146 samples_to_trim_at_start: 0 147 audio_element_id: 300 148 channel_metadatas: [ 149 { channel_id: 0 channel_label: CHANNEL_LABEL_A_0 }, 150 { channel_id: 1 channel_label: CHANNEL_LABEL_A_1 }, 151 { channel_id: 2 channel_label: CHANNEL_LABEL_A_2 }, 152 { channel_id: 3 channel_label: CHANNEL_LABEL_A_3 }, 153 { channel_id: 4 channel_label: CHANNEL_LABEL_A_4 }, 154 { channel_id: 5 channel_label: CHANNEL_LABEL_A_5 }, 155 { channel_id: 6 channel_label: CHANNEL_LABEL_A_6 }, 156 { channel_id: 7 channel_label: CHANNEL_LABEL_A_7 }, 157 { channel_id: 8 channel_label: CHANNEL_LABEL_A_8 }, 158 { channel_id: 9 channel_label: CHANNEL_LABEL_A_9 }, 159 { channel_id: 10 channel_label: CHANNEL_LABEL_A_10 }, 160 { channel_id: 11 channel_label: CHANNEL_LABEL_A_11 }, 161 { channel_id: 12 channel_label: CHANNEL_LABEL_A_12 }, 162 { channel_id: 13 channel_label: CHANNEL_LABEL_A_13 }, 163 { channel_id: 14 channel_label: CHANNEL_LABEL_A_14 }, 164 { channel_id: 15 channel_label: CHANNEL_LABEL_A_15 } 165 ] 166} 167 168temporal_delimiter_metadata { 169 enable_temporal_delimiters: false 170} 171