Editor_options_setcutstoptime – Google Flix Engine Linux Reference Manual User Manual

Page 111

Advertising
background image

5.25 Cut

105

5.25.3.4

on2sc editor_options_SetCutStartTime (FLIX2HANDLE flix, const double start_time)

Set the cut start time.

Sets the time (in seconds from the beginning of the source) to begin the media cut. 0 indicates start
immediately.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← start_time Start time (in seconds, relative to source)

Return values:

ON2_OK

The start time value was successfully set in the engine.

ON2_INVALID_PARAMS

The value is out of range.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

This call will have no effect on the encoded video unless the cut filter is enabled with

editor_options_-

SetUseCut()

. The default value is 0.0.

Deprecated

Please use:

Flix2_AddFilter()

Flix2_FilterGetParam()

Flix2_FilterSetParam()

With the constants:

FE2_FILTER_CUT

FE2_CUT_START_SEC

FE2_CUT_STOP_SEC

for access to the flix engine cut filter.

5.25.3.5

on2sc editor_options_SetCutStopTime (FLIX2HANDLE flix, const double end_time)

Set the cut stop time.

Sets the time (in seconds from the beginning of the source) to end the media cut. -1 indicates end of source.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← end_time End time (in seconds, relative to source)

Return values:

ON2_OK

The end time value was successfully set in the engine.

ON2_INVALID_PARAMS

The value is out of range.

ON2_NET_ERROR

The underlying communication layer failed.

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

Advertising