Linux下MP3的TAG乱码问题解决方法
sudo apt-get install python-mutagen
然后使用mid3iconv工具
usage: mid3iconv [option] [file]...
mutagen-based replacement the id3iconv utility, which converts id3 tags from
legacy encodings to unicode and stores them using the id3v2 format.
options:
--version show program's version number and exit
-h, --help show this help message and exit
-e encoding, --encoding=encoding
specify original tag encoding (default is utf-8)
-p, --dry-run do not actually modify files
--force-v1 use an id3v1 tag even if an id3v2 tag is present
--remove-v1 remove v1 tag after processing the files
-q, --quiet only output errors
-d, --debug output updated tags
mid3iconv -e gbk *.mp3
将mp3的tag编码转换成gbk编码,乱码原因是windows下一般mp3的tag编码为gb2312.
上一篇: 数字资产交易平台bitget,不挖矿如何在熊市突围?
下一篇: linux tr 文件转换的例子