mIRC Home    About    Download    Register    News    Help

Print Thread
$mp3().bitrate #250588 22/01/15 06:22 PM
Joined: Dec 2002
Posts: 2,021
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,021
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...

http://forums.mp3tag.de/lofiversion/index.php?t2628.html

Thanks. grin

~ Edit ~

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

mIRC v7.38
Windows 8.1 64-bit


Last edited by RoCk; 22/01/15 06:35 PM.
Re: $mp3().bitrate [Re: RoCk] #250589 22/01/15 06:39 PM
Joined: Jul 2006
Posts: 3,715
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,715
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.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: $mp3().bitrate [Re: RoCk] #250590 22/01/15 08:32 PM
Joined: Dec 2002
Posts: 4,792
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,792
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?

Re: $mp3().bitrate [Re: Khaled] #250592 22/01/15 10:07 PM
Joined: Dec 2002
Posts: 2,021
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,021
Wims
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.

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

320 expected and 320 returned.
http://www.filehosting.org/file/details/470507/Angel%20-%20Tower.mp3

320 expected and 321 returned.
http://www.filehosting.org/file/details/470508/April%20Wine%20-%20Say%20Hello.mp3

256 expected and 257 returned. Also, this one has no ID3 tag.
http://www.filehosting.org/file/details/470510/Stevie%20Wonder%20-%20Ebony%20Eyes.mp3

Re: $mp3().bitrate [Re: RoCk] #250603 23/01/15 02:18 PM
Joined: Dec 2002
Posts: 4,792
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,792
Thanks this issue has been fixed for the next version.

Re: $mp3().bitrate [Re: Khaled] #250605 23/01/15 10:12 PM
Joined: Dec 2002
Posts: 2,021
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,021
Thank you! smile