[FFmpeg-devel] [PATCH 2/2] fate/audio: Add SBaGen/ffwavesynth test

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Aug 8 08:53:35 EEST 2023


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
This needs https://0x0.st/H_ui.sbg uploaded as ch-schumann-cycle.sbg
into a sbg subfolder of the fate-suite.

 tests/fate/audio.mak |   3 +
 tests/ref/fate/sbg   | 305 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 308 insertions(+)
 create mode 100644 tests/ref/fate/sbg

diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index 65317c8d45..e1325e14c5 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -71,6 +71,9 @@ fate-on2avc: CMD = framecrc -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -v
 FATE_SAMPLES_AUDIO-$(call DEMDEC, PAF, PAF_AUDIO) += fate-paf-audio
 fate-paf-audio: CMD = framecrc -i $(TARGET_SAMPLES)/paf/hod1-partial.paf -vn
 
+FATE_SAMPLES_AUDIO-$(call FRAMECRC, SBG, FFWAVESYNTH) += fate-sbg
+fate-sbg: CMD = framecrc -ss 9:45 -i $(TARGET_SAMPLES)/sbg/ch-schumann-cycle.sbg -t 30
+
 FATE_SAMPLES_AUDIO-$(call DEMDEC, VMD, VMDAUDIO) += fate-sierra-vmd-audio
 fate-sierra-vmd-audio: CMD = framecrc -i $(TARGET_SAMPLES)/vmd/12.vmd -vn -af aresample
 
