AVCodec.receive_packet

Encode API with decoupled frame/packet dataflow. This function is called to get one output packet. It should call ff_encode_get_frame() to obtain input data.

struct AVCodec
int function(AVCodecContext* avctx, AVPacket* avpkt) receive_packet;

Meta