mIRC Homepage


Posted By: RoCk

$mp3().bitrate - 22/01/15 06:22 PM

Is it possible to get this corrected? This has been driving me crazy. It returns an incorrect bitrate when ID3 tags are present. I found this 10 years old thread on the Mp3tag forums...


Thanks. grin

~ Edit ~

I'm sorry I forgot to add specs...

mIRC v7.38
Windows 8.1 64-bit

Posted By: Wims

Re: $mp3().bitrate - 22/01/15 06:39 PM

Would have been great to explain the actual problem.
The problem would be that mIRC is not able to read the ID3 tag if it's written using unicode, which may be related to the new Taglib library used by mIRC to read those.
Posted By: Khaled

Re: $mp3().bitrate - 22/01/15 08:32 PM

The post you are referring to applies to older versions of mIRC. mIRC v7.38 now uses the more sophisticated TagLib library instead, which can read a wide range of media files.

TagLib is fully unicode aware. According to the TagLib website, TagLib returns "the most appropriate bit rate for the file in kb/s. For constant bitrate formats this is simply the bitrate of the file. For variable bitrate formats this is either the average or nominal bitrate".

If the $mp3().bitrate value is not what you are expecting, can you provide a link to an example mp3 file where the wrong bitrate value is being returned and details such as what bitrate you are expecting?
Posted By: RoCk

Re: $mp3().bitrate - 22/01/15 10:07 PM

I don't know what the actual problem is. That was just something I stumbled across when googling my problem and thought it could possibly be the cause.

Thank you for looking into this. Here are 3 files, all 3 are CBR.

320 expected and 320 returned.

320 expected and 321 returned.

256 expected and 257 returned. Also, this one has no ID3 tag.
Posted By: Khaled

Re: $mp3().bitrate - 23/01/15 02:18 PM

Thanks this issue has been fixed for the next version.
Posted By: RoCk

Re: $mp3().bitrate - 23/01/15 10:12 PM

Thank you! smile
© 2020 mIRC Discussion Forums