[Libav-user] Reasons for avcodec_find_encoder failing

Kevin Kratzer uei.user036 at gmail.com
Wed Feb 19 10:23:51 CET 2014


Hello,

I would appreciate if you could tell me the reason for a failed 
avcodec_find_encoder call.
I'm trying to find an encoder e.g. for bmp e.g.

AVCodec* codec = avcodec_find_encoder(AV_CODEC_ID_BMP);
AVCodec* codec = avcodec_find_encoder(CODEC_ID_BMP);
AVCodec* codec = avcodec_find_encoder_by_name("bmp");

However, in all three cases NULL is returned.

The configuration call stated:

Enabled encoders:
bmp

The same happens for example with AV_CODEC_ID_MJPEG when I enable the 
mjpeg encoder

Thank you for any information what the reasons could be for this!

(I'm using FFmpeg from git, master, 
b9936e59e8e0b17d7c1c41a910d86c31eb6142a5)

Best,

Kevin


More information about the Libav-user mailing list