Having lame and lame-devel is good; you will also need libmad and libmad-devel.
But the standard sox doesn't look for them.
> MP3 support in SoX is optional
> and requires access to either or both the external
> libmad and libmp3lame libraries. To see if there is support for Mp3
> run sox -h and
> look for it under the list of supported file formats as "mp3".
>
> [root@host0040 ~]# sox -h
> sox: Version 12.18.1
>
> Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]
>
> gopts: -e -h -p -q -S -V
>
> fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -v volume -x
>
> effect: avg band bandpass bandreject chorus compand copy dcshift
> deemph earwax echo echos fade filter flanger highp highpass lowp
> lowpass mask mcompand noiseprof noisered pan phaser pick pitch
> polyphase rate repeat resample reverb reverse silence speed stat
> stretch swap synth trim vibro vol
>
> effopts: depends on effect
>
> Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm
> hcom la lu maud nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw
> ub ul uw voc vorbis vox wav wve
>
> Which package contains libmad and libmp3lame libraries available on CentOS 5.6
You will need to get libmad and libmad-devel from rpmforge, like you
did lame and lame-devel. There might even be a sox package on there
that was compiled with mp3 support. If not, you will need to obtain
the SRPM for sox and recompile it with mp3 support on your system.
That will probably involve editing the spec file to enable mp3.
Cheers
Tony
--
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos