Help - Search - Members - Calendar
Full Version: metamp3 - command line tool
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
Pages: 1, 2, 3
tycho
QUOTE (Moonbase @ Oct 29 2008, 11:03) *
I just did some testing and found that metamp3 seems to be extremely »intelligent« on updating replay gain values:

I used a command like
metamp3.exe --2 --replay-gain "file1.mp3" "file2.mp3" "file3.mp3" …
on the tracks of an album that had replaygain tags before, except that I deleted them from one file, to see what it would do.

Apparently it »detected« that one file from the album had no replaygain tags and so it would have to recalculate all files in order to find an appropriate album gain. (Which it did.)

When using exact the same command again, it would just say »Updating ID3…« and be finished much faster (without re-calculating all the gains again).

Can this really be true? Did anyone verify this?

If that is really how it works – KUDOS again to Tycho!!!

Yes, this is how it was supposed to work, but I seem to recall that this logic was basically taken from the mp3gain code, so we should give kudos to the author of mp3gain as well.

I guess I could start with making a new id3lib based beta with some of the suggestions that has been made here as they are quite minor. I will in any case have to start out with the current metamp3 code base.

Cheers.
Moonbase
QUOTE (tycho @ Oct 31 2008, 10:51) *
I guess I could start with making a new id3lib based beta with some of the suggestions that has been made here as they are quite minor. I will in any case have to start out with the current metamp3 code base.

That’d be fantastic since it seems it’s the most versatile command line tool around, and it can so readily be integrated into other workflows (I mostly use it in conjunction with Mp3tag and automated batch file processes). Just the thing to save a lot of valuable time.

Thanks for considering some updates of your tool after all that time!
And yes, kudos to Glen Sawyer and Dave Lasker. smile.gif
Akkurat
Found a bug in metamp3 (tested with versions: 0.91 and 0.92 beta 5).

If the filename ends in ..mp3 (or with any multiples of 2 consecutive period chars) (e.g. 01 Theme From M.A.S.H..mp3 or 02 My Only Friend, The End....mp3), metamp3 fails to parse these filenames correctly, in example when running --apply-gain or --replay-gain functions with *.mp3 (e.g. metamp3.exe --replay-gain *.mp3). In order to get also these "special" files to count in these function calculations, you need to execute the command with all the filenames wrapped in quotes ( " ) (e.g. metamp3.exe --replay-gain "01 Theme From M.A.S.H..mp3" "02 My Only Friend, The End....mp3").
BigIUFan
Tycho,

Perhaps you have already addressed this, but do you have plans to make the source available?

Thanks.
djrobx
Another possible, minor bug. I'm trying to add the tag to tell iTunes it's part of a gapless album.

--frame "COMM[iTunPGAP]{eng}:1"

*should* work, but the resulting file is slightly different than what iTunes outputs. Comparing the binary files, metamp3 puts 0x0e 00 00 00 + "engiTunPGAP" where iTunes has 0x10 00 00 00 + "engiTunPGAP"

Tronar
QUOTE (tycho @ Apr 2 2007, 10:03) *
1. Next version will support the prevent clipping option, along with other mp3gain options (equals).

2. It does both when specifying multiple input files, e.g. *.mp3, just like mp3gain. Only track gain when specifying one input file.

edit: also, the executable will be linked statically with the VC8 runtime libraries.

Hi,

does anyone know if these functions found their way into the latest metamp3 (v0.92b5)?
According to the date of the post of the author tycho (02-Apr-2007) and the creation date of the metamp3.exe (29-Mar-2007) I am afraid that this was not the case. unsure.gif

On the other hand tycho stated in his post, that "the [new] executable [including those features] will be linked statically with the VC8 runtime libraries."
Well, the latest available beta 5 says it "is now linked with the VC8 runtime libs"... Hmmm. blink.gif

So maybe these features did indeed find their way into that last version tycho has published. unsure.gif

Can anyone shed some light onto that topic?

Thanks in advance,

Tronar
Forfit
I have a list of MP3s with the lyrics saved in Minilyrics.
there is a software to extract all the lyrics in single file. txt?
for example alfa.mp3 -> alfa.txt
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-2009 Invision Power Services, Inc.