aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-04-25 09:34:37 -0300
committerJames Almer <jamrial@gmail.com>2024-04-25 09:36:19 -0300
commit5fc4a824db166823cd40eb8e16bce2a92af7abfd (patch)
tree0bdb4d079ff621d9e6df9b4c430bda98b1b11631
parentcae0f2bc550312c99655057f8ffab5b59556ceeb (diff)
downloadffmpeg-5fc4a824db166823cd40eb8e16bce2a92af7abfd.tar.gz
fate/iamf: don't demux packets in fate-iamf-5_1-{copy,demux}
They contain side data whose size is arch dependent. This fixes fate failures on 32bit targets. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/fate/iamf.mak4
-rw-r--r--tests/ref/fate/iamf-5_1-copy104
-rw-r--r--tests/ref/fate/iamf-5_1-demux104
3 files changed, 2 insertions, 210 deletions
diff --git a/tests/fate/iamf.mak b/tests/fate/iamf.mak
index 394de0a904..164fd78bf6 100644
--- a/tests/fate/iamf.mak
+++ b/tests/fate/iamf.mak
@@ -39,12 +39,12 @@ fate-iamf-ambisonic_1: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters
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 -map 0" \
+ "-c:a copy -frames:a 0 -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 REMUX, IAMF, OPUS_DECODER) += fate-iamf-5_1-copy
fate-iamf-5_1-copy: CMD = stream_remux iamf $(TARGET_SAMPLES)/iamf/test_000059.iamf "" iamf \
- "-map 0 -stream_group map=0=0:st=0:st=1:st=2:st=3 -stream_group map=0=1:stg=0 -streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3" "" "-c:a copy -map 0" \
+ "-map 0 -stream_group map=0=0:st=0:st=1:st=2:st=3 -stream_group map=0=1:stg=0 -streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3" "" "-c:a copy -frames:a 0 -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-yes)
diff --git a/tests/ref/fate/iamf-5_1-copy b/tests/ref/fate/iamf-5_1-copy
index 1f0b67b1f7..d3530702ee 100644
--- a/tests/ref/fate/iamf-5_1-copy
+++ b/tests/ref/fate/iamf-5_1-copy
@@ -22,110 +22,6 @@
#codec_id 3: opus
#sample_rate 3: 48000
#channel_layout_name 3: mono
-0, 0, 0, 960, 371, 0x552eba36, S=3, 10, 96, 136
-1, 0, 0, 960, 381, 0x6779b329, S=3, 10, 96, 136
-2, 0, 0, 960, 66, 0x4ce02142, S=3, 10, 96, 136
-3, 0, 0, 960, 67, 0x935223f9, S=3, 10, 96, 136
-0, 960, 960, 960, 313, 0xa5e19a4f, S=2, 96, 136
-1, 960, 960, 960, 339, 0xf83daf6a, S=2, 96, 136
-2, 960, 960, 960, 62, 0x80c91ca8, S=2, 96, 136
-3, 960, 960, 960, 64, 0xaae41dd7, S=2, 96, 136
-0, 1920, 1920, 960, 210, 0x5fc26f7a, S=2, 96, 136
-1, 1920, 1920, 960, 207, 0xc8c768e8, S=2, 96, 136
-2, 1920, 1920, 960, 75, 0x85012598, S=2, 96, 136
-3, 1920, 1920, 960, 94, 0x5dc52d3b, S=2, 96, 136
-0, 2880, 2880, 960, 211, 0x8f006c62, S=2, 96, 136
-1, 2880, 2880, 960, 215, 0x30c8674d, S=2, 96, 136
-2, 2880, 2880, 960, 88, 0x46772b87, S=2, 96, 136
-3, 2880, 2880, 960, 105, 0x831c3191, S=2, 96, 136
-0, 3840, 3840, 960, 340, 0x3c92a527, S=2, 96, 136
-1, 3840, 3840, 960, 303, 0x65e09e91, S=2, 96, 136
-2, 3840, 3840, 960, 121, 0xc45d3ec1, S=2, 96, 136
-3, 3840, 3840, 960, 126, 0xff3a44d7, S=2, 96, 136
-0, 4800, 4800, 960, 206, 0x3087662a, S=2, 96, 136
-1, 4800, 4800, 960, 206, 0xd2b469de, S=2, 96, 136
-2, 4800, 4800, 960, 124, 0xd9423baf, S=2, 96, 136
-3, 4800, 4800, 960, 121, 0x24073ab0, S=2, 96, 136
-0, 5760, 5760, 960, 212, 0x85686b01, S=2, 96, 136
-1, 5760, 5760, 960, 230, 0x7ce56f22, S=2, 96, 136
-2, 5760, 5760, 960, 128, 0xca6840ad, S=2, 96, 136
-3, 5760, 5760, 960, 138, 0xa1f24207, S=2, 96, 136
-0, 6720, 6720, 960, 220, 0xd40572ca, S=2, 96, 136
-1, 6720, 6720, 960, 223, 0x760c74ce, S=2, 96, 136
-2, 6720, 6720, 960, 125, 0xd0674094, S=2, 96, 136
-3, 6720, 6720, 960, 130, 0x58f64293, S=2, 96, 136
-0, 7680, 7680, 960, 249, 0x9b6c77bb, S=2, 96, 136
-1, 7680, 7680, 960, 247, 0x660475b6, S=2, 96, 136
-2, 7680, 7680, 960, 125, 0x43de3911, S=2, 96, 136
-3, 7680, 7680, 960, 122, 0x0d4137b3, S=2, 96, 136
-0, 8640, 8640, 960, 262, 0x0d718316, S=2, 96, 136
-1, 8640, 8640, 960, 260, 0xce698563, S=2, 96, 136
-2, 8640, 8640, 960, 121, 0x7f1b4025, S=2, 96, 136
-3, 8640, 8640, 960, 121, 0xdae34205, S=2, 96, 136
-0, 9600, 9600, 960, 266, 0x6ffb86f0, S=2, 96, 136
-1, 9600, 9600, 960, 266, 0xa16f87bb, S=2, 96, 136
-2, 9600, 9600, 960, 119, 0x57703c74, S=2, 96, 136
-3, 9600, 9600, 960, 114, 0x06853bf5, S=2, 96, 136
-0, 10560, 10560, 960, 269, 0x43078081, S=2, 96, 136
-1, 10560, 10560, 960, 255, 0xff767870, S=2, 96, 136
-2, 10560, 10560, 960, 117, 0x86a43b70, S=2, 96, 136
-3, 10560, 10560, 960, 114, 0x4be5388e, S=2, 96, 136
-0, 11520, 11520, 960, 244, 0xd56f7885, S=2, 96, 136
-1, 11520, 11520, 960, 241, 0xbd1777f2, S=2, 96, 136
-2, 11520, 11520, 960, 110, 0xce96366a, S=2, 96, 136
-3, 11520, 11520, 960, 109, 0x120234bd, S=2, 96, 136
-0, 12480, 12480, 960, 241, 0xb8847e12, S=2, 96, 136
-1, 12480, 12480, 960, 241, 0x1bd27430, S=2, 96, 136
-2, 12480, 12480, 960, 127, 0x38ce3ff0, S=2, 96, 136
-3, 12480, 12480, 960, 127, 0x9f763c9b, S=2, 96, 136
-0, 13440, 13440, 960, 241, 0x9ee4787e, S=2, 96, 136
-1, 13440, 13440, 960, 241, 0x85ad821d, S=2, 96, 136
-2, 13440, 13440, 960, 141, 0xdc414884, S=2, 96, 136
-3, 13440, 13440, 960, 134, 0x95c9405e, S=2, 96, 136
-0, 14400, 14400, 960, 241, 0x060c78e3, S=2, 96, 136
-1, 14400, 14400, 960, 241, 0x03bb7e7e, S=2, 96, 136
-2, 14400, 14400, 960, 133, 0xfe184321, S=2, 96, 136
-3, 14400, 14400, 960, 125, 0x70523d7d, S=2, 96, 136
-0, 15360, 15360, 960, 241, 0xf7c57f6b, S=2, 96, 136
-1, 15360, 15360, 960, 241, 0x58ed7656, S=2, 96, 136
-2, 15360, 15360, 960, 119, 0x33b83af3, S=2, 96, 136
-3, 15360, 15360, 960, 121, 0x3f353eb3, S=2, 96, 136
-0, 16320, 16320, 960, 241, 0xc0077948, S=2, 96, 136
-1, 16320, 16320, 960, 241, 0x886a7f2a, S=2, 96, 136
-2, 16320, 16320, 960, 118, 0x122d3d16, S=2, 96, 136
-3, 16320, 16320, 960, 123, 0x673d3bbd, S=2, 96, 136
-0, 17280, 17280, 960, 241, 0x51777d39, S=2, 96, 136
-1, 17280, 17280, 960, 241, 0x25aa7240, S=2, 96, 136
-2, 17280, 17280, 960, 116, 0xe4ff3d75, S=2, 96, 136
-3, 17280, 17280, 960, 114, 0x95c638df, S=2, 96, 136
-0, 18240, 18240, 960, 241, 0x8a038527, S=2, 96, 136
-1, 18240, 18240, 960, 241, 0x151877bf, S=2, 96, 136
-2, 18240, 18240, 960, 116, 0xcb0238e6, S=2, 96, 136
-3, 18240, 18240, 960, 122, 0xc1fb4201, S=2, 96, 136
-0, 19200, 19200, 960, 241, 0xff1a839d, S=2, 96, 136
-1, 19200, 19200, 960, 241, 0x243c7927, S=2, 96, 136
-2, 19200, 19200, 960, 117, 0x4b723619, S=2, 96, 136
-3, 19200, 19200, 960, 113, 0xccf439e2, S=2, 96, 136
-0, 20160, 20160, 960, 241, 0x9aab7903, S=2, 96, 136
-1, 20160, 20160, 960, 241, 0x718b795d, S=2, 96, 136
-2, 20160, 20160, 960, 123, 0xd2fb3c10, S=2, 96, 136
-3, 20160, 20160, 960, 130, 0x28d03f70, S=2, 96, 136
-0, 21120, 21120, 960, 241, 0xc4246f83, S=2, 96, 136
-1, 21120, 21120, 960, 241, 0xec9577fe, S=2, 96, 136
-2, 21120, 21120, 960, 128, 0x269b4147, S=2, 96, 136
-3, 21120, 21120, 960, 135, 0xeb5d473a, S=2, 96, 136
-0, 22080, 22080, 960, 241, 0x4b69803f, S=2, 96, 136
-1, 22080, 22080, 960, 241, 0xd9d37f47, S=2, 96, 136
-2, 22080, 22080, 960, 122, 0x521c3fd0, S=2, 96, 136
-3, 22080, 22080, 960, 123, 0x9f0c3b46, S=2, 96, 136
-0, 23040, 23040, 960, 241, 0x2dbc77e4, S=2, 96, 136
-1, 23040, 23040, 960, 241, 0x8a4e784f, S=2, 96, 136
-2, 23040, 23040, 960, 179, 0xa53e5481, S=2, 96, 136
-3, 23040, 23040, 960, 175, 0x18d157ee, S=2, 96, 136
-0, 24000, 24000, 960, 241, 0x4f5b722d, S=3, 10, 96, 136
-1, 24000, 24000, 960, 241, 0xc7e67e1e, S=3, 10, 96, 136
-2, 24000, 24000, 960, 189, 0x736c5f4c, S=3, 10, 96, 136
-3, 24000, 24000, 960, 189, 0x63256352, S=3, 10, 96, 136
[STREAM_GROUP]
index=0
id=0x12c
diff --git a/tests/ref/fate/iamf-5_1-demux b/tests/ref/fate/iamf-5_1-demux
index 1f0b67b1f7..d3530702ee 100644
--- a/tests/ref/fate/iamf-5_1-demux
+++ b/tests/ref/fate/iamf-5_1-demux
@@ -22,110 +22,6 @@
#codec_id 3: opus
#sample_rate 3: 48000
#channel_layout_name 3: mono
-0, 0, 0, 960, 371, 0x552eba36, S=3, 10, 96, 136
-1, 0, 0, 960, 381, 0x6779b329, S=3, 10, 96, 136
-2, 0, 0, 960, 66, 0x4ce02142, S=3, 10, 96, 136
-3, 0, 0, 960, 67, 0x935223f9, S=3, 10, 96, 136
-0, 960, 960, 960, 313, 0xa5e19a4f, S=2, 96, 136
-1, 960, 960, 960, 339, 0xf83daf6a, S=2, 96, 136
-2, 960, 960, 960, 62, 0x80c91ca8, S=2, 96, 136
-3, 960, 960, 960, 64, 0xaae41dd7, S=2, 96, 136
-0, 1920, 1920, 960, 210, 0x5fc26f7a, S=2, 96, 136
-1, 1920, 1920, 960, 207, 0xc8c768e8, S=2, 96, 136
-2, 1920, 1920, 960, 75, 0x85012598, S=2, 96, 136
-3, 1920, 1920, 960, 94, 0x5dc52d3b, S=2, 96, 136
-0, 2880, 2880, 960, 211, 0x8f006c62, S=2, 96, 136
-1, 2880, 2880, 960, 215, 0x30c8674d, S=2, 96, 136
-2, 2880, 2880, 960, 88, 0x46772b87, S=2, 96, 136
-3, 2880, 2880, 960, 105, 0x831c3191, S=2, 96, 136
-0, 3840, 3840, 960, 340, 0x3c92a527, S=2, 96, 136
-1, 3840, 3840, 960, 303, 0x65e09e91, S=2, 96, 136
-2, 3840, 3840, 960, 121, 0xc45d3ec1, S=2, 96, 136
-3, 3840, 3840, 960, 126, 0xff3a44d7, S=2, 96, 136
-0, 4800, 4800, 960, 206, 0x3087662a, S=2, 96, 136
-1, 4800, 4800, 960, 206, 0xd2b469de, S=2, 96, 136
-2, 4800, 4800, 960, 124, 0xd9423baf, S=2, 96, 136
-3, 4800, 4800, 960, 121, 0x24073ab0, S=2, 96, 136
-0, 5760, 5760, 960, 212, 0x85686b01, S=2, 96, 136
-1, 5760, 5760, 960, 230, 0x7ce56f22, S=2, 96, 136
-2, 5760, 5760, 960, 128, 0xca6840ad, S=2, 96, 136
-3, 5760, 5760, 960, 138, 0xa1f24207, S=2, 96, 136
-0, 6720, 6720, 960, 220, 0xd40572ca, S=2, 96, 136
-1, 6720, 6720, 960, 223, 0x760c74ce, S=2, 96, 136
-2, 6720, 6720, 960, 125, 0xd0674094, S=2, 96, 136
-3, 6720, 6720, 960, 130, 0x58f64293, S=2, 96, 136
-0, 7680, 7680, 960, 249, 0x9b6c77bb, S=2, 96, 136
-1, 7680, 7680, 960, 247, 0x660475b6, S=2, 96, 136
-2, 7680, 7680, 960, 125, 0x43de3911, S=2, 96, 136
-3, 7680, 7680, 960, 122, 0x0d4137b3, S=2, 96, 136
-0, 8640, 8640, 960, 262, 0x0d718316, S=2, 96, 136
-1, 8640, 8640, 960, 260, 0xce698563, S=2, 96, 136
-2, 8640, 8640, 960, 121, 0x7f1b4025, S=2, 96, 136
-3, 8640, 8640, 960, 121, 0xdae34205, S=2, 96, 136
-0, 9600, 9600, 960, 266, 0x6ffb86f0, S=2, 96, 136
-1, 9600, 9600, 960, 266, 0xa16f87bb, S=2, 96, 136
-2, 9600, 9600, 960, 119, 0x57703c74, S=2, 96, 136
-3, 9600, 9600, 960, 114, 0x06853bf5, S=2, 96, 136
-0, 10560, 10560, 960, 269, 0x43078081, S=2, 96, 136
-1, 10560, 10560, 960, 255, 0xff767870, S=2, 96, 136
-2, 10560, 10560, 960, 117, 0x86a43b70, S=2, 96, 136
-3, 10560, 10560, 960, 114, 0x4be5388e, S=2, 96, 136
-0, 11520, 11520, 960, 244, 0xd56f7885, S=2, 96, 136
-1, 11520, 11520, 960, 241, 0xbd1777f2, S=2, 96, 136
-2, 11520, 11520, 960, 110, 0xce96366a, S=2, 96, 136
-3, 11520, 11520, 960, 109, 0x120234bd, S=2, 96, 136
-0, 12480, 12480, 960, 241, 0xb8847e12, S=2, 96, 136
-1, 12480, 12480, 960, 241, 0x1bd27430, S=2, 96, 136
-2, 12480, 12480, 960, 127, 0x38ce3ff0, S=2, 96, 136
-3, 12480, 12480, 960, 127, 0x9f763c9b, S=2, 96, 136
-0, 13440, 13440, 960, 241, 0x9ee4787e, S=2, 96, 136
-1, 13440, 13440, 960, 241, 0x85ad821d, S=2, 96, 136
-2, 13440, 13440, 960, 141, 0xdc414884, S=2, 96, 136
-3, 13440, 13440, 960, 134, 0x95c9405e, S=2, 96, 136
-0, 14400, 14400, 960, 241, 0x060c78e3, S=2, 96, 136
-1, 14400, 14400, 960, 241, 0x03bb7e7e, S=2, 96, 136
-2, 14400, 14400, 960, 133, 0xfe184321, S=2, 96, 136
-3, 14400, 14400, 960, 125, 0x70523d7d, S=2, 96, 136
-0, 15360, 15360, 960, 241, 0xf7c57f6b, S=2, 96, 136
-1, 15360, 15360, 960, 241, 0x58ed7656, S=2, 96, 136
-2, 15360, 15360, 960, 119, 0x33b83af3, S=2, 96, 136
-3, 15360, 15360, 960, 121, 0x3f353eb3, S=2, 96, 136
-0, 16320, 16320, 960, 241, 0xc0077948, S=2, 96, 136
-1, 16320, 16320, 960, 241, 0x886a7f2a, S=2, 96, 136
-2, 16320, 16320, 960, 118, 0x122d3d16, S=2, 96, 136
-3, 16320, 16320, 960, 123, 0x673d3bbd, S=2, 96, 136
-0, 17280, 17280, 960, 241, 0x51777d39, S=2, 96, 136
-1, 17280, 17280, 960, 241, 0x25aa7240, S=2, 96, 136
-2, 17280, 17280, 960, 116, 0xe4ff3d75, S=2, 96, 136
-3, 17280, 17280, 960, 114, 0x95c638df, S=2, 96, 136
-0, 18240, 18240, 960, 241, 0x8a038527, S=2, 96, 136
-1, 18240, 18240, 960, 241, 0x151877bf, S=2, 96, 136
-2, 18240, 18240, 960, 116, 0xcb0238e6, S=2, 96, 136
-3, 18240, 18240, 960, 122, 0xc1fb4201, S=2, 96, 136
-0, 19200, 19200, 960, 241, 0xff1a839d, S=2, 96, 136
-1, 19200, 19200, 960, 241, 0x243c7927, S=2, 96, 136
-2, 19200, 19200, 960, 117, 0x4b723619, S=2, 96, 136
-3, 19200, 19200, 960, 113, 0xccf439e2, S=2, 96, 136
-0, 20160, 20160, 960, 241, 0x9aab7903, S=2, 96, 136
-1, 20160, 20160, 960, 241, 0x718b795d, S=2, 96, 136
-2, 20160, 20160, 960, 123, 0xd2fb3c10, S=2, 96, 136
-3, 20160, 20160, 960, 130, 0x28d03f70, S=2, 96, 136
-0, 21120, 21120, 960, 241, 0xc4246f83, S=2, 96, 136
-1, 21120, 21120, 960, 241, 0xec9577fe, S=2, 96, 136
-2, 21120, 21120, 960, 128, 0x269b4147, S=2, 96, 136
-3, 21120, 21120, 960, 135, 0xeb5d473a, S=2, 96, 136
-0, 22080, 22080, 960, 241, 0x4b69803f, S=2, 96, 136
-1, 22080, 22080, 960, 241, 0xd9d37f47, S=2, 96, 136
-2, 22080, 22080, 960, 122, 0x521c3fd0, S=2, 96, 136
-3, 22080, 22080, 960, 123, 0x9f0c3b46, S=2, 96, 136
-0, 23040, 23040, 960, 241, 0x2dbc77e4, S=2, 96, 136
-1, 23040, 23040, 960, 241, 0x8a4e784f, S=2, 96, 136
-2, 23040, 23040, 960, 179, 0xa53e5481, S=2, 96, 136
-3, 23040, 23040, 960, 175, 0x18d157ee, S=2, 96, 136
-0, 24000, 24000, 960, 241, 0x4f5b722d, S=3, 10, 96, 136
-1, 24000, 24000, 960, 241, 0xc7e67e1e, S=3, 10, 96, 136
-2, 24000, 24000, 960, 189, 0x736c5f4c, S=3, 10, 96, 136
-3, 24000, 24000, 960, 189, 0x63256352, S=3, 10, 96, 136
[STREAM_GROUP]
index=0
id=0x12c