Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
394abd84
Commit
394abd84
authored
Mar 06, 2024
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fftools/ffprobe: export IAMF Stream Group parameters
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
5cd8db30
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
948 additions
and
12 deletions
+948
-12
ffprobe.xsd
doc/ffprobe.xsd
+39
-0
ffprobe.c
fftools/ffprobe.c
+173
-4
iamf.mak
tests/fate/iamf.mak
+8
-4
mov.mak
tests/fate/mov.mak
+4
-4
iamf-5_1_4
tests/ref/fate/iamf-5_1_4
+107
-0
iamf-7_1_4
tests/ref/fate/iamf-7_1_4
+107
-0
iamf-ambisonic_1
tests/ref/fate/iamf-ambisonic_1
+54
-0
iamf-stereo
tests/ref/fate/iamf-stereo
+94
-0
mov-mp4-iamf-5_1_4
tests/ref/fate/mov-mp4-iamf-5_1_4
+107
-0
mov-mp4-iamf-7_1_4
tests/ref/fate/mov-mp4-iamf-7_1_4
+107
-0
mov-mp4-iamf-ambisonic_1
tests/ref/fate/mov-mp4-iamf-ambisonic_1
+54
-0
mov-mp4-iamf-stereo
tests/ref/fate/mov-mp4-iamf-stereo
+94
-0
No files found.
doc/ffprobe.xsd
View file @
394abd84
...
...
@@ -366,10 +366,49 @@
<xsd:complexType
name=
"streamGroupSubComponentType"
>
<xsd:sequence>
<xsd:element
name=
"pieces"
type=
"ffprobe:streamGroupPieceList"
minOccurs=
"0"
maxOccurs=
"1"
/>
<xsd:element
name=
"subcomponent_entry"
type=
"ffprobe:streamGroupEntryType"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType
name=
"streamGroupPieceList"
>
<xsd:sequence>
<xsd:element
name=
"piece"
type=
"ffprobe:streamGroupPieceType"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType
name=
"streamGroupPieceType"
>
<xsd:sequence>
<xsd:element
name=
"subpieces"
type=
"ffprobe:streamGroupSubPieceList"
minOccurs=
"0"
maxOccurs=
"1"
/>
<xsd:element
name=
"piece_entry"
type=
"ffprobe:streamGroupEntryType"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType
name=
"streamGroupSubPieceList"
>
<xsd:sequence>
<xsd:element
name=
"subpiece"
type=
"ffprobe:streamGroupSubPieceType"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType
name=
"streamGroupSubPieceType"
>
<xsd:sequence>
<xsd:element
name=
"blocks"
type=
"ffprobe:streamGroupBlockList"
minOccurs=
"0"
maxOccurs=
"1"
/>
<xsd:element
name=
"subpiece_entry"
type=
"ffprobe:streamGroupEntryType"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType
name=
"streamGroupBlockList"
>
<xsd:sequence>
<xsd:element
name=
"block"
type=
"ffprobe:streamGroupBlockType"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType
name=
"streamGroupBlockType"
>
<xsd:sequence>
<xsd:element
name=
"block_entry"
type=
"ffprobe:streamGroupEntryType"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType
name=
"streamGroupEntryType"
>
<xsd:attribute
name=
"key"
type=
"xsd:string"
/>
<xsd:attribute
name=
"value"
type=
"xsd:string"
/>
...
...
fftools/ffprobe.c
View file @
394abd84
This diff is collapsed.
Click to expand it.
tests/fate/iamf.mak
View file @
394abd84
...
...
@@ -4,7 +4,8 @@ fate-iamf-stereo: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
fate-iamf-stereo: CMD = transcode wav $(SRC) iamf " \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-stereo \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-stereo \
-streamid 0:0 -c:a flac -t 1" "-c:a copy -map 0" "-show_entries stream_group=index,id,nb_streams,type:stream_group_stream=index,id:stream_group_stream_disposition"
-streamid 0:0 -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_IAMF += fate-iamf-5_1_4
fate-iamf-5_1_4: tests/data/asynth-44100-10.wav tests/data/filtergraphs/iamf_5_1_4 tests/data/streamgroups/audio_element-5_1_4 tests/data/streamgroups/mix_presentation-5_1_4
...
...
@@ -13,7 +14,8 @@ fate-iamf-5_1_4: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters \
-/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/iamf_5_1_4 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-5_1_4 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-5_1_4 \
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" "-show_entries stream_group=index,id,nb_streams,type:stream_group_stream=index,id:stream_group_stream_disposition"
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_IAMF += fate-iamf-7_1_4
fate-iamf-7_1_4: tests/data/asynth-44100-12.wav tests/data/filtergraphs/iamf_7_1_4 tests/data/streamgroups/audio_element-7_1_4 tests/data/streamgroups/mix_presentation-7_1_4
...
...
@@ -22,7 +24,8 @@ fate-iamf-7_1_4: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters \
-/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/iamf_7_1_4 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-7_1_4 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-7_1_4 \
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -streamid 6:6 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [SIDE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" "-show_entries stream_group=index,id,nb_streams,type:stream_group_stream=index,id:stream_group_stream_disposition"
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -streamid 6:6 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [SIDE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_IAMF += fate-iamf-ambisonic_1
fate-iamf-ambisonic_1: tests/data/asynth-44100-4.wav tests/data/filtergraphs/iamf_ambisonic_1 tests/data/streamgroups/audio_element-ambisonic_1 tests/data/streamgroups/mix_presentation-ambisonic_1
...
...
@@ -31,7 +34,8 @@ fate-iamf-ambisonic_1: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters
-/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/iamf_ambisonic_1 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-ambisonic_1 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-ambisonic_1 \
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -map [MONO0] -map [MONO1] -map [MONO2] -map [MONO3] -c:a flac -t 1" "-c:a copy -map 0" "-show_entries stream_group=index,id,nb_streams,type:stream_group_stream=index,id:stream_group_stream_disposition"
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -map [MONO0] -map [MONO1] -map [MONO2] -map [MONO3] -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_IAMF-$(call TRANSCODE, FLAC, IAMF, WAV_DEMUXER PCM_S16LE_DECODER) += $(FATE_IAMF)
...
...
tests/fate/mov.mak
View file @
394abd84
...
...
@@ -223,7 +223,7 @@ fate-mov-mp4-iamf-stereo: CMD = transcode wav $(SRC) mp4 " \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-stereo \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-stereo \
-streamid 0:0 -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
"-show_entries stream_group=index,id,nb_streams,type:stream_group_
components:stream_group_
disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_MOV_FFMPEG_FFPROBE-$(call TRANSCODE, FLAC, MOV, WAV_DEMUXER PCM_S16LE_DECODER) += fate-mov-mp4-iamf-5_1_4
fate-mov-mp4-iamf-5_1_4: tests/data/asynth-44100-10.wav tests/data/filtergraphs/iamf_5_1_4 tests/data/streamgroups/audio_element-5_1_4 tests/data/streamgroups/mix_presentation-5_1_4
...
...
@@ -233,7 +233,7 @@ fate-mov-mp4-iamf-5_1_4: CMD = transcode wav $(SRC) mp4 "-auto_conversion_filter
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-5_1_4 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-5_1_4 \
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
"-show_entries stream_group=index,id,nb_streams,type:stream_group_
components:stream_group_
disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_MOV_FFMPEG_FFPROBE-$(call TRANSCODE, FLAC, MOV, WAV_DEMUXER PCM_S16LE_DECODER) += fate-mov-mp4-iamf-7_1_4
fate-mov-mp4-iamf-7_1_4: tests/data/asynth-44100-12.wav tests/data/filtergraphs/iamf_7_1_4 tests/data/streamgroups/audio_element-7_1_4 tests/data/streamgroups/mix_presentation-7_1_4
...
...
@@ -243,7 +243,7 @@ fate-mov-mp4-iamf-7_1_4: CMD = transcode wav $(SRC) mp4 "-auto_conversion_filter
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-7_1_4 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-7_1_4 \
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -streamid 6:6 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [SIDE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
"-show_entries stream_group=index,id,nb_streams,type:stream_group_
components:stream_group_
disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_MOV_FFMPEG_FFPROBE-$(call TRANSCODE, FLAC, MOV, WAV_DEMUXER PCM_S16LE_DECODER) += fate-mov-mp4-iamf-ambisonic_1
fate-mov-mp4-iamf-ambisonic_1: tests/data/asynth-44100-4.wav tests/data/filtergraphs/iamf_ambisonic_1 tests/data/streamgroups/audio_element-ambisonic_1 tests/data/streamgroups/mix_presentation-ambisonic_1
...
...
@@ -253,7 +253,7 @@ fate-mov-mp4-iamf-ambisonic_1: CMD = transcode wav $(SRC) mp4 "-auto_conversion_
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-ambisonic_1 \
-/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-ambisonic_1 \
-streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -map [MONO0] -map [MONO1] -map [MONO2] -map [MONO3] -c:a flac -t 1" "-c:a copy -map 0" \
"-show_entries stream_group=index,id,nb_streams,type:stream_group_disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
"-show_entries stream_group=index,id,nb_streams,type:stream_group_
components:stream_group_
disposition:stream_group_tags:stream_group_stream=index,id:stream_group_stream_disposition"
FATE_FFMPEG += $(FATE_MOV_FFMPEG-yes)
FATE_FFMPEG_FFPROBE += $(FATE_MOV_FFMPEG_FFPROBE-yes)
...
...
tests/ref/fate/iamf-5_1_4
View file @
394abd84
...
...
@@ -101,6 +101,44 @@ index=0
id=0x1
nb_streams=6
type=IAMF Audio Element
[COMPONENT]
nb_layers=4
audio_element_type=0
default_w=10
[SUBCOMPONENT]
channel_layout=stereo
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=5.1
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=5.1.2
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=5.1.4
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
name=demixing_info
nb_subblocks=1
type=1
parameter_id=998
parameter_rate=44100
duration=4608
constant_subblock_duration=4608
[PIECE]
subblock_duration=4608
dmixp_mode=1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
@@ -239,6 +277,75 @@ index=1
id=0x2
nb_streams=6
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=1
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=4
default_mix_gain=256/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Scalable_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=256/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=5.1
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=5.1.2
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=5.1.4
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
tests/ref/fate/iamf-7_1_4
View file @
394abd84
...
...
@@ -117,6 +117,44 @@ index=0
id=0x1
nb_streams=7
type=IAMF Audio Element
[COMPONENT]
nb_layers=4
audio_element_type=0
default_w=10
[SUBCOMPONENT]
channel_layout=stereo
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=3.1.2
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=7.1.2
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=7.1.4
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
name=demixing_info
nb_subblocks=1
type=1
parameter_id=998
parameter_rate=44100
duration=4608
constant_subblock_duration=4608
[PIECE]
subblock_duration=4608
dmixp_mode=1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
@@ -277,6 +315,75 @@ index=1
id=0x2
nb_streams=7
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=1
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=4
default_mix_gain=256/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Scalable_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=256/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=3.1.2
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=7.1.2
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=7.1.4
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
tests/ref/fate/iamf-ambisonic_1
View file @
394abd84
...
...
@@ -69,6 +69,15 @@ index=0
id=0x1
nb_streams=4
type=IAMF Audio Element
[COMPONENT]
nb_layers=1
audio_element_type=1
default_w=0
[SUBCOMPONENT]
channel_layout=ambisonic 1
ambisonics_mode=0
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
@@ -163,6 +172,51 @@ index=1
id=0x2
nb_streams=4
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=1
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=1
default_mix_gain=0/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Stereo_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
tests/ref/fate/iamf-stereo
View file @
394abd84
...
...
@@ -21,6 +21,16 @@ index=0
id=0x1
nb_streams=1
type=IAMF Audio Element
[COMPONENT]
nb_layers=1
audio_element_type=0
default_w=0
[SUBCOMPONENT]
channel_layout=stereo
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
@@ -49,6 +59,90 @@ index=1
id=0x2
nb_streams=1
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=2
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=1
default_mix_gain=256/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Scalable_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=256/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=1
default_mix_gain=0/256
[PIECE]
stream_id=1
default_mix_gain=256/256
headphones_rendering_mode=1
[SUBPIECE]
en-us=Binaural_submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=0 channels
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
[STREAM]
index=0
id=0x0
...
...
tests/ref/fate/mov-mp4-iamf-5_1_4
View file @
394abd84
...
...
@@ -101,6 +101,44 @@ index=0
id=0x1
nb_streams=6
type=IAMF Audio Element
[COMPONENT]
nb_layers=4
audio_element_type=0
default_w=10
[SUBCOMPONENT]
channel_layout=stereo
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=5.1
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=5.1.2
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=5.1.4
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
name=demixing_info
nb_subblocks=1
type=1
parameter_id=998
parameter_rate=44100
duration=4608
constant_subblock_duration=4608
[PIECE]
subblock_duration=4608
dmixp_mode=1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
@@ -260,6 +298,75 @@ index=1
id=0x2
nb_streams=6
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=1
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=4
default_mix_gain=256/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Scalable_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=256/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=5.1
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=5.1.2
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=5.1.4
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
tests/ref/fate/mov-mp4-iamf-7_1_4
View file @
394abd84
...
...
@@ -117,6 +117,44 @@ index=0
id=0x1
nb_streams=7
type=IAMF Audio Element
[COMPONENT]
nb_layers=4
audio_element_type=0
default_w=10
[SUBCOMPONENT]
channel_layout=stereo
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=3.1.2
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=7.1.2
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
channel_layout=7.1.4
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[SUBCOMPONENT]
name=demixing_info
nb_subblocks=1
type=1
parameter_id=998
parameter_rate=44100
duration=4608
constant_subblock_duration=4608
[PIECE]
subblock_duration=4608
dmixp_mode=1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
@@ -298,6 +336,75 @@ index=1
id=0x2
nb_streams=7
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=1
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=4
default_mix_gain=256/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Scalable_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=256/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=3.1.2
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=7.1.2
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[PIECE]
sound_system=7.1.4
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
tests/ref/fate/mov-mp4-iamf-ambisonic_1
View file @
394abd84
...
...
@@ -69,6 +69,15 @@ index=0
id=0x1
nb_streams=4
type=IAMF Audio Element
[COMPONENT]
nb_layers=1
audio_element_type=1
default_w=0
[SUBCOMPONENT]
channel_layout=ambisonic 1
ambisonics_mode=0
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
@@ -184,6 +193,51 @@ index=1
id=0x2
nb_streams=4
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=1
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=1
default_mix_gain=0/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Stereo_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
tests/ref/fate/mov-mp4-iamf-stereo
View file @
394abd84
...
...
@@ -21,6 +21,16 @@ index=0
id=0x1
nb_streams=1
type=IAMF Audio Element
[COMPONENT]
nb_layers=1
audio_element_type=0
default_w=0
[SUBCOMPONENT]
channel_layout=stereo
output_gain_flags=0
output_gain=0/1
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
@@ -70,6 +80,90 @@ index=1
id=0x2
nb_streams=1
type=IAMF Mix Presentation
[COMPONENT]
nb_submixes=2
[SUBCOMPONENT]
en-us=Mix_Presentation
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=1
default_mix_gain=256/256
[PIECE]
stream_id=1
default_mix_gain=0/256
headphones_rendering_mode=0
[SUBPIECE]
en-us=Scalable_Submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=stereo
integrated_loudness=256/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[SUBCOMPONENT]
nb_elements=1
nb_layouts=1
default_mix_gain=0/256
[PIECE]
stream_id=1
default_mix_gain=256/256
headphones_rendering_mode=1
[SUBPIECE]
en-us=Binaural_submix
[/SUBPIECE]
[SUBPIECE]
name=element_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/SUBPIECE]
[/PIECE]
[PIECE]
name=output_mix_config
nb_subblocks=0
type=0
parameter_id=100
parameter_rate=48000
duration=0
constant_subblock_duration=0
[/PIECE]
[PIECE]
sound_system=0 channels
integrated_loudness=0/256
digital_peak=0/256
true_peak=0/1
dialogue_anchored_loudness=0/1
album_anchored_loudness=0/1
[/PIECE]
[/SUBCOMPONENT]
[/COMPONENT]
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment