Hi there,

Here I add a new test for aecho filter.
From 25e8de6f4caa08a1903a6756ca718ef06722d116 Mon Sep 17 00:00:00 2001
From: Petru Rares Sincraian <psincra...@outlook.com>
Date: Sat, 14 May 2016 11:04:25 +0200
Subject: [PATCH] fate: add aecho test

---
 tests/fate/filter-audio.mak |   5 +
 tests/ref/fate/filter-aecho | 286 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 291 insertions(+)
 create mode 100644 tests/ref/fate/filter-aecho

diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 7f7e520..2d125bb 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -3,6 +3,11 @@ fate-filter-adelay: tests/data/asynth-44100-2.wav
 fate-filter-adelay: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
 fate-filter-adelay: CMD = framecrc -i $(SRC) -af adelay=42
 
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, AECHO, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-aecho
+fate-filter-aecho: tests/data/asynth-44100-2.wav
+fate-filter-aecho: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-aecho: CMD = framecrc -i $(SRC) -af aecho=0.8:0.88:1000:0.4
+
 tests/data/hls-list.m3u8: TAG = GEN
 tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
 	$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
diff --git a/tests/ref/fate/filter-aecho b/tests/ref/fate/filter-aecho
new file mode 100644
index 0000000..e7fd93a
--- /dev/null
+++ b/tests/ref/fate/filter-aecho
@@ -0,0 +1,286 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+0,          0,          0,     1024,     4096, 0x078eef35
+0,       1024,       1024,     1024,     4096, 0xa24bf529
+0,       2048,       2048,     1024,     4096, 0xd22c0198
+0,       3072,       3072,     1024,     4096, 0x09f9f4df
+0,       4096,       4096,     1024,     4096, 0x280aecab
+0,       5120,       5120,     1024,     4096, 0x1ea9e9a7
+0,       6144,       6144,     1024,     4096, 0xaf750540
+0,       7168,       7168,     1024,     4096, 0x0441013a
+0,       8192,       8192,     1024,     4096, 0x7c4ce7e9
+0,       9216,       9216,     1024,     4096, 0x5eddeb19
+0,      10240,      10240,     1024,     4096, 0x351c08c4
+0,      11264,      11264,     1024,     4096, 0xc3a405a6
+0,      12288,      12288,     1024,     4096, 0xfc520092
+0,      13312,      13312,     1024,     4096, 0x4fa8f123
+0,      14336,      14336,     1024,     4096, 0x221bf9cf
+0,      15360,      15360,     1024,     4096, 0x9804049c
+0,      16384,      16384,     1024,     4096, 0x9c91042a
+0,      17408,      17408,     1024,     4096, 0x78f8fc09
+0,      18432,      18432,     1024,     4096, 0xf87cf179
+0,      19456,      19456,     1024,     4096, 0xc7d2fe37
+0,      20480,      20480,     1024,     4096, 0xef880684
+0,      21504,      21504,     1024,     4096, 0x813f09be
+0,      22528,      22528,     1024,     4096, 0x3575ea13
+0,      23552,      23552,     1024,     4096, 0x7217ea0d
+0,      24576,      24576,     1024,     4096, 0x9838ff51
+0,      25600,      25600,     1024,     4096, 0xe087043c
+0,      26624,      26624,     1024,     4096, 0x4b10ea9f
+0,      27648,      27648,     1024,     4096, 0x050ced89
+0,      28672,      28672,     1024,     4096, 0x7228f295
+0,      29696,      29696,     1024,     4096, 0xc60101ee
+0,      30720,      30720,     1024,     4096, 0xa4ebf763
+0,      31744,      31744,     1024,     4096, 0x83eeeec1
+0,      32768,      32768,     1024,     4096, 0x078eef35
+0,      33792,      33792,     1024,     4096, 0xa24bf529
+0,      34816,      34816,     1024,     4096, 0xd22c0198
+0,      35840,      35840,     1024,     4096, 0x09f9f4df
+0,      36864,      36864,     1024,     4096, 0x280aecab
+0,      37888,      37888,     1024,     4096, 0x1ea9e9a7
+0,      38912,      38912,     1024,     4096, 0xaf750540
+0,      39936,      39936,     1024,     4096, 0x0441013a
+0,      40960,      40960,     1024,     4096, 0x7c4ce7e9
+0,      41984,      41984,     1024,     4096, 0x5eddeb19
+0,      43008,      43008,     1024,     4096, 0x351c08c4
+0,      44032,      44032,     1024,     4096, 0x30c6db8f
+0,      45056,      45056,     1024,     4096, 0x1c4b3258
+0,      46080,      46080,     1024,     4096, 0xe32d157e
+0,      47104,      47104,     1024,     4096, 0xbbe9e635
+0,      48128,      48128,     1024,     4096, 0x7e8214dc
+0,      49152,      49152,     1024,     4096, 0xd671e4c1
+0,      50176,      50176,     1024,     4096, 0xd268f457
+0,      51200,      51200,     1024,     4096, 0x6051018e
+0,      52224,      52224,     1024,     4096, 0x2f31fe93
+0,      53248,      53248,     1024,     4096, 0xa72e0dca
+0,      54272,      54272,     1024,     4096, 0x609ffcf1
+0,      55296,      55296,     1024,     4096, 0xe020f453
+0,      56320,      56320,     1024,     4096, 0xb9c9f631
+0,      57344,      57344,     1024,     4096, 0xa8a4c6fd
+0,      58368,      58368,     1024,     4096, 0x1f40ffdd
+0,      59392,      59392,     1024,     4096, 0x3764f7f1
+0,      60416,      60416,     1024,     4096, 0x4e20dfd1
+0,      61440,      61440,     1024,     4096, 0xc11bea99
+0,      62464,      62464,     1024,     4096, 0x7d0ffb2f
+0,      63488,      63488,     1024,     4096, 0xbe29f5f7
+0,      64512,      64512,     1024,     4096, 0xd39612e6
+0,      65536,      65536,     1024,     4096, 0x5ba1fc7f
+0,      66560,      66560,     1024,     4096, 0xef94eded
+0,      67584,      67584,     1024,     4096, 0x25ffe855
+0,      68608,      68608,     1024,     4096, 0xec0ef7a1
+0,      69632,      69632,     1024,     4096, 0x8917d5e5
+0,      70656,      70656,     1024,     4096, 0xb7b7f921
+0,      71680,      71680,     1024,     4096, 0xef4418ce
+0,      72704,      72704,     1024,     4096, 0x4811fa75
+0,      73728,      73728,     1024,     4096, 0x5ef2f671
+0,      74752,      74752,     1024,     4096, 0xa6f9ff13
+0,      75776,      75776,     1024,     4096, 0x36c11b72
+0,      76800,      76800,     1024,     4096, 0xf919f4b1
+0,      77824,      77824,     1024,     4096, 0xce03fb81
+0,      78848,      78848,     1024,     4096, 0xa582ffd9
+0,      79872,      79872,     1024,     4096, 0xea2afa63
+0,      80896,      80896,     1024,     4096, 0xb895f34f
+0,      81920,      81920,     1024,     4096, 0x1a7b0d94
+0,      82944,      82944,     1024,     4096, 0xd6e5f2a1
+0,      83968,      83968,     1024,     4096, 0x8c2e0ae2
+0,      84992,      84992,     1024,     4096, 0x4159f1ff
+0,      86016,      86016,     1024,     4096, 0x4932058e
+0,      87040,      87040,     1024,     4096, 0xedf000d0
+0,      88064,      88064,     1024,     4096, 0x2c0b1fcc
+0,      89088,      89088,     1024,     4096, 0x7e640276
+0,      90112,      90112,     1024,     4096, 0xc3d913f8
+0,      91136,      91136,     1024,     4096, 0x8f5317c2
+0,      92160,      92160,     1024,     4096, 0x5abf13c2
+0,      93184,      93184,     1024,     4096, 0xa64400d4
+0,      94208,      94208,     1024,     4096, 0x0235349c
+0,      95232,      95232,     1024,     4096, 0x35c4f893
+0,      96256,      96256,     1024,     4096, 0x4539d1ef
+0,      97280,      97280,     1024,     4096, 0x40f71504
+0,      98304,      98304,     1024,     4096, 0xeefad2a5
+0,      99328,      99328,     1024,     4096, 0x63c91c36
+0,     100352,     100352,     1024,     4096, 0xe1a1f6c9
+0,     101376,     101376,     1024,     4096, 0xfc1e24c8
+0,     102400,     102400,     1024,     4096, 0x57dde005
+0,     103424,     103424,     1024,     4096, 0x4b430ec0
+0,     104448,     104448,     1024,     4096, 0x5804dd5f
+0,     105472,     105472,     1024,     4096, 0x3097f4f5
+0,     106496,     106496,     1024,     4096, 0xeb020de8
+0,     107520,     107520,     1024,     4096, 0x721b0b28
+0,     108544,     108544,     1024,     4096, 0x3a0ef091
+0,     109568,     109568,     1024,     4096, 0x7d1ce5e7
+0,     110592,     110592,     1024,     4096, 0xbd0ce61b
+0,     111616,     111616,     1024,     4096, 0x456b01ea
+0,     112640,     112640,     1024,     4096, 0x4baa1668
+0,     113664,     113664,     1024,     4096, 0xc8e7eda5
+0,     114688,     114688,     1024,     4096, 0x853dc599
+0,     115712,     115712,     1024,     4096, 0xc07cd899
+0,     116736,     116736,     1024,     4096, 0xcb5ad4f5
+0,     117760,     117760,     1024,     4096, 0x4191f973
+0,     118784,     118784,     1024,     4096, 0x4955e871
+0,     119808,     119808,     1024,     4096, 0x58adfd81
+0,     120832,     120832,     1024,     4096, 0xdd441dd4
+0,     121856,     121856,     1024,     4096, 0x8191c511
+0,     122880,     122880,     1024,     4096, 0xf9ccc967
+0,     123904,     123904,     1024,     4096, 0xb6c0fcaf
+0,     124928,     124928,     1024,     4096, 0x5a91a87d
+0,     125952,     125952,     1024,     4096, 0xb220f3b7
+0,     126976,     126976,     1024,     4096, 0x480fe447
+0,     128000,     128000,     1024,     4096, 0xb4d2eee1
+0,     129024,     129024,     1024,     4096, 0x3879ef17
+0,     130048,     130048,     1024,     4096, 0xb3221c32
+0,     131072,     131072,     1024,     4096, 0xbd0bff49
+0,     132096,     132096,     1024,     4096, 0x640bea87
+0,     133120,     133120,     1024,     4096, 0x30bff5ad
+0,     134144,     134144,     1024,     4096, 0x189cf75d
+0,     135168,     135168,     1024,     4096, 0x110303b2
+0,     136192,     136192,     1024,     4096, 0x476b0094
+0,     137216,     137216,     1024,     4096, 0xa737e90e
+0,     138240,     138240,     1024,     4096, 0x3591e5ca
+0,     139264,     139264,     1024,     4096, 0x5d6fe730
+0,     140288,     140288,     1024,     4096, 0x1400ec93
+0,     141312,     141312,     1024,     4096, 0x6b4de96c
+0,     142336,     142336,     1024,     4096, 0xb2320246
+0,     143360,     143360,     1024,     4096, 0x65540bad
+0,     144384,     144384,     1024,     4096, 0xe13dfc6a
+0,     145408,     145408,     1024,     4096, 0x894e01dd
+0,     146432,     146432,     1024,     4096, 0xc8aeeeb5
+0,     147456,     147456,     1024,     4096, 0x1e050869
+0,     148480,     148480,     1024,     4096, 0x4307007e
+0,     149504,     149504,     1024,     4096, 0x8933fa26
+0,     150528,     150528,     1024,     4096, 0xde82fe4f
+0,     151552,     151552,     1024,     4096, 0x2228ffc5
+0,     152576,     152576,     1024,     4096, 0xeb11e555
+0,     153600,     153600,     1024,     4096, 0xfcd21746
+0,     154624,     154624,     1024,     4096, 0x9ffae429
+0,     155648,     155648,     1024,     4096, 0x6d6ced0b
+0,     156672,     156672,     1024,     4096, 0xd949ed5f
+0,     157696,     157696,     1024,     4096, 0x2b40d9e1
+0,     158720,     158720,     1024,     4096, 0xff77f854
+0,     159744,     159744,     1024,     4096, 0x3d62ec1f
+0,     160768,     160768,     1024,     4096, 0x9b68cab8
+0,     161792,     161792,     1024,     4096, 0xfabff2c3
+0,     162816,     162816,     1024,     4096, 0xd69ff7b0
+0,     163840,     163840,     1024,     4096, 0xecc30a96
+0,     164864,     164864,     1024,     4096, 0x82f32795
+0,     165888,     165888,     1024,     4096, 0xab27e985
+0,     166912,     166912,     1024,     4096, 0xc339b5db
+0,     167936,     167936,     1024,     4096, 0xdd74f881
+0,     168960,     168960,     1024,     4096, 0x427ecf1f
+0,     169984,     169984,     1024,     4096, 0xd9adbaae
+0,     171008,     171008,     1024,     4096, 0x0666d9ee
+0,     172032,     172032,     1024,     4096, 0xb3bffe54
+0,     173056,     173056,     1024,     4096, 0x14cdec48
+0,     174080,     174080,     1024,     4096, 0xef63e30c
+0,     175104,     175104,     1024,     4096, 0xd2e30f59
+0,     176128,     176128,     1024,     4096, 0xc8f4f2f4
+0,     177152,     177152,     1024,     4096, 0x7dcdfe25
+0,     178176,     178176,     1024,     4096, 0x5f8afc3c
+0,     179200,     179200,     1024,     4096, 0x46c818b4
+0,     180224,     180224,     1024,     4096, 0xa9bd8261
+0,     181248,     181248,     1024,     4096, 0xa9656dc8
+0,     182272,     182272,     1024,     4096, 0xe0cf9a09
+0,     183296,     183296,     1024,     4096, 0x3b2cffc0
+0,     184320,     184320,     1024,     4096, 0x48d4f342
+0,     185344,     185344,     1024,     4096, 0xd362eff1
+0,     186368,     186368,     1024,     4096, 0x949efbcb
+0,     187392,     187392,     1024,     4096, 0x9781f1f6
+0,     188416,     188416,     1024,     4096, 0xe881f97a
+0,     189440,     189440,     1024,     4096, 0x9bbbfb52
+0,     190464,     190464,     1024,     4096, 0xa1c5f3fe
+0,     191488,     191488,     1024,     4096, 0x5544f614
+0,     192512,     192512,     1024,     4096, 0xf64ae8f5
+0,     193536,     193536,     1024,     4096, 0x86ec02c0
+0,     194560,     194560,     1024,     4096, 0x7e8b21cf
+0,     195584,     195584,     1024,     4096, 0x10ebefdc
+0,     196608,     196608,     1024,     4096, 0x58b5fc6c
+0,     197632,     197632,     1024,     4096, 0xd884050b
+0,     198656,     198656,     1024,     4096, 0xa5cafd3a
+0,     199680,     199680,     1024,     4096, 0x7457f99b
+0,     200704,     200704,     1024,     4096, 0xa6f5f325
+0,     201728,     201728,     1024,     4096, 0xdc3e11a4
+0,     202752,     202752,     1024,     4096, 0x5804027b
+0,     203776,     203776,     1024,     4096, 0x7d90092e
+0,     204800,     204800,     1024,     4096, 0x921d947d
+0,     205824,     205824,     1024,     4096, 0x11981633
+0,     206848,     206848,     1024,     4096, 0x0c93fb54
+0,     207872,     207872,     1024,     4096, 0x8513f4ff
+0,     208896,     208896,     1024,     4096, 0x7edafa0a
+0,     209920,     209920,     1024,     4096, 0x9205dac6
+0,     210944,     210944,     1024,     4096, 0xa1f9f7d8
+0,     211968,     211968,     1024,     4096, 0x7de5fdb3
+0,     212992,     212992,     1024,     4096, 0x1068fdbd
+0,     214016,     214016,     1024,     4096, 0x0aa3e6f8
+0,     215040,     215040,     1024,     4096, 0x5cfff093
+0,     216064,     216064,     1024,     4096, 0x6954e890
+0,     217088,     217088,     1024,     4096, 0xc1750047
+0,     218112,     218112,     1024,     4096, 0x3dbef25c
+0,     219136,     219136,     1024,     4096, 0xd359f4c5
+0,     220160,     220160,     1024,     4096, 0x21ca0e31
+0,     221184,     221184,     1024,     4096, 0xb1620ff8
+0,     222208,     222208,     1024,     4096, 0x1d00ea55
+0,     223232,     223232,     1024,     4096, 0xdaccf2dc
+0,     224256,     224256,     1024,     4096, 0xabab0c82
+0,     225280,     225280,     1024,     4096, 0x56920c80
+0,     226304,     226304,     1024,     4096, 0x69bffd26
+0,     227328,     227328,     1024,     4096, 0xc541f1ca
+0,     228352,     228352,     1024,     4096, 0xec97ee16
+0,     229376,     229376,     1024,     4096, 0xeeaafe9d
+0,     230400,     230400,     1024,     4096, 0x3f57029d
+0,     231424,     231424,     1024,     4096, 0x2f54fd2d
+0,     232448,     232448,     1024,     4096, 0x975cf53a
+0,     233472,     233472,     1024,     4096, 0x62420065
+0,     234496,     234496,     1024,     4096, 0xba8c0370
+0,     235520,     235520,     1024,     4096, 0x7b64fd24
+0,     236544,     236544,     1024,     4096, 0x9d40f078
+0,     237568,     237568,     1024,     4096, 0xe31edf7f
+0,     238592,     238592,     1024,     4096, 0xe065061a
+0,     239616,     239616,     1024,     4096, 0x7d0afe8e
+0,     240640,     240640,     1024,     4096, 0x1e9ce5e5
+0,     241664,     241664,     1024,     4096, 0xf45fe402
+0,     242688,     242688,     1024,     4096, 0x2108f441
+0,     243712,     243712,     1024,     4096, 0xd855fc97
+0,     244736,     244736,     1024,     4096, 0xdcb30281
+0,     245760,     245760,     1024,     4096, 0x4f72f1af
+0,     246784,     246784,     1024,     4096, 0xd97eeddb
+0,     247808,     247808,     1024,     4096, 0x0777f23c
+0,     248832,     248832,     1024,     4096, 0x6167fa17
+0,     249856,     249856,     1024,     4096, 0x0967f04e
+0,     250880,     250880,     1024,     4096, 0x3f05eef4
+0,     251904,     251904,     1024,     4096, 0x064ff13f
+0,     252928,     252928,     1024,     4096, 0xbf950003
+0,     253952,     253952,     1024,     4096, 0xb1620ff8
+0,     254976,     254976,     1024,     4096, 0x1d00ea55
+0,     256000,     256000,     1024,     4096, 0xdaccf2dc
+0,     257024,     257024,     1024,     4096, 0xabab0c82
+0,     258048,     258048,     1024,     4096, 0x56920c80
+0,     259072,     259072,     1024,     4096, 0x69bffd26
+0,     260096,     260096,     1024,     4096, 0xc541f1ca
+0,     261120,     261120,     1024,     4096, 0xec97ee16
+0,     262144,     262144,     1024,     4096, 0xeeaafe9d
+0,     263168,     263168,     1024,     4096, 0x3f57029d
+0,     264192,     264192,      408,     1632, 0x09f62c50
+0,     264600,     264600,     2048,     8192, 0x7be9e76d
+0,     266648,     266648,     2048,     8192, 0xf8fef92b
+0,     268696,     268696,     2048,     8192, 0x05450838
+0,     270744,     270744,     2048,     8192, 0x2bb60121
+0,     272792,     272792,     2048,     8192, 0x975be1aa
+0,     274840,     274840,     2048,     8192, 0xbe15ffba
+0,     276888,     276888,     2048,     8192, 0xa48fefb1
+0,     278936,     278936,     2048,     8192, 0x7b21ea12
+0,     280984,     280984,     2048,     8192, 0xf48bf79b
+0,     283032,     283032,     2048,     8192, 0x0978e42b
+0,     285080,     285080,     2048,     8192, 0x8e05191d
+0,     287128,     287128,     2048,     8192, 0x2617e04b
+0,     289176,     289176,     2048,     8192, 0x654ffd53
+0,     291224,     291224,     2048,     8192, 0x8f74e473
+0,     293272,     293272,     2048,     8192, 0x9193f3d8
+0,     295320,     295320,     2048,     8192, 0x8746fa12
+0,     297368,     297368,     2048,     8192, 0x7be9e76d
+0,     299416,     299416,     2048,     8192, 0xf8fef92b
+0,     301464,     301464,     2048,     8192, 0x05450838
+0,     303512,     303512,     2048,     8192, 0x2bb60121
+0,     305560,     305560,     2048,     8192, 0x975be1aa
+0,     307608,     307608,     1092,     4368, 0x10138fa1
-- 
1.9.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to