Table of Contents

avcodec_find_encoder

Overview

Defined in avcodec.h

Finds an encoder with a matching codec ID.

AVCodec *avcodec_find_encoder(enum CodecID id);

Parameters

id

enum CodecID id

CodecID of the requested encoder.

Return value

Returns an encoder AVCodec pointer if one was found, NULL otherwise.

See also

avcodec_find_encoder_by_name()


Back to ffmpeg