Discussion:
Write ID3 info to text file alongside .WAV rips?
Marc Sherman
2005-01-07 15:03:22 UTC
Permalink
Is there any way to get EAC to dump all the ID3 info it has for a disc
when ripping WAVs? I'm doing a 2-stage rip - I'm ripping to WAV with
EAC on my windows box, then encoding with LAME (and a bunch of other
processing) on my linux box. I'd like to apply the ID3 tags on the
linux box in the post-processing phase, but edit them in the UI in EAC.

I've figured out a way to get EAC to put the info into ID3 tags in the
WAV file (select internal compression to MS PCM 16 bit WAV, click the
MP3 button instead of the WAV button), but that only creates ID3v1 tags
in the WAV file, which will potentially cut off the text for some long
titles.

Thanks,
- Marc


Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Fred Maxwell
2005-01-07 16:02:20 UTC
Permalink
Post by Marc Sherman
Is there any way to get EAC to dump all the ID3
info it has for a disc when ripping WAVs? I'm
doing a 2-stage rip - I'm ripping to WAV with EAC
on my windows box, then encoding with LAME (and a
bunch of other processing) on my linux box.
Marc,

That sounds really painful. Since LAME is available as a Windows binary, I
have EAC do all of the LAME encoding at rip time. But, I want as close to
an exact copy as can be had at a given bit rate. I'm not trying to modify
the music in some way (no bass boost, reverb, echo, etc.) so the direct
method works for me.

What is the "bunch of other processing" to which you refer? Why does it
have to be done on a Linux box? I've found that the quality and quantity of
audio processing tools on Linux leaves much to be desired.
Post by Marc Sherman
I'd like to apply the ID3 tags on the linux box in the
post- processing phase, but edit them in the UI in
EAC.
There are better UIs on Windows for the creation and editing of ID3 tags.
They include ID3 TagIT, MP3-Tag Studio, MP3TAG, and The Godfather.
Post by Marc Sherman
I've figured out a way to get EAC to put the info
into ID3 tags in the WAV file (select internal
compression to MS PCM 16 bit WAV, click the MP3
button instead of the WAV button), but that only
creates ID3v1 tags in the WAV file, which will
potentially cut off the text for some long titles.
Given the problems and number of versions of ID3v2 tags, I'd rather just
live with the occasional truncated track title, so all of my MP3s have only
ID3v1.1, which is readable by every program and hardware player of which I
am aware. In fact, I actively strip ID3v2.x tags out of every MP3 on my
hard drive. That way, I don't later discover that some "clever" program has
taken it upon itself to bloat my MP3s with .PNG copies of the album artwork,
lyrics, etc.

As a software engineer, I can tell you that the ID3v2.x specs are horrible.
They are absurdly, and unnecessarily, complex. Rather than having fixed
positions, or even orders, for data, it is a freeform mess that ends up
confusing programs, programmers, and hardware players. Don't use it.
Besides, if you're listening to The Beatles and you see "She Came In Through
The Bathr", is it really that hard to guess that the track is "She Came In
Through The Bathroom Window"?

Regards,
Fred Maxwell








Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Marc Sherman
2005-01-07 16:50:03 UTC
Permalink
Post by Fred Maxwell
What is the "bunch of other processing" to which you refer? Why does it
have to be done on a Linux box? I've found that the quality and quantity of
audio processing tools on Linux leaves much to be desired.
Not audio processing, file-system stuff. Building playlists with shell
scripts, re-scanning in slimserver, mp3gain on the entire album, that
kind of thing. I've attached the current version of my script (which
doesn't include any playlist/slimserver stuff yet), in case you're
interested.

