aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-06-21 14:43:01 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-22 23:05:33 +0200
commit610c0770e3d16a779d980c39edfc6184f08696e5 (patch)
tree8c19148793253adeaefb3e0f82a4bcef5ec81447
parent3689efea3d59579291ecafccc3d9cbe720e7bea3 (diff)
downloadffmpeg-610c0770e3d16a779d980c39edfc6184f08696e5.tar.gz
fate: add test for amerge
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/filter-audio.mak5
-rw-r--r--tests/ref/fate/filter-amerge135
2 files changed, 140 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 6fe2095cd1..c764c1503b 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -68,6 +68,11 @@ fate-filter-alimiter: tests/data/asynth-44100-2.wav
fate-filter-alimiter: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
fate-filter-alimiter: CMD = framecrc -i $(SRC) -af alimiter=level_in=1:level_out=2:limit=0.2
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, AMERGE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-amerge
+fate-filter-amerge: tests/data/asynth-44100-1.wav
+fate-filter-amerge: SRC = $(TARGET_PATH)/tests/data/asynth-44100-1.wav
+fate-filter-amerge: CMD = framecrc -i $(SRC) -i $(SRC) -filter_complex "[0:a][1:a]amerge=inputs=2[aout]" -map "[aout]"
+
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-amerge b/tests/ref/fate/filter-amerge
new file mode 100644
index 0000000000..006383af57
--- /dev/null
+++ b/tests/ref/fate/filter-amerge
@@ -0,0 +1,135 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+0, 0, 0, 2048, 8192, 0x120efa65
+0, 2048, 2048, 2048, 8192, 0x7b3cebf7
+0, 4096, 4096, 2048, 8192, 0x0fb8ee01
+0, 6144, 6144, 2048, 8192, 0x47a9f271
+0, 8192, 8192, 2048, 8192, 0x47a8ed5b
+0, 10240, 10240, 2048, 8192, 0xdab6f33f
+0, 12288, 12288, 2048, 8192, 0xda4df7eb
+0, 14336, 14336, 2048, 8192, 0xc83ce449
+0, 16384, 16384, 2048, 8192, 0x4954e765
+0, 18432, 18432, 2048, 8192, 0x0214f5d5
+0, 20480, 20480, 2048, 8192, 0x2302f3c9
+0, 22528, 22528, 2048, 8192, 0x2b57ef5b
+0, 24576, 24576, 2048, 8192, 0xad22f075
+0, 26624, 26624, 2048, 8192, 0x9bd5ee8b
+0, 28672, 28672, 2048, 8192, 0x91a4e9e1
+0, 30720, 30720, 2048, 8192, 0x85a9fd7f
+0, 32768, 32768, 2048, 8192, 0x120efa65
+0, 34816, 34816, 2048, 8192, 0x7b3cebf7
+0, 36864, 36864, 2048, 8192, 0x0fb8ee01
+0, 38912, 38912, 2048, 8192, 0x47a9f271
+0, 40960, 40960, 2048, 8192, 0x47a8ed5b
+0, 43008, 43008, 2048, 8192, 0x76f7c64f
+0, 45056, 45056, 2048, 8192, 0xade0f6f5
+0, 47104, 47104, 2048, 8192, 0xcc1ce131
+0, 49152, 49152, 2048, 8192, 0x11aaf88b
+0, 51200, 51200, 2048, 8192, 0xcd50e409
+0, 53248, 53248, 2048, 8192, 0x7f72ee63
+0, 55296, 55296, 2048, 8192, 0xf7b4ff5d
+0, 57344, 57344, 2048, 8192, 0xd8bc4192
+0, 59392, 59392, 2048, 8192, 0xc8fb0418
+0, 61440, 61440, 2048, 8192, 0x0859cac9
+0, 63488, 63488, 2048, 8192, 0x7529f279
+0, 65536, 65536, 2048, 8192, 0x0ee0df7b
+0, 67584, 67584, 2048, 8192, 0x07edef6d
+0, 69632, 69632, 2048, 8192, 0x7d02ea45
+0, 71680, 71680, 2048, 8192, 0x770104a8
+0, 73728, 73728, 2048, 8192, 0x7124f553
+0, 75776, 75776, 2048, 8192, 0x6df6269a
+0, 77824, 77824, 2048, 8192, 0x4218002c
+0, 79872, 79872, 2048, 8192, 0x274fe03d
+0, 81920, 81920, 2048, 8192, 0xd00f5aae
+0, 83968, 83968, 2048, 8192, 0x907dfe51
+0, 86016, 86016, 2048, 8192, 0xc2c10ed2
+0, 88064, 88064, 2048, 8192, 0x293aa355
+0, 90112, 90112, 2048, 8192, 0xb84a591d
+0, 92160, 92160, 2048, 8192, 0x44f64e87
+0, 94208, 94208, 2048, 8192, 0x0f6869bd
+0, 96256, 96256, 2048, 8192, 0xb3dcc44b
+0, 98304, 98304, 2048, 8192, 0x44f85293
+0, 100352, 100352, 2048, 8192, 0x8545ad0f
+0, 102400, 102400, 2048, 8192, 0xdee2a193
+0, 104448, 104448, 2048, 8192, 0x46a96e2d
+0, 106496, 106496, 2048, 8192, 0xcebc56a1
+0, 108544, 108544, 2048, 8192, 0x5353a35b
+0, 110592, 110592, 2048, 8192, 0x74aceb33
+0, 112640, 112640, 2048, 8192, 0x34fa1488
+0, 114688, 114688, 2048, 8192, 0x711ecd6d
+0, 116736, 116736, 2048, 8192, 0x277ac8ab
+0, 118784, 118784, 2048, 8192, 0xb7b91ba8
+0, 120832, 120832, 2048, 8192, 0xcab704de
+0, 122880, 122880, 2048, 8192, 0x695ae413
+0, 124928, 124928, 2048, 8192, 0xee618d29
+0, 126976, 126976, 2048, 8192, 0xe7caf401
+0, 129024, 129024, 2048, 8192, 0xc12c230e
+0, 131072, 131072, 2048, 8192, 0x9124ec71
+0, 133120, 133120, 2048, 8192, 0xd2bad2f7
+0, 135168, 135168, 2048, 8192, 0x2fc6da33
+0, 137216, 137216, 2048, 8192, 0x66d92c28
+0, 139264, 139264, 2048, 8192, 0x3373ddfd
+0, 141312, 141312, 2048, 8192, 0x419ae325
+0, 143360, 143360, 2048, 8192, 0x6b5ad233
+0, 145408, 145408, 2048, 8192, 0xb62f11a0
+0, 147456, 147456, 2048, 8192, 0x7084c5ef
+0, 149504, 149504, 2048, 8192, 0x42c8f8bd
+0, 151552, 151552, 2048, 8192, 0xd0e2d5a3
+0, 153600, 153600, 2048, 8192, 0xcf8f0826
+0, 155648, 155648, 2048, 8192, 0x164cc963
+0, 157696, 157696, 2048, 8192, 0xb14db49f
+0, 159744, 159744, 2048, 8192, 0x0fe50df4
+0, 161792, 161792, 2048, 8192, 0x7669207a
+0, 163840, 163840, 2048, 8192, 0x2a16f23b
+0, 165888, 165888, 2048, 8192, 0xc629f685
+0, 167936, 167936, 2048, 8192, 0x79ee0298
+0, 169984, 169984, 2048, 8192, 0xf9bdf179
+0, 172032, 172032, 2048, 8192, 0x5220d047
+0, 174080, 174080, 2048, 8192, 0x915ae8b7
+0, 176128, 176128, 2048, 8192, 0x8c26e3af
+0, 178176, 178176, 2048, 8192, 0x72e5c661
+0, 180224, 180224, 2048, 8192, 0xfca2d795
+0, 182272, 182272, 2048, 8192, 0x6367f5a9
+0, 184320, 184320, 2048, 8192, 0x32f8d0d1
+0, 186368, 186368, 2048, 8192, 0x7a08c3c7
+0, 188416, 188416, 2048, 8192, 0xe2f0fb55
+0, 190464, 190464, 2048, 8192, 0x3fd706e8
+0, 192512, 192512, 2048, 8192, 0xf5845786
+0, 194560, 194560, 2048, 8192, 0x2a8fdcbd
+0, 196608, 196608, 2048, 8192, 0xa71f03fc
+0, 198656, 198656, 2048, 8192, 0xc1210dce
+0, 200704, 200704, 2048, 8192, 0x0cd21800
+0, 202752, 202752, 2048, 8192, 0x2e8cfb47
+0, 204800, 204800, 2048, 8192, 0x2ab816ec
+0, 206848, 206848, 2048, 8192, 0xc2b40256
+0, 208896, 208896, 2048, 8192, 0xf72d0018
+0, 210944, 210944, 2048, 8192, 0xc7e01b76
+0, 212992, 212992, 2048, 8192, 0xbcf50a48
+0, 215040, 215040, 2048, 8192, 0x1101ec23
+0, 217088, 217088, 2048, 8192, 0x066a1108
+0, 219136, 219136, 2048, 8192, 0xda831e12
+0, 221184, 221184, 2048, 8192, 0x92f9e677
+0, 223232, 223232, 2048, 8192, 0x3439daf3
+0, 225280, 225280, 2048, 8192, 0xf812694a
+0, 227328, 227328, 2048, 8192, 0x3751051e
+0, 229376, 229376, 2048, 8192, 0x9f4cdddd
+0, 231424, 231424, 2048, 8192, 0xae4ad40b
+0, 233472, 233472, 2048, 8192, 0x569ec9db
+0, 235520, 235520, 2048, 8192, 0x2056e683
+0, 237568, 237568, 2048, 8192, 0x84d8caef
+0, 239616, 239616, 2048, 8192, 0x9eefdf83
+0, 241664, 241664, 2048, 8192, 0x4feee1c1
+0, 243712, 243712, 2048, 8192, 0x72e5c661
+0, 245760, 245760, 2048, 8192, 0xfca2d795
+0, 247808, 247808, 2048, 8192, 0x6367f5a9
+0, 249856, 249856, 2048, 8192, 0x32f8d0d1
+0, 251904, 251904, 2048, 8192, 0x7a08c3c7
+0, 253952, 253952, 2048, 8192, 0xe2f0fb55
+0, 256000, 256000, 2048, 8192, 0x3fd706e8
+0, 258048, 258048, 2048, 8192, 0xf5845786
+0, 260096, 260096, 2048, 8192, 0x2a8fdcbd
+0, 262144, 262144, 2048, 8192, 0xa71f03fc
+0, 264192, 264192, 408, 1632, 0x53c44589