Lately, I've been doing a lot of ffmpeg tasks for one of my patners in the music business.
We are using that software to generate videos for Youtube.
The recommended sound settings for a Youtube upload is :
MPEG AAC Audio (mp4a) 48kHz
and the standard of the industry for WAV files is :
PCM 44.1 kHz 16 bits
So when generating our videos, we need to encode our PCM input stream to AAC.
ffmpeg ships with a built-in AAC codec but it does not work perfectly.
So we decided to use libfdk-aac instead. That library isn't opensource so you have to build ffmpeg against it manually in order to use it. Yey, I love compiling and linking stuff :-/
I followed the official compilation guide for Ubuntu but I had some issues. That's why I wrote this article : I don't want to search for a solution a second time !
The key point here is the checkout of the v0.1.3 tag.
libmp3lame
ffmpeg himself
Some verifications
A symlink for convenience
Done ! Easy. OK. I spent hours to get here. I hope it will help someone else.
Vous voulez travailler avec moi ?
Je suis développeur et consultant sur des projets informatiques dans ma société, Phonoid. Avec mes amis, nous y développons des solutions sur mesure pour nos super clients.
Nous travaillons également sur nos futurs produits.