taking many 198k mp3 files and converting them to 16k mp3

Gary Kline kline at tao.thought.org
Sun Aug 27 07:49:52 UTC 2006


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 at thought.org   www.thought.org     Public service Unix



More information about the freebsd-questions mailing list