To set the bitrate, you may want to try:
ffmpeg -i input.wav -b:a 128k output.m4a
ffmpeg will auto-select whichever aac encoder is available when the
output file has the extension m4a.
PÃdraig
On 15/11/2011 15:44, John O'Connell wrote:
Hi,
You could try ffmpeg: www.ffmpeg.org
Open source and handles pretty much anything you throw at it.
This line should convert a wav to aac.
ffmpeg -i file.wav -ab 128k -acodec libfaac test.mp4
It seems to ignore the audio bit-rate flag though (-ab 128k) -
perhaps for reasons mentioned previously
This is what I get inside test.mp4: Audio: aac, 44100 Hz, stereo,
s16, 141 kb/s
Cheers,
John
2011/11/15 Warren Bakay <warren@xxxxxxxx>
I use xld to encode to aac. It uses core audio to do the
encoding.
On Tue, Nov 15, 2011 at 1:07 PM,
fabien gouyon <fgouyon@xxxxxxxxxxxxx>
wrote:
Dear
list,
Could somebody recommend a free software, or even
better some
open-source code, for converting audio from WAV to AAC
with *constant*
bit rate (and not variable bit rate).
Any help would be much appreciated.
Best,
--
Fabien Gouyon, PhD
Senior Research Scientist, INESC Porto
Invited Assistant Professor, Engineering Faculty,
University of Porto
http://www.inescporto.pt/~fgouyon
http://smc.inescporto.pt/
--
PÃdraig Kitterick
Post-Doctoral Research Fellow
Department of Psychology
University of York
Heslington
York YO10 5DD
UK
Tel: +44 (0) 1904 32 2911
Email: p.kitterick@xxxxxxxxxxxxxxxx
Web: http://psych.york.ac.uk/aphhc
|