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 second-order ambisonics IAMF stream encoded using " 17 "`ambisonics_mode` = `MONO`." 18 file_name_prefix: "test_000102" 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.3/ambisonics_mono_config", 29 "7.5.1/Loudness Normalization", 30 "7.5.2/Limiter" 31 ] 32 base_test: "test_000038" 33} 34 35encoder_control_metadata { 36 add_build_information_tag: false 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_LPCM 48 num_samples_per_frame: 1024 49 audio_roll_distance: 0 50 decoder_config_lpcm { 51 sample_format_flags: LPCM_LITTLE_ENDIAN 52 sample_size: 16 53 sample_rate: 48000 54 } 55 } 56} 57 58audio_element_metadata { 59 audio_element_id: 300 60 audio_element_type: AUDIO_ELEMENT_SCENE_BASED 61 reserved: 0 62 codec_config_id: 200 63 num_substreams: 9 64 audio_substream_ids: [0, 1, 2, 3, 4, 5, 6, 7, 8] 65 num_parameters: 0 66 ambisonics_config { 67 ambisonics_mode: AMBISONICS_MODE_MONO 68 ambisonics_mono_config { 69 output_channel_count: 9 70 substream_count: 9 71 channel_mapping: [0, 1, 2, 3, 4, 5, 6, 7, 8] 72 } 73 } 74} 75 76mix_presentation_metadata { 77 mix_presentation_id: 42 78 count_label: 1 79 annotations_language: ["en-us"] 80 localized_presentation_annotations: ["test_mix_pres"] 81 num_sub_mixes: 1 82 sub_mixes { 83 num_audio_elements: 1 84 audio_elements { 85 audio_element_id: 300 86 localized_element_annotations: ["test_sub_mix_0_audio_element_0"] 87 rendering_config { 88 headphones_rendering_mode: HEADPHONES_RENDERING_MODE_STEREO 89 } 90 element_mix_gain { 91 param_definition { 92 parameter_id: 999 # Non-existent; default will be used 93 parameter_rate: 48000 94 param_definition_mode: 1 95 reserved: 0 96 } 97 default_mix_gain: 0 98 } 99 } 100 output_mix_gain { 101 param_definition { 102 parameter_id: 998 # Non-existent; default will be used 103 parameter_rate: 48000 104 param_definition_mode: 1 105 reserved: 0 106 } 107 default_mix_gain: 0 108 } 109 num_layouts: 1 110 layouts { 111 loudness_layout { 112 layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION 113 ss_layout { 114 sound_system: SOUND_SYSTEM_A_0_2_0 115 reserved: 0 116 } 117 } 118 loudness { 119 info_type_bit_masks: [] 120 integrated_loudness: -2853 121 digital_peak: 0 122 } 123 } 124 } 125} 126 127audio_frame_metadata { 128 wav_filename: "Transport_TOA_5s.wav" 129 samples_to_trim_at_end: 640 130 samples_to_trim_at_start: 0 131 audio_element_id: 300 132 channel_metadatas: [ 133 { channel_id: 0 channel_label: CHANNEL_LABEL_A_0 }, 134 { channel_id: 1 channel_label: CHANNEL_LABEL_A_1 }, 135 { channel_id: 2 channel_label: CHANNEL_LABEL_A_2 }, 136 { channel_id: 3 channel_label: CHANNEL_LABEL_A_3 }, 137 { channel_id: 4 channel_label: CHANNEL_LABEL_A_4 }, 138 { channel_id: 5 channel_label: CHANNEL_LABEL_A_5 }, 139 { channel_id: 6 channel_label: CHANNEL_LABEL_A_6 }, 140 { channel_id: 7 channel_label: CHANNEL_LABEL_A_7 }, 141 { channel_id: 8 channel_label: CHANNEL_LABEL_A_8 } 142 ] 143} 144 145temporal_delimiter_metadata { 146 enable_temporal_delimiters: false 147} 148