Video_options_getvideoframerateasdouble, Video_options_setdecimatevalue – Google Flix Engine Linux Reference Manual User Manual
Page 117
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
or
→ lpVideoFramerate Frames per second
Return values:
The framerate was successfully retrieved from the engine.
The underlying communication layer failed.
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
or
→ p_fps Frames per second
Return values:
The framerate was successfully retrieved from the engine.
The underlying communication layer failed.
Note:
If a value other than ON2_OK is returned, the output variables should not be considered valid.
Use the
along with
and the
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