FFmpeg/tests/ref/fate/mov-mp4-iamf-stereo
Felicia Lim a3bc5cd841 avformat/movenc: fix channel count and samplerate fields for IAMF tracks
Clause 6.2.3 of IAMF[1] states both of these shall be set to 0.

[1]https://aomediacodec.github.io/iamf/v1.0.0-errata.html#iasampleentry-section

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 180c869faf96dbf1396fa3aba43b7488f9a7090b)
2024-07-18 23:38:04 -03:00

211 lines
4.5 KiB
Plaintext

87c17d1a9fd07e16c369d386d39c3249 *tests/data/fate/mov-mp4-iamf-stereo.mp4
15163 tests/data/fate/mov-mp4-iamf-stereo.mp4
#extradata 0: 34, 0xafa70d5e
#tb 0: 1/44100
#media_type 0: audio
#codec_id 0: flac
#sample_rate 0: 44100
#channel_layout_name 0: stereo
0, 0, 0, 4608, 1399, 0x6e89566e
0, 4608, 4608, 4608, 1442, 0x6c3c5b13
0, 9216, 9216, 4608, 1380, 0xc497571b
0, 13824, 13824, 4608, 1383, 0x48e9510f
0, 18432, 18432, 4608, 1572, 0x9a514719
0, 23040, 23040, 4608, 1391, 0x74ac5014
0, 27648, 27648, 4608, 1422, 0x2f9d47c5
0, 32256, 32256, 4608, 1768, 0x2a044b99
0, 36864, 36864, 4608, 1534, 0xb0b35a3f
0, 41472, 41472, 2628, 926, 0xc26a5eae
[STREAM_GROUP]
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
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:non_diegetic=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:language=und
TAG:handler_name=SoundHandler
TAG:vendor_id=[0][0][0][0]
[STREAM]
index=0
id=0x0
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:non_diegetic=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
[/STREAM]
[/STREAM_GROUP]
[STREAM_GROUP]
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
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:non_diegetic=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:language=und
TAG:handler_name=SoundHandler
TAG:vendor_id=[0][0][0][0]
[STREAM]
index=0
id=0x0
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:non_diegetic=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
[/STREAM]
[/STREAM_GROUP]