beautypg.com

Video_options_setkeyframeinterval, Video_options_setkeyframeintervaltype – Google Flix Engine Linux Reference Manual User Manual

Page 269

background image

5.56 Deprecated

263

← lImageQuality Quality Factor (0 to 100)

Return values:

ON2_OK

The quality value was successfully set in the engine.

ON2_INVALID_PARAMS

The value is out of range.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

The default value is 75.

Deprecated

The image quality functions have been deprecated in favor of the maximum bitrate functions. Use

video_options_GetMaximumBitrate()

instead.

5.56.2.16

on2sc video_options_SetKeyframeInterval (FLIX2HANDLE flix, const int32_t
lKeyframeInterval)

Set the interval between keyfames.

Determines the interval (in frames) between keyframes. Keyframes "refresh" the player with the best pos-
sible quality image, and subsequent images are derived from that image. In addition, the keyframe interval
determines the granularity at which seeking can happen (i.e., the player can only seek to a keyframe). Re-
ducing the keyframe interval increases the number of seekable points in the video. However, keyframes
take significantly more bits to encode than non-keyframes, which can result in unnecessarily large files if
the value is set too low. For most purposes, the default value is preferred.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← lKeyframeInterval Keyframe interval (in frames)

Return values:

ON2_OK

The keyframe interval was successfully set in the engine.

ON2_INVALID_PARAMS

The value is out of range.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

The default value is 12 ∗ f ramerate (12 seconds worth)

Deprecated

Use the

Codec Interface

along with the

FE2_VCODECPARAM_KFFREQ

parameter. This function

will be removed in a future release. See also:

Video Codecs

.

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen