Google Flix Engine Linux Reference Manual Instrukcja Użytkownika Strona 107

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 545
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 106
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 FLIX2HANDLE flix, on2bool pUseCut)
Determine if the cut filter is enabled.
on2sc editor_options_SetUseCut (FLIX2HANDLE flix, const on2bool bUseCut)
Enable/disable the cut filter.
on2sc editor_options_GetCutStartTime (const FLIX2HANDLE flix, double pStartTime)
Get the current cut start time.
on2sc editor_options_SetCutStartTime (FLIX2HANDLE flix, const double start_time)
Set the cut start time.
on2sc editor_options_GetCutStopTime (const FLIX2HANDLE flix, double pEndTime)
Get the current cut stop time.
on2sc editor_options_SetCutStopTime (FLIX2HANDLE flix, const double end_time)
Set the cut stop time.
Defines
#define FE2_FILTER_CUT
Filter name for use with Flix2_AddFilter().
#define FE2_CUT_START_SEC
Filter parameter for cut start time.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Przeglądanie stron 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 544 545

Komentarze do niniejszej Instrukcji

Brak uwag