[FFmpeg-devel] [PATCH 3/3] fate: add loudnorm filter test
Michael Niedermayer
michael at niedermayer.cc
Tue Oct 18 02:39:34 EEST 2016
On Sun, Oct 16, 2016 at 10:12:17PM +0200, Marton Balint wrote:
>
> On Sun, 16 Oct 2016, Marton Balint wrote:
>
> >Signed-off-by: Marton Balint <cus at passwd.hu>
> >---
> >tests/fate/filter-audio.mak | 7 +++++++
> >1 file changed, 7 insertions(+)
> >
> >diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
> >index 9c6f7cd..d376f25 100644
> >--- a/tests/fate/filter-audio.mak
> >+++ b/tests/fate/filter-audio.mak
> >@@ -279,6 +279,13 @@ fate-filter-hdcd-detect-errors: CMD = md5 -i $(SRC) -af hdcd -f s24le
> >fate-filter-hdcd-detect-errors: CMP = grep
> >fate-filter-hdcd-detect-errors: REF = detectable errors: [1-9]
> >
> >+FATE_AFILTER-$(call FILTERDEMDECENCMUX, LOUDNORM, AAC, AAC, PCM_S16LE, PCM_S16LE) += fate-filter-loudnorm-simple
> >+fate-filter-loudnorm-simple: SRC = $(SAMPLES)/aac/sintel.aac
> >+fate-filter-loudnorm-simple: CMD = ffmpeg -t 30 -i $(SRC) -af loudnorm=i=-23 -f s16le -ar 44100 -
> >+fate-filter-loudnorm-simple: REF = $(SAMPLES)/filter/loudnorm-simple.pcm
> >+fate-filter-loudnorm-simple: CMP = oneoff
> >+fate-filter-loudnorm-simple: CMP_UNIT = s16
> >+
>
> This patch needs two files in the fate samples:
>
> The audio part of the Sintel movie, as a source, because I wanted to
> test with a real world example, with proper length. And the
> reference file. Sources can be generated like this:
>
> wget http://media.xiph.org/sintel/sintel-master-st.flac
> ffmpeg -i sintel-master-st.flac -codec aac -b 96k fate-suite/aac/sintel.aac
> ffmpeg -t 30 -i fate-suite/aac/sintel.aac -af loudnorm=i=-23 -f s16le -ar 44100 fate-suite/filter/loudnorm-simple.pcm
>
> Due to the 96k AAC codec, sintel.aac is about 15M,
are low bitrate speech codecs unsuitable instead of aac for this ?
that would cut the size down by alot
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161018/0f468e04/attachment.sig>
More information about the ffmpeg-devel
mailing list