From owner-freebsd-questions@FreeBSD.ORG Sun Aug 27 07:49:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C315716A4DD for ; Sun, 27 Aug 2006 07:49:52 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E47943D4C for ; Sun, 27 Aug 2006 07:49:51 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.4/8.13.1) with ESMTP id k7R7nnbT060749; Sun, 27 Aug 2006 00:49:49 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.4/8.13.1/Submit) id k7R7nlME060748; Sun, 27 Aug 2006 00:49:47 -0700 (PDT) (envelope-from kline) Date: Sun, 27 Aug 2006 00:49:46 -0700 From: Gary Kline To: andrew clarke Message-ID: <20060827074946.GA60715@thought.org> References: <20060827053654.GA60292@thought.org> <20060827060122.GA63679@ozzmosis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060827060122.GA63679@ozzmosis.com> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , freebsd-questions@freebsd.org Subject: Re: taking many 198k mp3 files and converting them to 16k mp3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2006 07:49:52 -0000 On Sun, Aug 27, 2006 at 04:01:23PM +1000, andrew clarke wrote: > On Sat, Aug 26, 2006 at 10:36:54PM -0700, Gary Kline wrote: > > > Is there a way of using sox (or another translator) to turn HUGE > > audio mp3 files into much much smaller files? Say taking man mp3 > > files that are stored at 198k high fidelity and outputting these to > > 16k or 32k mp3 (or *.ogg or other format) audio files? > > LAME (audio/lame in Ports) will do conversions: > > bash-2.05b$ lame -b 32 -h Python411_060823_Milestones.mp3 > ID3v2 found. Be aware that the ID3 tag is currently lost when transcoding. > LAME version 3.96.1 (http://lame.sourceforge.net/) > CPU features: MMX (ASM used), 3DNow! (ASM used) > Resampling: input 32 kHz output 22.05 kHz > Using polyphase lowpass filter, transition band: 8269 Hz - 8535 Hz > Encoding Python411_060823_Milestones.mp3 > to Python411_060823_Milestones.mp3.mp3 > Encoding as 22.05 kHz 32 kbps single-ch MPEG-2 Layer III (11x) qval=2 > Frame | CPU time/estim | REAL time/estim | play/CPU | ETA > 600/40388 ( 1%)| 0:07/ 8:35| 0:07/ 8:51| 2.0471x| 8:43 > > etc. > > If you want to do multiple files you'll need to write a script to call > LAME multiple times. Ah, thank you, thank you. I just can't see wasting so much of my disk [and bakup disks] for what are mostly voice/lectures. I suppose I can buy a DVD-R[W] and fnd out, but is there any reason why I can't have many hours of audio on a DVD? In other words, id a DVD *only* for video? --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. gary -- Gary Kline kline@thought.org www.thought.org Public service Unix