Is there a C# library that allows you to query mp3 duration and bitrate
I'm looking for a开发者_Go百科n open source library (BSD/MIT style license) that allows me to extract the bitrate and duration of a MP3 audio file in dot net.
Any takers?
NAudio
MS-PL license
There is a wrapper for mpg123 on sourceforge. I have never used it but from the description it looks like what you are looking for. Or the source can help you out.
You can try the C# ID3 library. It has a demo client which extracts a whole lot of information from the MP3 file besides the ID3 itself (including bitrate and length): http://sourceforge.net/projects/csid3lib/support
精彩评论