beautypg.com

Video_options_setratecontroltype, Video_options_setswfframerate – Google Flix Engine Linux Reference Manual User Manual

Page 271

background image

5.56 Deprecated

265

The H.263 codec is usable down to 0.05 bpp. For lower bitrates, VP6 must be used.
The default value is 448 Kbps.
Setting this value will have no effect unless enabled via

video_options_SetUseMaximumBitrate()

Deprecated

Use the

Codec Interface

along with the

FE2_CODECPARAM_BITRATE

parameter. This function

will be removed in a future release. See also:

Video Codecs

.

See also:

Video Codecs

5.56.2.19

on2sc video_options_SetRateControlType (FLIX2HANDLE flix, const
FE2_VideoBitrateControls rateControlType)

Set the rate control type.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← rateControlType Rate control type (one of

FE2_VideoBitrateControls

)

Return values:

ON2_OK

The rate control type 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

VBR_2PASSControl

.

Deprecated

Use the

Codec Interface

along with the

FE2_VCODECPARAM_RC_MODE

parameter. This function

will be removed in a future release. See also:

Video Codecs

.

5.56.2.20

on2sc video_options_SetSwfFramerate (FLIX2HANDLE flix, const int32_t
swfFramerate)

Sets the SWF framerate.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← swfFramerate The SWF framerate.

Return values:

ON2_OK

The engine successfully set the SWF framerate.

ON2_INVALID_PARAMS

should one or more of the preconditions fail

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