[Ffmpeg-devel] [RFC] rms calculator

Benjamin Larsson banan
Sun Mar 26 19:39:17 CEST 2006


Attached is a Root mean square(rms) calculator that can be used to
compare 2 wav files. It is based on information from
http://www.underbit.com/resources/mpeg/audio/compliance/.
A test run with a wma file decoded by ffmpeg with the latest wma tables
patch and one from mplayer without it, gives the attached output
(mplayer file as reference).

There are 2 values per channel, first the accumulated square error sum
and then the accumulated rms for the channel.
As can be seen in the testrun file, the last 4 entrys are bogus. That is
because the file lengths aren't the same.

The intent is add this to the tests dir for use in compliance and
regressions tests of audio codecs.

MvH
Benjamin Larsson

-- 
"incorrect information" is an oxymoron. Information is, by definition, factual, correct.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rms.c
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060326/c969afde/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testrun.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060326/c969afde/attachment-0001.txt>



More information about the ffmpeg-devel mailing list