From c4a82194e024f950c4647da003b216b8b19554f6 Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Thu, 16 Jun 2016 17:12:29 +0200 Subject: [PATCH] fate: add test for agate Signed-off-by: Michael Niedermayer --- tests/fate/filter-audio.mak | 5 + tests/ref/fate/filter-agate | 264 ++++++++++++++++++++++++++++++++++++ 2 files changed, 269 insertions(+) create mode 100644 tests/ref/fate/filter-agate diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index 575a7bfef6..7c903b7c61 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -58,6 +58,11 @@ fate-filter-acrossfade: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav fate-filter-acrossfade: SRC2 = $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav fate-filter-acrossfade: CMD = framecrc -i $(SRC) -i $(SRC2) -filter_complex acrossfade=d=2:c1=log:c2=exp +FATE_AFILTER-$(call FILTERDEMDECENCMUX, AFADE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-agate +fate-filter-agate: tests/data/asynth-44100-2.wav +fate-filter-agate: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav +fate-filter-agate: CMD = framecrc -i $(SRC) -af agate=level_in=10:range=0:threshold=1:ratio=1:attack=1:knee=1:makeup=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-agate b/tests/ref/fate/filter-agate new file mode 100644 index 0000000000..4f7b10e711 --- /dev/null +++ b/tests/ref/fate/filter-agate @@ -0,0 +1,264 @@ +#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, 0x1af20090 +0, 1024, 1024, 1024, 4096, 0x0b05ef2d +0, 2048, 2048, 1024, 4096, 0x574bf11d +0, 3072, 3072, 1024, 4096, 0x774af5d3 +0, 4096, 4096, 1024, 4096, 0x7b51ff33 +0, 5120, 5120, 1024, 4096, 0xf610f9bf +0, 6144, 6144, 1024, 4096, 0x3c20ef79 +0, 7168, 7168, 1024, 4096, 0x427bef59 +0, 8192, 8192, 1024, 4096, 0x8773fa99 +0, 9216, 9216, 1024, 4096, 0xbf1dfe89 +0, 10240, 10240, 1024, 4096, 0x462df4dd +0, 11264, 11264, 1024, 4096, 0x1170f169 +0, 12288, 12288, 1024, 4096, 0xcb9cf633 +0, 13312, 13312, 1024, 4096, 0x7e8c01da +0, 14336, 14336, 1024, 4096, 0x93c202d0 +0, 15360, 15360, 1024, 4096, 0xd882ec6d +0, 16384, 16384, 1024, 4096, 0x03fbec6d +0, 17408, 17408, 1024, 4096, 0x73f400d4 +0, 18432, 18432, 1024, 4096, 0xea8c01da +0, 19456, 19456, 1024, 4096, 0x23cbf82f +0, 20480, 20480, 1024, 4096, 0x85cdf169 +0, 21504, 21504, 1024, 4096, 0x8e27f2e1 +0, 22528, 22528, 1024, 4096, 0x91bffe89 +0, 23552, 23552, 1024, 4096, 0xc31afd95 +0, 24576, 24576, 1024, 4096, 0x5c23ee59 +0, 25600, 25600, 1024, 4096, 0x58d0ef79 +0, 26624, 26624, 1024, 4096, 0xfccff7c3 +0, 27648, 27648, 1024, 4096, 0x7084ff33 +0, 28672, 28672, 1024, 4096, 0x7f1bf7cf +0, 29696, 29696, 1024, 4096, 0x8037f11d +0, 30720, 30720, 1024, 4096, 0xd106ed31 +0, 31744, 31744, 1024, 4096, 0xaf820090 +0, 32768, 32768, 1024, 4096, 0x1af20090 +0, 33792, 33792, 1024, 4096, 0x0b05ef2d +0, 34816, 34816, 1024, 4096, 0x574bf11d +0, 35840, 35840, 1024, 4096, 0x774af5d3 +0, 36864, 36864, 1024, 4096, 0x7b51ff33 +0, 37888, 37888, 1024, 4096, 0xf610f9bf +0, 38912, 38912, 1024, 4096, 0x3c20ef79 +0, 39936, 39936, 1024, 4096, 0x427bef59 +0, 40960, 40960, 1024, 4096, 0x8773fa99 +0, 41984, 41984, 1024, 4096, 0xbf1dfe89 +0, 43008, 43008, 1024, 4096, 0x462df4dd +0, 44032, 44032, 1024, 4096, 0x41650472 +0, 45056, 45056, 1024, 4096, 0x1081f133 +0, 46080, 46080, 1024, 4096, 0x9da3e58b +0, 47104, 47104, 1024, 4096, 0x752614ac +0, 48128, 48128, 1024, 4096, 0x0f23034c +0, 49152, 49152, 1024, 4096, 0x768fe8a1 +0, 50176, 50176, 1024, 4096, 0xf0f9079e +0, 51200, 51200, 1024, 4096, 0x8543ed93 +0, 52224, 52224, 1024, 4096, 0x9f96fe9d +0, 53248, 53248, 1024, 4096, 0x94f3facf +0, 54272, 54272, 1024, 4096, 0xc0defe4d +0, 55296, 55296, 1024, 4096, 0x4e22f5ff +0, 56320, 56320, 1024, 4096, 0xb604ed7d +0, 57344, 57344, 1024, 4096, 0xb6400124 +0, 58368, 58368, 1024, 4096, 0xadadf519 +0, 59392, 59392, 1024, 4096, 0x2520fb85 +0, 60416, 60416, 1024, 4096, 0x1ffbf4a9 +0, 61440, 61440, 1024, 4096, 0x380e05cc +0, 62464, 62464, 1024, 4096, 0x366af6cf +0, 63488, 63488, 1024, 4096, 0x4f64f355 +0, 64512, 64512, 1024, 4096, 0x7aa0e89f +0, 65536, 65536, 1024, 4096, 0x1f160524 +0, 66560, 66560, 1024, 4096, 0x6bba0292 +0, 67584, 67584, 1024, 4096, 0x5243ed4d +0, 68608, 68608, 1024, 4096, 0x304ffcb1 +0, 69632, 69632, 1024, 4096, 0xfb1bfc9b +0, 70656, 70656, 1024, 4096, 0x0259e9d3 +0, 71680, 71680, 1024, 4096, 0x90fee749 +0, 72704, 72704, 1024, 4096, 0x8626eff9 +0, 73728, 73728, 1024, 4096, 0x29a4fe41 +0, 74752, 74752, 1024, 4096, 0x0dacf2bb +0, 75776, 75776, 1024, 4096, 0x875b0046 +0, 76800, 76800, 1024, 4096, 0x009b0068 +0, 77824, 77824, 1024, 4096, 0x50f8eee1 +0, 78848, 78848, 1024, 4096, 0xa73ef503 +0, 79872, 79872, 1024, 4096, 0xaac8f7e5 +0, 80896, 80896, 1024, 4096, 0x0229f31b +0, 81920, 81920, 1024, 4096, 0x7eb0edc9 +0, 82944, 82944, 1024, 4096, 0x88e0eddd +0, 83968, 83968, 1024, 4096, 0x7982fe3f +0, 84992, 84992, 1024, 4096, 0x91caf665 +0, 86016, 86016, 1024, 4096, 0x2fd1f3d7 +0, 87040, 87040, 1024, 4096, 0x9b3de465 +0, 88064, 88064, 1024, 4096, 0xd3f5e99d +0, 89088, 89088, 1024, 4096, 0xeb00b4df +0, 90112, 90112, 1024, 4096, 0xc0a5e92f +0, 91136, 91136, 1024, 4096, 0xaed2ef59 +0, 92160, 92160, 1024, 4096, 0x80591586 +0, 93184, 93184, 1024, 4096, 0x32d4f0ef +0, 94208, 94208, 1024, 4096, 0x8ba4f0f9 +0, 95232, 95232, 1024, 4096, 0x8d3bc631 +0, 96256, 96256, 1024, 4096, 0xddede7c5 +0, 97280, 97280, 1024, 4096, 0x6a459463 +0, 98304, 98304, 1024, 4096, 0xeca818b8 +0, 99328, 99328, 1024, 4096, 0x0c91c6c9 +0, 100352, 100352, 1024, 4096, 0x6241e69b +0, 101376, 101376, 1024, 4096, 0xe220d9a7 +0, 102400, 102400, 1024, 4096, 0x9f4bcbd5 +0, 103424, 103424, 1024, 4096, 0x2c1ad90b +0, 104448, 104448, 1024, 4096, 0x3974feb3 +0, 105472, 105472, 1024, 4096, 0x8d1ae2e1 +0, 106496, 106496, 1024, 4096, 0xa609f955 +0, 107520, 107520, 1024, 4096, 0xc5fcdd19 +0, 108544, 108544, 1024, 4096, 0xe233d8c5 +0, 109568, 109568, 1024, 4096, 0xd1d7d61d +0, 110592, 110592, 1024, 4096, 0x52522f58 +0, 111616, 111616, 1024, 4096, 0x16d8cd63 +0, 112640, 112640, 1024, 4096, 0x3994e847 +0, 113664, 113664, 1024, 4096, 0x6fd8ea07 +0, 114688, 114688, 1024, 4096, 0x582723be +0, 115712, 115712, 1024, 4096, 0x44d40ff6 +0, 116736, 116736, 1024, 4096, 0x98d22050 +0, 117760, 117760, 1024, 4096, 0x2cc8063c +0, 118784, 118784, 1024, 4096, 0xf645ed8d +0, 119808, 119808, 1024, 4096, 0xcb49dbe1 +0, 120832, 120832, 1024, 4096, 0x7efbf369 +0, 121856, 121856, 1024, 4096, 0x797333ac +0, 122880, 122880, 1024, 4096, 0x157130fa +0, 123904, 123904, 1024, 4096, 0x23530594 +0, 124928, 124928, 1024, 4096, 0x46783b6c +0, 125952, 125952, 1024, 4096, 0x5fac436e +0, 126976, 126976, 1024, 4096, 0x2a9e1c76 +0, 128000, 128000, 1024, 4096, 0x152202ac +0, 129024, 129024, 1024, 4096, 0xe5cdf369 +0, 130048, 130048, 1024, 4096, 0x6fe2feeb +0, 131072, 131072, 1024, 4096, 0xee24ec7f +0, 132096, 132096, 1024, 4096, 0x6f33fd5d +0, 133120, 133120, 1024, 4096, 0x3f52fd51 +0, 134144, 134144, 1024, 4096, 0x2292e8e6 +0, 135168, 135168, 1024, 4096, 0xbc13f7bb +0, 136192, 136192, 1024, 4096, 0xc271f708 +0, 137216, 137216, 1024, 4096, 0x9f1ff6ec +0, 138240, 138240, 1024, 4096, 0xdf88f599 +0, 139264, 139264, 1024, 4096, 0x6614f6ae +0, 140288, 140288, 1024, 4096, 0x7cf9f3c4 +0, 141312, 141312, 1024, 4096, 0xcdc1f588 +0, 142336, 142336, 1024, 4096, 0xa4a1ffa9 +0, 143360, 143360, 1024, 4096, 0xcb15f5d4 +0, 144384, 144384, 1024, 4096, 0x2fd0f58f +0, 145408, 145408, 1024, 4096, 0x08eff948 +0, 146432, 146432, 1024, 4096, 0x71f9f39f +0, 147456, 147456, 1024, 4096, 0x70f5f4ed +0, 148480, 148480, 1024, 4096, 0x3ccaf424 +0, 149504, 149504, 1024, 4096, 0xc170f215 +0, 150528, 150528, 1024, 4096, 0xdecfeb38 +0, 151552, 151552, 1024, 4096, 0xb7a6f0e5 +0, 152576, 152576, 1024, 4096, 0x14ecf42d +0, 153600, 153600, 1024, 4096, 0x3af8eefc +0, 154624, 154624, 1024, 4096, 0xec57fa8b +0, 155648, 155648, 1024, 4096, 0x206bf602 +0, 156672, 156672, 1024, 4096, 0x15a7f45d +0, 157696, 157696, 1024, 4096, 0xb23dea6e +0, 158720, 158720, 1024, 4096, 0x6b6af81c +0, 159744, 159744, 1024, 4096, 0xae73f6c7 +0, 160768, 160768, 1024, 4096, 0x19c8f293 +0, 161792, 161792, 1024, 4096, 0x752ef8aa +0, 162816, 162816, 1024, 4096, 0xfac6f812 +0, 163840, 163840, 1024, 4096, 0xff9dfb00 +0, 164864, 164864, 1024, 4096, 0x8305f5b2 +0, 165888, 165888, 1024, 4096, 0xe2f3fea4 +0, 166912, 166912, 1024, 4096, 0xb377f0e6 +0, 167936, 167936, 1024, 4096, 0x0344f0a9 +0, 168960, 168960, 1024, 4096, 0x389afaf4 +0, 169984, 169984, 1024, 4096, 0x5f63fa0d +0, 171008, 171008, 1024, 4096, 0xce88f5ae +0, 172032, 172032, 1024, 4096, 0x7e55f852 +0, 173056, 173056, 1024, 4096, 0x5af0f555 +0, 174080, 174080, 1024, 4096, 0x5753fa5a +0, 175104, 175104, 1024, 4096, 0x443ce89b +0, 176128, 176128, 1024, 4096, 0x0068de8c +0, 177152, 177152, 1024, 4096, 0x5209f51f +0, 178176, 178176, 1024, 4096, 0x97e8eb3a +0, 179200, 179200, 1024, 4096, 0xd97fe978 +0, 180224, 180224, 1024, 4096, 0x8cadff37 +0, 181248, 181248, 1024, 4096, 0x8dd40290 +0, 182272, 182272, 1024, 4096, 0x2369eb74 +0, 183296, 183296, 1024, 4096, 0x50e8e9ee +0, 184320, 184320, 1024, 4096, 0x1e727c22 +0, 185344, 185344, 1024, 4096, 0xbe8be7ed +0, 186368, 186368, 1024, 4096, 0xb6f0f37a +0, 187392, 187392, 1024, 4096, 0x8a9af2a2 +0, 188416, 188416, 1024, 4096, 0x6917f395 +0, 189440, 189440, 1024, 4096, 0x649df5b4 +0, 190464, 190464, 1024, 4096, 0xebb7fc9a +0, 191488, 191488, 1024, 4096, 0xba3eef09 +0, 192512, 192512, 1024, 4096, 0x0cf9ba5e +0, 193536, 193536, 1024, 4096, 0x0f83eb2d +0, 194560, 194560, 1024, 4096, 0xcd86f62c +0, 195584, 195584, 1024, 4096, 0x1f6d05b6 +0, 196608, 196608, 1024, 4096, 0x988ff2ed +0, 197632, 197632, 1024, 4096, 0xe066eb10 +0, 198656, 198656, 1024, 4096, 0x608be99e +0, 199680, 199680, 1024, 4096, 0xba97e994 +0, 200704, 200704, 1024, 4096, 0xe92a8b76 +0, 201728, 201728, 1024, 4096, 0xe12ee0e2 +0, 202752, 202752, 1024, 4096, 0xc202ef7d +0, 203776, 203776, 1024, 4096, 0xcd8afebb +0, 204800, 204800, 1024, 4096, 0x0fc2fcbf +0, 205824, 205824, 1024, 4096, 0x2d4df1bb +0, 206848, 206848, 1024, 4096, 0x7282ee1f +0, 207872, 207872, 1024, 4096, 0xaa4ee359 +0, 208896, 208896, 1024, 4096, 0x10c0deb1 +0, 209920, 209920, 1024, 4096, 0x5209f51f +0, 210944, 210944, 1024, 4096, 0x97e8eb3a +0, 211968, 211968, 1024, 4096, 0xd97fe978 +0, 212992, 212992, 1024, 4096, 0x8cadff37 +0, 214016, 214016, 1024, 4096, 0x8dd40290 +0, 215040, 215040, 1024, 4096, 0x2369eb74 +0, 216064, 216064, 1024, 4096, 0x50e8e9ee +0, 217088, 217088, 1024, 4096, 0x1e727c22 +0, 218112, 218112, 1024, 4096, 0xbe8be7ed +0, 219136, 219136, 1024, 4096, 0xb6f0f37a +0, 220160, 220160, 1024, 4096, 0x8a9af2a2 +0, 221184, 221184, 1024, 4096, 0x6917f395 +0, 222208, 222208, 1024, 4096, 0x649df5b4 +0, 223232, 223232, 1024, 4096, 0xebb7fc9a +0, 224256, 224256, 1024, 4096, 0xba3eef09 +0, 225280, 225280, 1024, 4096, 0x0cf9ba5e +0, 226304, 226304, 1024, 4096, 0x0f83eb2d +0, 227328, 227328, 1024, 4096, 0xcd86f62c +0, 228352, 228352, 1024, 4096, 0x1f6d05b6 +0, 229376, 229376, 1024, 4096, 0x988ff2ed +0, 230400, 230400, 1024, 4096, 0xe066eb10 +0, 231424, 231424, 1024, 4096, 0x608be99e +0, 232448, 232448, 1024, 4096, 0xba97e994 +0, 233472, 233472, 1024, 4096, 0xe92a8b76 +0, 234496, 234496, 1024, 4096, 0xe12ee0e2 +0, 235520, 235520, 1024, 4096, 0xc202ef7d +0, 236544, 236544, 1024, 4096, 0xcd8afebb +0, 237568, 237568, 1024, 4096, 0x0fc2fcbf +0, 238592, 238592, 1024, 4096, 0x2d4df1bb +0, 239616, 239616, 1024, 4096, 0x7282ee1f +0, 240640, 240640, 1024, 4096, 0xaa4ee359 +0, 241664, 241664, 1024, 4096, 0x10c0deb1 +0, 242688, 242688, 1024, 4096, 0x5209f51f +0, 243712, 243712, 1024, 4096, 0x97e8eb3a +0, 244736, 244736, 1024, 4096, 0xd97fe978 +0, 245760, 245760, 1024, 4096, 0x8cadff37 +0, 246784, 246784, 1024, 4096, 0x8dd40290 +0, 247808, 247808, 1024, 4096, 0x2369eb74 +0, 248832, 248832, 1024, 4096, 0x50e8e9ee +0, 249856, 249856, 1024, 4096, 0x1e727c22 +0, 250880, 250880, 1024, 4096, 0xbe8be7ed +0, 251904, 251904, 1024, 4096, 0xb6f0f37a +0, 252928, 252928, 1024, 4096, 0x8a9af2a2 +0, 253952, 253952, 1024, 4096, 0x6917f395 +0, 254976, 254976, 1024, 4096, 0x649df5b4 +0, 256000, 256000, 1024, 4096, 0xebb7fc9a +0, 257024, 257024, 1024, 4096, 0xba3eef09 +0, 258048, 258048, 1024, 4096, 0x0cf9ba5e +0, 259072, 259072, 1024, 4096, 0x0f83eb2d +0, 260096, 260096, 1024, 4096, 0xcd86f62c +0, 261120, 261120, 1024, 4096, 0x1f6d05b6 +0, 262144, 262144, 1024, 4096, 0x988ff2ed +0, 263168, 263168, 1024, 4096, 0xe066eb10 +0, 264192, 264192, 408, 1632, 0xe00c26bc