From owner-freebsd-multimedia Tue Jul 31 6:25:20 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtpproxy1.mitre.org (mb-20-100.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id C817937B401; Tue, 31 Jul 2001 06:25:14 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.11.3/8.11.3) with ESMTP id f6VDP7D18783; Tue, 31 Jul 2001 09:25:07 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv1.mitre.org (8.11.3/8.11.3) with ESMTP id f6VDP6X27204; Tue, 31 Jul 2001 09:25:06 -0400 (EDT) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub1.mitre.org with SMTP id 7192319; Tue, 31 Jul 2001 09:24:56 -0400 Message-ID: <3B66B1AF.B99EABB5@mitre.org> Date: Tue, 31 Jul 2001 09:25:03 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Moschuk Cc: Luigi Rizzo , multimedia@freebsd.org Subject: Re: any good tool to cut&paste audio mp3's ? References: <200107251550.RAA04616@info.iet.unipi.it> <20010730235944.B2324@spirit.jaded.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dan Moschuk wrote: > > | Hi, > | does anyone know of some good tool to do simple editing of > | autio mp3's, such as cutting and pasting segments, splitting > | long recordings into components, etc ? > | > | Don't need sophisticated GUI, maybe even a simple command line > | interface would do... as long as i can address frames in a dd-like > | fashion... > > You'd have much better luck finding a utility like this that works on .wav > files and converting the mp3 over to edit it. Most likely he was trying to avoid reencoding the mp3. Honestly, if you just want to have really simple access like above under FreeBSD (there are some rather fancy tools under Windows that can do this, VirtualDub for instance), you are probably going to have to write it yourself. The good news is that it is pretty easy to do. If your mp3 is CBR, you can even use dd and xxd (or od) to figure out the size of each frame. One time I just cut an mp3 with dd, then opened it up in an hex editor and deleted everyting up to the first magic number (fffb IIRC). -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message