⬆️ ⬇️

How to change the encoding id3 tags in mp3

All good day and Friday mood.

I want to share with you a wonderful program that saved me many, many man-hours and solved a rather difficult task in a couple of seconds.



The background is as follows. I somehow merged all the songs of Vladimir Vysotsky, only 32 albums, but the coding in them was cp1251. Since I have long decided for myself that all my information will be stored only in Unicode , cp1251 did not suit me in such a large collection.



I began to look for programs for transcoding. There are some of them under Windows, but for Linux I found only EasyTag . But the productivity of my work, using this program left much to be desired. It took me half an hour to manually re-encode an album, but I could not automate the process. The settings were not completely clear to me and with the wrong choice, all the encodings of the tags could instantly turn into an unreadable and unrecoverable rubbish.



A Google search led to a utility called mp3-tag-iconv written by a programmer named David Yan .

')

A little tinkering with the syntax and correcting a couple of lines, commented out the encodings (without this, the program ended with an error without finding the right modules for me).



#use Encode::CN;

#use Encode::TW;

#use Encode::JP;

#use Encode::KR;

#use Encode::HanExtra;

#use Encode::CNMap;



Further, everything went flawlessly, tags more than a thousand songs were recited in a few seconds in Unicode . After that, the collection has become much friendlier to various types of players on both computer and mp3 players.



The syntax is almost the same as for the iconv command from the glibc package:



mp3_tag_iconv [-f from encoding>] [-t to encoding] ... more options .



UPD. Thank you for helping to transfer.

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



All Articles