summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-05-05 18:56:38 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-05 21:08:23 +0200
commit7a679e4ac099d05850d923dee235496f12ffdfa1 (patch)
treeb50168791deb2d4741e17d4b32166f3f6c161e89 /tests
parentc5d2d3dced64fd4fc1a5f982315fb5dbd9101d44 (diff)
downloadffmpeg-streaming-7a679e4ac099d05850d923dee235496f12ffdfa1.zip
ffmpeg-streaming-7a679e4ac099d05850d923dee235496f12ffdfa1.tar.gz
fate: Add test for vorbis encoder
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/vorbis.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/fate/vorbis.mak b/tests/fate/vorbis.mak
index 1344180..354cc57 100644
--- a/tests/fate/vorbis.mak
+++ b/tests/fate/vorbis.mak
@@ -1,3 +1,11 @@
+FATE_VORBIS += fate-vorbis-encode
+fate-vorbis-encode: CMD = enc_dec_pcm ogg wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a vorbis -strict experimental
+fate-vorbis-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
+fate-vorbis-encode: CMP_SHIFT = 0
+fate-vorbis-encode: CMP_TARGET = 296
+fate-vorbis-encode: SIZE_TOLERANCE = 3560
+fate-vorbis-encode: FUZZ = 30
+
FATE_VORBIS += fate-vorbis-1
fate-vorbis-1: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/1.0.1-test_small.ogg
fate-vorbis-1: REF = $(SAMPLES)/vorbis/1.0.1-test_small.pcm
@@ -88,3 +96,4 @@ FATE_SAMPLES_FFPROBE += $(FATE_VORBIS_FFPROBE-yes)
FATE_SAMPLES_AVCONV-$(call DEMDEC, OGG, VORBIS) += $(FATE_VORBIS)
fate-vorbis: $(FATE_VORBIS) $(FATE_VORBIS_FFPROBE-yes)
$(FATE_VORBIS): CMP = oneoff
+fate-vorbis-encode: CMP = stddev
OpenPOWER on IntegriCloud