Commit 0f701310 authored by Peter B's avatar Peter B Committed by Michael Niedermayer

fate: Add test for wav Peak Envelope Chunk encoder (levl chunk).

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5dcd43cd
......@@ -45,6 +45,8 @@ FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, MP2, MPEGTS) += ts
FATE_LAVF-$(call ENCDEC, PCM_U8, VOC) += voc
FATE_LAVF-$(call ENCDEC, PCM_S16LE, VOC) += voc_s16
FATE_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav
FATE_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav_peak
FATE_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav_peak_only
FATE_LAVF-$(call ENCMUX, PCM_S16LE, W64) += w64
FATE_LAVF-$(call ENCDEC, MP2, WTV) += wtv
FATE_LAVF-$(call ENCDEC, XBM, IMAGE2) += xbm
......
......@@ -274,6 +274,15 @@ if [ -n "$do_wav" ] ; then
do_audio_only wav
fi
if [ -n "$do_wav_peak" ] ; then
do_audio_only peak.wav "" "-write_peak on"
fi
if [ -n "$do_wav_peak_only" ] ; then
file=${outfile}lavf.peak_only.wav
do_avconv $file $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 -write_peak only
fi
if [ -n "$do_alaw" ] ; then
do_audio_only al "" "" "-ar 44100"
fi
......
35148d1f6e66b0080893851d917ecbf4 *./tests/data/lavf/lavf.peak.wav
89094 ./tests/data/lavf/lavf.peak.wav
./tests/data/lavf/lavf.peak.wav CRC=0x3a1da17e
b609a363e6d490710ed52231a8d09d3c *./tests/data/lavf/lavf.peak_only.wav
832 ./tests/data/lavf/lavf.peak_only.wav
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment