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