Recently a reader asked me a question about a missing codec error while using ffmpeg to convert a video.
Here's the error message;
It seems your FFMPEG (libavcodec) installation lacks the following encoder:
MPEG AAC Audio.
I initially told him to make sure he has the AAC audio codec installed. Then I tried a conversion and got a similar message. I know I had everything installed so it was time to investigate.
Didn't take me long to find out that the ffmpeg including the unstripped version from the restricted repo's is lacking certain codecs due to licensing B.S.
So what do we do?
I read many articles talking about compiling your own ffmpeg with the missing codecs. Now I'm not against doing that but I was hoping for something easier. LOL!
Then I found this page;
It has a comprehensive tutorial on how to compile your own ffmpeg.
And it also contains a quick 2 copy and paste terminal commands that will download and install the unstripped ffmpeg.
Just make sure that you pick your correct version of Ubuntu when using either option.
Many thanks to FakeOutdoorsman for his excellent tutorial on fixing this.
There are so many ways around the B.S!