Help - Search - Members - Calendar
Full Version: Added functionality request for "Fix MP3 header"
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
robenroute
Hi there,all of you fb2k fiends and friends!

I've just spent half an hour clicking and pressing buttons (fb2k and calculator) to solve a little (annoying, nevertheless) problem. Check Perceived burn-software problem for details.

What I'd like to see is a few more buttons:
- "Round down to nearest multiple of 588 samples"
- "Round up to nearest multiple of 588 samples"
- "Subtract 588 samples"
- "Undo all calculations since opening"

I know, text for the buttons is a bit long wink.gif but that saves me to explain what the buttons should do.

Feedback of any kind is most appreciated.

Rob
RIV@NVX
Wasn't this already requested and Peter said no?
robenroute
Yes, I'm sorry. I am aware of that. The thing is that I don't consider myself unique in the world and since I have many MP3 files with incorrect sample count, I'm quitye sure there are othere people strugling with the same issues. It would be so nice to be able to click a few buttons in the same application window instead of having to copy, divide by 588, take the integer value, multiply by 588 and (optionally) subtract 588 (several times), just to get things corrected.

It's not like this is major programming work (I used to do some programming work a long while ago, using Pascal, Ada, COBOL, Forth and Fortran). I'm just completely unfamiliar with the Windows programming platform. Otherwise I would have done it myself already.

What's the big problem of adding a few buttons a a few lines of code? Perhaps I'm overlooking something?

Regards, Rob
AtaqueEG
QUOTE(robenroute @ Oct 5 2003, 12:58 AM)
What's the big problem of adding a few buttons a a few lines of code? Perhaps I'm overlooking something?

Regards, Rob

QUOTE
I've just spent half an hour clicking and pressing buttons

Half an hour? And you are upset already? Peter has spent almost a year now fine tuning this program, making it better everyday. And you have to remember, friend, that Peter is giving away for free the product of his hard work, expecting nothing in return

Maybe he just doesn't want to do that (useful as it may be) because he is busy trying to implement some other stuff in foobar2000.
Maybe he will adress that issue later (in the early days of foobar, he said no to gapless MP3, then he changed to "if I have the time" and then he did it)
You will have to do with foobar2000 as it is now.
robenroute
Please, don't get me wrong. the work everybody has been doing and still is doing on fb2k and all the plug-ins, the playlist formatting strings and what have you, verges on the incredible. What Peter, Case, Kode54 and numerous others have done is absolutely fantastic.

What I'm asking for is (in my opinion) purely to increase the convenience of working with MP3 files; I realise that. It's not like there's a major bug or very important functionality missing. I'm aware of that.

It's just that the requested additional functionality seems relatively simple to implement. The increase in convenience, though, would be enormous; not only for me, but for many a fb2k soul.

I'm sure many people having c.q. using even more MP3 files, agree with me. I don't need the functionality yesterday, or today. I never asked for that. What I do ask for is some feedback from others along the lines of "...yeah, same troubles here; that kind of functionality would really make a difference.", or "...what have you been doing wrong, Rob? You're probably the only person here with MP3 files having an incorrect number of samples." You see, feedback like that would help me understand my position; I might be the only soul here with corrupted MP3 files, as far as I know. Fair enough! It was my "own" mistake and I have to fix it myself. It would just be so nice and kind if someone out there would be willing to lend me a helping hand by adding a few simple calculation buttons to a window.

Kind regards,

Rob

P.S. Peter, Case, Kode54 and every other fb2k developer: You really do rock my world!
eltoder
QUOTE(AtaqueEG @ Oct 5 2003, 02:07 PM)
QUOTE(robenroute @ Oct 5 2003, 12:58 AM)
What's the big problem of adding a few buttons a a few lines of code? Perhaps I'm overlooking something?

Regards, Rob

QUOTE
I've just spent half an hour clicking and pressing buttons

Half an hour? And you are upset already? Peter has spent almost a year now fine tuning this program, making it better everyday. And you have to remember, friend, that Peter is giving away for free the product of his hard work, expecting nothing in return

Maybe he just doesn't want to do that (useful as it may be) because he is busy trying to implement some other stuff in foobar2000.
Maybe he will adress that issue later (in the early days of foobar, he said no to gapless MP3, then he changed to "if I have the time" and then he did it)
You will have to do with foobar2000 as it is now.

Man, relax. It's just a feature request. Why some people go crazy about it?
mezenga
QUOTE(robenroute @ Oct 4 2003, 09:58 PM)
It would be so nice to be able to click a few buttons in the same application window instead of having to copy, divide by 588, take the integer value, multiply by 588 and (optionally) subtract 588 (several times), just to get things corrected.

