0
0

Is there a recommended way to get the current bitrate (not average bitrate) for a VBR MP3 or OGG as it plays?

  • You must to post comments
0
0

FMOD doesn’t expose frame-to-frame bitrate.

  • You must to post comments
0
0

i think you can do it by getting deltas between calls to Channel::getPosition with FMOD_TIMEUNIT_RAWBYTES and watching how many bytes go up compared to time – ie you could check FMOD_TIMEUNIT_MS at the same time and there you have x bytes per y ms.

I remember this technique was used in the old days with fmod 3 and worked ok but the granularity wasnt super fast/smooth but that usually doesnt matter too much.

  • You must to post comments
0
0

Thanks! I’ll give that a try. :)

Would be nice to have something to grab the last frame’s bitrate though (only for vbr framed formats of course).

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.