|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MP3 File durationhi, ive tried using the Windows Media Player control to get the duration of a
song, but it comes up with "00:00" when the song is longer than this. How can i calculate the duration of the song? thanks -- -iwdu15 Hi,
You can get if from the mp3 tag. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncodefun/html/code4fun01242003.asp Ken ---------------- Show quoteHide quote "iwdu15" <jmmgoalsteratyahoodotcom> wrote in message news:B5FDB2B0-50C6-4CCA-A384-919474423B82@microsoft.com... > hi, ive tried using the Windows Media Player control to get the duration > of a > song, but it comes up with "00:00" when the song is longer than this. How > can > i calculate the duration of the song? thanks > -- > -iwdu15 If you don't want to install the Windows SDK just to get to the MPEG data,
check out my free ID3/MPEG library, UltraID3Lib. It not only reads all of the MPEG data, including length, but it's a full ID3 tag editor as well. (The irony of Ken's post is that I read that same article soon after it came out and became so frustrated with the Windows Media SDK's interface to the ID3 tag data that I decided to write my own library.) Mitchell S. Honnert www.UltraID3Lib.com Show quoteHide quote "iwdu15" <jmmgoalsteratyahoodotcom> wrote in message news:B5FDB2B0-50C6-4CCA-A384-919474423B82@microsoft.com... > hi, ive tried using the Windows Media Player control to get the duration > of a > song, but it comes up with "00:00" when the song is longer than this. How > can > i calculate the duration of the song? thanks > -- > -iwdu15
Where are on the web the WM constants ??
what collection obj can hold 3 parameters per index? C# to VB.net conversion for "?" conditionals currency manager Cascading list boxes Waiting for a shell command Column names in Dataset Creating a dynamic array in VB NET listview rows hiding vb.net containment of a rectangle in an irregular region |
|||||||||||||||||||||||