个人工具

“UbuntuHelp:ConvertingMP3Tags”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/ConvertingMP3Tags}} {{Languages|UbuntuHelp:ConvertingMP3Tags}} === MP3 Tag Encoding Problem === If you found your MP3 tags (title, album, etc) ar...)
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/ConvertingMP3Tags}}
 
{{From|https://help.ubuntu.com/community/ConvertingMP3Tags}}
 
{{Languages|UbuntuHelp:ConvertingMP3Tags}}
 
{{Languages|UbuntuHelp:ConvertingMP3Tags}}
=== MP3 Tag Encoding Problem ===
+
== MP3 Tag Encoding Problem ==
  
 
If you found your MP3 tags (title, album, etc) are not well displayed in players or applications like Rhythmbox, which is especially true for Asian users, you may want to convert their tags to UTF-8 such that they should be properly displayed almost everywhere.
 
If you found your MP3 tags (title, album, etc) are not well displayed in players or applications like Rhythmbox, which is especially true for Asian users, you may want to convert their tags to UTF-8 such that they should be properly displayed almost everywhere.
  
Please notice that some of current programs like EasyTag (as of Ubuntu 6.06) cannot solve this problem because it supports up to ID3v2.3, while it is ID3v2.4 which allows UTF-8. So before you use any tools, make sure it can indeed support ID3v2.4.
+
=== EasyTAG ===
  
=== Using python-mutagen ===
+
[http://easytag.sourceforge.net EasyTag] supports IDv2.4, which allows UTF-8, as of version 3.1.1. The first release of Ubuntu to include this is 7.10 (Gutsy).
  
python-mutagen is a tool which can do mass convertion of mp3 files. Unfortunately the current version (1.0) in Ubuntu 6.06 (Dapper Drake) does not support the mass converting function. So here are the steps to install the later package of python-mutagen and to use it.
+
You can install <code><nowiki>easytag</nowiki></code> from the universe repository.
  
==== Install python-mutagen from Ubuntu 6.10 (Edgy Eft) Repository ====
+
=== Using python-mutagen ===
  
Ubuntu 6.10 (Edgy Eft) is the development version of Ubuntu. It is not yet stable, and not recommended for regular use yet, but it is possible to ''carefully'' use selected packages from it in a stable Ubuntu 6.06 installation.
+
''Python-mutagen'' is a tool which can do mass conversion of mp3 files. Unfortunately the current version (1.0) in Ubuntu 6.06 (Dapper Drake) does not support the mass converting function. Starting in Ubuntu 6.10 python-mutagen does support mass conversion.
  
First you need to add a 6.10 Repository to your sources list. Using Synaptic Package Manager or edit /etc/apt/sources.list manually as root, add this line:
+
==== Installing python-mutagen ====
<pre><nowiki>
+
You can install <code><nowiki>python-mutagen</nowiki></code> from the Universe Repository.
deb http://archive.ubuntu.com/ubuntu/ edgy universe multiverse main restricted
+
</nowiki></pre>
+
 
+
Then "reload package information" in Synaptic and install the package "python-mutagen" of version 1.5. Or you can input these under console.
+
 
+
<pre><nowiki>
+
sudo apt-get update
+
sudo apt-get install python-mutagen
+
</nowiki></pre>
+
 
+
You may need to install some extra packages such as "python-central". Notice that you may see thousands of updates but '''do not mark and apply them''', otherwise you will go far away from Ubuntu 6.06.
+
 
+
After installing python-mutagen, remove the line above from /etc/apt/sources.list, and again
+
 
+
<pre><nowiki>
+
sudo apt-get update
+
</nowiki></pre>
+
  
 
==== Convert tags of MP3 files using python-mutagen ====
 
==== Convert tags of MP3 files using python-mutagen ====
第45行: 第28行:
 
python-mutagen will then search for all .mp3 files in current directory (recursively) and convert their tags to proper form.
 
python-mutagen will then search for all .mp3 files in current directory (recursively) and convert their tags to proper form.
 
----
 
----
[[category:CategoryCleanup]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月22日 (四) 12:16的版本

MP3 Tag Encoding Problem

If you found your MP3 tags (title, album, etc) are not well displayed in players or applications like Rhythmbox, which is especially true for Asian users, you may want to convert their tags to UTF-8 such that they should be properly displayed almost everywhere.

EasyTAG

EasyTag supports IDv2.4, which allows UTF-8, as of version 3.1.1. The first release of Ubuntu to include this is 7.10 (Gutsy).

You can install easytag from the universe repository.

Using python-mutagen

Python-mutagen is a tool which can do mass conversion of mp3 files. Unfortunately the current version (1.0) in Ubuntu 6.06 (Dapper Drake) does not support the mass converting function. Starting in Ubuntu 6.10 python-mutagen does support mass conversion.

Installing python-mutagen

You can install python-mutagen from the Universe Repository.

Convert tags of MP3 files using python-mutagen

Go to the directory where you put your MP3 files, or go to the home directory, using the following command,

find . -iname "*.mp3" -execdir mid3iconv -e GBK {} \;

python-mutagen will then search for all .mp3 files in current directory (recursively) and convert their tags to proper form.