Example Usage:
sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_VP8); // Use 450kbit if(sc == ON2_OK) sc = Flix2_CodecSetParam(codec, FE2_VP8_BITRATE, 450.0);
Codec name | |
#define | FE2_CODEC_VP8 |
Codec name for use with Flix2_AddCodec(). | |
General VP8 settings | |
#define | FE2_VP8_BITRATE |
Alias for FE2_CODECPARAM_BITRATE. | |
#define | FE2_VP8_KFINTTYPE |
Alias for FE2_VCODECPARAM_KFINTTYPE. | |
#define | FE2_VP8_KFFREQ |
Alias for FE2_VCODECPARAM_KFFREQ. | |
#define | FE2_VP8_RC_MODE |
Alias for FE2_VCODECPARAM_RC_MODE. | |
#define | FE2_VP8_CXMODE |
VP8 compress mode. | |
#define | FE2_VP8_SHARPNESS |
Codec parameter for sharpness. | |
#define | FE2_VP8_NOISE_REDUCTION |
Controls encoder noise reduction preprocessing. | |
Advanced VP8 settings | |
#define | FE2_VP8_UNDERSHOOT_PCT |
Codec parameter for undershoot percentage. | |
#define | FE2_VP8_OVERSHOOT_PCT |
Codec parameter for undershoot percentage. | |
#define | FE2_VP8_MIN_Q |
Codec parameter for minimum quantizer. | |
#define | FE2_VP8_MAX_Q |
Codec parameter for maximum quantizer. | |
#define | FE2_VP8_DROP_THRESH |
Threshold controlling encoder frame dropping. | |
CBR-Specific | |
#define | FE2_VP8_STREAM_INITIAL_BUFFER |
Seconds of preload that are necessary before starting playback. | |
#define | FE2_VP8_STREAM_OPTIMAL_BUFFER |
Buffer size that the encoder strives to reach or maintain in case of specific frame overshoots. | |
#define | FE2_VP8_STREAM_MAX_BUFFER |
The maximum size of the buffer, in seconds. | |
VBR-Specific | |
#define | FE2_VP8_2PASS_MIN_SECTION |
VBR_2PASSControl minimum section datarate | |
#define | FE2_VP8_2PASS_MAX_SECTION |
VBR_2PASSControl maximum section datarate | |
Defines | |
#define | FE2_VP8_PROFILE |
Bitstream profile. | |
#define | FE2_VP8_ALTREF |
Enable the use of alternate reference frames. | |
#define | FE2_VP8_AR_MAX_FRAMES |
Max number of frames blurred creating alternate reference. | |
#define | FE2_VP8_AR_TYPE |
Filter type to use w/alternate reference. | |
#define | FE2_VP8_AR_STRENGTH |
Filter strength for the alternate reference. | |
#define | FE2_VP8_MB_STATIC_THRESHOLD |
Threshold for macroblocks treated static. | |
#define | FE2_VP8_TOKEN_PARTITIONS |
Number of token partitions. | |
#define | FE2_VP8_LAG |
Allow lagged encoding If set, this value allows the encoder to consume a number of input frames before producing output frames. This allows the encoder to base decisions for the current frame on future frames. | |
#define | FE2_VP8_THREADS |
Number of threads to use A reasonable selection would be the number of cores on the system. |
#define FE2_CODEC_VP8 |
#define FE2_VP8_2PASS_MAX_SECTION |
VBR_2PASSControl maximum section datarate
This value is given as a percentage. The highest datarate, i.e., , that can be streamed, and also the highest datarate that the encoder will allow, no matter how difficult the section is.
#define FE2_VP8_2PASS_MIN_SECTION |
VBR_2PASSControl minimum section datarate
This value is given as a percentage. The lowest datarate, i.e., , that the encoder will allow for any section, no matter how easy the section is. This value is used to prevent difficult sections from stealing too many bits from easy sections.
#define FE2_VP8_ALTREF |
#define FE2_VP8_AR_MAX_FRAMES |
#define FE2_VP8_AR_STRENGTH |
#define FE2_VP8_AR_TYPE |
#define FE2_VP8_BITRATE |
Alias for FE2_CODECPARAM_BITRATE.
Codec parameter for stream bitrate.
Compressed stream bitrate in kbits/sec.
#define FE2_VP8_CXMODE |
#define FE2_VP8_DROP_THRESH |
Threshold controlling encoder frame dropping.
A value of 0 disables frame dropping. Larger values will increase the likelihood frames will be dropped to achieve data rate constraints. Recommended values are 0 for VBR mode and 70 for CBR mode.
#define FE2_VP8_KFFREQ |
Alias for FE2_VCODECPARAM_KFFREQ.
Video codec parameter for keyframe frequency.
Value is in video frames. The interpretation depends on the setting of FE2_VCODECPARAM_KFINTTYPE
#define FE2_VP8_KFINTTYPE |
Alias for FE2_VCODECPARAM_KFINTTYPE.
Video codec parameter for the keyframe interval type.
Valid values are defined by FE2_VideoKeyframeTypes.
#define FE2_VP8_LAG |
#define FE2_VP8_MAX_Q |
Codec parameter for maximum quantizer.
Determines the quality of the output. A lower maximum number produces higher quality output.
#define FE2_VP8_MB_STATIC_THRESHOLD |
#define FE2_VP8_MIN_Q |
#define FE2_VP8_NOISE_REDUCTION |
Controls encoder noise reduction preprocessing.
Determines the level of noise filtering to apply in the preprocessor. 0 is no preprocessing, 6 is extreme preprocessing.
#define FE2_VP8_OVERSHOOT_PCT |
#define FE2_VP8_PROFILE |
#define FE2_VP8_RC_MODE |
Alias for FE2_VCODECPARAM_RC_MODE.
Video codec parameter for the rate control mode.
Valid values are defined by FE2_VideoBitrateControls.
#define FE2_VP8_SHARPNESS |
Codec parameter for sharpness.
Controls the sharpness of the image in the output. This setting does not impact any other setting and is largely a matter of personal preference. A low sharpness setting will result in fewer visible artifacts but may blur the image somewhat; a high sharpness will result in a sharper image but may result in more visible artifacts.
#define FE2_VP8_STREAM_INITIAL_BUFFER |
#define FE2_VP8_STREAM_MAX_BUFFER |
#define FE2_VP8_STREAM_OPTIMAL_BUFFER |
#define FE2_VP8_THREADS |
#define FE2_VP8_TOKEN_PARTITIONS |
#define FE2_VP8_UNDERSHOOT_PCT |