• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_7dot1dot4.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_7 },
29    { channel_id: 1 channel_label: CHANNEL_LABEL_R_7 },
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_LSS_7 },
33    { channel_id: 5 channel_label: CHANNEL_LABEL_RSS_7 },
34    { channel_id: 6 channel_label: CHANNEL_LABEL_LRS_7 },
35    { channel_id: 7 channel_label: CHANNEL_LABEL_RRS_7 },
36    { channel_id: 8 channel_label: CHANNEL_LABEL_LTF_4 },
37    { channel_id: 9 channel_label: CHANNEL_LABEL_RTF_4 },
38    { channel_id: 10 channel_label: CHANNEL_LABEL_LTB_4 },
39    { channel_id: 11 channel_label: CHANNEL_LABEL_RTB_4 }
40  ]
41}
42
43ia_sequence_header_metadata {
44  primary_profile: PROFILE_VERSION_SIMPLE
45  additional_profile: PROFILE_VERSION_SIMPLE
46}
47
48codec_config_metadata {
49  codec_config_id: 200
50  codec_config {
51    codec_id: CODEC_ID_LPCM
52    num_samples_per_frame: 1024
53    decoder_config_lpcm {
54      sample_format_flags: LPCM_LITTLE_ENDIAN
55      sample_size: 24
56      sample_rate: 48000
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: 7
67  audio_substream_ids: [0, 1, 2, 3, 4, 5, 6]
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_7_1_4_CH
75        output_gain_is_present_flag: 0
76        recon_gain_is_present_flag: 0
77        reserved_a: 0
78        substream_count: 7
79        coupled_substream_count: 5
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: ["7.1.4"]
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_J_4_7_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