Video_options_setvideoframerateasdouble, Video_options_setvideoframerateasdouble() – Google Flix Engine Linux Reference Manual User Manual
Page 119
5.27 Frame Rate
113
5.27.3.7
on2sc video_options_SetVideoFramerate (FLIX2HANDLE flix, const int32_t
lVideoFramerate)
Set the video framerate.
Sets the framerate to be used when encoding the video. Frames will be duplicated or dropped as necessary
to achieve the desired framerate.
Parameters:
← flix Handle to the Flix Engine returned from
or
← lVideoFramerate Framerate target (in frames per second)
Return values:
The target framerate was successfully set in the engine.
The value is out of range.
The underlying communication layer failed.
Please use
video_options_SetVideoFramerateAsDouble()
to allow for non integer framerates.
Note:
The default is to use the source framerate.
5.27.3.8
on2sc video_options_SetVideoFramerateAsDouble (FLIX2HANDLE flix, const double
fps)
Set the video framerate.
Sets the framerate to be used when encoding the video. Frames will be duplicated or dropped as necessary
to achieve the desired framerate.
Parameters:
← flix Handle to the Flix Engine returned from
or
← fps Framerate target (in frames per second)
Return values:
The target framerate was successfully set in the engine.
The value is out of range.
The underlying communication layer failed.
Note:
The default is to use the source framerate.
Use the
along with
and the
parameter. This function will be removed in a future release.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen