diff --git a/tests/fate/opus.mak b/tests/fate/opus.mak index 7d359f414a..bc7aea90d5 100644 --- a/tests/fate/opus.mak +++ b/tests/fate/opus.mak @@ -37,8 +37,13 @@ fate-opus-silk-lbrr: CMP_TARGET = 0 fate-opus-tron.6ch.tinypkts: CMP_SHIFT = 1440 fate-opus-tron.6ch.tinypkts: CMP_TARGET = 0 +FATE_OPUS_ENC-$(call FILTERFRAMECRC, ANULLSRC ARESAMPLE, OPUS_ENCODER) += fate-opus-enc-silence +fate-opus-enc-silence: CMD = framecrc -auto_conversion_filters -filter_complex "anullsrc=r=48000:cl=stereo:d=0.021" -c:a opus -strict -2 + FATE_SAMPLES_FFMPEG += $(FATE_OPUS) +FATE_FFMPEG += $(FATE_OPUS_ENC-yes) fate-opus-celt: $(FATE_OPUS_CELT-yes) fate-opus-hybrid: $(FATE_OPUS_HYBRID-yes) fate-opus-silk: $(FATE_OPUS_SILK-yes) -fate-opus: $(FATE_OPUS) +fate-opus-enc: $(FATE_OPUS_ENC-yes) +fate-opus: $(FATE_OPUS) $(FATE_OPUS_ENC-yes) diff --git a/tests/ref/fate/opus-enc-silence b/tests/ref/fate/opus-enc-silence new file mode 100644 index 0000000000..dd8e02e02d --- /dev/null +++ b/tests/ref/fate/opus-enc-silence @@ -0,0 +1,8 @@ +#extradata 0: 19, 0x3c4604cf +#tb 0: 1/48000 +#media_type 0: audio +#codec_id 0: opus +#sample_rate 0: 48000 +#channel_layout_name 0: stereo +0, -120, -120, 960, 1, 0x00fc00fc +0, 840, 840, 168, 1, 0x00fc00fc, S=1, Skip Samples, 10, 0x009f001b