How to compare mp3 programmatically

I like to compare mp3 program files. A problem that I do not know about. Heading? Bar graph? channels? Does anyone have any experience with this?

+3
source share
7 answers

I wrote my main topic on sound fingerprints. The thesis presents several open source solutions to the problem of comparing what sounds in music, and provides a comparison of performance between them. Maybe too much, but there are some really decent apps.

If you want to compare only marked data, the standard for search is ID3 . There are basically two versions, the first is very simple (ID3v1) and consists of a 128-byte block at the end of the MP3. ID3v2 places a larger, variable-sized block at the beginning of the MP3.

+17
source

I like to compare mp3 program files

I had the same question. I found that itunes changed many of my Amazon MP3 downloads by changing the time and date stamps, file sizes, and therefore the MD5 signature. My backups had many close duplicate files.

When I made the VIM difference, I could see that the changes were limited to very small parts of the files. Files looked the same side by side in Audacity even at close zoom.

- WAV mp3, MD5 WAV. FFMPEG .

ffmpeg -y -i $mp3 $mp3.wav;
md5sum $mp3.wav

MD5 , MP3. wav SSD .

, .

+5

, , :

1.

, mp3-. ID3. , , tagLib - (TagLib Sharp .net)

2.

, , , . , echoprint - .

3.

, , .


:

  • MSDN mp3- ( ): ( , ).

  • :

+4

, , , .

, musicDNS , . libOFA . , , musicbrainz . .

(id3v1/id3v2), , , taglib, libmpg123 .

Well, the libOFA approach is that you can compare different formats with each other, since the fingerprint is executed on the audio itself.

+2
source

I often use fdupes on linux to find duplicate files. fdupes uses the md5 checksums.

-1
source

If you just want to compare tag-based mp3s, I would recommend taglib .

-1
source

Source: https://habr.com/ru/post/1703235/


All Articles