Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 17:27:28 +0000
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Graham Guttocks <graham_guttocks@yahoo.co.nz>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: preserving id3 tag with mp3-->wav-->mp3 conversions
Message-ID:  <20001114172728.A42464@platinum.scientia.demon.co.uk>
In-Reply-To: <20001113022831.55274.qmail@web10307.mail.yahoo.com>
References:  <20001113022831.55274.qmail@web10307.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Graham Guttocks wrote:

> Can anyone recommend a command line tool that would allow me to easily 
> extract the id3 tags from the original MP3, and then write them to the 
> new MP3 after it is encoded?  

'tail -c128' might be able to help; the MP3 tag is just the last 128
bytes of the MP3 file.  Just take those off the original, re-encode
it, and append the bytes on again.  For a sanity check make sure the
first three bytes of the last 128 bytes are the three letters "TAG".
Alternatively write a small perl script to do it, there's nothing
particularly magic about MP3 tags.

-- 
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001114172728.A42464>