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

Vitor Sessak vitor1001
Sat Jul 31 00:50:27 CEST 2010


$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

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fate2_mp3.diff
Type: text/x-patch
Size: 2301 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100731/ac71969b/attachment.bin>



More information about the ffmpeg-devel mailing list