Help - Search - Members - Calendar
Full Version: Dynamic bitrate display for mp3 in FB2K
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
sld
Minor problem is as described.
When using the dynamic bitrate option, the display for my mp3 files mirror that for my mpc files, instead of showing the fixed frame sizes inherent in the mp3 format.

I am just wondering if this may be a bug, or a configuration error on my side.

I am using FB2k 0.7.4.
Standard Inputs > VBR bitrate display, "Real-time display for VBR files" is checked, and frame update interval is set to every 32 frames.
I am using UpNorth's "dynamic" (no pun intended) title formatting script, and I made a modification in the status bar script by simply changing
CODE
$puts(text_bitrate,[%__bitrate%'kbps'])
to
CODE
$puts(text_bitrate,[%__bitrate_dynamic%'kbps'])


Can anybody reproduce this quirk?
Peter
- MPC doesn't have "fixed" frame sizes as far as I know
- VBR bitrate for MP3 is averaged over several frames, if you set it to udpate every 1 frame, you will get usual 128/160/192/etc
picmixer
Guess I'll hook in here since this thread seems appropriate.

Dynamic bitrate display still doesn't work on lossless (flac, monkeys) nor on aac (raw or mp4) files.

No idea wether this is due to the format specs, the input plugins, or whatever.

Not that important, but for consistency it would be nice if they would work on all formats.
ssamadhi97
It depends on the input plugins. And depending on the decoding libraries used, implementing dynamic bitrate display can be anything from painful to impossible to totally pointless.

I for one can't be arsed to implement dynamic bitrate display in foo_shn. Well, maybe one day when I'm retired and really really really REALLY bored.
picmixer
QUOTE(ssamadhi97 @ Dec 3 2003, 07:15 PM)
It depends on the input plugins. And depending on the decoding libraries used, implementing dynamic bitrate display can be anything from painful to impossible to totally pointless.

Already thought something along those lines.

You are absolutely right, it is quite pointless, especially in case it takes to much effort to implement.

Does make a nice now playing indicator though wink.gif .

Thanks for the quick reply.
upNorth
@sld: Thanks for reminding me to update the code on the formatting strings site, to the code I actually use. You might want to change the code to something like:
CODE
$puts(text_bitrate,$if2($pad(%__bitrate_dynamic%,3)'kbps',$if2(%__bitrate%'kbps',)))

At least that and support for "mp3 stereo mode" is changed from the old one.
sld
QUOTE(zZzZzZz @ Dec 3 2003, 09:11 PM)
- VBR bitrate for MP3 is averaged over several frames, if you set it to udpate every 1 frame, you will get usual 128/160/192/etc

Yep, I get it now. Thanks for clarifying!

QUOTE(upNorth)
@sld: Thanks for reminding me to update the code on the formatting strings site, to the code I actually use. You might want to change the code to something like:
CODE
$puts(text_bitrate,$if2($pad(%__bitrate_dynamic%,3)'kbps',$if2(%__bitrate%'kbps',)))

At least that and support for "mp3 stereo mode" is changed from the old one.

Thanks for the update. Your formatting script is appreciated daily. smile.gif
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.