beautypg.com

Video_options_getvideoframerateasdouble, Video_options_setdecimatevalue – Google Flix Engine Linux Reference Manual User Manual

Page 117

background image

5.27 Frame Rate

111

5.27.3.3

on2sc video_options_GetVideoFramerate (const FLIX2HANDLE flix, int32_t ∗
lpVideoFramerate)

Get the current video framerate.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ lpVideoFramerate Frames per second

Return values:

ON2_OK

The framerate was successfully retrieved from the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Deprecated

Please use

video_options_GetVideoFramerateAsDouble()

to allow for non integer framerates.

Note:

If a value other than ON2_OK is returned, the output variables should not be considered valid.

5.27.3.4

on2sc video_options_GetVideoFramerateAsDouble (const FLIX2HANDLE flix, double ∗
p_fps)

Get the current video framerate.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ p_fps Frames per second

Return values:

ON2_OK

The framerate was successfully retrieved from the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

If a value other than ON2_OK is returned, the output variables should not be considered valid.

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_FRAMERATE

and the

FE2_FRAMERATE_FPS

parameter. This function will be removed in a future release.

5.27.3.5

on2sc video_options_SetDecimateValue (FLIX2HANDLE flix, const uint32_t value)

Set the decimation of the video framerate.

This value will be used to drop frames according to the video framerate. For example if the framerate is
30fps and the decimate value is 3 then the encoded framerate will be 10fps.

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