
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 Flix2_Create() or Flix2_CreateEx()
← lVideoFramerate Framerate target (in frames per second)
Return values:
ON2_OK The target framerate was successfully set in the engine.
ON2_INVALID_PARAMS The value is out of range.
ON2_NET_ERROR The underlying communication layer failed.
Deprecated
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 Flix2_Create() or Flix2_CreateEx()
← fps Framerate target (in frames per second)
Return values:
ON2_OK The target framerate was successfully set in the engine.
ON2_INVALID_PARAMS The value is out of range.
ON2_NET_ERROR The underlying communication layer failed.
Note:
The default is to use the source framerate.
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.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji