Defines | |
#define | FE2_CODEC_LAME |
Codec name for use with Flix2_AddCodec(). | |
#define | FE2_LAME_BITRATE |
Alias for FE2_CODECPARAM_BITRATE. | |
#define | FE2_LAME_QUALITY |
Codec parameter for controlling LAME library's algorithm selection. | |
#define | FE2_LAME_RC_MODE |
Codec parameter for controlling LAME library's rate control method. | |
#define | FE2_LAME_CHANNELS |
Codec parameter for number of output channels. | |
Typedefs | |
typedef enum lame_rcmode | lame_rcmode_t |
Rate control modes analogous to those found in <lame/lame.h> . | |
Enumerations | |
enum | lame_rcmode { LAME_CBR, LAME_ABR, LAME_VBR_rh, LAME_VBR_mtrh } |
Rate control modes analogous to those found in |
The LAME codec is used to produce MP3 audio streams.
Example Usage:
sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_LAME); // Use 128kbit if(sc == ON2_OK) sc = Flix2_CodecSetParam(codec, FE2_LAME_BITRATE, Bitrate128kbps);
Additional References:
#define FE2_CODEC_LAME |
Codec name for use with Flix2_AddCodec().
#define FE2_LAME_BITRATE |
Alias for FE2_CODECPARAM_BITRATE.
Codec parameter for stream bitrate. Compressed stream bitrate in kbits/sec. Valid bitrates are defined by FE2_AudioBitrates
#define FE2_LAME_CHANNELS |
Codec parameter for number of output channels.
#define FE2_LAME_QUALITY |
Codec parameter for controlling LAME library's algorithm selection.
From <lame/lame.h>
:
internal algorithm selection. True quality is determined by the bitrate but this variable will effect quality by selecting expensive or cheap algorithms. quality=0..9. 0=best (very slow). 9=worst. recommended: 2 near-best quality, not too slow 5 good quality, fast 7 ok quality, really fast
#define FE2_LAME_RC_MODE |
Codec parameter for controlling LAME library's rate control method.
typedef enum lame_rcmode lame_rcmode_t |
Rate control modes analogous to those found in <lame/lame.h>
.
enum lame_rcmode |
Rate control modes analogous to those found in <lame/lame.h>
.