My Other Me
My Other Me

Reputation: 5117

Is there a C# library that allows you to query mp3 duration and bitrate

I'm looking for an 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?

Upvotes: 3

Views: 2810

Answers (3)

Christian Waidner
Christian Waidner

Reputation: 1334

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

Upvotes: 1

QrystaL
QrystaL

Reputation: 4966

NAudio

MS-PL license

Upvotes: 2

Larry Hipp
Larry Hipp

Reputation: 6255

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.

Upvotes: 1

Related Questions