minimp3 icon indicating copy to clipboard operation
minimp3 copied to clipboard

A lot of noise after decoding

Open Kevin-AVC1 opened this issue 5 years ago • 1 comments

there are issue while decoding some MP3 files, it seems the result is distorted 13384.zip

Kevin-AVC1 avatar Sep 25 '20 02:09 Kevin-AVC1

Hi)

I do not see any noise problems compare to ffmpeg and lame:

ffmpeg -i 13384.mp3 -f s16le -acodec pcm_s16le out_ref.raw
minimp3 13384.mp3 out_ref.raw out.raw
rate=44100 samples=541534 max_diff=1 PSNR=119.083746

And PSNR=101.841330 for lame decoder.

But I see length problem. I got "error: reference and produced number of samples do not match (543838/541534)" if I do not comment this check. It may be normal for not fully correct mp3 file, I will look at it sometime later.

lieff avatar Sep 25 '20 16:09 lieff