How to read metadata from mp3?

谁说胖子不能爱 提交于 2019-12-05 06:14:55

Ok, I am not discouraging writing your own code (as my comment to the question may suggest). Actually the opposite, Kudos to you for wanting to develop your own library.

That said, Taglib sharp is open source and deals with both Id3v1 and id3v2 (and lots more), it should be a good place to start. I ported some parts of it to silverlight a while back, if I remember correctly it was not an overwhelming amount of code.

Ok, if you don't want to use a third party library then you'll need to write your own. The MP3 file format specification would be a good place to start.

I would recommend browsing the SVN from C# ID3 Library to get the code you need. http://sourceforge.net/projects/csid3lib/

I've got a few WPF apps on the market that edit mp3 files and the others recommending taglib sharp are correct, you should avoid the hassle and use it.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!