主頁 > 知識(shí)庫 > Linux下MP3的TAG亂碼問題解決方法

Linux下MP3的TAG亂碼問題解決方法

熱門標(biāo)簽:家政服務(wù)網(wǎng)絡(luò) 美團(tuán) 電話機(jī)器人搭建 百度競(jìng)價(jià)點(diǎn)擊價(jià)格的計(jì)算公式 服務(wù)器配置 外呼系統(tǒng) 硅谷的囚徒呼叫中心 解決方案


復(fù)制代碼
代碼如下:

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


復(fù)制代碼
代碼如下:

mid3iconv -e GBK *.mp3

將MP3的TAG編碼轉(zhuǎn)換成GBK編碼,亂碼原因是windows下一般MP3的TAG編碼為GB2312.

標(biāo)簽:臨沂 撫州 烏蘭察布 防城港 北海 邢臺(tái) 南昌 韶關(guān)

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Linux下MP3的TAG亂碼問題解決方法》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266