Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Average bitrate calculation? (Read 3462 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Average bitrate calculation?

ok, been looking arround, even googled ... and i have seen the %__bitrate% and even %__bitrate_dynamic% mentioned, but i can't make it work ... what i want is to add the bitrate on the album .... like:

queen/a day at the races (192kbps)/songs

problem is when the songs are encoded VBR ... could i calculate an average? or at least some way of knowing if not CBR, son:

queen/a day at the races (192kbps)/songs

or

queen/a day at the races (VBR)/songs

thnks.

Average bitrate calculation?

Reply #1
Quote
problem is when the songs are encoded VBR ... could i calculate an average?


No.

Quote
or at least some way of knowing if not CBR, son:

queen/a day at the races (192kbps)/songs

or

queen/a day at the races (VBR)/songs[a href="index.php?act=findpost&pid=242562"][{POST_SNAPBACK}][/a]


Put
Code: [Select]
$if(%__extrainfo%,%__bitrate%kbps)
in your renaming title formatting string where you want the bitrate to show up.

Note that this will only work for MP3 files, and will create separate directories for separate non-VBR bitrates (ie. "queen/a day at the races (192kbps)/songs" and "queen/a day at the races (160kbps)/songs").

Tagz is presently incapable of working with multiple playlist entries, so all renaming is done on a file-by-file basis out of necessity.

Average bitrate calculation?

Reply #2


isnt the average bit rate roughly just file size / file length or to be more accurate:

average bit rate (in kbps) = file size (in MB) * 1024 * 1.024 * 8 / file length (in seconds)
"We cannot win against obsession. They care, we don't. They win."

Average bitrate calculation?

Reply #3
but the problem is calculating for a whole album ... this could be something for the 0.9 version then  ... i was trying with an MPC album! that was the problem :|

Average bitrate calculation?

Reply #4
maybe you could use some kind of:
if bitrate >175 and <212
then %artist%- 192

hth

Average bitrate calculation?

Reply #5
that is a good idea ... but you could have defined

if bitrate >175 and <212 then %artist%- 192

and for 9 songs is 192, and then you have that dificult to encode one ... that it is just 213 ... an ups ... maybe the solution would be to have big ranges

if bitrate > 0 and bitrate < 160 - VBR 128
if bitrate > 159 and bitrate < 230 - VBR 192
else bitrate - VBR 256

mmmm

Average bitrate calculation?

Reply #6
coudl atleast determine if it is vbr, cbr, and abr?