[FFmpeg-cvslog] FATE: add a test for the channelmap filter

Anton Khirnov git at videolan.org
Thu Mar 28 14:34:57 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Mar 13 11:03:08 2013 +0100| [33942b7bdedaf0c7017f84245f4928860319a584] | committer: Anton Khirnov

FATE: add a test for the channelmap filter

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=33942b7bdedaf0c7017f84245f4928860319a584
---

 tests/fate/filter.mak         |    7 +++++++
 tests/filtergraphs/channelmap |    1 +
 2 files changed, 8 insertions(+)

diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index 120dc61..89a1140 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -33,6 +33,13 @@ fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
 FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
 fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
 
+FATE_FILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-channelmap
+fate-filter-channelmap: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav
+fate-filter-channelmap: tests/data/asynth-44100-6.wav
+fate-filter-channelmap: CMD = md5 -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/channelmap -f wav -flags +bitexact
+fate-filter-channelmap: CMP = oneline
+fate-filter-channelmap: REF = 21f1977c4f9705e2057083f84764e685
+
 fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an
 
 FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo
diff --git a/tests/filtergraphs/channelmap b/tests/filtergraphs/channelmap
new file mode 100644
index 0000000..7f9f24d
--- /dev/null
+++ b/tests/filtergraphs/channelmap
@@ -0,0 +1 @@
+channelmap=map=1\,2\,0\,5\,3\,4:channel_layout=5.1



More information about the ffmpeg-cvslog mailing list