<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cai Feng's Blog &#187; id3</title>
	<atom:link href="http://blog.caifeng.me/tag/id3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.caifeng.me</link>
	<description>Paw trace ...</description>
	<lastBuildDate>Tue, 19 Oct 2010 16:53:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Convert MP3 Id3 tag encoding</title>
		<link>http://blog.caifeng.me/2009/03/12/convert-mp3-id3-tag-encoding/</link>
		<comments>http://blog.caifeng.me/2009/03/12/convert-mp3-id3-tag-encoding/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 07:41:12 +0000</pubDate>
		<dc:creator>ljpsfree</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[id3]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.caifeng.me/blog/?p=43</guid>
		<description><![CDATA[It&#8217;s a long time pain for my mp3 files. I tried a lot of kinds way to convert my mp3 files&#8217; id3 tag encoding. But every time when I need to convert the tag, I can&#8217;t remembered what I did last time. Now I&#8217;m going to record some way to do this.
I used amarok. Since [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a long time pain for my mp3 files. I tried a lot of kinds way to convert my mp3 files&#8217; id3 tag encoding. But every time when I need to convert the tag, I can&#8217;t remembered what I did last time. Now I&#8217;m going to record some way to do this.</p>
<p>I used amarok. Since the developers os amarok hate to deal with various kinds of encoding, they determined to use unicode which required id3v2.4 tag. This decision makes a lot of Chinese music displayed like a mess in the amarok because most of Chinese music used old version, different encode id3 tags.</p>
<p>I found some good ways to convert your music id3 tags here: <a href="http://wiki.linuxmce.org/index.php/Converting_MP3_Tags_To_UTF-8">http://wiki.linuxmce.org/index.php/Converting_MP3_Tags_To_UTF-8</a></p>
<p>The most way I like is mid3iconv</p>
<p>I used it like this:</p>
<p>For a single file</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$mid3iconv</span> <span style="color: #660033;">-e</span> gb2312 a.mp3 <span style="color: #660033;">--remove-v1</span> <span style="color: #660033;">-dp</span></pre></div></div>

<p>For a directory</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$find</span> . <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;*.mp3&quot;</span> <span style="color: #660033;">-exec</span> mid3iconv <span style="color: #660033;">-e</span> gb2312 <span style="color: #660033;">--remove-v1</span> <span style="color: #660033;">-dp</span> <span style="color: #ff0000;">&quot;{}&quot;</span> \;</pre></div></div>

</pre>
<p>-p option means dry-run, so if you really want to convert, remove this option.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.caifeng.me/2009/03/12/convert-mp3-id3-tag-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