diff --git a/tests/ref/fate/sbg b/tests/ref/fate/sbg
new file mode 100644
index 0000000000..cf4ee1ef41
--- /dev/null
+++ b/tests/ref/fate/sbg
@@ -0,0 +1,305 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout_name 0: stereo
+0,          0,          0,     4410,    17640, 0xde5a7a88
+0,       4410,       4410,     4410,    17640, 0xdaed6726
+0,       8820,       8820,     4410,    17640, 0x3eafd9b7
+0,      13230,      13230,     4410,    17640, 0x516148b7
+0,      17640,      17640,     4410,    17640, 0x99d5ee07
+0,      22050,      22050,     4410,    17640, 0xa6c9ab06
+0,      26460,      26460,     4410,    17640, 0xa1171b35
+0,      30870,      30870,     4410,    17640, 0x866aae8f
+0,      35280,      35280,     4410,    17640, 0x508bb6f1
+0,      39690,      39690,     4410,    17640, 0x38869e4c
+0,      44100,      44100,     4410,    17640, 0xcd2614f1
+0,      48510,      48510,     4410,    17640, 0xd29b7645
+0,      52920,      52920,     4410,    17640, 0xa8494cfc
+0,      57330,      57330,     4410,    17640, 0x965a8c1c
+0,      61740,      61740,     4410,    17640, 0x747825eb
+0,      66150,      66150,     4410,    17640, 0x3482614d
+0,      70560,      70560,     4410,    17640, 0x6d215d66
+0,      74970,      74970,     4410,    17640, 0x8e6e13c5
+0,      79380,      79380,     4410,    17640, 0xd75e474c
+0,      83790,      83790,     4410,    17640, 0xa4e40132
+0,      88200,      88200,     4410,    17640, 0x7f3513c1
+0,      92610,      92610,     4410,    17640, 0xc6ee4fe9
+0,      97020,      97020,     4410,    17640, 0x1fa1017b
+0,     101430,     101430,     4410,    17640, 0xb5f6dbe9
+0,     105840,     105840,     4410,    17640, 0x4ca87a93
+0,     110250,     110250,     4410,    17640, 0x1109f694
+0,     114660,     114660,     4410,    17640, 0x3e7c2109
+0,     119070,     119070,     4410,    17640, 0x6e71c64d
+0,     123480,     123480,     4410,    17640, 0x86d33fc4
+0,     127890,     127890,     4410,    17640, 0x4abd25ca
+0,     132300,     132300,     4410,    17640, 0xea3d1153
+0,     136710,     136710,     4410,    17640, 0xa96aef22
+0,     141120,     141120,     4410,    17640, 0xcaef3e4c
+0,     145530,     145530,     4410,    17640, 0x4bf0fedd
+0,     149940,     149940,     4410,    17640, 0x77bafef4
+0,     154350,     154350,     4410,    17640, 0x0d765f25
+0,     158760,     158760,     4410,    17640, 0xea5a376b
+0,     163170,     163170,     4410,    17640, 0x1440a727
+0,     167580,     167580,     4410,    17640, 0xaf0bffa4
+0,     171990,     171990,     4410,    17640, 0xcd9128b2
+0,     176400,     176400,     4410,    17640, 0xc3b582a3
+0,     180810,     180810,     4410,    17640, 0xf125ee67
+0,     185220,     185220,     4410,    17640, 0x142a86ed
+0,     189630,     189630,     4410,    17640, 0x7ab77c57
+0,     194040,     194040,     4410,    17640, 0x9806c939
+0,     198450,     198450,     4410,    17640, 0x62a29e4e
+0,     202860,     202860,     4410,    17640, 0xa1126173
+0,     207270,     207270,     4410,    17640, 0x1f864e7a
+0,     211680,     211680,     4410,    17640, 0x7ccac71e
+0,     216090,     216090,     4410,    17640, 0x99b038cc
+0,     220500,     220500,     4410,    17640, 0x3cb1530c
+0,     224910,     224910,     4410,    17640, 0xe5f1d336
+0,     229320,     229320,     4410,    17640, 0x8a5909c4
+0,     233730,     233730,     4410,    17640, 0x5be40055
+0,     238140,     238140,     4410,    17640, 0xc67c04a7
+0,     242550,     242550,     4410,    17640, 0x0d64e6b0
+0,     246960,     246960,     4410,    17640, 0xffe34fb3
+0,     251370,     251370,     4410,    17640, 0xfb7af6fe
+0,     255780,     255780,     4410,    17640, 0xfca3b523
+0,     260190,     260190,     4410,    17640, 0xe3bda8a6
+0,     264600,     264600,     4410,    17640, 0x378e765d
+0,     269010,     269010,     4410,    17640, 0x6a26be3b
+0,     273420,     273420,     4410,    17640, 0x77ed13ef
+0,     277830,     277830,     4410,    17640, 0xc453881c
+0,     282240,     282240,     4410,    17640, 0xc7abedaf
+0,     286650,     286650,     4410,    17640, 0x636e4296
+0,     291060,     291060,     4410,    17640, 0x3b61e93f
+0,     295470,     295470,     4410,    17640, 0xc2c59fcf
+0,     299880,     299880,     4410,    17640, 0x44393872
+0,     304290,     304290,     4410,    17640, 0xf93833f0
+0,     308700,     308700,     4410,    17640, 0xe2b73275
+0,     313110,     313110,     4410,    17640, 0x175562a3
+0,     317520,     317520,     4410,    17640, 0x60a4484f
+0,     321930,     321930,     4410,    17640, 0x62d10ec9
+0,     326340,     326340,     4410,    17640, 0x41713459
+0,     330750,     330750,     4410,    17640, 0xc497fca7
+0,     335160,     335160,     4410,    17640, 0x8f73a890
+0,     339570,     339570,     4410,    17640, 0x4abbcb91
+0,     343980,     343980,     4410,    17640, 0x5cdfc416
+0,     348390,     348390,     4410,    17640, 0x2bf83d66
+0,     352800,     352800,     4410,    17640, 0xceb9ddee
+0,     357210,     357210,     4410,    17640, 0x1a6cb2ed
+0,     361620,     361620,     4410,    17640, 0xa7ffd2dd
+0,     366030,     366030,     4410,    17640, 0x248869db
+0,     370440,     370440,     4410,    17640, 0xd15946ab
+0,     374850,     374850,     4410,    17640, 0xb3880402
+0,     379260,     379260,     4410,    17640, 0x3059537c
+0,     383670,     383670,     4410,    17640, 0x507785b9
+0,     388080,     388080,     4410,    17640, 0x675c7525
+0,     392490,     392490,     4410,    17640, 0xf3d3773d
+0,     396900,     396900,     4410,    17640, 0x78b3451f
+0,     401310,     401310,     4410,    17640, 0x19702aa4
+0,     405720,     405720,     4410,    17640, 0x0577656d
+0,     410130,     410130,     4410,    17640, 0x55667f12
+0,     414540,     414540,     4410,    17640, 0xed4736f8
+0,     418950,     418950,     4410,    17640, 0x182b32a6
+0,     423360,     423360,     4410,    17640, 0xe2234511
+0,     427770,     427770,     4410,    17640, 0xa3fd247b
+0,     432180,     432180,     4410,    17640, 0xcc05b917
+0,     436590,     436590,     4410,    17640, 0x26b1100a
+0,     441000,     441000,     4410,    17640, 0xde2f668d
+0,     445410,     445410,     4410,    17640, 0xff326e41
+0,     449820,     449820,     4410,    17640, 0xf957e8c4
+0,     454230,     454230,     4410,    17640, 0xcfd68f46
+0,     458640,     458640,     4410,    17640, 0x43a8810f
+0,     463050,     463050,     4410,    17640, 0x7de2b92d
+0,     467460,     467460,     4410,    17640, 0x6cafd993
+0,     471870,     471870,     4410,    17640, 0x6f77f747
+0,     476280,     476280,     4410,    17640, 0x32405818
+0,     480690,     480690,     4410,    17640, 0xca3ef78d
+0,     485100,     485100,     4410,    17640, 0x33dcdacf
+0,     489510,     489510,     4410,    17640, 0x1a885632
+0,     493920,     493920,     4410,    17640, 0xe024a224
+0,     498330,     498330,     4410,    17640, 0x4bfe4090
+0,     502740,     502740,     4410,    17640, 0xf17b1093
+0,     507150,     507150,     4410,    17640, 0xeb49ea55
+0,     511560,     511560,     4410,    17640, 0xb5b59cc3
+0,     515970,     515970,     4410,    17640, 0x778c6706
+0,     520380,     520380,     4410,    17640, 0xc8ee9374
+0,     524790,     524790,     4410,    17640, 0xd8e48492
+0,     529200,     529200,     4410,    17640, 0xe27af443
+0,     533610,     533610,     4410,    17640, 0x96be7e4f
+0,     538020,     538020,     4410,    17640, 0x6af3df18
+0,     542430,     542430,     4410,    17640, 0x4f784640
+0,     546840,     546840,     4410,    17640, 0xaa7b0f71
+0,     551250,     551250,     4410,    17640, 0x85e34a8d
+0,     555660,     555660,     4410,    17640, 0x0c2ead03
+0,     560070,     560070,     4410,    17640, 0x78b54fd1
+0,     564480,     564480,     4410,    17640, 0x8d05efbb
+0,     568890,     568890,     4410,    17640, 0xd457d03b
+0,     573300,     573300,     4410,    17640, 0x74826bac
+0,     577710,     577710,     4410,    17640, 0xd62f2888
+0,     582120,     582120,     4410,    17640, 0x5ab70e00
+0,     586530,     586530,     4410,    17640, 0x87e02a54
+0,     590940,     590940,     4410,    17640, 0xf8b317f3
+0,     595350,     595350,     4410,    17640, 0x51223b4e
+0,     599760,     599760,     4410,    17640, 0xd60c00d4
+0,     604170,     604170,     4410,    17640, 0x339f96ff
+0,     608580,     608580,     4410,    17640, 0xaee0b109
+0,     612990,     612990,     4410,    17640, 0x32825609
+0,     617400,     617400,     4410,    17640, 0x9b0a0662
+0,     621810,     621810,     4410,    17640, 0xffcef77a
+0,     626220,     626220,     4410,    17640, 0xacce0d20
+0,     630630,     630630,     4410,    17640, 0xb4066b57
+0,     635040,     635040,     4410,    17640, 0xa188f473
+0,     639450,     639450,     4410,    17640, 0x9966921c
+0,     643860,     643860,     4410,    17640, 0x8c1a19d8
+0,     648270,     648270,     4410,    17640, 0x3bf5d4a0
+0,     652680,     652680,     4410,    17640, 0x7215f5b4
+0,     657090,     657090,     4410,    17640, 0x66c61060
+0,     661500,     661500,     4410,    17640, 0xa5950446
+0,     665910,     665910,     4410,    17640, 0xa02eefa4
+0,     670320,     670320,     4410,    17640, 0x5f8f9e66
+0,     674730,     674730,     4410,    17640, 0x27181418
+0,     679140,     679140,     4410,    17640, 0xdc6fbe16
+0,     683550,     683550,     4410,    17640, 0x4d22b446
+0,     687960,     687960,     4410,    17640, 0x6ae69d41
+0,     692370,     692370,     4410,    17640, 0x004210a0
+0,     696780,     696780,     4410,    17640, 0x810dd2d5
+0,     701190,     701190,     4410,    17640, 0x03bc42f3
+0,     705600,     705600,     4410,    17640, 0xc40c464c
+0,     710010,     710010,     4410,    17640, 0xc8da9e01
+0,     714420,     714420,     4410,    17640, 0xcd879a88
+0,     718830,     718830,     4410,    17640, 0x6e19d46d
+0,     723240,     723240,     4410,    17640, 0x2feb1c22
+0,     727650,     727650,     4410,    17640, 0xb9d6b0eb
+0,     732060,     732060,     4410,    17640, 0xc2bcb2dc
+0,     736470,     736470,     4410,    17640, 0x5cdfa7b5
+0,     740880,     740880,     4410,    17640, 0x57ae200b
+0,     745290,     745290,     4410,    17640, 0xbf6f3024
+0,     749700,     749700,     4410,    17640, 0x833d0ac4
+0,     754110,     754110,     4410,    17640, 0xadf769de
+0,     758520,     758520,     4410,    17640, 0x561248d0
+0,     762930,     762930,     4410,    17640, 0x3d88cc9d
+0,     767340,     767340,     4410,    17640, 0x03a04306
+0,     771750,     771750,     4410,    17640, 0xa1944702
+0,     776160,     776160,     4410,    17640, 0xa5c90697
+0,     780570,     780570,     4410,    17640, 0x39894faf
+0,     784980,     784980,     4410,    17640, 0x359aaf77
+0,     789390,     789390,     4410,    17640, 0xa9a71937
+0,     793800,     793800,     4410,    17640, 0xf8d6e3c5
+0,     798210,     798210,     4410,    17640, 0x5cdbbc28
+0,     802620,     802620,     4410,    17640, 0x1b935718
+0,     807030,     807030,     4410,    17640, 0xc0e32b55
+0,     811440,     811440,     4410,    17640, 0x0d2a6af9
+0,     815850,     815850,     4410,    17640, 0xfbff1271
+0,     820260,     820260,     4410,    17640, 0x0805c4a9
+0,     824670,     824670,     4410,    17640, 0xa8c30de8
+0,     829080,     829080,     4410,    17640, 0x41625a36
+0,     833490,     833490,     4410,    17640, 0xe27748f7
+0,     837900,     837900,     4410,    17640, 0x89d7b086
+0,     842310,     842310,     4410,    17640, 0xcfb0d5dc
+0,     846720,     846720,     4410,    17640, 0x980cdaae
+0,     851130,     851130,     4410,    17640, 0xfd7f326e
+0,     855540,     855540,     4410,    17640, 0x5ef422b5
+0,     859950,     859950,     4410,    17640, 0xfefdff9a
+0,     864360,     864360,     4410,    17640, 0x0cb8bab5
+0,     868770,     868770,     4410,    17640, 0x93c19b8a
+0,     873180,     873180,     4410,    17640, 0xaa8a57c6
+0,     877590,     877590,     4410,    17640, 0x4192f0d3
+0,     882000,     882000,     4410,    17640, 0x09db3e9d
+0,     886410,     886410,     4410,    17640, 0xe0933445
+0,     890820,     890820,     4410,    17640, 0xea275d18
+0,     895230,     895230,     4410,    17640, 0xd8504c56
+0,     899640,     899640,     4410,    17640, 0x6300581a
+0,     904050,     904050,     4410,    17640, 0x2f5ee32c
+0,     908460,     908460,     4410,    17640, 0xc9ef831e
+0,     912870,     912870,     4410,    17640, 0x60626d5b
+0,     917280,     917280,     4410,    17640, 0x40980850
+0,     921690,     921690,     4410,    17640, 0xdb8e4e49
+0,     926100,     926100,     4410,    17640, 0x21981a6d
+0,     930510,     930510,     4410,    17640, 0x3b507f7e
+0,     934920,     934920,     4410,    17640, 0x3034590a
+0,     939330,     939330,     4410,    17640, 0x124d4903
+0,     943740,     943740,     4410,    17640, 0x83276582
+0,     948150,     948150,     4410,    17640, 0xd1bfdd4e
+0,     952560,     952560,     4410,    17640, 0xaedec0e2
+0,     956970,     956970,     4410,    17640, 0x0313eb53
+0,     961380,     961380,     4410,    17640, 0x1d7d4f0a
+0,     965790,     965790,     4410,    17640, 0x08d654e9
+0,     970200,     970200,     4410,    17640, 0x1405288b
+0,     974610,     974610,     4410,    17640, 0xaf57cd6c
+0,     979020,     979020,     4410,    17640, 0xab1346ad
+0,     983430,     983430,     4410,    17640, 0x5a899c33
+0,     987840,     987840,     4410,    17640, 0x56e7d100
+0,     992250,     992250,     4410,    17640, 0x9e8bef07
+0,     996660,     996660,     4410,    17640, 0xd325cc0b
+0,    1001070,    1001070,     4410,    17640, 0x782dbac5
+0,    1005480,    1005480,     4410,    17640, 0x23f5badb
+0,    1009890,    1009890,     4410,    17640, 0xbf994a1e
+0,    1014300,    1014300,     4410,    17640, 0x2eb1e085
+0,    1018710,    1018710,     4410,    17640, 0xd5ef9123
+0,    1023120,    1023120,     4410,    17640, 0x02ce4dfc
+0,    1027530,    1027530,     4410,    17640, 0x1262e4c3
+0,    1031940,    1031940,     4410,    17640, 0x231a4ea4
+0,    1036350,    1036350,     4410,    17640, 0xb3588509
+0,    1040760,    1040760,     4410,    17640, 0xc9dda97b
+0,    1045170,    1045170,     4410,    17640, 0x54d546f2
+0,    1049580,    1049580,     4410,    17640, 0xce84affc
+0,    1053990,    1053990,     4410,    17640, 0x11f545a9
+0,    1058400,    1058400,     4410,    17640, 0xf478e4b3
+0,    1062810,    1062810,     4410,    17640, 0x301291bf
+0,    1067220,    1067220,     4410,    17640, 0xe3a9a491
+0,    1071630,    1071630,     4410,    17640, 0x302d3770
+0,    1076040,    1076040,     4410,    17640, 0x9545246b
+0,    1080450,    1080450,     4410,    17640, 0xc2e94de3
+0,    1084860,    1084860,     4410,    17640, 0x8bb98767
+0,    1089270,    1089270,     4410,    17640, 0x178242f2
+0,    1093680,    1093680,     4410,    17640, 0xdf98756e
+0,    1098090,    1098090,     4410,    17640, 0x3db65c82
+0,    1102500,    1102500,     4410,    17640, 0xc925a33a
+0,    1106910,    1106910,     4410,    17640, 0x4557c490
+0,    1111320,    1111320,     4410,    17640, 0x2acf3dbc
+0,    1115730,    1115730,     4410,    17640, 0x08af19af
+0,    1120140,    1120140,     4410,    17640, 0x7d825faa
+0,    1124550,    1124550,     4410,    17640, 0xe0e8ec89
+0,    1128960,    1128960,     4410,    17640, 0xb209ab51
+0,    1133370,    1133370,     4410,    17640, 0x8ec9d250
+0,    1137780,    1137780,     4410,    17640, 0xd1a95da3
+0,    1142190,    1142190,     4410,    17640, 0xe1d79034
+0,    1146600,    1146600,     4410,    17640, 0xd6c871f7
+0,    1151010,    1151010,     4410,    17640, 0x92f3fca4
+0,    1155420,    1155420,     4410,    17640, 0x1c42129b
+0,    1159830,    1159830,     4410,    17640, 0x659efea2
+0,    1164240,    1164240,     4410,    17640, 0xd7c22ebc
+0,    1168650,    1168650,     4410,    17640, 0xe8f74713
+0,    1173060,    1173060,     4410,    17640, 0xa46ddf14
+0,    1177470,    1177470,     4410,    17640, 0x365d9b16
+0,    1181880,    1181880,     4410,    17640, 0x3c342e21
+0,    1186290,    1186290,     4410,    17640, 0x42ea7964
+0,    1190700,    1190700,     4410,    17640, 0x2585bba4
+0,    1195110,    1195110,     4410,    17640, 0x279a879e
+0,    1199520,    1199520,     4410,    17640, 0xd27c6d71
+0,    1203930,    1203930,     4410,    17640, 0xcff651d4
+0,    1208340,    1208340,     4410,    17640, 0xb29054c4
+0,    1212750,    1212750,     4410,    17640, 0xeadac42f
+0,    1217160,    1217160,     4410,    17640, 0x76a29f43
+0,    1221570,    1221570,     4410,    17640, 0x44811826
+0,    1225980,    1225980,     4410,    17640, 0xb1bd31d5
+0,    1230390,    1230390,     4410,    17640, 0x16946c76
+0,    1234800,    1234800,     4410,    17640, 0xdd03f0f3
+0,    1239210,    1239210,     4410,    17640, 0x5d36f159
+0,    1243620,    1243620,     4410,    17640, 0xdd89b8f0
+0,    1248030,    1248030,     4410,    17640, 0x67d3bffc
+0,    1252440,    1252440,     4410,    17640, 0xfc0dc7a3
+0,    1256850,    1256850,     4410,    17640, 0x32bc386a
+0,    1261260,    1261260,     4410,    17640, 0xd0a9dd7d
+0,    1265670,    1265670,     4410,    17640, 0x3c0dc149
+0,    1270080,    1270080,     4410,    17640, 0x162f9c77
+0,    1274490,    1274490,     4410,    17640, 0x3b9e4037
+0,    1278900,    1278900,     4410,    17640, 0x63f92d96
+0,    1283310,    1283310,     4410,    17640, 0xf4eae3b3
+0,    1287720,    1287720,     4410,    17640, 0x0ee0b338
+0,    1292130,    1292130,     4410,    17640, 0x2fdc5aef
+0,    1296540,    1296540,     4410,    17640, 0x76f20000
+0,    1300950,    1300950,     4410,    17640, 0xbe112e6e
+0,    1305360,    1305360,     4410,    17640, 0xc276dd2a
+0,    1309770,    1309770,     4410,    17640, 0xf7593f85
+0,    1314180,    1314180,     4410,    17640, 0x24b93986
+0,    1318590,    1318590,     4410,    17640, 0x7fc5ce87
-- 
2.34.1



More information about the ffmpeg-devel mailing list