mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
fate/iamf: add a demuxing test for a stereo AAC IAMF sample
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
38bcb3ba7b
commit
9c0e0c0b3f
@ -37,6 +37,11 @@ fate-iamf-ambisonic_1: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters
|
||||
-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_SAMPLES-$(call FRAMECRC, IAMF, OPUS) += fate-iamf-stereo-demux
|
||||
fate-iamf-stereo-demux: CMD = stream_demux iamf $(TARGET_SAMPLES)/iamf/test_000076.iamf "" \
|
||||
"-c:a copy -frames:a 0 -map 0:g:\#42" \
|
||||
"-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
|
||||
|
||||
FATE_IAMF_SAMPLES-$(call FRAMECRC, IAMF, OPUS) += fate-iamf-5_1-demux
|
||||
fate-iamf-5_1-demux: CMD = stream_demux iamf $(TARGET_SAMPLES)/iamf/test_000059.iamf "" \
|
||||
"-c:a copy -frames:a 0 -map 0:g:\#42" \
|
||||
|
119
tests/ref/fate/iamf-stereo-demux
Normal file
119
tests/ref/fate/iamf-stereo-demux
Normal file
@ -0,0 +1,119 @@
|
||||
#extradata 0: 2, 0x00b200a1
|
||||
#tb 0: 1/48000
|
||||
#media_type 0: audio
|
||||
#codec_id 0: aac
|
||||
#sample_rate 0: 48000
|
||||
#channel_layout_name 0: stereo
|
||||
[STREAM_GROUP]
|
||||
index=0
|
||||
id=0x12c
|
||||
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
|
||||
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
|
||||
DISPOSITION:multilayer=0
|
||||
[/STREAM]
|
||||
[/STREAM_GROUP]
|
||||
[STREAM_GROUP]
|
||||
index=1
|
||||
id=0x2a
|
||||
nb_streams=1
|
||||
type=IAMF Mix Presentation
|
||||
[COMPONENT]
|
||||
nb_submixes=1
|
||||
[SUBCOMPONENT]
|
||||
en-us=test_mix_pres
|
||||
[/SUBCOMPONENT]
|
||||
[SUBCOMPONENT]
|
||||
nb_elements=1
|
||||
nb_layouts=1
|
||||
default_mix_gain=0/256
|
||||
[PIECE]
|
||||
stream_id=300
|
||||
default_mix_gain=0/256
|
||||
headphones_rendering_mode=0
|
||||
[SUBPIECE]
|
||||
en-us=test_sub_mix_0_audio_element_0
|
||||
[/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=-5393/256
|
||||
digital_peak=-5394/256
|
||||
true_peak=0/1
|
||||
dialogue_anchored_loudness=0/1
|
||||
album_anchored_loudness=0/1
|
||||
[/PIECE]
|
||||
[/SUBCOMPONENT]
|
||||
[/COMPONENT]
|
||||
[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
|
||||
DISPOSITION:multilayer=0
|
||||
[/STREAM]
|
||||
[/STREAM_GROUP]
|
Loading…
Reference in New Issue
Block a user