AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::avblocks::Param::Encoder::Video::VP8 Namespace Reference

Parameters specific to VP8 video encoder. More...

Variables

static const char KeyFrameMaxDistance [] = "ENCODER_VP8_KEY_FRAME_MAX_DISTANCE"
 VP8 Video: Max keyframe distance. More...
 
static const char KeyFrameMinDistance [] = "ENCODER_VP8_KEY_FRAME_MIN_DISTANCE"
 VP8 Video: Min keyframe distance. More...
 

Detailed Description

Parameters specific to VP8 video encoder.

Variable Documentation

const char KeyFrameMaxDistance[] = "ENCODER_VP8_KEY_FRAME_MAX_DISTANCE"
static

VP8 Video: Max keyframe distance.

This parameter is an integer.

This value, expressed as a number of frames, forces the encoder to code a keyframe if one has not been coded in the last KeyFrameMaxDistance frames.

A value of 0 implies all frames will be keyframes. Set keyframe KeyFrameMinDistance equal to KeyFrameMaxDistance for a fixed interval.

The default value is 100.

const char KeyFrameMinDistance[] = "ENCODER_VP8_KEY_FRAME_MIN_DISTANCE"
static

VP8 Video: Min keyframe distance.

This parameter is an integer.

This value, expressed as a number of frames, prevents the encoder from placing a keyframe nearer than KeyFrameMinDistance to the previous keyframe.

At least KeyFrameMinDistance frames non-keyframes will be coded before the next keyframe. Set KeyFrameMinDistance equal to KeyFrameMaxDistance for a fixed interval.

The default value is 0.