25 cut, 1 detailed description, Deprecated functions – Google Flix Engine Linux Reference Manual User Manual
Page 107: Defines
5.25 Cut
101
5.25
Cut
5.25.1
Detailed Description
The cut filter allows for the encoding of a user specified range of time from the input media file.
Filter Parameters:
Name
|
Type
| Opt/Reqd |
Range
==================================================================================
FE2_CUT_START_SEC
| Numeric
| Optional | [0, media duration]
FE2_CUT_STOP_SEC
| Numeric
| Optional | [-1, media duration]
FE2_CUT_USE_SEEK
| Numeric
| Optional | [0, 1]
Example Usage:
sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_CUT);
// start the cut at 5 seconds
if(sc == ON2_OK)
sc = Flix2_FilterSetParam(filter, FE2_CUT_START_SEC, 5.0);
// end the cut at 10 seconds
if (sc == ON2_OK)
sc = Flix2_FilterSetParam(filter, FE2_CUT_STOP_SEC, 10.0);
Deprecated functions
•
on2sc editor_options_GetUseCut
(const
flix,
∗pUseCut)
Determine if the cut filter is enabled.
•
on2sc editor_options_SetUseCut
flix, const
bUseCut)
Enable/disable the cut filter.
•
on2sc editor_options_GetCutStartTime
(const
flix, double ∗pStartTime)
Get the current cut start time.
•
on2sc editor_options_SetCutStartTime
flix, const double start_time)
Set the cut start time.
•
on2sc editor_options_GetCutStopTime
(const
flix, double ∗pEndTime)
Get the current cut stop time.
•
on2sc editor_options_SetCutStopTime
flix, const double end_time)
Set the cut stop time.
Defines
• #define
Filter name for use with
• #define
Filter parameter for cut start time.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen