Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the TAG garbled problem of MP3 under Linux

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to solve the TAG garbled problem of MP3 under Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "how to solve the TAG garbled problem of MP3 under Linux"!

The code is as follows:

Sudo apt-get install python-mutagen

Then use the mid3iconv tool

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

The code is as follows:

Mid3iconv-e GBK * .mp3

Convert the TAG code of MP3 into GBK code, the reason of garbled code is that the TAG code of general MP3 under windows is GB2312.

At this point, I believe you have a deeper understanding of "how to solve the TAG garbled problem of MP3 under Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report