From owner-freebsd-multimedia Tue Nov 14 10: 6:49 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 5689F37B4C5 for ; Tue, 14 Nov 2000 10:06:45 -0800 (PST) Received: from platinum.scientia.demon.co.uk ([192.168.91.37] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.169 #1) id 13vjrl-000GJG-00; Tue, 14 Nov 2000 17:27:29 +0000 Received: (from ben@localhost) by platinum.scientia.demon.co.uk (8.11.1/8.11.1) id eAEHRTQ53763; Tue, 14 Nov 2000 17:27:29 GMT (envelope-from ben) Date: Tue, 14 Nov 2000 17:27:28 +0000 From: Ben Smithurst To: Graham Guttocks Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: preserving id3 tag with mp3-->wav-->mp3 conversions Message-ID: <20001114172728.A42464@platinum.scientia.demon.co.uk> References: <20001113022831.55274.qmail@web10307.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001113022831.55274.qmail@web10307.mail.yahoo.com> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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