[Libav-user] avcodec_find_encoder AV_CODEC_ID_MP3 codec not found

satya gowtham kudupudi satyagowtham.k at gmail.com
Thu Feb 25 18:58:10 CET 2016


First I've installed libmp3lame as described in ffmpeg compilation guide.
I've installed ffmpeg libraries by

$ ./configure
$ make
$ sudo make

In my C++ code:

avcodec_register_all();
AVCodec *codec;
codec = avcodec_find_encoder(AV_CODEC_ID_MP3);

I get codec = NULL;

--
Gowtham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160225/7b5795d3/attachment.html>


More information about the Libav-user mailing list