EMIPLIB
|
A libavcodec based H.263+ encoder. More...
#include <mipavcodecencoder.h>
Public Member Functions | |
bool | init (int width, int height, real_t framerate, int bitrate=0) |
Initializes the encoder. | |
bool | destroy () |
De-initializes the encoder. | |
Static Public Member Functions | |
static void | initAVCodec () |
Initializes the libavcodec library. |
This component is a H.263+ encoder, based on the libavcodec library. It accepts raw video messages in YUV420P format and creates encoded video messages with subtype MIPENCODEDVIDEOMESSAGE_TYPE_H263P.
bool MIPAVCodecEncoder::destroy | ( | ) |
bool MIPAVCodecEncoder::init | ( | int | width, |
int | height, | ||
real_t | framerate, | ||
int | bitrate = 0 |
||
) |
This function initializes the encoder.
width | The width of incoming video frames. |
height | The height of incoming video frames. |
framerate | The framerate. |
bitrate | The bitrate generated by the encoder. If the value is zero or negative, a default value is used. |
static void MIPAVCodecEncoder::initAVCodec | ( | ) | [static] |
This function initializes the libavcodec library. The library should only be initialized once in an application.