beautypg.com

Swf_options_setwaittimetostart, Swf_options_updatevariable, Swf_options_updatevariable() – Google Flix Engine Linux Reference Manual User Manual

Page 246: Also, Swf_options_setwaittimetostart()

background image

240

Flix Engine Linux Module Documentation

Precondition:

flix

is not NULL

Note:

The default value will be the video framerate.
The SWF framerate may be changed when the encoding process starts because of two conditions.
Changing the SWF framerate will NOT change the duration or the audio/video synchronization. The
first condition is the SWF framerate should always be equal to or a multiple of the video framerate to
prevent problems with encoding such as loss of audio sync and audio distortion. The second condition
is the fractional part of the output SWF framerate has to be rounded to the nearest 1/256th. I.E. If the
SWF framerate is set to 29.97 then the output SWF framerate will be converted to 29.96875.

See also:

swf_options_GetSwfFramerateAsDouble()

,

video_options_SetVideoFramerateAsDouble()

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_FRAMERATE

parame-

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

5.52.5.34

on2sc swf_options_SetWaitTimeToStart (FLIX2HANDLE flix, const int32_t
waitTimeToStart)

Sets the number of seconds to wait before playback begins.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← waitTimeToStart Number of seconds to wait.

Return values:

ON2_OK

Success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

Note:

The default value is 0.

See also:

swf_options_GetWaitTimeToStart()

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_START_WAIT_SEC

pa-

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

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