FFmpeg build configuration for just AAC, MP3, WAV

1

I need to use ffmpeg for just converting audio files between AAC, MP3, WAV only.

So I want to compile ffmpeg for my requirement.

But I don't know best ./configure bla bla bla... commandline for my requirement.

Please help me. What is the best ./configure command line for me.

Thanks in advance.

Krishna Mitta

Posted 2014-12-01T03:53:19.433

Reputation: 13

Answers

2

You should read the compilation guide (this one is for Ubuntu and derivates, but there are others too). You only need libmp3lame installed, so you could simply run apt-get install libmp3lame-dev. Then, run:

./configure --enable-libmp3lame

As for your other requirements:

  • For AAC encoding, use -c:a aac -strict experimental and set an appropriate bitrate. There is no VBR. If you want a better quality AAC encoder with VBR capabilities, compile ffmpeg with libfdk_aac.
  • WAV output does not require any dependencies. Simply choose the audio codec you want and write to a .wav file, e.g. -c:a pcm_s16le. Remember that WAV is a file format, not an audio codec (WAV files can contain many different codecs).

slhck

Posted 2014-12-01T03:53:19.433

Reputation: 182 472