1# Copyright (c) 2024, 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: "Template. Fill in `file_name_prefix` and `wav_filename` to encode a file." 16 file_name_prefix: "TEMPLATE" 17 is_valid: true 18} 19 20audio_frame_metadata { 21 wav_filename: "TEMPLATE_TOA.wav" 22 samples_to_trim_at_end_includes_padding: false 23 samples_to_trim_at_start_includes_codec_delay: false 24 samples_to_trim_at_end: 0 25 samples_to_trim_at_start: 0 26 audio_element_id: 300 27 channel_metadatas: [ 28 { channel_id: 0 channel_label: CHANNEL_LABEL_A_0 }, 29 { channel_id: 1 channel_label: CHANNEL_LABEL_A_1 }, 30 { channel_id: 2 channel_label: CHANNEL_LABEL_A_2 }, 31 { channel_id: 3 channel_label: CHANNEL_LABEL_A_3 }, 32 { channel_id: 4 channel_label: CHANNEL_LABEL_A_4 }, 33 { channel_id: 5 channel_label: CHANNEL_LABEL_A_5 }, 34 { channel_id: 6 channel_label: CHANNEL_LABEL_A_6 }, 35 { channel_id: 7 channel_label: CHANNEL_LABEL_A_7 }, 36 { channel_id: 8 channel_label: CHANNEL_LABEL_A_8 }, 37 { channel_id: 9 channel_label: CHANNEL_LABEL_A_9 }, 38 { channel_id: 10 channel_label: CHANNEL_LABEL_A_10 }, 39 { channel_id: 11 channel_label: CHANNEL_LABEL_A_11 }, 40 { channel_id: 12 channel_label: CHANNEL_LABEL_A_12 }, 41 { channel_id: 13 channel_label: CHANNEL_LABEL_A_13 }, 42 { channel_id: 14 channel_label: CHANNEL_LABEL_A_14 }, 43 { channel_id: 15 channel_label: CHANNEL_LABEL_A_15 } 44 ] 45} 46 47ia_sequence_header_metadata { 48 primary_profile: PROFILE_VERSION_SIMPLE 49 additional_profile: PROFILE_VERSION_SIMPLE 50} 51 52codec_config_metadata { 53 codec_config_id: 200 54 codec_config { 55 codec_id: CODEC_ID_OPUS 56 num_samples_per_frame: 960 57 decoder_config_opus { 58 version: 1 59 input_sample_rate: 48000 60 opus_encoder_metadata { 61 target_bitrate_per_channel: 64000 62 application: APPLICATION_AUDIO 63 use_float_api: false 64 } 65 } 66 } 67} 68 69audio_element_metadata { 70 audio_element_id: 300 71 audio_element_type: AUDIO_ELEMENT_SCENE_BASED 72 reserved: 0 73 codec_config_id: 200 74 num_substreams: 16 75 audio_substream_ids: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] 76 num_parameters: 0 77 ambisonics_config { 78 ambisonics_mode: AMBISONICS_MODE_MONO 79 ambisonics_mono_config { 80 output_channel_count: 16 81 substream_count: 16 82 channel_mapping: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] 83 } 84 } 85} 86 87mix_presentation_metadata { 88 mix_presentation_id: 42 89 count_label: 1 90 annotations_language: ["en-us"] 91 localized_presentation_annotations: ["Default Mix Presentation"] 92 num_sub_mixes: 1 93 sub_mixes { 94 num_audio_elements: 1 95 audio_elements { 96 audio_element_id: 300 97 localized_element_annotations: ["Third-order Ambisonics"] 98 rendering_config { 99 headphones_rendering_mode: HEADPHONES_RENDERING_MODE_BINAURAL 100 } 101 element_mix_gain { 102 param_definition { 103 parameter_id: 999 # Non-existent; default will be used 104 parameter_rate: 48000 105 param_definition_mode: 1 106 reserved: 0 107 } 108 default_mix_gain: 0 109 } 110 } 111 output_mix_gain { 112 param_definition { 113 parameter_id: 998 # Non-existent; default will be used 114 parameter_rate: 48000 115 param_definition_mode: 1 116 reserved: 0 117 } 118 default_mix_gain: 0 119 } 120 num_layouts: 3 121 layouts { 122 loudness_layout { 123 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 124 ss_layout { 125 sound_system: SOUND_SYSTEM_A_0_2_0 126 reserved: 0 127 } 128 } 129 loudness { 130 info_type_bit_masks: [] 131 } 132 } 133 layouts { 134 loudness_layout { 135 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 136 ss_layout { 137 sound_system: SOUND_SYSTEM_B_0_5_0 138 reserved: 0 139 } 140 } 141 loudness { 142 info_type_bit_masks: [] 143 } 144 } 145 layouts { 146 loudness_layout { 147 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 148 ss_layout { 149 sound_system: SOUND_SYSTEM_J_4_7_0 150 reserved: 0 151 } 152 } 153 loudness { 154 info_type_bit_masks: [] 155 } 156 } 157 } 158} 159 160temporal_delimiter_metadata { 161 enable_temporal_delimiters: false 162} 163