Removing ID3v2 tags


I usually remove the ID3v2 from MP3 files, but I do not understand why it is so slow. Winamp removes them about 5 times faster.
Is it possible to increase the memory usage of this operation to make it much faster?


Memory has nothing to do with it. The problem is that the whole file has to be rewritten and the speed depends on your HDD. Why Winamp is faster? No idea, will have to check that out.


I know that it has to be rewritten. I wanted to said that MP3tag might not use enough memory (buffer) to rewrite the file.


Just bumping this topic for further attention.

I also prefer to remove ID3v2 tags, and I have observed that mp3tag is MUCH slower than other software (winamp,'s mp3 collector, etc) in this regard. Indeed the removal is about 5x slower and is an annoyance in an otherwise excellent piece of software.

This lurker will appreciate any attention/fix to this performance issue.


I believe it's because apps like WinAmp write the tag only out as a file and then do a binary join of the file. I would guess they determine the beginning of the id3v2 frame and inject the data there instead of rewritting the whole file. I've seen the being created, but this is only a guess of what the behaviour might be.


Since ID3v2 tags are at the start of a file, I would guess you'd have to rewrite the file (or most of it) in order to remove the ID3v2 information.

Honestly, I'm not certain if winamp uses some slick logic to accomplish this "rewrite". In any case, mp3tag should implement a similar approach to speed up ID3v2 tag removal. Looking at historical posts, the reason for the slowness was explained as "file has to be rewritten". I think that explanation should be revisited since other software can "rewrite" much faster.

Meanwhile, I'll probably use another tool to do the ID3v2 removal :frowning:


The next version of Mp3tag will speed up things a little bit :slight_smile:

Best regards,
~ Florian



Thanks in advance for the "fix".


I have tried it and works much faster. Thank you for this improvement.


Thanks for your reply. I'm glad that my tunings are noticeable :slight_smile:

Best regards,
~ Florian


Another confirmation that the ID3v2 tag removal is faster in the latest beta. Thanks again for the tuning enhancement.


Great :slight_smile: Thanks for your reply!


Generally I am satisfied with this improvement and I do not want to complain just add a note. I think it could be even faster because the Task manager can show how many bytes have been written to the disk and it shows always double than the size of the file which I removed the ID3v2 TAG from. So I think the speed could be doubled. Maybe it is a bug that the program writes the data twice but it shoud not.


Mp3tag creates a temporary file, copies the new tag and the audio data to that file (or to memory if file is smaller than 16MB) and retransfers the new data back to the original file.

This is done this way, because you can't remove something from the beginning of a file.


After the temporary file is done it should delete the original file and rename the temp file to the original name instead of retransfer the data back. Double speed. :slight_smile:


Renaming memory areas to filenames is not possible. The temporary file is created in memory in most cases :slight_smile:


You said that the temporary file is created on the disk if it is bigger than 16MB. If it is true you can rename it. I'm talking about files with the size between 50 and 150MBs.


A have tried the latest version of MP3TAG and it works like the same way. Please consider my advice, because it would be very easy to implement this behavior and it would significantly increase the speed of this process.
Thanks in advance!


Hi miky,

please try this inofficial Beta version :slight_smile:

Best regards,
~ Florian


Wow! Amazing! It works like I imagined! :sunglasses:

Thank you Florian for this improvement!!!