LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1764|回复: 10

一个小工具 id3conv,用来转换 MP3 的 ID3-TAG 的编码(GBK->UTF-8)

[复制链接]
发表于 2004-8-20 21:29:03 | 显示全部楼层 |阅读模式
自己写着玩的,不过还堪用。希望与大家分享。

把 tar.gz 解开后会有 README,您看看就知道如何用了。
如果好用或者有 bug,不妨告诉我一声。谢谢!

不好用?天知道这玩意儿是谁写的?!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-8-21 10:11:26 | 显示全部楼层
I afraid that you mistake  id3lib as libid3 in your readme file, which puzzles me a little to find a libid3. ha.
 楼主| 发表于 2004-8-21 22:12:52 | 显示全部楼层
最初由 ganloo 发表
I afraid that you mistake  id3lib as libid3 in your readme file, which puzzles me a little to find a libid3. ha.

Sure, the package name I used is libid3. But the name of `id3lib' was not coined by myself. see id3lib.sf.net for more detail.
Anyway, I tell the whole story in README. You'd better read one more line in that tiny file. 8)
发表于 2004-8-22 12:04:28 | 显示全部楼层
我这里好象不能正确转换。
刚刚发现一个java写的,没有什么问题。http://www.cs.berkeley.edu/~zf/id3iconv/
发表于 2004-8-22 14:11:37 | 显示全部楼层
我原来的文件是中文名的,现在在utf-8全是乱,,,这类文件不能转换。。。
这个工具只能转换文件名正常显示的。。。
发表于 2004-8-23 15:02:59 | 显示全部楼层
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libid3.so: undefined reference to `uncompress'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libid3.so: undefined reference to `compress'
collect2: ld returned 1 exit status
make: *** [id3conv] Error 1

请问什么原因?
 楼主| 发表于 2004-8-24 11:52:32 | 显示全部楼层
最初由 aries1998 发表
我这里好象不能正确转换。
刚刚发现一个java写的,没有什么问题。http://www.cs.berkeley.edu/~zf/id3iconv/

能告诉我,出了什么错么?
anyway, ID3iconv is well polished, and better than mine if you've got your java VM installed. 8(

最初由 harold 发表
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libid3.so: undefined reference to `uncompress'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libid3.so: undefined reference to `compress'
collect2: ld returned 1 exit status
make: *** [id3conv] Error 1

请问什么原因?

我使用的是 Debian sid,
用 libid3-3.8.3-dev 编译通过。您自己编译的也会这样么?还有您安装了 libz 么?
发表于 2004-8-24 12:53:49 | 显示全部楼层
我是到你给的网址上下的id3lib-3.8.3的源码编译的。libz应该是安装了的。我用的zlib-1.2.1源码编译的。
发表于 2004-8-24 19:01:02 | 显示全部楼层
[ganlu@A MP3]$ find . -type f -iname "*.mp3" | xargs /home/ganlu/programs/id3conv/id3conv
xargs: unmatched single quote

What does it mean? thanks.
发表于 2004-8-26 16:59:53 | 显示全部楼层
我使用的是 Debian sid,
用 libid3-3.8.3-dev 编译通过。您自己编译的也会这样么?还有您安装了 libz 么?

通过修改一下Makefile,编译成功。
  1. id3conv: id3conv.cpp
  2.         g++ -lz -lid3 -o id3conv id3conv.cpp
复制代码

加了一个lz选项。

ps:试用了一下,感觉还不错,能工作。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表