Video_options_setimagequality, Video_options_setcompressmode – Google Flix Engine Linux Reference Manual User Manual

Page 268

Advertising
background image

262

Flix Engine Linux Module Documentation

Note:

By default, the percentage is 15%.
The range is 0-100%.
The codec type must be

CODEC_VP6ALPHA

.

For

example if

the maximum

video bitrate

was

set to 500 through

video_options_-

SetMaximumBitrate()

, and the alpha percentage was set to 15% then the bitrate for the VP6 video

would be 425 and the alpha bitrate would be 75.

Deprecated

Use the

Codec Interface

along with

FE2_CODEC_VP6ALPHA

and the

FE2_VP6A_ALPHA_-

BITRATE

parameter. This function will be removed in a future release. See also:

Video Codecs

.

5.56.2.14

on2sc video_options_SetCompressMode (FLIX2HANDLE flix, FE2_CompressMode
mode)

Set the VP6 compression mode.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← mode Compression mode (one of

FE2_CompressMode

)

Return values:

ON2_OK

The compression mode was successfully set in the engine.

ON2_INVALID_PARAMS

The value is out of range.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

This setting affects VP6 only.

COMPRESSMODE_BEST

provides a slightly better quality image, but

takes approximately twice as long to encode as VP6 set to

COMPRESSMODE_GOOD

.

The default value is

COMPRESSMODE_GOOD

.

Deprecated

Use the

Codec Interface

along with

FE2_CODEC_VP6

or

FE2_CODEC_VP6ALPHA

and the

FE2_-

VP6_CXMODE

or

FE2_VP6A_CXMODE

parameter. This function will be removed in a future re-

lease. See also:

Video Codecs

.

5.56.2.15

on2sc video_options_SetImageQuality (FLIX2HANDLE flix, const int32_t
lImageQuality)

Set the image quality factor.

Determines the image "quality" level. Higher numbers will generally result in higher quality video, at the
cost of higher bitrates and file sizes.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

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

Advertising