I want to encode on the linux box for a few reasons. 1) The linux box
is a faster machine -- encoding on that machine takes about half as
long, even running lame nice+5. 2) I can rip a bunch of CDs to WAVs
really quickly on my windows box in one sitting, and then start the
encoding process on the linux box for all of them and leave it to run
unattended.
Post by Fred Maxwell
There are better UIs on Windows for the creation and editing of ID3 tags.
They include ID3 TagIT, MP3-Tag Studio, MP3TAG, and The Godfather.
EAC's ID3 ui is good enough for my purposes, and my goal is to simplify
the ripping process. I don't want to have to run 3 different tools to
rip CDs. The linux backend part is fully automated in scripts.

It's worth noting that I've just found a bug in EAC; it doesn't remember
the settings for the internal codec between invocations. So when I
relaunch it, it resets to the first codec/setting combo, which is
Microsoft IMA ADPCM, 11.025khz 4bit mono. :/

Anyway, unless someone has a better suggestion, I'm pulling the info I
need to tag the files out of the file names that EAC saves them with.
It's not perfect, but it'll do for now.

- Marc

----------

#! /bin/sh

SRC=/srv/music-rip
DEST=/srv/music

for ARTIST in "$SRC"/*; do
ARTIST="`basename "$ARTIST"`"

if [ ! -d "$DEST"/"$ARTIST" ]; then
mkdir "$DEST"/"$ARTIST"
fi

for ALBUMDIR in "$SRC"/"$ARTIST"/*; do
ALBUMDIR="`basename "$ALBUMDIR"`"
YEAR="`echo "$ALBUMDIR" | cut -f 1 -d -`"
ALBUMNAME="`echo "$ALBUMDIR" | cut -f 2- -d -`"
TEMPDIR="`mktemp -d -t`" || exit 1
for WAV in "$SRC"/"$ARTIST"/"$ALBUMDIR"/*.wav; do
SONGFILE="`basename "$WAV" .wav`"
TRACK="`echo "$SONGFILE" | cut -f 1 -d -`"
SONGNAME="`echo "$SONGFILE" | cut -f 2- -d -`"
nice -n 5 lame --preset standard --noreplaygain \
--tt "$SONGNAME" --ta "$ARTIST" --tl "$ALBUMNAME" \
--ty "$YEAR" --tn "$TRACK" \
"$WAV" "$TEMPDIR"/"$SONGFILE".mp3
done
mp3gain -a -k -s r "$TEMPDIR"/*.mp3

if [ ! -d "$DEST"/"$ARTIST"/"$ALBUMDIR" ]; then
mkdir "$DEST"/"$ARTIST"/"$ALBUMDIR"
fi
mv "$TEMPDIR"/* "$DEST"/"$ARTIST"/"$ALBUMDIR"
rmdir "$TEMPDIR"

rm -rf "$SRC"/"$ARTIST"/"$ALBUMDIR"
done
rmdir "$SRC"/"$ARTIST"
done



[Non-text portions of this message have been removed]



Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Fred Maxwell
2005-01-07 17:08:30 UTC
Permalink
Not audio processing, file-system stuff.  Building playlists
with shell scripts, re-scanning in slimserver, mp3gain on
the entire album, that kind of thing.
Okay. That makes more sense to me.
I've attached the current version of my script (which
doesn't include any playlist/slimserver stuff yet), in
case you're interested.
Yes. Thanks.
I want to encode on the linux box for a few
reasons. 1) The linux box is a faster machine --
encoding on that machine takes about half as long,
even running lame nice+5. 2) I can rip a bunch of
CDs to WAVs really quickly on my windows box in
one sitting, and then start the encoding process
on the linux box for all of them and leave it to
run unattended.
Okay. I encode in the background on my Windows box and get about 6x encode
speed, so the rip finishes and the encoding is usually about halfway done
(or more). If your Windows box is no speed demon, I understand why you
might want to encode on the Linux box.
It's worth noting that I've just found a bug in
EAC; it doesn't remember the settings for the
internal codec between invocations. So when I
relaunch it, it resets to the first codec/setting
combo, which is Microsoft IMA ADPCM, 11.025khz
4bit mono. :/
Which version of EAC are you running?
Anyway, unless someone has a better suggestion,
I'm pulling the info I need to tag the files out
of the file names that EAC saves them with. It's
not perfect, but it'll do for now.
One possibility: Set up LAME as an external encoder running as a background
task. EAC can cue up many track compressions while still extracting. You
could get many CDs ahead of it (I believe) and leave it to encode at its
leisure after the ripping completes. Could others address this? Am I right
in my understanding of EAC's ability to queue up encoding tasks across
multiple rips?

Regards,
Fred Maxwell





Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Marcus Kwok
2005-01-07 18:46:15 UTC
Permalink
Post by Marc Sherman
Anyway, unless someone has a better suggestion, I'm pulling the info I
need to tag the files out of the file names that EAC saves them with.
It's not perfect, but it'll do for now.
Check out lameb <http://www.lameb.fsnet.co.uk/>. It sounds like it's a
lot like what you're doing. lameb uses a perl script to generate the
ID3 tags from the filenames.
--
Marcus Kwok |
1110 Baylis St. | AOL Instant Messenger: SLuGHEAd78
Baltimore, MD 21224 | ICQ: 20039767
http://gtf.org/ricecake/ | ricecake-***@public.gmane.org


Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Marc Sherman
2005-01-07 18:48:09 UTC
Permalink
Post by Marcus Kwok
Post by Marc Sherman
Anyway, unless someone has a better suggestion, I'm pulling the info I
need to tag the files out of the file names that EAC saves them with.
It's not perfect, but it'll do for now.
Check out lameb <http://www.lameb.fsnet.co.uk/>. It sounds like it's a
lot like what you're doing. lameb uses a perl script to generate the
ID3 tags from the filenames.
If lameb is just using the filenames to generate the ID3 tags, I'm
already doing that with very simple shell scripting. Thanks, though.

- Marc


Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Mark P. Fishman
2005-01-07 22:42:26 UTC
Permalink
lameb tells you to set up EAC's filenaming in a specific way so the
filename actually contains all the information that EAC would have put
in the tag. It's a little more complicated than what you are probably
doing for a filename...

Cheers -- Mark F.
Post by Marc Sherman
Post by Marcus Kwok
Check out lameb <http://www.lameb.fsnet.co.uk/>. It sounds like it's a
lot like what you're doing. lameb uses a perl script to generate the
ID3 tags from the filenames.
If lameb is just using the filenames to generate the ID3 tags, I'm
already doing that with very simple shell scripting. Thanks, though.
--
"It is the least we can do, which, as a matter of policy, is the most we
can do."
-- E.L.Kersten, Ph.D., Founder & COO, Despair, Inc.


Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Freaky Moe (That crazy guy down the street. . .)
2005-01-08 02:38:40 UTC
Permalink
----- Original Message -----
From: "Fred Maxwell" <_eac-***@public.gmane.org>
To: <eac-***@public.gmane.org>
Sent: Friday, January 07, 2005 12:08 PM
Subject: RE: [eac] Write ID3 info to text file alongside .WAV rips?


Could others address this? Am I right in my understanding of EAC's ability to queue
up encoding tasks across multiple rips?

Regards,
Fred Maxwell


Yes, it does that just fine for me. It will even run up to four simultaneous LAME
encoding threads. Although that does slow the encode down a little, it's faster than
encoding one at a time. Even if I'm doing a lot of ripping, I rarely get more than
two or three discs ahead of it. I use VBR with a low of 192 and a high of 320 with
LAME resampling the file to 48KHz because the 320 Kbps uses the short blocks more
accurately at 48KHz. I think it was the short blocks it uses better. Anyway,
320Kbps makes better use of something at 48KHz and ends with a slightly smaller
filesize, albeit negligibly smaller, when encoded.

Eric.









Official Exact Audio Copy mailing list: http://www.exactaudiocopy.de/
To unsubscribe send mail to: eac-unsubscribe-***@public.gmane.org
Drive Offset List: http://www.offsetbase.eac-audio.de/offset-en.php
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eac/

<*> To unsubscribe from this group, send an email to:
eac-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Loading...