Using a spreadsheet is an efficient way to speed up this repetitive math.

Write the formulas on some cells an copy them to several rows.
Voila !! Just paste the the sample count of all files you want.

Probably you will spend less time doing a spreadsheet than waiting this to be implemented in foobar.

Another approach would be the math results showing up in the console.
TurinsRevenge
If Sample Count were included as a field in title formatting you'd have a nice way to flag headers that need to be fixed and calculate the right amount of padding on the playlist so you could just right click on the track and just enter the calculated amount.

That would seem to be fairly unobtrusive and helpful. Yes?
Canar
Furthermore, an automated header fixing option that didn't mess with padding would be nice; I had some MP3s that I didn't care to make gapless but had mucked-up headers, so fixing them all gave my mousing finger a bit of a work-out.

Nothing too annoying, but it seems like the padding alteration feature and the header-fixing feature aren't particularly related from a user's standpoint. It'd be nice to fix headers automatically, then de-gap the files afterwards if desired.
robenroute
QUOTE(Canar @ Oct 6 2003, 02:44 PM)
Furthermore, an automated header fixing option that didn't mess with padding would be nice; I had some MP3s that I didn't care to make gapless but had mucked-up headers, so fixing them all gave my mousing finger a bit of a work-out.

Nothing too annoying, but  it seems like the padding alteration feature and the header-fixing feature aren't particularly related from a user's standpoint. It'd be nice to fix headers automatically, then de-gap the files afterwards if desired.

Canar (or anybody else who can say something useful about this), am I correct to understand that fb2k's F3H (Fix MP3 Header) function can be used for both issues separately? As in, just leave the number of samples the F3H window comes up with unaltered, press OK and the header will be fixed? Fixing entails what? Just reformatting the MP3 header info (containing things like bitrate, total number of samples, and other data)? The other function would then obviously be: enter 0 (zero) to disable padding altogether (and hence have, more than likely, a file with a size that is not a multiple of 588 samples) or enter any other (arbitrary) number to resize the MP3 file to the specified number of samples (working (shrinking or extending) from the tail of the file). When a new number for the total count of samples is entered, and the total number of samples is more than the actual audio data content, I expect the F3H function to automatically pad the file with silence samples. Please correct me if I'm wrong....

Other question: in what way could the presence of tags (I use APEv2 and ID3v1 tags) have an effect on the actions performed by F3H?

Thanks,

Rob
TurinsRevenge
If you had %Sample_Count% as a meta data field you could do the math and decision making in title formatting. It could highlight (or something) the track if it needed fixing and show you the proper amount to pad.

With that info you could right click on the track, select Fix MP3 Header and enter the amount displayed on the Playlist.
Canar
QUOTE(robenroute @ Oct 6 2003, 11:09 PM)
Canar (or anybody else who can say something useful about this), am I correct to understand that fb2k's F3H (Fix MP3 Header) function can be used for both issues separately? As in, just leave the number of samples the F3H window comes up with unaltered, press OK and the header will be fixed? Fixing entails what? Just reformatting the MP3 header info (containing things like bitrate, total number of samples, and other data)? The other function would then obviously be: enter 0 (zero) to disable padding altogether (and hence have, more than likely, a file with a size that is not a multiple of 588 samples) or enter any other (arbitrary) number to resize the MP3 file to the specified number of samples (working (shrinking or extending) from the tail of the file). When a new number for the total count of samples is entered, and the total number of samples is more than the actual audio data content, I expect the F3H function to automatically pad the file with silence samples. Please correct me if I'm wrong....

Yup. It can be, at least in my experience. It's essentially equivalent to the old VBRFIX program, with the option to edit the header info to allow gapless playback. If you have an error where foobar has difficulties with the file header, use the plugin, and they'll work.

Tags should have no effect on the plugin at all. It should be completely ignorant of them. I imagine there are some ID3v2 tags that could possibly interfere, though, but not too many people here really use ID3v2, just because APEv2 is superior.
TempestuousTosh
QUOTE(mezenga @ Oct 6 2003, 05:23 PM)
Probably you will spend less time doing a spreadsheet than waiting this to be implemented in foobar.


I have created such a spreadsheet - check out this thread:

http://www.hydrogenaudio.org/forums/index....howtopic=11669&

But I don't know where to upload it...
AtaqueEG
QUOTE(TempestuousTosh @ Oct 27 2003, 01:13 AM)
But I don't know where to upload it...

Obvious suggestion
smile.gif
TempestuousTosh
thanks
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.