HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - General => Topic started by: krafty on 2010-04-01 02:18:45

Title: LAME question, inserting the album art upon converting
Post by: krafty on 2010-04-01 02:18:45
Not sure if this goes in foobar2000 forum because it's also half Lame, I think: The foobar2000 options have got the parameters of Lame encoding: "-S --noreplaygain -V 2 - %d". I wanted to know how I can modify this line to embrace the --ti <file> option which inserts album art right upon encoding, getting the art from current directory, if this is possible. This would save a lot of time and dismiss Mp3Tag.

Also, I noticed a "128kb limit" stated in the --longhelp text... is this really relevant? I did some tests with lame in command prompt and it seems to be not very restrictive, concerning image size...

Thanks for answers on this.
Title: LAME question, inserting the album art upon converting
Post by: robert on 2010-04-01 12:24:31
Also, I noticed a "128kb limit" stated in the --longhelp text... is this really relevant?

It gets relevant, if your images exceed the 128 kB size limit.
Title: LAME question, inserting the album art upon converting
Post by: krafty on 2010-04-01 19:36:31
Can you elaborate, robert?

Why do they get relevant? And if that is so, in what way MP3Tag adds ~500kb images with no issues?
Title: LAME question, inserting the album art upon converting
Post by: greynol on 2010-04-01 19:44:20
MP3Tag is not Lame.
Title: LAME question, inserting the album art upon converting
Post by: robert on 2010-04-01 21:57:16
Can you elaborate, robert?

Why do they get relevant? And if that is so, in what way MP3Tag adds ~500kb images with no issues?

Well, it's relevant, because LAME will refuse to add that image, if its size exceeds 128 kB.
This limit was chosen, as LAME's innards worked different to how it's doing now.
Though, we could drop the limitation completely now.
Title: LAME question, inserting the album art upon converting
Post by: greynol on 2010-04-01 22:13:56
It would certainly keep people who want to bloat their mp3 files from complaining.

In the case of my library, 500kb would average out to be about a 10% increase.  That is for -V3.  If I had used -V5 it would be far greater.
Title: LAME question, inserting the album art upon converting
Post by: robert on 2010-04-01 22:22:03
Agreed, at some point it's like having roles swapped: a picture tagged with some music.
To each his own.
Title: LAME question, inserting the album art upon converting
Post by: krafty on 2010-04-02 02:05:49
My albumart is 160kb average... there are just a couple of files at the size of 500kb. These are 600x600 HQ art (my source is albumartexchange.com).
I think that limitation could be dropped, it would be good to have this facility.