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_5dot1dot2.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_L_5 }, 29 { channel_id: 1 channel_label: CHANNEL_LABEL_R_5 }, 30 { channel_id: 2 channel_label: CHANNEL_LABEL_CENTRE }, 31 { channel_id: 3 channel_label: CHANNEL_LABEL_LFE }, 32 { channel_id: 4 channel_label: CHANNEL_LABEL_LS_5 }, 33 { channel_id: 5 channel_label: CHANNEL_LABEL_RS_5 }, 34 { channel_id: 6 channel_label: CHANNEL_LABEL_LTF_2 }, 35 { channel_id: 7 channel_label: CHANNEL_LABEL_RTF_2 } 36 ] 37} 38 39ia_sequence_header_metadata { 40 primary_profile: PROFILE_VERSION_SIMPLE 41 additional_profile: PROFILE_VERSION_SIMPLE 42} 43 44codec_config_metadata { 45 codec_config_id: 200 46 codec_config { 47 codec_id: CODEC_ID_OPUS 48 num_samples_per_frame: 960 49 decoder_config_opus { 50 version: 1 51 input_sample_rate: 48000 52 opus_encoder_metadata { 53 target_bitrate_per_channel: 64000 54 application: APPLICATION_AUDIO 55 use_float_api: false 56 } 57 } 58 } 59} 60 61audio_element_metadata { 62 audio_element_id: 300 63 audio_element_type: AUDIO_ELEMENT_CHANNEL_BASED 64 reserved: 0 65 codec_config_id: 200 66 num_substreams: 5 67 audio_substream_ids: [0, 1, 2, 3, 4] 68 num_parameters: 0 69 scalable_channel_layout_config { 70 num_layers: 1 71 reserved: 0 72 channel_audio_layer_configs: [ 73 { 74 loudspeaker_layout: LOUDSPEAKER_LAYOUT_5_1_2_CH 75 output_gain_is_present_flag: 0 76 recon_gain_is_present_flag: 0 77 reserved_a: 0 78 substream_count: 5 79 coupled_substream_count: 3 80 } 81 ] 82 } 83} 84 85mix_presentation_metadata { 86 mix_presentation_id: 42 87 count_label: 1 88 annotations_language: ["en-us"] 89 localized_presentation_annotations: ["Default Mix Presentation"] 90 num_sub_mixes: 1 91 sub_mixes { 92 num_audio_elements: 1 93 audio_elements { 94 audio_element_id: 300 95 localized_element_annotations: ["5.1.2"] 96 rendering_config { 97 headphones_rendering_mode: HEADPHONES_RENDERING_MODE_BINAURAL 98 } 99 element_mix_gain { 100 param_definition { 101 parameter_id: 999 # Non-existent; default will be used 102 parameter_rate: 48000 103 param_definition_mode: 1 104 reserved: 0 105 } 106 default_mix_gain: 0 107 } 108 } 109 output_mix_gain { 110 param_definition { 111 parameter_id: 998 # Non-existent; default will be used 112 parameter_rate: 48000 113 param_definition_mode: 1 114 reserved: 0 115 } 116 default_mix_gain: 0 117 } 118 num_layouts: 2 119 layouts { 120 loudness_layout { 121 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 122 ss_layout { 123 sound_system: SOUND_SYSTEM_A_0_2_0 124 reserved: 0 125 } 126 } 127 loudness { 128 info_type_bit_masks: [] 129 } 130 } 131 layouts { 132 loudness_layout { 133 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 134 ss_layout { 135 sound_system: SOUND_SYSTEM_C_2_5_0 136 reserved: 0 137 } 138 } 139 loudness { 140 info_type_bit_masks: [] 141 } 142 } 143 } 144} 145 146temporal_delimiter_metadata { 147 enable_temporal_delimiters: false 148} 149