[Libav-user] Reasons for avcodec_find_encoder failing

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 19 12:12:48 CET 2014


Kevin Kratzer <uei.user036 at ...> writes:

> 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.

Please provide sample stand-alone code.
(Did you call *register()?)

Carl Eugen



More information about the Libav-user mailing list