Thank you very very much for your help. without your tool, we can not do anything with fb2k Vu Meter.
But your have just made it more fantastic, we can now extract the BIN file on-the-fly, it works flawlessly.
I'm curious, what is your end-goal for using this BinExtractor tool?
foobar2000's VU meter plugins are (obviously) working fine using .bin VU meters.
So what is it that you do with the extracted images exactly?
hi @hiccup,
as we can not decode the bin file (as it is beyond our ability in terms of coding and bin format) although @oops and @BoringName are very kind to give all necessary information. we, then, found that this tool can extract all images of needle, LED and background of a bin.
out of 1024 needle/LED images, we select randomly 1/5 ~ 1024/5 = 205 images scattered along the meter range. we then, by converting the RMS/Peak signal (signal can be extracted by FFmpeg) into an index value, then we can get the needle/LED image to paint.
why 205, as our observation, a FB2k VU Meter is roughly around a 100 degree curve (and it is a curve if diameter length (pivot point x,y) is short enough ) = > 100/205 ~ we may have 2 images per every 1 degree.
on a small screen, this movement id nice enough.
it is not efficient at all, but that is all we have until we may go further.
regards,
@ilovefb2k