mp3 icon indicating copy to clipboard operation
mp3 copied to clipboard

Assemble/find a list of test vectors

Open est31 opened this issue 7 years ago • 11 comments

We need some mp3 files to test the code on. They need to be licensed appropriately, e.g. public domain. They should reflect a variety of encoders as well as encoder parameters, modes, etc.

This is a good starting point, but I don't know which format the .bit files are in: https://github.com/lieff/minimp3/tree/master/vectors

est31 avatar Aug 14 '18 01:08 est31

Mixed data. Some are layers, some are valid mp3 files. Others only contain the header.

mainrs avatar Aug 15 '18 17:08 mainrs

Good point. I've added self-generated vectors which I use for performance testing https://github.com/lieff/minimp3/tree/master/vectors/performance . This is public domain. As for others, most of them from testing procedure supplied with ISO standard and reference code. Unfortunately my old archive do not contain any license file. ffmpeg fate uses same standard vectors http://fate-suite.ffmpeg.org/mp3-conformance/ and no license information too. I want find someone who clarify what license for standard reference vectors. But currently I just store them same way as ffmpeg fate.

Others based on standard vectors. I'm not sure about ILL_* origin (this is specially-broken vectors for stability\error correction testing), I need time to investigate.

lieff avatar Aug 15 '18 18:08 lieff

About .bit files format: ILL* - mixed layer 1\2\3 l1_* - MPEG layer 1 l2_* - MPEG layer 2 l3_* - MPEG layer 3 M2L3_* MPEG layer 3 MPEG versions also mixed.

lieff avatar Aug 15 '18 18:08 lieff

@lieff how did you find that out? I tried running file on them but it returned garbage for me. :)

mainrs avatar Aug 15 '18 18:08 mainrs

@SirWindfield For ILL* and *nonstandard* it's normal, they broken to trigger bugs in decoder. Others should be decoded\played normally. ffplay can play them, (but showed layer 1 and layer 2 as mp3 too).

lieff avatar Aug 15 '18 19:08 lieff

I was wondering, the RustAudio group, is it also "responsible" for metadata? What about merging existing projects into the organization, like rust-id3 and rust-metaflac?

mainrs avatar Aug 15 '18 23:08 mainrs

@SirWindfield existing projects of these kinds are definitely welcome!

est31 avatar Aug 16 '18 00:08 est31

ILL* vectors is from Philips MPEG Audio Test Suite http://www.mpegmultichannel.free.fr/Mpeg.pdf

lieff avatar Aug 16 '18 09:08 lieff

Here also https://samples.ffmpeg.org/A-codecs/MP3/ no mention of license too.

lieff avatar Aug 17 '18 12:08 lieff

@lieff I found this some directories up in the tree: https://samples.ffmpeg.org/HEADER.txt.

mainrs avatar Aug 17 '18 13:08 mainrs

So, licence should be clarified at webmaster(AT)ffmpeg(DOT)org.

lieff avatar Aug 17 '18 15:08 lieff