Help - Search - Members - Calendar
Full Version: Average bitrate calculation?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
kwanbis
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.
Canar
QUOTE(kwanbis @ Sep 17 2004, 11:43 PM)
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
*



Put
CODE
$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.
stephanV
huh.gif

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)
kwanbis
but the problem is calculating for a whole album ... this could be something for the 0.9 version then wink.gif ... i was trying with an MPC album! that was the problem :|
juglesh
maybe you could use some kind of:
if bitrate >175 and <212
then %artist%- 192

hth
kwanbis
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
kwanbis
coudl atleast determine if it is vbr, cbr, and abr?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.