LinuxSir.cn,穿越时空的Linuxsir!

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

提取mp3信息

[复制链接]
发表于 2003-12-11 23:43:23 | 显示全部楼层 |阅读模式
想用C编一个提取mp3的ID3信息的程序,该从哪里下手,我刚学c不久,请各位指导一下。
发表于 2003-12-12 15:13:03 | 显示全部楼层
you must know the MP3 file format

go to http://www.wotsit.org/search.asp?page=5&s=music
to down a document,
write a structure and read the information into it.

example:

struct MP3{
/* depend on what file format it is */
};

int main(void)
{
struct MP3 mp3;
open a mp3 file;
read a given size data into mp3 structure;
print some mp3 information;
return 0;
}
 楼主| 发表于 2003-12-14 11:38:27 | 显示全部楼层
最初由 _z_ 发表
you must know the MP3 file format

go to http://www.wotsit.org/search.asp?page=5&s=music
to down a document,
write a structure and read the information into it.

example:

struct MP3{
/* depend on what file format it is */
};

int main(void)
{
struct MP3 mp3;
open a mp3 file;
read a given size data into mp3 structure;
print some mp3 information;
return 0;
}


这么多资料,要好好研究一段时间了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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