Video, Options_setvideocodec(), Video_options_setusemaximumbitrate – Google Flix Engine Linux Reference Manual User Manual

Page 272: Video_options_setvideocodec, Video_options_setusemaximumbitrate()

Advertising
background image

266

Flix Engine Linux Module Documentation

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

Deprecated

Please use

swf_options_SetSwfFramerateAsDouble()

to allow for non integer framerates.

5.56.2.21

on2sc video_options_SetUseMaximumBitrate (FLIX2HANDLE flix, const on2bool
bUseMaximumBitrate)

Enable/disable the maximum bitrate target value.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← bUseMaximumBitrate New bitrate enable status.

on2true

to enable,

on2false

to disable.

Return values:

ON2_OK

The bitrate enable status was successfully set in the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

By default, the deinterlace filter is disabled.

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

.

5.56.2.22

on2sc video_options_SetVideoCodec (FLIX2HANDLE flix, const FE2_VideoCodec
videoCodec)

Select the video codec to be used.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← videoCodec New video codec (one of

FE2_VideoCodec

)

Return values:

ON2_OK

The video codec was successfully set in the engine.

ON2_INVALID_PARAMS

The value is out of range.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

By default, the

CODEC_VP6

will be used.

Deprecated

Use the

Codec Interface

. 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

Advertising