[FFmpeg-devel] [PATCH] MP3 conformance in FATE

Michael Niedermayer michaelni
Tue Aug 3 18:21:51 CEST 2010


On Sat, Jul 31, 2010 at 12:50:27AM +0200, Vitor Sessak wrote:
> $subj. I didn't succeeded in making all the tests pass. The output looks 
> like:
>
> compl.bit  stddev:    0.03 PSNR:125.77 MAXDIFF:    1 bytes:   497664/ 
> 497664
> he_32khz.bit  stddev:    0.05 PSNR:120.94 MAXDIFF:    1 bytes:   345600/   
> 343296
> he_44khz.bit  stddev:    0.05 PSNR:120.93 MAXDIFF:    1 bytes:   944640/   
> 942336
> he_48khz.bit  stddev:    0.05 PSNR:120.94 MAXDIFF:    1 bytes:   345600/   
> 343296
> hecommon.bit  stddev:    0.04 PSNR:123.93 MAXDIFF:    1 bytes:   138240/   
> 133632
> he_free.bit  stddev:    0.04 PSNR:123.93 MAXDIFF:    1 bytes:   138240/   
> 308736
> he_mode.bit  stddev: 3831.79 PSNR: 24.66 MAXDIFF:16941 bytes:   294892/   
> 523008
> si.bit  stddev:    0.00 PSNR:140.64 MAXDIFF:    1 bytes:   271872/   269568
> si_block.bit  stddev:    0.00 PSNR:141.93 MAXDIFF:    1 bytes:   147456/   
> 145152
> si_huff.bit  stddev: 8733.73 PSNR: 17.51 MAXDIFF:65535 bytes:   172800/   
> 170496
> sin1k0db.bit  stddev:17503.40 PSNR: 11.47 MAXDIFF:40705 bytes:  1456128/  
> 1451520

is there some info about what features these files use / what is different
between them?


>
> The attached patch tests all the files that decode close enough to the 
> reference encoder to be conforming. Also, the FFmpeg mp3 decoder output a 
> little more data than the reference decoder, so I needed to pass a hackish 
> "-fs" parameter to the command line.
>
> Any suggestion to avoid the "-fs" hack or making the other tests pass are 
> welcome. For anyone wanting to try, the files are in 
> http://samples.mplayerhq.hu/fate-suite/mp3-conformance .
>
> -Vitor

>  fate2.mak |   42 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
> 9fb5dfc4bb3e59a53f1ce4c83bd0afe1ca24efb8  fate2_mp3.diff

should be ok probably for now

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100803/16f226b6/attachment.pgp>



More information about the ffmpeg-devel mailing list