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 Opus and " 17 "`ambisonics_mode` = `MONO`." 18 file_name_prefix: "test_000110" 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 "3.11.1/OPUS Specific", 30 "7.5.1/Loudness Normalization", 31 "7.5.2/Limiter" 32 ] 33 base_test: "test_000102" 34 output_wav_file_bit_depth_override: 16 35} 36 37encoder_control_metadata { 38 add_build_information_tag: false 39} 40 41ia_sequence_header_metadata { 42 primary_profile: PROFILE_VERSION_SIMPLE 43 additional_profile: PROFILE_VERSION_SIMPLE 44} 45 46codec_config_metadata { 47 codec_config_id: 200 48 codec_config { 49 codec_id: CODEC_ID_OPUS 50 num_samples_per_frame: 960 51 audio_roll_distance: -4 52 decoder_config_opus { 53 version: 1 54 pre_skip: 312 55 input_sample_rate: 48000 56 opus_encoder_metadata { 57 target_bitrate_per_channel: 48000 58 application: APPLICATION_AUDIO 59 use_float_api: false 60 } 61 } 62 } 63} 64 65audio_element_metadata { 66 audio_element_id: 300 67 audio_element_type: AUDIO_ELEMENT_SCENE_BASED 68 reserved: 0 69 codec_config_id: 200 70 num_substreams: 9 71 audio_substream_ids: [0, 1, 2, 3, 4, 5, 6, 7, 8] 72 num_parameters: 0 73 ambisonics_config { 74 ambisonics_mode: AMBISONICS_MODE_MONO 75 ambisonics_mono_config { 76 output_channel_count: 9 77 substream_count: 9 78 channel_mapping: [0, 1, 2, 3, 4, 5, 6, 7, 8] 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: ["test_mix_pres"] 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: ["test_sub_mix_0_audio_element_0"] 94 rendering_config { 95 headphones_rendering_mode: HEADPHONES_RENDERING_MODE_STEREO 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: 1 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 integrated_loudness: -2853 128 digital_peak: 0 129 } 130 } 131 } 132} 133 134audio_frame_metadata { 135 wav_filename: "Transport_TOA_5s.wav" 136 samples_to_trim_at_end: 648 137 samples_to_trim_at_start: 312 138 audio_element_id: 300 139 channel_metadatas: [ 140 { channel_id: 0 channel_label: CHANNEL_LABEL_A_0 }, 141 { channel_id: 1 channel_label: CHANNEL_LABEL_A_1 }, 142 { channel_id: 2 channel_label: CHANNEL_LABEL_A_2 }, 143 { channel_id: 3 channel_label: CHANNEL_LABEL_A_3 }, 144 { channel_id: 4 channel_label: CHANNEL_LABEL_A_4 }, 145 { channel_id: 5 channel_label: CHANNEL_LABEL_A_5 }, 146 { channel_id: 6 channel_label: CHANNEL_LABEL_A_6 }, 147 { channel_id: 7 channel_label: CHANNEL_LABEL_A_7 }, 148 { channel_id: 8 channel_label: CHANNEL_LABEL_A_8 } 149 ] 150} 151 152temporal_delimiter_metadata { 153 enable_temporal_delimiters: false 154} 155