[FFmpeg-devel] [PATCH] fate: add wavpack encoder

Paul B Mahol onemda at gmail.com
Thu Feb 12 19:19:53 CET 2015


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/fate/acodec.mak    | 4 ++++
 tests/ref/acodec/wavpack | 4 ++++
 2 files changed, 8 insertions(+)
 create mode 100644 tests/ref/acodec/wavpack

diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 325bbd9..691f9ff 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -140,6 +140,10 @@ fate-acodec-roqaudio: CODEC = roq_dpcm
 fate-acodec-roqaudio: ENCOPTS = -ar 22050
 fate-acodec-roqaudio: DECOPTS = -ar 44100
 
+FATE_ACODEC-$(call ENCDEC, WAVPACK, WV) += fate-acodec-wavpack
+fate-acodec-wavpack: FMT = wv
+fate-acodec-wavpack: CODEC = wavpack -compression_level 1
+
 FATE_ACODEC += $(FATE_ACODEC-yes)
 
 $(FATE_ACODEC): tests/data/asynth-44100-2.wav
diff --git a/tests/ref/acodec/wavpack b/tests/ref/acodec/wavpack
new file mode 100644
index 0000000..02f09ae
--- /dev/null
+++ b/tests/ref/acodec/wavpack
@@ -0,0 +1,4 @@
+000420796cc3e526650ce6f4c6334471 *tests/data/fate/acodec-wavpack.wv
+338166 tests/data/fate/acodec-wavpack.wv
+95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-wavpack.out.wav
+stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list