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

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Google Flix Engine Linux Reference Manual. Google Flix Engine Linux Reference Manual User Manual [en] Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 545
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Flix Engine Linux Reference Manual
8.0.17.1
Generated by Doxygen 1.5.2
Tue Jul 20 17:39:03 2010
Przeglądanie stron 0
1 2 3 4 5 6 ... 544 545

Podsumowanie treści

Strona 1 - Generated by Doxygen 1.5.2

Flix Engine Linux Reference Manual8.0.17.1Generated by Doxygen 1.5.2Tue Jul 20 17:39:03 2010

Strona 2

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

Strona 3 - Contents

94 Flix Engine Linux Module Documentation5.23.2 Define Documentation5.23.2.1 #define FE2_BLUR_FILTERSpecifies blur filter to be applied to source.The blur

Strona 4

5.23 Blur 951/25 1/25 1/25 1/25 1/251/25 1/25 1/25 1/25 1/25MASK_5x5: 1/25 1/25 1/25 1/25 1/251/25 1/25 1/25 1/25 1/251/25 1/25 1/25 1/25 1/25BLUR_GAU

Strona 5

96 Flix Engine Linux Module Documentation5.24 Crop5.24.1 Detailed DescriptionThe crop video filter is a filter used to isolate a subsection of an input

Strona 6

5.24 Crop 97• #define FE2_CROP_LEFTFilter parameter for setting bounding box’s left coordinate.• #define FE2_CROP_RIGHTFilter parameter for setting boun

Strona 7 - Flix Engine Documentation

98 Flix Engine Linux Module Documentation5.24.2.5 #define FE2_FILTER_CROPFilter name for use with Flix2_AddFilter().Definition at line 49 of file crop.h.

Strona 8 - 1.5 Support Options & FAQ

5.24 Crop 99DeprecatedUse the Filter Interface along with FE2_FILTER_CROP and the FE2_CROP_TOP, FE2_CROP_-LEFT, FE2_CROP_BOTTOM and FE2_CROP_RIGHT par

Strona 9

100 Flix Engine Linux Module DocumentationDeprecatedUse the Filter Interface along with FE2_FILTER_CROP and the FE2_CROP_TOP, FE2_CROP_-LEFT, FE2_CROP

Strona 10 - 4 Flix Engine Documentation

5.25 Cut 1015.25 Cut5.25.1 Detailed DescriptionThe cut filter allows for the encoding of a user specified range of time from the input media file.Filter

Strona 11 - Chapter 2

102 Flix Engine Linux Module Documentation• #define FE2_CUT_STOP_SECFilter parameter for setting the cut stop time.• #define FE2_CUT_USE_SEEKSet FE2_CUT

Strona 12

5.25 Cut 1035.25.2.4 #define FE2_FILTER_CUTFilter name for use with Flix2_AddFilter().Definition at line 52 of file cut.h.5.25.3 Function Documentation5.

Strona 13 - Flix Engine Linux File Index

Chapter 2Flix Engine Linux Module Index2.1 Flix Engine Linux ModulesHere is a list of all modules:Flix Engine API . . . . . . . . . . . . . . . . . .

Strona 14

104 Flix Engine Linux Module DocumentationON2_NET_ERROR The underlying communication layer failed.Note:If a value other than ON2_OK is returned, the o

Strona 15 - Flix Engine Linux Page Index

5.25 Cut 1055.25.3.4 on2sc editor_options_SetCutStartTime (FLIX2HANDLE flix, const double start_time)Set the cut start time.Sets the time (in seconds f

Strona 16

106 Flix Engine Linux Module DocumentationNote:This call will have no effect on the encoded video unless the cut filter is enabled with editor_options_

Strona 17 - Documentation

5.26 Denoise 1075.26 Denoise5.26.1 Detailed DescriptionRemoves noise from source imageFilter Parameters:Name | Type | Opt/Reqd | Range================

Strona 18 - CodecGetParam()

108 Flix Engine Linux Module Documentation5.27 Frame Rate5.27.1 Detailed DescriptionThe frame rate filter modifies the source frame rate either by apply

Strona 19 - 5.2 Deprecated

5.27 Frame Rate 109Defines• #define FE2_FILTER_FRAMERATEFilter name for use with Flix2_AddFilter().• #define FE2_FRAMERATE_FPSFilter parameter name for f

Strona 20 - 5.2.2 Function Documentation

110 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()→ pValue Decimate

Strona 21

5.27 Frame Rate 1115.27.3.3 on2sc video_options_GetVideoFramerate (const FLIX2HANDLE flix, int32_t ∗lpVideoFramerate)Get the current video framerate.Pa

Strona 22

112 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()← value Decimate

Strona 23

5.27 Frame Rate 1135.27.3.7 on2sc video_options_SetVideoFramerate (FLIX2HANDLE flix, const int32_tlVideoFramerate)Set the video framerate.Sets the fram

Strona 24

6 Flix Engine Linux Module IndexHighpass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114Lowpass . . . . . . . .

Strona 25

114 Flix Engine Linux Module Documentation5.28 Highpass5.28.1 Detailed DescriptionThe highpass audio filter is a filter to attenuate sounds in the audio

Strona 26

5.28 Highpass 1155.28.2.3 #define FE2_HIGHPASS_QFilter parameter for shape constant ("Q" coefficient).The Q coefficient controls the "shap

Strona 27 - 5.3 Codecs

116 Flix Engine Linux Module Documentation5.29 Lowpass5.29.1 Detailed DescriptionThe lowpass audio filter is a filter to attenuate sounds in the audio t

Strona 28 - 5.4 Common Codec Parameters

5.29 Lowpass 1175.29.2.3 #define FE2_LOWPASS_QFilter parameter for shape constant ("Q" coefficient).The Q coefficient controls the "shape&

Strona 29

118 Flix Engine Linux Module Documentation5.30 Mirror5.30.1 Detailed DescriptionThe mirror filter mirrors (flips) the source along the horizontal axis,

Strona 30 - 5.5 Video Codecs

5.30 Mirror 119Note:Default: 0 (disabled)non-zero: enabledDefinition at line 56 of file mirror.h.5.30.2.3 #define FE2_MIRROR_VERTICALSpecifies vertical di

Strona 31 - 5.6 Audio Codecs

120 Flix Engine Linux Module Documentation5.31 Overlay (Watermark)5.31.1 Detailed DescriptionThe overlay video filter is a filter used to apply a PNG im

Strona 32 - 5.7.1 Detailed Description

5.31 Overlay (Watermark) 121• on2sc overlay_options_SetMaskPixelXY (FLIX2HANDLE flix, int32_t maskPixelX, int32_-t maskPixelY)Set the X and Y coordinat

Strona 33 - 5.7.2 Define Documentation

122 Flix Engine Linux Module DocumentationBlue component of the transparency color.• #define FE2_OVERLAY_POSSet the overlay position. Valid modes are d

Strona 34 - 5.8 AAC+

5.31 Overlay (Watermark) 123Note:Linux Only: flixd, the encoding server, gets its input from, and writes its output to, the host file system.FE2_OVERLAY

Strona 35 - 5.8.2 Define Documentation

Chapter 3Flix Engine Linux File Index3.1 Flix Engine Linux File ListHere is a list of all files with brief descriptions:flixengine2/audio_options.h (Ref

Strona 36 - 5.9 AMR_NB - FFmpeg

124 Flix Engine Linux Module Documentation5.31.2.6 #define FE2_OVERLAY_MASK_RGBUse the RGB value (FE2_OVERLAY_MASK_R, FE2_OVERLAY_MASK_G, FE2_OVERLAY_-

Strona 37 - 5.9.2 Define Documentation

5.31 Overlay (Watermark) 1255.31.2.10 #define FE2_OVERLAY_POSSet the overlay position. Valid modes are defined by FE2_OverlayPositionMode.Remarks:If the

Strona 38 - 5.10 H263 - FFmpeg

126 Flix Engine Linux Module Documentation5.31.4 Function Documentation5.31.4.1 on2sc overlay_options_GetMaskPixelRGB (FLIX2HANDLE flix, uint8_t ∗ pMas

Strona 39

5.31 Overlay (Watermark) 127ON2_INVALID_PARAMS a precondition failedON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NUL

Strona 40

128 Flix Engine Linux Module Documentation5.31.4.4 on2sc overlay_options_GetOverlayPosition (FLIX2HANDLE flix,FE2_OverlayPositionMode ∗ pMode, uint32_t

Strona 41 - 5.11 H264

5.31 Overlay (Watermark) 129Precondition:flix is not NULLpUseOverlay is not NULLRemarks:Call this function to determine if an overlay is to be drawn on

Strona 42 - 5.11.3 Define Documentation

130 Flix Engine Linux Module DocumentationReturn values:ON2_OK the component values were set successfullyON2_INVALID_PARAMS the precondition failedON2

Strona 43

5.31 Overlay (Watermark) 131Once this function has been called successfully, overlay_options_Reset() must be called to turn trans-parency off.Calling

Strona 44 - 5.11.4 Typedef Documentation

132 Flix Engine Linux Module Documentation5.31.4.10 on2sc overlay_options_SetOverlayPosition (FLIX2HANDLE flix,FE2_OverlayPositionMode mode, uint32_t x

Strona 45 - 5.12 MP3 - LAME

5.31 Overlay (Watermark) 133Remarks:Set bUseOverlay to on2true to enable overlay usage. Set bUseOverlay to on2false to disableusage.Only PNG images, 2

Strona 46 - 5.12.2 Define Documentation

8 Flix Engine Linux File Indexflixengine2/filters/overlay.h (Reference module(s): Overlay (Watermark) ) . . . . . . . . . . . . 297flixengine2/filters/png

Strona 47 - 5.12.3 Typedef Documentation

134 Flix Engine Linux Module Documentation5.32 PNG Image Export (Thumbnail)5.32.1 Detailed DescriptionThe PNG image export filter creates PNG images fr

Strona 48 - 5.13 libvorbis - FFmpeg

5.32 PNG Image Export (Thumbnail) 135– If any of FE2_PNGEX_AUTO_EXPORT_COUNT, FE2_PNGEX_EXPORT_CUE_POINTSor FE2_PNGEX_EXPORT_TIME_STRING are enabled a

Strona 49 - 5.14 VP6

136 Flix Engine Linux Module Documentation• #define FE2_PNGEX_AUTO_EXPORT_END_TIMEFilter parameter for setting PNG auto generation end time.• #define FE

Strona 50 - Codec name

5.32 PNG Image Export (Thumbnail) 137Additional PNG time(s) is/are calculated using the following equation:n: 0 based PNG image indexpng_time = first_

Strona 51 - VBR-Specific

138 Flix Engine Linux Module Documentation5.32.2.5 #define FE2_PNGEX_AUTO_EXPORT_START_TIMEFilter parameter for setting PNG auto generation start time.

Strona 52 - 5.14.4 Define Documentation

5.32 PNG Image Export (Thumbnail) 1395.32.2.8 #define FE2_PNGEX_EXPORT_CUE_POINTSFilter parameter for enabling export of PNG images at cue points.If en

Strona 53

140 Flix Engine Linux Module Documentationsc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);if (sc == ON2_OK)// produce PNG images

Strona 54

5.32 PNG Image Export (Thumbnail) 1415.32.2.15 #define FE2_PNGEX_OUTPUT_DIRECTORYFilter parameter for setting PNG image output directory.If a directory

Strona 55

142 Flix Engine Linux Module Documentation5.33 Resample5.33.1 Detailed DescriptionFilter Parameters:Name | Type | Opt/Reqd | Range====================

Strona 56

5.34 Rotate 1435.34 Rotate5.34.1 Detailed DescriptionThe rotate filter rotates the source clockwise by the angle specified by FE2_ROTATE_ANGLE.Filter Pa

Strona 57

Chapter 4Flix Engine Linux Page Index4.1 Flix Engine Linux Related PagesHere is a list of all related documentation pages:About Flix Engine . . . . .

Strona 58 - 5.14.5 Typedef Documentation

144 Flix Engine Linux Module Documentation5.35 Scale5.35.1 Detailed DescriptionThe video scale (resize) filter implements a high quality bicubic scaler

Strona 59 - 5.15 VP6 with Alpha

5.35 Scale 145• on2sc video_options_SetImageHeight (FLIX2HANDLE flix, const int32_t lImageHeight)Set the scaled image height.• on2sc video_options_GetI

Strona 60

146 Flix Engine Linux Module DocumentationAttention:This function can NOT be used to obtain information about the unscaled input video, use video_-opt

Strona 61 - 5.15.2 Define Documentation

5.35 Scale 147DeprecatedPlease use:• Flix2_AddFilter()• Flix2_FilterGetParam()• Flix2_FilterSetParam()With the constants:• FE2_FILTER_SCALE• FE2_SCALE

Strona 62

148 Flix Engine Linux Module Documentation5.35.4.3 on2sc video_options_GetUseSourceDimensions (const FLIX2HANDLE flix, on2bool ∗bpUseSourceDimensions)D

Strona 63

5.35 Scale 1495.35.4.5 on2sc video_options_SetImageWidth (FLIX2HANDLE flix, const int32_t lImageWidth)Set the scaled image width.Determines the scaled

Strona 64

150 Flix Engine Linux Module DocumentationDeprecatedThe flix engine encodes video using the video source dimensions by default. If FE2_FILTER_SCALEhas

Strona 65

5.36 Sharpen 1515.36 Sharpen5.36.1 Detailed DescriptionSharpens the source image using a 3x3 kernel with the values:-1/8 -1/8 -1/8-1/8 16/8 -1/8-1/8 -

Strona 66

152 Flix Engine Linux Module Documentation5.37 Flix Engine API5.37.1 Detailed DescriptionThe Flix Engine for Linux consists of two main parts: the enc

Strona 67

5.38 Main Engine Interface 1535.38 Main Engine InterfaceEnumerations• enum FE2_ExportedVideoType {ExportSWF3To6Video,ExportSWF7PlusVideo,ExportSWFVect

Strona 68 - 5.16 VP8

10 Flix Engine Linux Page IndexGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Strona 69

154 Flix Engine Linux Module Documentation• on2sc Flix2_SetOutputFile (FLIX2HANDLE flix, const on2tc ∗outputFile)Set the destination file for the encode

Strona 70 - 5.16.2 Define Documentation

5.38 Main Engine Interface 155• on2sc Flix2_Reset (FLIX2HANDLE flix)Reset the engine to its defaults.• on2sc Flix2_Validate (const FLIX2HANDLE flix)Vali

Strona 71

156 Flix Engine Linux Module Documentation5.38.1.3 enum FE2_ExportedVideoTypeOutput file types for use in calls to Flix2_SetExportVideoType() and Flix2

Strona 72

5.38 Main Engine Interface 157Remarks:Linux Only: Attempts first to connect portmap on localhost. Upon successful query of flixd’s port,initiates a conn

Strona 73

158 Flix Engine Linux Module Documentation5.38.2.4 on2sc Flix2_Destroy (FLIX2HANDLE flix)Frees resources associated with a FLIX2HANDLE.Parameters:← flix

Strona 74

5.38 Main Engine Interface 1595.38.2.6 on2sc Flix2_Errno (const FLIX2HANDLE flix, FE2_errno ∗ flixerrno, int32_t ∗ syserrno)Retrieve the current error s

Strona 75

160 Flix Engine Linux Module Documentation5.38.2.8 on2sc Flix2_GetExportAudio (const FLIX2HANDLE flix, on2bool ∗ bpExportAudio)Retrieve the engine’s cu

Strona 76

5.38 Main Engine Interface 1615.38.2.10 on2sc Flix2_GetExportVideoType (const FLIX2HANDLE flix, FE2_ExportedVideoType∗ pExportVideoType)Retrieve the cu

Strona 77 - 5.17 Encoding Statistics

162 Flix Engine Linux Module Documentation5.38.2.12 on2sc Flix2_GetOutputFile (const FLIX2HANDLE flix, on2tc ∗ pOutputFile, int32_t ∗len)Get the destin

Strona 78

5.38 Main Engine Interface 1635.38.2.14 on2sc Flix2_GetSourceDuration (const FLIX2HANDLE flix, int32_t ∗ duration)Get the duration, in milliseconds, of

Strona 79

Chapter 5Flix Engine Linux ModuleDocumentation5.1 Audio Encoding OptionsModules• DeprecatedEnumerations• enum FE2_AudioBitrates {Bitrate8kbps,Bitrate1

Strona 80

164 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()Return values:ON2_

Strona 81

5.38 Main Engine Interface 165Precondition:flix is not NULLNote:Default: on2true5.38.2.19 on2sc Flix2_SetExportVideoType (FLIX2HANDLE flix, const FE2_Ex

Strona 82 - 5.18 Filters

166 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()← inputFile Path t

Strona 83 - 5.19 Video Filters

5.38 Main Engine Interface 1675.38.2.22 on2sc Flix2_SetOverwriteExistingFiles (FLIX2HANDLE flix, const on2boolbOverwriteExistingFiles)Enable/disable ov

Strona 84 - 5.20 Audio Filters

168 Flix Engine Linux Module Documentation• input file has been set• at least one of Flix2_GetExportVideo() and Flix2_GetExportAudio() is set to on2tru

Strona 85 - 5.21 Deinterlace

5.39 Flix Engine Core Library 1695.39 Flix Engine Core Library5.39.1 Detailed DescriptionThis library, libflixengine2_core.so, encompasses the Flix Eng

Strona 86 - 5.21.5 Function Documentation

170 Flix Engine Linux Module Documentation5.39.2.2 on2sc Flix2_GetLogLevel (const FLIX2HANDLE flix, int32_t ∗ level)Retrieve current library-wide debug

Strona 87

5.39 Flix Engine Core Library 1715.39.2.5 on2sc Flix2_SetLogLevel (FLIX2HANDLE flix, int32_t level)Set the library-wide debug log level.Parameters:← fli

Strona 88 - Deprecated functions

172 Flix Engine Linux Module DocumentationRemarks:logpath can be the name of a device, e.g. /dev/stderrGenerated on Tue Jul 20 17:39:03 2010 for Flix

Strona 89 - 5.22.2 Define Documentation

5.40 Filter Manipulation 1735.40 Filter ManipulationModules• DeprecatedFunctions• on2sc Flix2_AddFilter (FLIX2PLGNHANDLE ∗pPlgn, const FLIX2HANDLE flix

Strona 90

12 Flix Engine Linux Module DocumentationValid bitrates for FE2_CODEC_LAME. For use in calls to Flix2_CodecSetParam() and Flix2_-CodecGetParam().5.1.1

Strona 91 - 5.22.3 Function Documentation

174 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:pPlgn is not NULLflix is not NULLplgn_nam

Strona 92

5.40 Filter Manipulation 175Return values:ON2_OK on successON2_INVALID_PARAMS should one or more of the preconditions failON2_NOT_SUPP the filter does

Strona 93

176 Flix Engine Linux Module DocumentationParameters:← plgn Handle to the filter returned from Flix2_AddFilter()← name Name of the parameter to set← va

Strona 94

5.41 Codec Manipulation 1775.41 Codec ManipulationFunctions• on2sc Flix2_AddCodec (FLIX2PLGNHANDLE ∗pPlgn, const FLIX2HANDLE flix, const char∗plgn_name

Strona 95

178 Flix Engine Linux Module DocumentationPrecondition:pPlgn is not NULLflix is not NULLplgn_name is not NULLSee also:Codecs5.41.1.2 on2sc Flix2_CodecG

Strona 96

5.41 Codec Manipulation 179ON2_INVALID_PARAMS should one or more of the preconditions failON2_NOT_SUPP the codec does not support this parameterON2_NE

Strona 97

180 Flix Engine Linux Module Documentation← name Name of the parameter to set← value New value for the parameterReturn values:ON2_OK on successON2_INV

Strona 98

5.42 Muxer Manipulation 1815.42 Muxer ManipulationFunctions• on2sc Flix2_AddMuxer (FLIX2PLGNHANDLE ∗pPlgn, const FLIX2HANDLE flix, const char∗plgn_name

Strona 99 - 5.23 Blur

182 Flix Engine Linux Module DocumentationPrecondition:pPlgn is not NULLflix is not NULLplgn_name is not NULLSee also:Muxers5.42.1.2 on2sc Flix2_MuxerG

Strona 100 - 5.23.3 Typedef Documentation

5.42 Muxer Manipulation 183ON2_INVALID_PARAMS should one or more of the preconditions failON2_NOT_SUPP the muxer does not support this parameterON2_NE

Strona 101

5.2 Deprecated 135.2 DeprecatedEnumerations• enum FE2_FlvAudioFormat {FlvAudioUncompressed,FlvAudioMp3 }Valid output audio formats for use in calls to

Strona 102 - 5.24 Crop

184 Flix Engine Linux Module Documentation← name Name of the parameter to set← value New value for the parameterReturn values:ON2_OK on successON2_INV

Strona 103 - 5.24.2 Define Documentation

5.43 Frame Server API 1855.43 Frame Server API5.43.1 Detailed DescriptionFlix Engine Frame Server API.The Frame Server API allows an application to pr

Strona 104 - 5.24.3 Function Documentation

186 Flix Engine Linux Module DocumentationEnumerations• enum FE2_FrameType {FrameTypeAudio,FrameTypeVideo }Frame type being passed to Flix2_EncodeFram

Strona 105

5.43 Frame Server API 1875.43.3.2 enum FE2_VideoFormatFormat of input video used in calls to Flix2_SetVideoProperties().Attention:Available only in th

Strona 106 - Deprecated

188 Flix Engine Linux Module DocumentationSee also:Example Usage5.43.4.2 on2sc Flix2_GetFrameServer (FLIX2HANDLE flix, on2bool ∗ enabled)Retrieve the c

Strona 107 - 5.25 Cut

5.43 Frame Server API 189Precondition:flix is not NULLchannels is >0 and <= 2bitspersample is 8 or 16samplerate is 11025, 22050 or 44100Attention

Strona 108 - 5.25.2 Define Documentation

190 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()← format Raw video

Strona 109 - 5.25.3 Function Documentation

5.44 Deprecated 1915.44 DeprecatedFunctions• on2sc editor_options_Reset (FLIX2HANDLE flix)Reset the media editor options to their defaults.• on2sc edit

Strona 110

192 Flix Engine Linux Module Documentation5.45 Muxers5.45.1 Detailed DescriptionMuxers are configurable both by the muxer interface and individual func

Strona 111

5.46 FLV 1935.46 FLV5.46.1 Detailed DescriptionMuxer Parameters:Name | Type | Opt/Reqd | Range========================================================

Strona 113 - 5.26 Denoise

14 Flix Engine Linux Module DocumentationSet the number of output audio channels.• on2sc audio_options_GetStereo (const FLIX2HANDLE flix, on2bool ∗pSte

Strona 114 - 5.27 Frame Rate

194 Flix Engine Linux Module Documentation• #define FE2_FLV_CUEPT_EVENTSet an event cue point.• #define FE2_FLV_CUEPT_NAVSet a navigation cue point.• #d

Strona 115 - 5.27.3 Function Documentation

5.46 FLV 1955.46.4 Define Documentation5.46.4.1 #define FE2_FLV_CUEPT_EVENTSet an event cue point.Parameter format:Format = cueptNAME ’=’ cueptTIME_SECO

Strona 116

196 Flix Engine Linux Module Documentation5.46.4.3 #define FE2_FLV_CUEPT_PARAMAdd a name/value pair to an existing cue point.Parameter format:Format =

Strona 117

5.46 FLV 1975.46.6 Enumeration Type Documentation5.46.6.1 enum flv_metadataSupported FLV onMetaData elements.Descriptions indicate the default in bold,

Strona 118

198 Flix Engine Linux Module Documentation5.47 FXM5.47.1 Detailed DescriptionThe FXM muxer produces output compatible with the Sun Java VM.Muxer Param

Strona 119

5.47 FXM 199Add a name/value pair to an existing cue point.• #define FE2_FXM_METADATA_ENABLEEnable output of meta data element.• #define FE2_FXM_METADAT

Strona 120 - 5.28 Highpass

200 Flix Engine Linux Module Documentation5.47.4.3 #define FE2_FXM_CUEPT_PARAMAdd a name/value pair to an existing cue point.Parameter format:Format =

Strona 121

5.48 3GPP - FFmpeg 2015.48 3GPP - FFmpeg5.48.1 Detailed DescriptionExample Usage:sc = Flix2_AddMuxer(&muxer, flix, FE2_MUXER_3GP);if(sc == ON2_OK)

Strona 122 - 5.29 Lowpass

202 Flix Engine Linux Module DocumentationAttention:The current implementation is a post-process. A temporary file is created within the output directo

Strona 123

5.49 3GPP2 - FFmpeg 2035.49 3GPP2 - FFmpeg5.49.1 Detailed DescriptionExample Usage:sc = Flix2_AddMuxer(&muxer, flix, FE2_MUXER_3G2);if(sc == ON2_O

Strona 124 - 5.30 Mirror

5.2 Deprecated 15Parameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()→ pBitrate Storage location to receive the

Strona 125

204 Flix Engine Linux Module DocumentationAttention:The current implementation is a post-process. A temporary file is created within the output directo

Strona 126 - 5.31 Overlay (Watermark)

5.50 MOV - FFmpeg 2055.50 MOV - FFmpeg5.50.1 Detailed DescriptionExample Usage:sc = Flix2_AddMuxer(&muxer, flix, FE2_MUXER_MOV);if(sc == ON2_OK);

Strona 127

206 Flix Engine Linux Module Documentation5.50.3 Define Documentation5.50.3.1 #define FE2_MOV_FASTSTARTFE2_ISOMEDIA_FASTSTART aliasInfluence ’moov’ box p

Strona 128 - 5.31.2 Define Documentation

5.51 MP4 - FFmpeg 2075.51 MP4 - FFmpeg5.51.1 Detailed DescriptionExample Usage:sc = Flix2_AddMuxer(&muxer, flix, FE2_MUXER_MP4);if(sc == ON2_OK);

Strona 129

208 Flix Engine Linux Module DocumentationNote:Default: 0 (disabled)Attention:The current implementation is a post-process. A temporary file is created

Strona 130

5.52 SWF 2095.52 SWF5.52.1 Detailed DescriptionMuxer Parameters:Name | Type | Opt/Reqd | Range========================================================

Strona 131

210 Flix Engine Linux Module Documentation• on2sc swf_options_GetEmbeddedUrlTarget (FLIX2HANDLE flix, char ∗embeddedUrlTarget,int32_t ∗len)Gets the tar

Strona 132 - 5.31.4 Function Documentation

5.52 SWF 211Sets the percent of the SWF movie to preload before playback begins.• on2sc swf_options_GetPreloaderType (FLIX2HANDLE flix, FE2_SwfPreloade

Strona 133

212 Flix Engine Linux Module Documentation• on2sc swf_options_SetWaitTimeToStart (FLIX2HANDLE flix, const int32_t waitTimeToStart)Sets the number of se

Strona 134

5.52 SWF 213Sets the adaptive preload buffer factor.• #define FE2_SWF_ON_END_OPTIONSets the options for the end of the SWF.• #define FE2_SWF_ON_END_URLS

Strona 135

16 Flix Engine Linux Module Documentation5.2.2.3 on2sc audio_options_GetSamplingrate (const FLIX2HANDLE flix,FE2_AudioSamplingrates ∗ pSamplingrate)Ret

Strona 136

214 Flix Engine Linux Module Documentation• enum FE2_SwfPreloaderOptions {SwfPreloaderNone,SwfFixedPreloader,SwfAdaptivePreloader }Determines the type

Strona 137

5.52 SWF 215Parameter format:Format = Variable ∗[ ’&’ Variable ]Variable = varName ’=’ varValuee.g. "n0=v0&n1=v1"Definition at line 2

Strona 138

216 Flix Engine Linux Module Documentation5.52.3.7 #define FE2_SWF_EMBEDDED_URL_TYPESet how FE2_SWF_EMBEDDED_URL is interpreted.Valid values are defined

Strona 139

5.52 SWF 2175.52.3.11 #define FE2_SWF_LOOP_COUNTSets the number of times the SWF should loop.Note:Default: 0Setting this to a value >0 will see the

Strona 140 - 5.32.1 Detailed Description

218 Flix Engine Linux Module Documentation5.52.3.16 #define FE2_SWF_START_BLANK_FRAMEControl the insertion of a blank first frame in the SWF.Note:Defaul

Strona 141

5.52 SWF 219SwfOnMovieEndSTOPSwfOnMovieEndLoopSwfOnMovieEndUnloadSwfOnMovieEndLoadMovieDefinition at line 76 of file swf.h.5.52.4.3 enum FE2_SwfOnStartO

Strona 142 - 5.32.2 Define Documentation

220 Flix Engine Linux Module DocumentationON2_INVALID_PARAMS should one or more of the preconditions failON2_NO_MEM an error occurred allocating memor

Strona 143

5.52 SWF 2215.52.5.3 on2sc swf_options_GetAdaptivePreloaderBufferFactor (FLIX2HANDLE flix, double ∗pPreloaderBufferFactor)Gets the adaptive preload buf

Strona 144

222 Flix Engine Linux Module DocumentationNote:If embeddedUrl is NULL this function will return the size in bytes required to store the current embed-

Strona 145

5.52 SWF 223Attention:Currently only supported in C/C++DeprecatedUse the Muxer Interface along with FE2_MUXER_SWF and the FE2_SWF_EMBEDDED_URL_-TARGET

Strona 146

5.2 Deprecated 175.2.2.5 on2sc audio_options_Reset (FLIX2HANDLE flix)Reset the audio encoding options to their default values.Defaults are set as descr

Strona 147 - // output PNGs to directory

224 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NULLpEnablePreloader is not N

Strona 148 - 5.33 Resample

5.52 SWF 225ON2_NO_MEM pLoadMovieOnEndUrl does not have enough allocated space to return the URL.The size in bytes needed (minus null terminator) will

Strona 149 - 5.34 Rotate

226 Flix Engine Linux Module Documentation5.52.5.11 on2sc swf_options_GetMovieOnEndOptions (FLIX2HANDLE flix,FE2_SwfOnEndOptions ∗ pOnEndOptions)Gets t

Strona 150 - 5.35 Scale

5.52 SWF 227DeprecatedUse the Muxer Interface along with FE2_MUXER_SWF and the FE2_SWF_ON_START_OPTIONparameter. This function will be removed in a fu

Strona 151 - 5.35.3 Define Documentation

228 Flix Engine Linux Module DocumentationPrecondition:flix is not NULLpPreloaderType is not NULLSee also:swf_options_SetPreloaderType()DeprecatedUse t

Strona 152 - 5.35.4 Function Documentation

5.52 SWF 229Return values:ON2_OK The engine successfully returned SWF framerate.ON2_INVALID_PARAMS should one or more of the preconditions failON2_NET

Strona 153

230 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()→ pWaitTimeToStart

Strona 154

5.52 SWF 2315.52.5.20 on2sc swf_options_SetAdaptivePreloaderBufferFactor (FLIX2HANDLE flix, constdouble preloaderBufferFactor)Sets the adaptive preload

Strona 155

232 Flix Engine Linux Module Documentation5.52.5.21 on2sc swf_options_SetEmbeddedUrl (FLIX2HANDLE flix, const char ∗ embeddedUrl)Sets the embedded URL

Strona 156

5.52 SWF 233Precondition:flix is not NULLIf embeddedUrlTarget is not NULL then it must be one of the valid values.Note:The embeddedUrlTarget will be ig

Strona 157 - 5.36 Sharpen

18 Flix Engine Linux Module Documentation5.2.2.7 on2sc audio_options_SetFlvAudioFormat (FLIX2HANDLE flix, constFE2_FlvAudioFormat format)Set the output

Strona 158 - 5.37 Flix Engine API

234 Flix Engine Linux Module DocumentationRemarks:The default value is EmbeddedUrlIsLoadMovie.See also:swf_options_SetEmbeddedUrl(), swf_options_GetEm

Strona 159 - 5.38 Main Engine Interface

5.52 SWF 235ON2_INVALID_PARAMS should one or more of the preconditions failON2_NET_ERROR the underlying communication layer failedPrecondition:flix is

Strona 160

236 Flix Engine Linux Module Documentation5.52.5.27 on2sc swf_options_SetLoopCount (FLIX2HANDLE flix, const int32_t loopCount)Sets the number of times

Strona 161

5.52 SWF 237Note:The default value is SwfOnMovieEndNothing.See also:swf_options_GetMovieOnEndOptions()DeprecatedUse the Muxer Interface along with FE2

Strona 162 - 5.38.2 Function Documentation

238 Flix Engine Linux Module Documentation← percentToPreload Percent of the SWF movie to preload before playback begins.Return values:ON2_OK SuccessON

Strona 163 - ’server:port’

5.52 SWF 239See also:swf_options_GetPreloaderType()DeprecatedUse the Muxer Interface along with FE2_MUXER_SWF and the FE2_SWF_PRELOAD_TYPE pa-rameter.

Strona 164

240 Flix Engine Linux Module DocumentationPrecondition:flix is not NULLNote:The default value will be the video framerate.The SWF framerate may be chan

Strona 165

5.52 SWF 2415.52.5.35 on2sc swf_options_UpdateVariable (FLIX2HANDLE flix, const int32_t index, const char∗ name, const char ∗ value)Updates an already

Strona 166

242 Flix Engine Linux Module Documentation5.53 WebM - FFmpeg5.53.1 Detailed DescriptionExample Usage:sc = Flix2_AddMuxer(&muxer, flix, FE2_MUXER_W

Strona 167

5.54 Base Types 2435.54 Base TypesDefines• #define OTC(str)a macro suitable for declaring a constant on2tc• #define ON2TCprintf format string suitable fo

Strona 168

5.2 Deprecated 19• source sample rate < 16000Hz, set default to Hertz11025• source sample rate >= 16000Hz and < 32000Hz, set default to Hertz

Strona 169

244 Flix Engine Linux Module DocumentationON2_WOULDBLOCK,ON2_NET_ERROR,ON2_INVALID_VERSION,ON2_INPROGRESS,ON2_NOT_SUPP,ON2_NO_MEM,ON2_INVALID_PARAMS,O

Strona 170

5.54 Base Types 2455.54.2.3 typedef on2s64 int64_tDefinition at line 130 of file on2types.h.5.54.2.4 typedef char int8_tDefinition at line 42 of file on2t

Strona 171

246 Flix Engine Linux Module Documentation5.54.2.14 typedef uint8_t on2u8Definition at line 52 of file on2types.h.5.54.2.15 typedef unsigned short uint1

Strona 172

5.54 Base Types 247ON2_NO_MEMON2_INVALID_PARAMSON2_ERRORON2_OKON2_DONEDefinition at line 137 of file on2types.h.Generated on Tue Jul 20 17:39:03 2010 fo

Strona 173

248 Flix Engine Linux Module Documentation5.55 Video Encoding OptionsModules• DeprecatedFunctions• on2sc video_options_Reset (FLIX2HANDLE flix)Reset th

Strona 174

5.55 Video Encoding Options 249→ height Source video height, in pixelsReturn values:ON2_OK The source video size was successfully retrieved from the e

Strona 175 - 5.39 Flix Engine Core Library

250 Flix Engine Linux Module Documentation→ lpSwfWidth SWF width.Return values:ON2_OK Success.ON2_NET_ERROR The underlying communication layer failed.

Strona 176

5.55 Video Encoding Options 2515.55.1.7 on2sc video_options_SetSwfHeight (FLIX2HANDLE flix, const int32_t lSwfHeight)Sets the SWF height.Parameters:← fl

Strona 177

252 Flix Engine Linux Module Documentation← bUseCustomSwfDimensions on2true to enable, on2false to disable.Return values:ON2_OK Success.ON2_NET_ERROR

Strona 178 - Remarks:

5.56 Deprecated 2535.56 DeprecatedEnumerations• enum FE2_VideoCodec {CODEC_NULL,CODEC_H263,CODEC_SCREENVIDEO,CODEC_VP6,CODEC_VP6ALPHA }Output video co

Strona 179 - 5.40 Filter Manipulation

20 Flix Engine Linux Module DocumentationReturn values:ON2_OK on successON2_INVALID_PARAMS should the precondition failON2_NET_ERROR the underlying co

Strona 180

254 Flix Engine Linux Module Documentation• on2sc video_options_GetRateControlType (const FLIX2HANDLE flix, FE2_VideoBitrateControls∗pRateControlType)G

Strona 181

5.56 Deprecated 2555.56.1 Enumeration Type Documentation5.56.1.1 enum FE2_CuePointTypeCue point type for use with video_options_AddFLVCuePoint().Depre

Strona 182

256 Flix Engine Linux Module Documentation← type Cue point type.Return values:ON2_OK on successON2_INVALID_PARAMS should one or more of the preconditi

Strona 183 - 5.41 Codec Manipulation

5.56 Deprecated 257Note:Cue points can only be added to FLV files.May add multiple parameters to a cue point.DeprecatedUse the Muxer Interface along wi

Strona 184

258 Flix Engine Linux Module DocumentationDeprecatedUse the Codec Interface along with FE2_CODEC_VP6 or FE2_CODEC_VP6ALPHA and the FE2_-VP6_CXMODE or

Strona 185

5.56 Deprecated 2595.56.2.7 on2sc video_options_GetKeyframeIntervalType (const FLIX2HANDLE flix,FE2_VideoKeyframeTypes ∗ pKeyframeIntervalType)Get the

Strona 186

260 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()→ pRateControlTyp

Strona 187 - 5.42 Muxer Manipulation

5.56 Deprecated 261Return values:ON2_OK The bitrate enable status was successfully retrieved from the engine.ON2_NET_ERROR The underlying communicatio

Strona 188

262 Flix Engine Linux Module DocumentationNote:By default, the percentage is 15%.The range is 0-100%.The codec type must be CODEC_VP6ALPHA.For example

Strona 189

5.56 Deprecated 263← lImageQuality Quality Factor (0 to 100)Return values:ON2_OK The quality value was successfully set in the engine.ON2_INVALID_PARA

Strona 190

5.3 Codecs 215.3 Codecs5.3.1 Detailed DescriptionCodecs are configurable both by the codec interface and individual functions (e.g., (audio|video)_opti

Strona 191 - 5.43 Frame Server API

264 Flix Engine Linux Module Documentation5.56.2.17 on2sc video_options_SetKeyframeIntervalType (FLIX2HANDLE flix, constFE2_VideoKeyframeTypes keyframe

Strona 192 - Functions

5.56 Deprecated 265The H.263 codec is usable down to 0.05 bpp. For lower bitrates, VP6 must be used.The default value is 448 Kbps.Setting this value w

Strona 193 - 5.43.4 Function Documentation

266 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NULLDeprecatedPlease use swf_

Strona 194

Chapter 6Flix Engine Linux File Documentation6.1 about.dox File Reference

Strona 195

268 Flix Engine Linux File Documentation6.2 binding_deviations.dox File ReferenceGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxyge

Strona 196

6.3 flixengine2/audio_options.h File Reference 2696.3 flixengine2/audio_options.h File Reference6.3.1 Detailed DescriptionReference module(s): Audio Enc

Strona 197 - 5.44 Deprecated

270 Flix Engine Linux File DocumentationFunctions• on2sc audio_options_Reset (FLIX2HANDLE flix)Reset the audio encoding options to their default values

Strona 198 - 5.45 Muxers

6.4 flixengine2/codec_constants.h File Reference 2716.4 flixengine2/codec_constants.h File Reference6.4.1 Detailed DescriptionReference module(s): Codec

Strona 199 - 5.46 FLV

272 Flix Engine Linux File Documentation6.5 flixengine2/codecs/aac.h File Reference6.5.1 Detailed DescriptionReference module(s): AAC, AAC+.Definition i

Strona 200 - Typedefs

6.6 flixengine2/codecs/amr.h File Reference 2736.6 flixengine2/codecs/amr.h File Reference6.6.1 Detailed DescriptionReference module(s): AMR_NB - FFmpeg

Strona 201 - 5.46.4 Define Documentation

22 Flix Engine Linux Module Documentation5.4 Common Codec ParametersDefines• #define FE2_CODECPARAM_BITRATECodec parameter for stream bitrate.• #define F

Strona 202 - 5.46.5 Typedef Documentation

274 Flix Engine Linux File Documentation6.7 flixengine2/codecs/codec_common.h File ReferenceDefines• #define FE2_CODECPARAM_BITRATECodec parameter for st

Strona 203

6.8 flixengine2/codecs/h263.h File Reference 2756.8 flixengine2/codecs/h263.h File Reference6.8.1 Detailed DescriptionReference module(s): H263 - FFmpeg

Strona 204 - 5.47 FXM

276 Flix Engine Linux File Documentation6.9 flixengine2/codecs/h264.h File Reference6.9.1 Detailed DescriptionReference module(s): H264.Definition in fil

Strona 205 - 5.47.4 Define Documentation

6.10 flixengine2/codecs/lame.h File Reference 2776.10 flixengine2/codecs/lame.h File Reference6.10.1 Detailed DescriptionReference module(s): MP3 - LAME

Strona 206 - 5.47.5 Typedef Documentation

278 Flix Engine Linux File Documentation6.11 flixengine2/codecs/vorbis.h File Reference6.11.1 Detailed DescriptionReference module(s): libvorbis - FFmp

Strona 207 - 5.48 3GPP - FFmpeg

6.12 flixengine2/codecs/vp6.h File Reference 2796.12 flixengine2/codecs/vp6.h File Reference6.12.1 Detailed DescriptionReference module(s): VP6.Definitio

Strona 208

280 Flix Engine Linux File DocumentationDefinesCodec name• #define FE2_CODEC_VP6Codec name for use with Flix2_AddCodec().Advanced VP6 settings• #define F

Strona 209 - 5.49 3GPP2 - FFmpeg

6.13 flixengine2/codecs/vp6_alpha.h File Reference 2816.13 flixengine2/codecs/vp6_alpha.h File Reference6.13.1 Detailed DescriptionReference module(s):

Strona 210

282 Flix Engine Linux File Documentation• #define FE2_VP6A_MIN_QAlias for FE2_VP6_MIN_Q.• #define FE2_VP6A_ALPHA_MIN_QMinimum quantizer for the alpha ch

Strona 211 - 5.50 MOV - FFmpeg

6.14 flixengine2/codecs/vp8.h File Reference 2836.14 flixengine2/codecs/vp8.h File Reference6.14.1 Detailed DescriptionReference module(s): VP8.Definitio

Strona 212 - 5.50.3 Define Documentation

5.4 Common Codec Parameters 23See also:FE2_VideoKeyframeTypesDefinition at line 67 of file codec_common.h.5.4.1.3 #define FE2_VCODECPARAM_KFINTTYPEVideo

Strona 213 - 5.51 MP4 - FFmpeg

284 Flix Engine Linux File DocumentationAlias for FE2_VCODECPARAM_KFINTTYPE.• #define FE2_VP8_KFFREQAlias for FE2_VCODECPARAM_KFFREQ.• #define FE2_VP8_R

Strona 214

6.15 flixengine2/encoding_status.h File Reference 2856.15 flixengine2/encoding_status.h File Reference6.15.1 Detailed DescriptionReference module(s): En

Strona 215 - 5.52 SWF

286 Flix Engine Linux File Documentation6.16 flixengine2/filter_constants.h File Reference6.16.1 Detailed DescriptionReference module(s): Filters.Definit

Strona 216

6.17 flixengine2/filters/adaptive_deinterlace.h File Reference 2876.17 flixengine2/filters/adaptive_deinterlace.h File Reference6.17.1 Detailed Descriptio

Strona 217

288 Flix Engine Linux File Documentation6.18 flixengine2/filters/bchs.h File Reference6.18.1 Detailed DescriptionReference module(s): Brightness/Contras

Strona 218

6.19 flixengine2/filters/blur.h File Reference 2896.19 flixengine2/filters/blur.h File Reference6.19.1 Detailed DescriptionReference module(s): Blur.Defini

Strona 219

290 Flix Engine Linux File Documentation6.20 flixengine2/filters/crop.h File Reference6.20.1 Detailed DescriptionReference module(s): Crop.Definition in

Strona 220 - 5.52.3 Define Documentation

6.21 flixengine2/filters/cut.h File Reference 2916.21 flixengine2/filters/cut.h File Reference6.21.1 Detailed DescriptionReference module(s): Cut.Definitio

Strona 221

292 Flix Engine Linux File Documentation6.22 flixengine2/filters/denoise.h File Reference6.22.1 Detailed DescriptionReference module(s): Denoise.Definiti

Strona 222

6.23 flixengine2/filters/framerate.h File Reference 2936.23 flixengine2/filters/framerate.h File Reference6.23.1 Detailed DescriptionReference module(s):

Strona 223

Contents1 Flix Engine Documentation 11.1 Page Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Introduc

Strona 224

24 Flix Engine Linux Module Documentation5.5 Video CodecsModules• H263 - FFmpeg• H264• VP6• VP6 with Alpha• VP8Generated on Tue Jul 20 17:39:03 2010 f

Strona 225 - 5.52.5 Function Documentation

294 Flix Engine Linux File Documentation6.24 flixengine2/filters/highpass.h File Reference6.24.1 Detailed DescriptionReference module(s): Highpass.Defini

Strona 226

6.25 flixengine2/filters/lowpass.h File Reference 2956.25 flixengine2/filters/lowpass.h File Reference6.25.1 Detailed DescriptionReference module(s): Lowp

Strona 227

296 Flix Engine Linux File Documentation6.26 flixengine2/filters/mirror.h File Reference6.26.1 Detailed DescriptionReference module(s): Mirror.Definition

Strona 228

6.27 flixengine2/filters/overlay.h File Reference 2976.27 flixengine2/filters/overlay.h File Reference6.27.1 Detailed DescriptionReference module(s): Over

Strona 229

298 Flix Engine Linux File DocumentationEnumerations• enum FE2_OverlayPositionMode {FE2_OVERLAY_POS_MODE_TOPLEFT,FE2_OVERLAY_POS_MODE_BOTLEFT,FE2_OVER

Strona 230

6.28 flixengine2/filters/png_export.h File Reference 2996.28 flixengine2/filters/png_export.h File Reference6.28.1 Detailed DescriptionReference module(s)

Strona 231

300 Flix Engine Linux File DocumentationFilter parameter for setting compression level used by libpng.• #define FE2_PNGEX_WIDTHFilter parameter for set

Strona 232

6.29 flixengine2/filters/resample.h File Reference 3016.29 flixengine2/filters/resample.h File Reference6.29.1 Detailed DescriptionReference module(s): Re

Strona 233

302 Flix Engine Linux File Documentation6.30 flixengine2/filters/rotate.h File Reference6.30.1 Detailed DescriptionReference module(s): Rotate.Definition

Strona 234

6.31 flixengine2/filters/scale.h File Reference 3036.31 flixengine2/filters/scale.h File Reference6.31.1 Detailed DescriptionReference module(s): Scale.De

Strona 235

5.6 Audio Codecs 255.6 Audio CodecsModules• AAC• AAC+• AMR_NB - FFmpeg• MP3 - LAME• libvorbis - FFmpegDefines• #define FE2_CODEC_PCM’Codec’ name for use

Strona 236

304 Flix Engine Linux File Documentation6.32 flixengine2/filters/sharpen.h File Reference6.32.1 Detailed DescriptionReference module(s): Sharpen.Definiti

Strona 237

6.33 flixengine2/flixengine2.h File Reference 3056.33 flixengine2/flixengine2.h File Reference6.33.1 Detailed DescriptionReference module(s): Main Engine

Strona 238

306 Flix Engine Linux File Documentation• enum FE2_EncState {EncStateIdle,EncStateRunning,EncStateQueued }Encoder state returned by Flix2_GetEncoderSt

Strona 239

6.33 flixengine2/flixengine2.h File Reference 307• on2sc Flix2_SetOverwriteExistingFiles (FLIX2HANDLE flix, const on2bool bOverwriteExisting-Files)Enable

Strona 240

308 Flix Engine Linux File Documentation• on2sc Flix2_IsEncoderRunning (const FLIX2HANDLE flix, on2bool ∗bpIsEncoderRunning)Check the status of an enco

Strona 241

6.33 flixengine2/flixengine2.h File Reference 309• on2sc Flix2_CodecGetParamAsStr (FLIX2PLGNHANDLE plgn, const char ∗name, on2tc ∗value,int32_t ∗len)Ret

Strona 242

310 Flix Engine Linux File Documentation6.33.2.4 #define FLIXENGINE_VERSION_MAJORDefinition at line 34 of file flixengine2.h.6.33.2.5 #define FLIXENGINE_VE

Strona 243

6.34 flixengine2/fs_options.h File Reference 3116.34 flixengine2/fs_options.h File Reference6.34.1 Detailed DescriptionReference module(s): Frame Server

Strona 244

312 Flix Engine Linux File Documentation6.35 flixengine2/media_editor_options.h File Reference6.35.1 Detailed DescriptionReference module(s): Filter Ma

Strona 245

6.35 flixengine2/media_editor_options.h File Reference 313Set the contrast adjustment factor.• on2sc editor_options_GetUseContrast (const FLIX2HANDLE fl

Strona 246

26 Flix Engine Linux Module Documentation5.7 AAC5.7.1 Detailed DescriptionExample Usage:sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_AAC);// Use 12

Strona 247

314 Flix Engine Linux File Documentation6.36 flixengine2/muxer_constants.h File Reference6.36.1 Detailed DescriptionReference module(s): Muxers.Definiti

Strona 248 - 5.53 WebM - FFmpeg

6.37 flixengine2/muxers/flv.h File Reference 3156.37 flixengine2/muxers/flv.h File Reference6.37.1 Detailed DescriptionReference module(s): FLV Muxer.Defin

Strona 249 - 5.54 Base Types

316 Flix Engine Linux File DocumentationMD_HEIGHT,MD_FRAMERATE,MD_CANSEEKTOEND,MD_LASTTIMESTAMP,MD_LASTKEYFRAMETIMESTAMP,MD_LASTKEYFRAMELOCATION,MD_KE

Strona 250 - 5.54.2 Typedef Documentation

6.38 flixengine2/muxers/fxm.h File Reference 3176.38 flixengine2/muxers/fxm.h File Reference6.38.1 Detailed DescriptionReference module(s): FXM Muxer.De

Strona 251

318 Flix Engine Linux File Documentation6.39 flixengine2/muxers/isomedia.h File Reference6.39.1 Detailed DescriptionReference module(s):3GPP Muxer, 3GP

Strona 252

6.39 flixengine2/muxers/isomedia.h File Reference 319Attention:The current implementation is a post-process. A temporary file is created within the outp

Strona 253

320 Flix Engine Linux File Documentation6.40 flixengine2/muxers/swf.h File Reference6.40.1 Detailed DescriptionReference module(s): SWF Muxer.Definition

Strona 254 - 5.55 Video Encoding Options

6.40 flixengine2/muxers/swf.h File Reference 321Sets the options for the start of the SWF.• #define FE2_SWF_START_BLANK_FRAMEControl the insertion of a

Strona 255

322 Flix Engine Linux File Documentation6.41 flixengine2/muxers/webm.h File Reference6.41.1 Detailed DescriptionReference module(s): WebM Muxer.Definiti

Strona 256

6.42 flixengine2/on2types.h File Reference 3236.42 flixengine2/on2types.h File Reference6.42.1 Detailed DescriptionReference module(s): Base Types.Defini

Strona 257

5.7 AAC 275.7.2 Define Documentation5.7.2.1 #define FE2_AAC_BITRATEAlias for FE2_CODECPARAM_BITRATE.Codec parameter for stream bitrate.Compressed stream

Strona 258

324 Flix Engine Linux File DocumentationEnumerations• enum _on2bool {on2false,on2true }• enum on2sc {ON2_NOT_FOUND,ON2_BUFFER_EMPTY,ON2_BUFFER_FULL,ON

Strona 259 - 5.56 Deprecated

6.43 flixengine2/overlay_options.h File Reference 3256.43 flixengine2/overlay_options.h File Reference6.43.1 Detailed DescriptionReference module(s): Ov

Strona 260

326 Flix Engine Linux File Documentation6.44 flixengine2/swf_options.h File Reference6.44.1 Detailed DescriptionReference module(s): SWF.Definition in fi

Strona 261 - 5.56.2 Function Documentation

6.44 flixengine2/swf_options.h File Reference 327• on2sc swf_options_SetSwfFramerateAsDouble (FLIX2HANDLE flix, const double swfFramer-ate)Sets the SWF

Strona 262

328 Flix Engine Linux File Documentation• on2sc swf_options_GetMovieOnStartOptions (FLIX2HANDLE flix, FE2_SwfOnStartOptions∗pOnStartOptions)Gets the op

Strona 263

6.45 flixengine2/video_options.h File Reference 3296.45 flixengine2/video_options.h File Reference6.45.1 Detailed DescriptionReference module(s): Video

Strona 264

330 Flix Engine Linux File DocumentationGet the current keyframe interval type.• on2sc video_options_SetKeyframeIntervalType (FLIX2HANDLE flix, const F

Strona 265

6.45 flixengine2/video_options.h File Reference 331Gets the SWF framerate.• on2sc video_options_SetSwfFramerate (FLIX2HANDLE flix, const int32_t swfFram

Strona 266

332 Flix Engine Linux File Documentation• on2sc video_options_SetImageWidth (FLIX2HANDLE flix, const int32_t lImageWidth)Set the scaled image width.• o

Strona 267

6.46 mainpage.dox File Reference 3336.46 mainpage.dox File ReferenceGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Strona 268

28 Flix Engine Linux Module Documentation5.8 AAC+5.8.1 Detailed DescriptionExample Usage:sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_AACPLUS);// U

Strona 269

334 Flix Engine Linux File Documentation6.47 samples.dox File ReferenceGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Strona 270

Chapter 7Flix Engine Linux Page Documentation7.1 About Flix Engine7.1.1 Version InformationVersion: 8.0.17.17.1.2 Third Parties• This Flix product inc

Strona 271

336 Flix Engine Linux Page DocumentationCopyright (c) 1998-2007 The OpenSSL Project. All rights reserved.Redistribution and use in source and binary f

Strona 272

7.1 About Flix Engine 337If this package is used in a product, Eric Young should be given attributionas the author of the parts of the library used.Th

Strona 273 - Chapter 6

338 Flix Engine Linux Page DocumentationTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS‘‘AS IS’’ AND ANY EXPRESS OR IMPLIED WARRAN

Strona 274

7.2 Language Binding API Deviations 3397.2 Language Binding API DeviationsThe Flix Engine language bindings endeavor to remain as true as possible to

Strona 275 - 6.3.1 Detailed Description

340 Flix Engine Linux Page Documentation$flix= flix2handlep_value($flixptr);$flix is now the handle to use in the remaining API calls, for example:Fli

Strona 276

7.2 Language Binding API Deviations 341##using the flix engine namespacepackage On2::flixengine2;$a_string_constant= $FE2_FILTER_PNGEX;$sc= Flix2_Code

Strona 277 - 6.4.1 Detailed Description

342 Flix Engine Linux Page Documentation• PHP##sc is $res[0], value is $res[1]#boolean$res= Flix2_IsEncoderRunning($flix);#integer$res= video_options_

Strona 278 - 6.5.1 Detailed Description

7.3 FE2_VP6_CONCURRENCY Performance 3437.3 FE2_VP6_CONCURRENCY PerformanceWhat follows are graphs of the mean encode time over 5 successive encodes fo

Strona 279 - 6.6.1 Detailed Description

5.8 AAC+ 295.8.2 Define Documentation5.8.2.1 #define FE2_AACPLUS_BITRATEAlias for FE2_CODECPARAM_BITRATE.Codec parameter for stream bitrate.Compressed s

Strona 280

344 Flix Engine Linux Page Documentation7.3.1.1 320x240 (QVGA)FE2_CODEC_H263FE2_VP6_KFFREQ(30)FE2_VP6_KFFREQ(60)FE2_VP6_KFFREQ(180)FE2_VP6_KFFREQ(360)

Strona 281 - 6.8.1 Detailed Description

7.3 FE2_VP6_CONCURRENCY Performance 3457.3.1.2 640x480 (VGA)FE2_CODEC_H263FE2_VP6_KFFREQ(30)FE2_VP6_KFFREQ(60)FE2_VP6_KFFREQ(180)FE2_VP6_KFFREQ(360)Ti

Strona 282 - 6.9.1 Detailed Description

346 Flix Engine Linux Page Documentation7.3.1.3 1024x464FE2_CODEC_H263FE2_VP6_KFFREQ(30)FE2_VP6_KFFREQ(60)FE2_VP6_KFFREQ(180)FE2_VP6_KFFREQ(360)Time i

Strona 283 - 6.10.1 Detailed Description

7.3 FE2_VP6_CONCURRENCY Performance 3477.3.1.4 1280x720 (720p)FE2_CODEC_H263FE2_VP6_KFFREQ(360)FE2_VP6_KFFREQ(180)FE2_VP6_KFFREQ(60)FE2_VP6_KFFREQ(30)

Strona 284 - 6.11.1 Detailed Description

348 Flix Engine Linux Page Documentation7.3.2.1 320x240 (QVGA)FE2_CODEC_H263FE2_VP6_KFFREQ(30)FE2_VP6_KFFREQ(360)FE2_VP6_KFFREQ(60)FE2_VP6_KFFREQ(180)

Strona 285 - General VP6 settings

7.3 FE2_VP6_CONCURRENCY Performance 3497.3.2.2 640x480 (VGA)FE2_CODEC_H263FE2_VP6_KFFREQ(30)FE2_VP6_KFFREQ(60)FE2_VP6_KFFREQ(180)FE2_VP6_KFFREQ(360)Ti

Strona 286

350 Flix Engine Linux Page Documentation7.3.2.3 1024x464FE2_CODEC_H263FE2_VP6_KFFREQ(30)FE2_VP6_KFFREQ(60)FE2_VP6_KFFREQ(180)FE2_VP6_KFFREQ(360)Time i

Strona 287 - 6.13.1 Detailed Description

7.3 FE2_VP6_CONCURRENCY Performance 3517.3.2.4 1280x720 (720p)FE2_CODEC_H263FE2_VP6_KFFREQ(360)FE2_VP6_KFFREQ(180)FE2_VP6_KFFREQ(30)FE2_VP6_KFFREQ(60)

Strona 288

352 Flix Engine Linux Page Documentation7.4 CHANGELOG2010-07-20 v8.0.17.1 Linux2010-07-20 v8.0.17.1_DEMO Linux2010-07-20 v8.0.17.1 Windows COM v0.0.9.

Strona 289 - 6.14.1 Detailed Description

7.4 CHANGELOG 353inspected, providing behavior similar to r27474 snapshot.- updated patches:o libavformat_mov-avoid_reporting_empty_av_streams.diff,mo

Strona 290

30 Flix Engine Linux Module Documentation5.9 AMR_NB - FFmpeg5.9.1 Detailed DescriptionAMR narrowband encoder.Valid bitrates:AMR narrowband only suppor

Strona 291 - 6.15.1 Detailed Description

354 Flix Engine Linux Page Documentationo mpegvideo-revert_r18381.diff - temporary, changes at this revision crashselect internal test clipso stream_f

Strona 292 - 6.16.1 Detailed Description

7.4 CHANGELOG 355- FE2_MUXER_3GP/FE2_MUXER_3G2/FE2_MUXER_MOV/FE2_MUXER_MP4, write edit listcontaining empty edit for streams w/non-zero start time cor

Strona 293 - 6.17.1 Detailed Description

356 Flix Engine Linux Page DocumentationNew header file: filters/{mirror,rotate}.h- (Linux) mencoder, update snapshot to r27474Additional differences

Strona 294 - 6.18.1 Detailed Description

7.4 CHANGELOG 357- new patches:o asfhdr_correct_movielength.diff: correct duration calculation by usingdouble precision as well as correct units for p

Strona 295 - 6.19.1 Detailed Description

358 Flix Engine Linux Page Documentationadjustment. value is in ms, 0=no timeout.- FE2_CODEC_VP6ALPHA, add pixel normalize to help avoid loss of trans

Strona 296 - 6.20.1 Detailed Description

7.4 CHANGELOG 359+--------------------------+2007-12-14 v8.0.10.1 Linux2007-12-14 v8.0.10.1_DEMO Linux2007-12-14 v8.0.10.1 Windows COM v0.0.4.02007-12

Strona 297 - 6.21.1 Detailed Description

360 Flix Engine Linux Page Documentationo ffmpeg_correct_dimensions.diff - addresses cropped output inMPG/MP4/MOV fileso mov_01_edl_kf_search.diff - u

Strona 298 - 6.22.1 Detailed Description

7.4 CHANGELOG 361http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2445- FE2_FILTER_PNGEX, should end-of-stream be encountered and not all reques

Strona 299 - 6.23.1 Detailed Description

362 Flix Engine Linux Page Documentation- (linux,mencoder) allow mean framerate patch to only increase outputframerate. avoids artifacts when decoding

Strona 300 - 6.24.1 Detailed Description

7.4 CHANGELOG 363duplicated. depending on the content this may have produced an audibledistortion in the output. in addition, break final mp3 block in

Strona 301 - 6.25.1 Detailed Description

5.9 AMR_NB - FFmpeg 31AMR Narrowband. Codec name for use with Flix2_AddCodec().• #define FE2_AMR_BITRATEAlias for FE2_CODECPARAM_BITRATE.5.9.2 Define Do

Strona 302 - 6.26.1 Detailed Description

364 Flix Engine Linux Page Documentationprevious versions would correctly decimate the input, but report the sourceframe rate, adversely affecting vid

Strona 303 - 6.27.1 Detailed Description

7.5 flixd man page 3657.5 flixd man pageFLIXD(8) FLIXD(8)NAMEflixd - Flix encoding daemonSYNOPSISflixd [ -d ] [ -p port ] [ -i interface ] [ -r ] [ --ma

Strona 304

366 Flix Engine Linux Page Documentation--authdir pathpath to search for flixd authorization files (default: user’shome directory)--pidfile filewrite

Strona 305 - 6.28.1 Detailed Description

7.5 flixd man page 367o See the Flix Engine API documentation for complete list-ing/descriptionBUGSEmail bug reports to [email protected]. Make sure

Strona 306

368 Flix Engine Linux Page Documentation7.6 SamplesSample usage of the Flix Engine API. The easiest way to test your installation is to run the C comm

Strona 307 - 6.29.1 Detailed Description

7.7 Overview 3697.7 Overview===============================================================================Copyright (c) On2 Technologies Inc. All Rig

Strona 308 - 6.30.1 Detailed Description

370 Flix Engine Linux Page Documentationthese examplescli_encode.php - php command line example similar to the java and perlexamples described above.f

Strona 309 - 6.31.1 Detailed Description

7.8 Command Line 3717.8 Command Line/*//==========================================================================//// Copyright (c) On2 Technologies

Strona 310 - 6.32.1 Detailed Description

372 Flix Engine Linux Page Documentation/*Options may be set and codecs/filters/muxers may be added prior to Flix2_Encode()*//*Add the scale filter{FL

Strona 311 - 6.33.1 Detailed Description

7.9 Command Line 3737.9 Command Line/*//==========================================================================//// Copyright (c) On2 Technologies

Strona 312

32 Flix Engine Linux Module Documentation5.10 H263 - FFmpeg5.10.1 Detailed DescriptionThe H263 codec ...Example Usage:sc = Flix2_AddCodec(&codec,

Strona 313

374 Flix Engine Linux Page DocumentationOptions may be set and codecs/filters/muxers may be added prior to Encode()*//*Add the scale filterFilter filt

Strona 314

7.10 Command Line 3757.10 Command Line#!/usr/bin/perl -w##==========================================================================#### Copyright (c)

Strona 315 - 6.33.2 Define Documentation

376 Flix Engine Linux Page Documentation## A port may be specified by giving rpchost in the form ’server:port’## to avoid making a connection to portm

Strona 316 - 6.33.3 Typedef Documentation

7.10 Command Line 377# checksc(’Flix2_CodecSetParam($FE2_VP6_RC_MODE,$VBR_1PASSControl)’,$sc);###cleanup#delete_flix2plgnhandlep($codecptr); $codecptr

Strona 317 - 6.34.1 Detailed Description

378 Flix Engine Linux Page Documentation7.11 CGIThis example consists of 2 parts: flix2_sample.cgi and process_sample.cgi. flix2_sample.cgi searches for

Strona 318 - 6.35.1 Detailed Description

7.11 CGI 379i++;}}function toggle_expand(_this){_this.parentNode.className= (_this.parentNode.className==’expanded’) ?’collapsed’ : ’expanded’;documen

Strona 319

380 Flix Engine Linux Page Documentationvar i=0;while(list[i]) {if(list[i].type==’checkbox’) { list[i++].checked=false; }else { list[i++].value=’’; }}

Strona 320 - 6.36.1 Detailed Description

7.11 CGI 381content: "";color: inherit;background-color: rgb(250,250,250);border-top: 1px solid rgb(144,144,144);height: 20px;width: 100%;di

Strona 321 - 6.37.1 Detailed Description

382 Flix Engine Linux Page Documentationtable {font-size: 100%;border-spacing: 0;/*border-collapse: collapse;*/width: 100%;}th:before { display: none;

Strona 322

7.11 CGI 383<p>This page requires javascript be enabled.</p></noscript><hr><h1>Flix CGI Sample</h1><p><sm

Strona 323 - 6.38.1 Detailed Description

5.10 H263 - FFmpeg 335.10.2.2 #define FE2_CODEC_H263_BASELINECodec name for use with Flix2_AddCodec().Specifically this codec refers to the baseline H.2

Strona 324 - 6.39.2 Define Documentation

384 Flix Engine Linux Page Documentation<tr><td><input type="text" name="Flix2_SetOutputFile" value="cgi-pl-ou

Strona 325 - Attention:

7.11 CGI 385<label><input type=’radio’ name=’vcodec:’ value=’FE2_CODEC_VP6’onfocus="set_vcodec_visible(’vp6table’)"><abbr tit

Strona 326 - 6.40.1 Detailed Description

386 Flix Engine Linux Page Documentation<select name="Flix2_CodecSetParam:FE2_VP6_CXMODE"><option value=""></option

Strona 327

7.11 CGI 387<th><abbr title="Default: 6 (CBR only)">FE2_VP6_STREAM_PREBUFFER</abbr></th><td><input type=’te

Strona 328 - 6.41.1 Detailed Description

388 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: COMPRESSMODE_GOOD">FE2_VP6A_CXMODE</abbr></

Strona 329 - 6.42.1 Detailed Description

7.11 CGI 389</tr><tr><th><abbr title="Default: 100">FE2_VP6A_STREAM_PEAK_BITRATE</abbr></th><td>&l

Strona 330 - 6.42.2 Define Documentation

390 Flix Engine Linux Page Documentation</select></td></tr><tr><th><abbr title="Default: 31">FE2_H263_MA

Strona 331 - 6.43.1 Detailed Description

7.11 CGI 391<tr><th><abbr title="Default: 448kbps">FE2_VP8_BITRATE</abbr></th><td><input type=’text’

Strona 332 - 6.44.1 Detailed Description

392 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: 200">FE2_VP8_OVERSHOOT_PCT</abbr></th>&l

Strona 333

7.11 CGI 393<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_VP8_AR_TYPE’></td></tr><tr><th><abbr title=&qu

Strona 334

ii CONTENTS5.14 VP6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435.15 VP6 with Alpha . . . . . . . .

Strona 335 - 6.45.1 Detailed Description

34 Flix Engine Linux Module Documentation5.10.2.5 #define FE2_H263_KFINTTYPEAlias for FE2_VCODECPARAM_KFINTTYPE.Video codec parameter for the keyframe

Strona 336

394 Flix Engine Linux Page Documentation</tr></table><!-- END - AMR_NB codec parameters --><!-- AAC codec parameters --><ta

Strona 337

7.11 CGI 395</table><!-- END - PCM codec parameters --><!-- VORBIS codec parameters --><table id=’vorbistable’ class=’hidden’>

Strona 338

396 Flix Engine Linux Page Documentation<td><label><input type=’checkbox’ class=’filter’name=’FE2_FILTER_ADAPTIVE_DEINTERLACE’ value=’v

Strona 339

7.11 CGI 397<table id=’filter_blur’ class=’disabled’><tr><th><abbr title="Default: BLUR_GAUSS">FE2_BLUR_FILTER</a

Strona 340

398 Flix Engine Linux Page Documentation<input type=’checkbox’ class=’filter’name=’FE2_FILTER_DENOISE’ value=’vfilter:’onchange="toggle_ftable

Strona 341 - Chapter 7

7.11 CGI 399<option value=""></option><option value="on2false">FALSE</option><option value="on2tru

Strona 342

400 Flix Engine Linux Page Documentation</tr><tr><th><abbr title="Default: 0">FE2_OVERLAY_MASK_Y</abbr></th

Strona 343 - • libogg (http://xiph.org/)

7.11 CGI 401</label><table id=’filter_pngex’ class=’disabled’><tr><th><abbr title="Default: output file directory"

Strona 344

402 Flix Engine Linux Page Documentation<option value="FE2_PNGEX_CP_EVENT">Only event cue points (FE2_PNGEX_CP_EVENT)</option>&l

Strona 345

7.11 CGI 403<table id=’filter_scale’ class=’disabled’><tr><th><abbr title="Default: input image width">FE2_SCALE_WID

Strona 346 - 7.2.4 Constants

5.11 H264 355.11 H2645.11.1 Detailed DescriptionThe H264 video codec.Example Usage:sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_H264);// Use 450kbi

Strona 347 - 7.2.5 Functions

404 Flix Engine Linux Page Documentationonchange="toggle_ftable(’filter_lowpass’,this.checked)">FE2_FILTER_LOWPASS</label><table

Strona 348

7.11 CGI 405<input type=’radio’ name=’muxer:’ value=’FE2_MUXER_MOV’onfocus="set_muxer_visible(’movtable’)">FE2_MUXER_MOV&nbsp;<

Strona 349 - 7.3.1 Intel Pentium 4 540

406 Flix Engine Linux Page Documentation</table><!-- END - 3G2 muxer parameters --><!-- FLV muxer parameters --><table id=’flvtab

Strona 350 - 7.3.1.1 320x240 (QVGA)

7.11 CGI 407<tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_ENABLE:MD_WIDTH’><abbr title="Default: Enabled">

Strona 351 - 7.3.1.2 640x480 (VGA)

408 Flix Engine Linux Page Documentation</tr><tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_DISABLE:MD_AUDIO_DATARATE’&

Strona 352 - 7.3.1.3 1024x464

7.11 CGI 409<!-- FXM muxer parameters --><table id=’fxmtable’ class=’hidden’><tr><th><abbr title="Format = cueptNAME ’

Strona 353 - 7.3.2 Intel Xeon X5355

410 Flix Engine Linux Page Documentation<td><input type=’checkbox’ id=’Flix2_MuxerSetParam:FE2_FXM_METADATA_ENABLE:MD_WIDTH’ name=’Flix2_Muxe

Strona 354 - 7.3.2.1 320x240 (QVGA)

7.11 CGI 411<th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_DISABLE:MD_AUDIO_DATARATE’><abbr title="Default: Enabled">

Strona 355 - 7.3.2.2 640x480 (VGA)

412 Flix Engine Linux Page Documentation<th><abbr title="Default: FALSE">FE2_ISOMEDIA_FASTSTART</abbr></th><td>

Strona 356 - 7.3.2.3 1024x464

7.11 CGI 413<tr><th><abbr title="Default: EmbeddedUrlIsLoadMovie">FE2_SWF_EMBEDDED_URL_TYPE</abbr></th><td&

Strona 357 - 7.3.2.4 1280x720 (720p)

36 Flix Engine Linux Module Documentation• #define FE2_H264_RC_MODEAlias for FE2_VCODECPARAM_RC_MODE.• #define FE2_H264_PROFILECodec parameter for encod

Strona 358 - 7.4 CHANGELOG

414 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: SwfOnMovieEndNothing">FE2_SWF_ON_END_OPTION</abbr

Strona 359 - 7.4 CHANGELOG 353

7.11 CGI 415#once setup is complete, call encode to produce an output file located in outdiruse CGI qw(:standard);use On2::flixengine2;sub print_encod

Strona 360

416 Flix Engine Linux Page Documentationpackage On2::flixengine2;##if name is a codec name, e.g. FE2_CODEC_VP6, add an instance##we’ll assume all Flix

Strona 361 - 7.4 CHANGELOG 355

7.11 CGI 417$sc = Flix2_AddMuxer($muxerptr, $flix, ${$name});::process_sc(’Flix2_AddMuxer’,$sc);#retrieve the muxer handle to be used in all Muxer API

Strona 362

418 Flix Engine Linux Page Documentation"<br>Please make $i accessible or modify the $tt"." value defined in ’$0’.<br>\n&qu

Strona 363 - 7.4 CHANGELOG 357

7.12 Command Line 4197.12 Command Line#!/usr/bin/env php<?php##==========================================================================#### Copyr

Strona 364

420 Flix Engine Linux Page Documentation}$timeout_s = 0; #rpc timeout in seconds, 0=use default (25s)$flixptr = new_flix2handlep();$sc = Flix2_CreateE

Strona 365 - 7.4 CHANGELOG 359

7.12 Command Line 421###cleanup#delete_flix2plgnhandlep($codecptr); unset($codecptr);###Use the FLV muxer (default)#$muxerptr= new_flix2plgnhandlep();

Strona 366

422 Flix Engine Linux Page Documentation7.13 CGIThis example consists of 2 parts: flix2_sample.php and process_sample.php. flix2_sample.php searchesfor

Strona 367 - 7.4 CHANGELOG 361

7.13 CGI 423_this.parentNode.className= (_this.parentNode.className==’expanded’) ?’collapsed’ : ’expanded’;document.getElementById(’showall’).checked=

Strona 368

5.11 H264 375.11.3.3 #define FE2_H264_BITRATEAlias for FE2_CODECPARAM_BITRATE.Codec parameter for stream bitrate.Compressed stream bitrate in kbits/sec

Strona 369 - 7.4 CHANGELOG 363

424 Flix Engine Linux Page Documentationfunction toggle_ftable(ftable,enabled){var table= document.getElementById(ftable);if(table) {table.className =

Strona 370

7.13 CGI 425display: block;}fieldset table, fieldset {display: none;}fieldset.expanded, fieldset.collapsed {display: block;}/*first is fallback for IE

Strona 371 - 7.5 flixd man page

426 Flix Engine Linux Page Documentationth:before { display: none; }th, td {width: 50%;vertical-align: top;padding: 2px 3px;border-width: 1px 0;border

Strona 372

7.13 CGI 427HTML_END;if($incret == FALSE) {echo "<p><b>"."ERROR: include(’flixengine2.php’) failed.<br>"."E

Strona 373 - 7.5 flixd man page 367

428 Flix Engine Linux Page Documentation<!-- ##DST FILE################################################################# --><hr><fields

Strona 374 - 7.6 Samples

7.13 CGI 429<input type=’radio’ name=’vcodec:’ value=’FE2_CODEC_VP8’onfocus="set_vcodec_visible(’vp8table’)"><abbr title="For

Strona 375 - 7.7 Overview

430 Flix Engine Linux Page Documentation</td></tr><tr><th><abbr title="Default: COMPRESSMODE_GOOD">FE2_VP6_CXM

Strona 376

7.13 CGI 431<tr><th><abbr title="Default: 100">FE2_VP6_STREAM_PEAK_BITRATE</abbr></th><td><input type

Strona 377 - 7.8 Command Line

432 Flix Engine Linux Page Documentation<option value="CBR_2PASSControl">CBR_2PASSControl</option><option value="VBR_1PA

Strona 378

7.13 CGI 433<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_VP6A_TEMPORAL_RESAMPLING’></td></tr><tr><th><a

Strona 379 - 7.9 Command Line

38 Flix Engine Linux Module DocumentationDefinition at line 89 of file h264.h.5.11.3.7 #define FE2_H264_RC_MODEAlias for FE2_VCODECPARAM_RC_MODE.Note:Def

Strona 380

434 Flix Engine Linux Page Documentation<select name="Flix2_CodecSetParam:FE2_H263_RC_MODE"><option value=""></opti

Strona 381 - 7.10 Command Line

7.13 CGI 435</table><!-- END - H264 codec parameters --><!-- VP8 codec parameters --><table id=’vp8table’ class=’hidden’><t

Strona 382

436 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: 95">FE2_VP8_UNDERSHOOT_PCT</abbr></th>&l

Strona 383 - 7.10 Command Line 377

7.13 CGI 437<th><abbr title="">FE2_VP8_AR_MAX_FRAMES</abbr></th><td><input type=’text’ name=’Flix2_CodecSet

Strona 384 - 7.11 CGI

438 Flix Engine Linux Page Documentation<!-- AMR_NB codec parameters --><table id=’amrnbtable’ class=’hidden’><tr><th><abbr

Strona 385 - 7.11 CGI 379

7.13 CGI 439<!-- PCM codec parameters --><table id=’pcmtable’ class=’hidden’><tr><th>(FE2_CODEC_PCM defines no parameters)<

Strona 386

440 Flix Engine Linux Page Documentation</tr><!-- END - CUT filter parameters --><tr><th><b>Video Filters</b></

Strona 387 - 7.11 CGI 381

7.13 CGI 441<label><input type=’checkbox’ class=’filter’name=’FE2_FILTER_BLUR’ value=’vfilter:’onchange="toggle_ftable(’filter_blur’,thi

Strona 388

442 Flix Engine Linux Page Documentation</tr><!-- END - CROP filter parameters --><tr><td><label><input type=’checkbo

Strona 389 - 7.11 CGI 383

7.13 CGI 443</tr><tr><th><abbr title="Default: 0 (disabled)">FE2_MIRROR_VERTICAL</abbr></th><td>&l

Strona 390

5.12 MP3 - LAME 395.12 MP3 - LAME5.12.1 Detailed DescriptionThe LAME codec is used to produce MP3 audio streams.Example Usage:sc = Flix2_AddCodec(&

Strona 391 - 7.11 CGI 385

444 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: 0">FE2_OVERLAY_MASK_X</abbr></th><td&

Strona 392

7.13 CGI 445name=’FE2_FILTER_PNGEX’ value=’vfilter:’onchange="toggle_ftable(’filter_pngex’,this.checked)">FE2_FILTER_PNGEX</label>&

Strona 393 - 7.11 CGI 387

446 Flix Engine Linux Page Documentation<option value=""></option><option value="FE2_PNGEX_CP_ALL">All cue point

Strona 394

7.13 CGI 447FE2_FILTER_SCALE</label><table id=’filter_scale’ class=’disabled’><tr><th><abbr title="Default: input imag

Strona 395 - 7.11 CGI 389

448 Flix Engine Linux Page Documentation<label><input type=’checkbox’ class=’filter’name=’FE2_FILTER_LOWPASS’ value=’afilter:’onchange="

Strona 396

7.13 CGI 449FE2_MUXER_3G2&nbsp;</label><label><input type=’radio’ name=’muxer:’ value=’FE2_MUXER_MOV’onfocus="set_muxer_visibl

Strona 397 - 7.11 CGI 391

450 Flix Engine Linux Page Documentation</select></td></tr></table><!-- END - 3G2 muxer parameters --><!-- FLV muxer

Strona 398

7.13 CGI 451<th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_ENABLE:MD_VIDEO_CODECID’><abbr title="Default: Enabled">M

Strona 399 - 7.11 CGI 393

452 Flix Engine Linux Page Documentation<tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_DISABLE:MD_VIDEO_SIZE’><abbr tit

Strona 400

7.13 CGI 453</table><!-- END - FLV muxer parameters --><!-- FXM muxer parameters --><table id=’fxmtable’ class=’hidden’><tr

Strona 401 - 7.11 CGI 395

40 Flix Engine Linux Module Documentation5.12.2 Define Documentation5.12.2.1 #define FE2_CODEC_LAMECodec name for use with Flix2_AddCodec().Definition at

Strona 402

454 Flix Engine Linux Page Documentation<tr><th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_ENABLE:MD_WIDTH’><abbr title=&qu

Strona 403 - 7.11 CGI 397

7.13 CGI 455</tr><tr><th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_DISABLE:MD_AUDIO_DATARATE’><abbr title="Defa

Strona 404

456 Flix Engine Linux Page Documentation<!-- MOV muxer parameters --><table id=’movtable’ class=’hidden’><tr><th><abbr titl

Strona 405 - 7.11 CGI 399

7.13 CGI 457</td></tr><tr><th><abbr title="Default: EmbeddedUrlIsLoadMovie">FE2_SWF_EMBEDDED_URL_TYPE</abbr

Strona 406

458 Flix Engine Linux Page Documentation<tr><th><b>End Settings:</b></th><td></td></tr><tr><t

Strona 407 - 7.11 CGI 401

7.13 CGI 459global $flix;print "<br>Encoder Status<br>";$res= Flix2_GetEncoderState($flix);print "&nbsp;Flix2_GetEncode

Strona 408

460 Flix Engine Linux Page Documentation{global $codec;echo "<tr><td>$funcname( $name, $value )</td>";$sc = call_user_func

Strona 409 - 7.11 CGI 403

7.13 CGI 461flush(); if(ini_get("output_buffering")) ob_flush();}echo "\r\n\r\n<html><head><title>Flix CGI Process Sa

Strona 410

462 Flix Engine Linux Page Documentation$temp = explode(":",$func);muxer_interface($temp[0],$temp[1],$param);} else {SimpleSet($func,$param)

Strona 411 - 7.11 CGI 405

7.14 Command Line 4637.14 Command Line#!/usr/bin/python -u##==========================================================================#### Copyright (

Strona 412

5.12 MP3 - LAME 41quality=0..9. 0=best (very slow). 9=worst.recommended: 2 near-best quality, not too slow5 good quality, fast7 ok quality, really fas

Strona 413 - 7.11 CGI 407

464 Flix Engine Linux Page Documentationif(os.path.isabs(sys.argv[1])!=True):print "WARNING: path to input file is not absolute"sc = flixeng

Strona 414

7.14 Command Line 465##retrieve the value of the handle for use in the remaining muxer functions#muxer= flixengine2.flix2plgnhandlep_value(muxerptr)##

Strona 415 - 7.11 CGI 409

466 Flix Engine Linux Page Documentation7.15 CGIThis example consists of 2 parts: flix2_sample.py and process_sample.py. flix2_sample.py searches forupl

Strona 416

7.15 CGI 467document.getElementById(’showall’).checked=false;}function set_table_visible(ctable,visible){var table= document.getElementById(ctable);if

Strona 417 - 7.11 CGI 411

468 Flix Engine Linux Page Documentation{var table= document.getElementById(ftable);if(table) {table.className = enabled ? ’’ : ’disabled’;if(!enabled

Strona 418

7.15 CGI 469fieldset table, fieldset {display: none;}fieldset.expanded, fieldset.collapsed {display: block;}/*first is fallback for IE*/fieldset.expan

Strona 419 - 7.11 CGI 413

470 Flix Engine Linux Page Documentationth, td {width: 50%;vertical-align: top;padding: 2px 3px;border-width: 1px 0;border-style: solid;border-color:

Strona 420 - 7.11.2 process_sample.cgi

7.15 CGI 471<p><small>flix2_sample.cgi version 1.9</small></p><h4>Instructions</h4><ul><li>In this sam

Strona 421 - 7.11 CGI 415

472 Flix Engine Linux Page Documentation</table></fieldset><!-- ##MAIN OPTIONS#########################################################

Strona 422

7.15 CGI 473<input type=’radio’ name=’vcodec:’ value=’FE2_CODEC_VP6ALPHA’onfocus="set_vcodec_visible(’vp6atable’)"><abbr title=&quo

Strona 423 - 7.11 CGI 417

42 Flix Engine Linux Module Documentation5.13 libvorbis - FFmpeg5.13.1 Detailed DescriptionExample Usage:sc = Flix2_AddCodec(&codec, flix, FE2_COD

Strona 424

474 Flix Engine Linux Page Documentation</tr><tr><th><abbr title="Default: VP6_E">FE2_VP6_PROFILE</abbr></t

Strona 425 - 7.12 Command Line

7.15 CGI 475<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_VP6_STREAM_OPTIMAL_BUFFER’></td></tr><tr><th><

Strona 426

476 Flix Engine Linux Page Documentation<option value="COMPRESSMODE_GOOD">COMPRESSMODE_GOOD</option><option value="COMPR

Strona 427 - 7.12 Command Line 421

7.15 CGI 477<tr><th><abbr title="Default: 6 (CBR only)">FE2_VP6A_STREAM_PREBUFFER</abbr></th><td><inp

Strona 428 - 7.13 CGI

478 Flix Engine Linux Page Documentation<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_H263_MAX_Q’></td></tr><tr>&

Strona 429 - 7.13 CGI 423

7.15 CGI 479<th><abbr title="Default: MAX_KEYFRAMES">FE2_VP8_KFINTTYPE</abbr></th><td><select name="Fl

Strona 430

480 Flix Engine Linux Page Documentation<th><abbr title="Default: 4">FE2_VP8_MIN_Q</abbr></th><td><input ty

Strona 431 - 7.13 CGI 425

7.15 CGI 481</tr><tr><th><abbr title="Default: 0">FE2_VP8_MB_STATIC_THRESHOLD</abbr></th><td><i

Strona 432

482 Flix Engine Linux Page Documentation<table id=’aactable’ class=’hidden’><tr><th><abbr title="Default: 64kbps">FE

Strona 433 - 7.13 CGI 427

7.15 CGI 483<th><abbr title="Default: 64kbps">FE2_VORBIS_BITRATE</abbr></th><td><input type=’text’ name=’Fl

Strona 434

5.14 VP6 435.14 VP65.14.1 Detailed DescriptionThe VP6 (Flash 8) video codec.Example Usage:sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_VP6);// Use

Strona 435 - 7.13 CGI 429

484 Flix Engine Linux Page Documentation</label><table id=’filter_adaptive_deinterlace’ class=’disabled’><tr><th><abbr titl

Strona 436

7.15 CGI 485<option value=""></option><option value="BLUR_LOWPASS">BLUR_LOWPASS</option><option value=&

Strona 437 - 7.13 CGI 431

486 Flix Engine Linux Page Documentation<table id=’filter_denoise’ class=’disabled’><tr><th><abbr title="Default: 0. Range:

Strona 438

7.15 CGI 487</table></td></tr><!-- END - MIRROR filter parameters --><tr><td><label><input type=’checkbox

Strona 439 - 7.13 CGI 433

488 Flix Engine Linux Page Documentation<select name="Flix2_FilterSetParam:FE2_OVERLAY_MASK_RGB"><option value=""><

Strona 440

7.15 CGI 489<th><abbr title="Default: none">FE2_PNGEX_FILENAME_PREFIX</abbr></th><td><input type=’text’ nam

Strona 441 - 7.13 CGI 435

490 Flix Engine Linux Page Documentation<tr><th><b>Automatic PNG Export Options:</b></th><td></td></tr>

Strona 442

7.15 CGI 491</tr></table></td></tr><!-- END - SCALE filter parameters --><tr><td><label><input type

Strona 443 - 7.13 CGI 437

492 Flix Engine Linux Page Documentation<tr><th>FE2_LOWPASS_CUTOFF</th><td><input type=’text’ name=’Flix2_FilterSetParam:FE

Strona 444

7.15 CGI 493<br><label><input type=’radio’ name=’muxer:’ value=’FE2_MUXER_FLV’onfocus="set_muxer_visible(’flvtable’,true)">

Strona 445 - 7.13 CGI 439

CONTENTS iii5.50 MOV - FFmpeg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2055.51 MP4 - FFmpeg . . . . . . . . . .

Strona 446

44 Flix Engine Linux Module DocumentationGeneral VP6 settings• enum FE2_CompressMode {COMPRESSMODE_GOOD,COMPRESSMODE_BEST }Valid compress modes for VP

Strona 447 - 7.13 CGI 441

494 Flix Engine Linux Page Documentation</tr><tr><th><abbr title="Format = cueptNAME ’=’ cueptTIME_SECONDS e.g. ’navpt0=343.

Strona 448

7.15 CGI 495</tr><tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_ENABLE:MD_FRAMERATE’><abbr title="Default: E

Strona 449 - 7.13 CGI 443

496 Flix Engine Linux Page Documentation<td><input type=’checkbox’ id=’Flix2_MuxerSetParam:FE2_FLV_METADATA_DISABLE:MD_VIDEO_DATARATE’ name=’

Strona 450

7.15 CGI 497<th><abbr title="Format = cueptNAME ’=’ cueptTIME_SECONDS e.g. ’navpt0=343.0’">FE2_FXM_CUEPT_NAV</abbr></th

Strona 451 - 7.13 CGI 445

498 Flix Engine Linux Page Documentation<th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_ENABLE:MD_FRAMERATE’><abbr title="Def

Strona 452

7.15 CGI 499<tr><th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_DISABLE:MD_AUDIO_CODECID’><abbr title="Default: Enabled

Strona 453 - 7.13 CGI 447

500 Flix Engine Linux Page Documentation</table><!-- END - MOV muxer parameters --><!-- MP4 muxer parameters --><table id=’mp4tab

Strona 454

7.15 CGI 501</tr><tr><th><abbr title="e.g. n0=v0&amp;n1=v1...">FE2_SWF_ADD_VARIABLE</abbr></th><t

Strona 455 - 7.13 CGI 449

502 Flix Engine Linux Page Documentation<option value="SwfOnMovieEndLoadMovie">SwfOnMovieEndLoadMovie</option></select><

Strona 456

7.15 CGI 503(res[0],res[1],res[2])def process_sc(func, sc):print "<td align=\"center\">%d</td>" % scif (sc != flixengi

Strona 457 - 7.13 CGI 451

5.14 VP6 45Advanced VP6 settings• #define FE2_VP6_CONCURRENCYCodec parameter for concurrency level.• #define FE2_VP6_UNDERSHOOT_PCTCodec parameter for u

Strona 458

504 Flix Engine Linux Page Documentationglobal filter, filterptr##if name is a filter name, e.g. FE2_FILTER_CUT, add an instance##we’ll assume all Fli

Strona 459 - 7.13 CGI 453

7.15 CGI 505<body><hr>"""print "<p>process_sample.py version 1.8<br>\n"print "Flix Engine client

Strona 460

506 Flix Engine Linux Page Documentationif key == ’Flix2_SetInputFile’:funcname = ’flixengine2.’+keySimpleSet(funcname, value[0])elif key == ’Flix2_Se

Strona 461 - 7.13 CGI 455

7.16 Deprecated List 5077.16 Deprecated ListGlobal FE2_AudioSamplingrates With the addition of new Muxers the allowed sample rates willchange. For thi

Strona 462

508 Flix Engine Linux Page DocumentationGlobal video_options_GetDeinterlace Use the Filter Interface along with FE2_FILTER_ADAPTIVE_-DEINTERLACE. This

Strona 463 - 7.13 CGI 457

7.16 Deprecated List 509Global editor_options_GetSaturation Use the Filter Interface along with FE2_FILTER_BCHS and theFE2_BCHS_SATURATION parameter.

Strona 464 - 7.13.2 process_sample.php

510 Flix Engine Linux Page DocumentationWith the constants:• FE2_FILTER_CUT• FE2_CUT_START_SEC• FE2_CUT_STOP_SECfor access to the flix engine cut filter

Strona 465 - 7.13 CGI 459

7.16 Deprecated List 511Global editor_options_SetCutStopTime Please use:• Flix2_AddFilter()• Flix2_FilterGetParam()• Flix2_FilterSetParam()With the co

Strona 466

512 Flix Engine Linux Page DocumentationGlobal overlay_options_Reset Use the Filter Interface along with FE2_FILTER_OVERLAY. This func-tion will be re

Strona 467 - 7.13 CGI 461

7.16 Deprecated List 513• Flix2_FilterSetParam()With the constants:• FE2_FILTER_SCALE• FE2_SCALE_WIDTH• FE2_SCALE_HEIGHTfor access to the flix engine v

Strona 468

46 Flix Engine Linux Module Documentation5.14.4 Define Documentation5.14.4.1 #define FE2_CODEC_VP6Codec name for use with Flix2_AddCodec().Definition at

Strona 469 - 7.14 Command Line

514 Flix Engine Linux Page DocumentationGlobal video_options_GetUseSourceDimensions The flix engine encodes video using the video sourcedimensions by d

Strona 470

7.16 Deprecated List 515Global swf_options_SetEmbeddedUrlType Use the Muxer Interface along with FE2_MUXER_SWFand the FE2_SWF_EMBEDDED_URL_TYPE parame

Strona 471 - 7.14 Command Line 465

516 Flix Engine Linux Page DocumentationGlobal swf_options_GetMovieOnEndOptions Use the Muxer Interface along with FE2_MUXER_-SWF and the FE2_SWF_ON_E

Strona 472 - 7.15 CGI

7.16 Deprecated List 517Global swf_options_GetVariableCount Use the Muxer Interface along with FE2_MUXER_SWF. Thisfunction will be removed in a future

Strona 473 - 7.15 CGI 467

518 Flix Engine Linux Page DocumentationGlobal video_options_GetAlphaPercentage Use the Codec Interface along with FE2_CODEC_-VP6ALPHA and the FE2_VP6

Strona 474

7.16 Deprecated List 519Global video_options_SetImageQuality The image quality functions have been deprecated in favor ofthe maximum bitrate functions

Strona 475 - 7.15 CGI 469

Index_on2boolbasetypes, 2463GPP - FFmpeg, 2013GPP2 - FFmpeg, 203AAC, 26AAC+, 28about.dox, 267AMR_NB - FFmpeg, 30Audio Codecs, 25Audio Encoding Options

Strona 476

INDEX 521ON2_INVALID_PARAMS, 247ON2_INVALID_VERSION, 246ON2_NET_ERROR, 246ON2_NO_MEM, 246ON2_NOT_FOUND, 246ON2_NOT_SUPP, 246ON2_OK, 247ON2_TIMEDOUT, 2

Strona 477 - 7.15 CGI 471

522 INDEXcodec_h264FE2_CODEC_H264, 36FE2_H264_B_FRAME_RATE, 36FE2_H264_BITRATE, 36FE2_H264_KFFREQ, 37FE2_H264_KFINTTYPE, 37FE2_H264_PROFILE, 37FE2_H26

Strona 478

INDEX 523FE2_VP8_KFINTTYPE, 66FE2_VP8_LAG, 66FE2_VP8_MAX_Q, 67FE2_VP8_MB_STATIC_THRESHOLD, 67FE2_VP8_MIN_Q, 67FE2_VP8_NOISE_REDUCTION, 67FE2_VP8_OVERS

Strona 479 - 7.15 CGI 473

5.14 VP6 47Usage Considerations:The current implementation parallelizes the video encode on keyframe boundaries. To achieve this,each instance (1 per

Strona 480

524 INDEXeditor_options_SetCropBoundsfilter_crop, 99editor_options_SetCutStartTimefilter_cut,104editor_options_SetCutStopTimefilter_cut, 105editor_option

Strona 481 - 7.15 CGI 475

INDEX 525FE2_BCHS_CONTRASTfilter_bchs, 84FE2_BCHS_HUEfilter_bchs,84FE2_BCHS_SATURATIONfilter_bchs, 84FE2_BLUR_FILTERfilter_blur, 94FE2_BLUR_MASKSIZEfilter_

Strona 482

526 INDEXFE2_FRAMERATE_DECIMATEfilter_framerate, 109FE2_FRAMERATE_FPSfilter_framerate,109FE2_FrameTypeframeserver, 186FE2_FXM_CUEPT_EVENTmuxer_fxm, 199F

Strona 483 - 7.15 CGI 477

INDEX 527FE2_OVERLAY_POS_MODE_TOPLEFTfilter_overlay, 125FE2_OVERLAY_POS_MODE_TOPRIGHTfilter_overlay,125FE2_OVERLAY_POS_MODE_XYfilter_overlay, 125FE2_OVER

Strona 484

528 INDEXFE2_VideoBitrateControlscodecparam_common, 23FE2_VideoCodecvidopts_deprecated,255FE2_VideoFormatframeserver, 186FE2_VideoKeyframeTypescodecpa

Strona 485 - 7.15 CGI 479

INDEX 529codec_vp8, 65FE2_VP8_BITRATEcodec_vp8, 65FE2_VP8_CXMODEcodec_vp8, 65FE2_VP8_DROP_THRESHcodec_vp8, 66FE2_VP8_KFFREQcodec_vp8, 66FE2_VP8_KFINTT

Strona 486

530 INDEXFE2_CUT_START_SEC, 102FE2_CUT_STOP_SEC, 102FE2_CUT_USE_SEEK, 102FE2_FILTER_CUT, 102filter_denoiseFE2_DENOISE_NOISE_LEVEL, 107FE2_FILTER_DENOIS

Strona 487 - 7.15 CGI 481

INDEX 531FE2_SCALE_WIDTH, 146video_options_GetImageHeight, 146video_options_GetImageWidth, 147video_options_GetUseSourceDimensions, 147video_options_S

Strona 488

532 INDEXFlix2_SetExportVideomainengine, 164Flix2_SetExportVideoTypemainengine,165Flix2_SetFrameServerframeserver, 189Flix2_SetInputFilemainengine, 16

Strona 489 - 7.15 CGI 483

INDEX 533FE2_VideoFormat, 186Flix2_EncodeFrame, 187Flix2_GetFrameServer, 188Flix2_SetAudioProperties, 188Flix2_SetFrameServer, 189Flix2_SetVideoProper

Strona 490

48 Flix Engine Linux Module DocumentationNote:Default: COMPRESSMODE_GOODDefinition at line 149 of file vp6.h.5.14.4.7 #define FE2_VP6_KFFREQAlias for FE2

Strona 491 - 7.15 CGI 485

534 INDEXmainpage.dox, 333MASK_3x3filter_blur, 95MASK_5x5filter_blur, 95masksizfilter_blur, 95masksiz_tfilter_blur, 94MAX_KEYFRAMEScodecparam_common, 23MD

Strona 492

INDEX 535SwfPreloaderNone, 219muxer_swfFE2_EmbeddedUrlType, 218FE2_MUXER_SWF, 214FE2_SWF_ADAPTIVE_PRELOAD_-BUFFER_FACTOR, 214FE2_SWF_ADD_VARIABLE, 214

Strona 493 - 7.15 CGI 487

536 INDEXON2_WOULDBLOCKbasetypes, 246ON2APIon2types.h,324on2boolbasetypes, 245on2falsebasetypes, 246on2s16basetypes, 245on2s32basetypes, 245on2s64base

Strona 494

INDEX 537muxer_swf, 230swf_options_SetAdaptivePreloaderBufferFactormuxer_swf, 230swf_options_SetEmbeddedUrlmuxer_swf, 231swf_options_SetEmbeddedUrlTar

Strona 495 - 7.15 CGI 489

538 INDEXvideo_options_GetSwfWidthvidopts, 249video_options_GetUseCustomSwfDimensionsvidopts,250video_options_GetUseMaximumBitratevidopts_deprecated,

Strona 496

INDEX 539video_options_SetMaximumBitrate, 264video_options_SetRateControlType, 265video_options_SetSwfFramerate, 265video_options_SetUseMaximumBitrate

Strona 497 - 7.15 CGI 491

5.14 VP6 495.14.4.10 #define FE2_VP6_MIN_QCodec parameter for minimum quantizer.Determines the quality of the output. A lower minimum number produces h

Strona 498

50 Flix Engine Linux Module Documentation5.14.4.14 #define FE2_VP6_SHARPNESSCodec parameter for sharpness.Controls the sharpness of the image in the ou

Strona 499 - 7.15 CGI 493

5.14 VP6 515.14.4.18 #define FE2_VP6_STREAM_PREBUFFERSeconds of preload that are necessary before starting playback.The buffer is used to maintain a co

Strona 500

52 Flix Engine Linux Module DocumentationNote:Default: 90Definition at line 236 of file vp6.h.5.14.5 Typedef Documentation5.14.5.1 typedef enum vp6profil

Strona 501 - 7.15 CGI 495

5.15 VP6 with Alpha 535.15 VP6 with Alpha5.15.1 Detailed DescriptionThe VP6 codec with support for an alpha channel.Example Usage:sc = Flix2_AddCodec(

Strona 502

iv CONTENTS6.29 flixengine2/filters/resample.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 3016.30 flixengine2/filters/rotate.h File

Strona 503 - 7.15 CGI 497

54 Flix Engine Linux Module Documentation• #define FE2_VP6A_NOISE_REDUCTIONAlias for FE2_VP6_NOISE_REDUCTION.• #define FE2_VP6A_ALPHA_NOISE_REDUCTIONNoi

Strona 504

5.15 VP6 with Alpha 555.15.2 Define Documentation5.15.2.1 #define FE2_CODEC_VP6ALPHACodec name for use withFlix2_AddCodec().Definition at line 56 of file

Strona 505 - 7.15 CGI 499

56 Flix Engine Linux Module DocumentationSee also:FE2_VP6A_MAX_QDefinition at line 154 of file vp6_alpha.h.5.15.2.6 #define FE2_VP6A_ALPHA_MIN_QMinimum q

Strona 506

5.15 VP6 with Alpha 575.15.2.10 #define FE2_VP6A_CXMODEAlias for FE2_VP6_CXMODE.VP6 compress mode.Valid values are defined by FE2_CompressModeNote:Defau

Strona 507 - 7.15 CGI 501

58 Flix Engine Linux Module DocumentationNote:Valid range: [0,63]Default: Bits per pixel dependentAttention:Setting this value too low will likely cau

Strona 508 - 7.15.2 process_sample.py

5.15 VP6 with Alpha 595.15.2.17 #define FE2_VP6A_SHARPNESSAlias for FE2_VP6_SHARPNESS.Codec parameter for sharpness.Controls the sharpness of the image

Strona 509 - 7.15 CGI 503

60 Flix Engine Linux Module DocumentationAttention:Valid for CBR onlyDefinition at line 172 of file vp6_alpha.h.5.15.2.21 #define FE2_VP6A_STREAM_PREBUFF

Strona 510

5.15 VP6 with Alpha 61Definition at line 160 of file vp6_alpha.h.5.15.2.24 #define FE2_VP6A_UNDERSHOOT_PCTAlias for FE2_VP6_UNDERSHOOT_PCT.Codec paramete

Strona 511 - 7.15 CGI 505

62 Flix Engine Linux Module Documentation5.16 VP85.16.1 Detailed DescriptionThe VP8 video codec.Example Usage:sc = Flix2_AddCodec(&codec, flix, FE

Strona 512

5.16 VP8 63• #define FE2_VP8_MIN_QCodec parameter for minimum quantizer.• #define FE2_VP8_MAX_QCodec parameter for maximum quantizer.• #define FE2_VP8_DR

Strona 513 - 7.16 Deprecated List

Chapter 1Flix Engine Documentation1.1 Page Contents• Introduction• Starting Points• New Codecs & Container Formats• Support Options & FAQ1.2 I

Strona 514

64 Flix Engine Linux Module Documentation• #define FE2_VP8_MB_STATIC_THRESHOLDThreshold for macroblocks treated static.• #define FE2_VP8_TOKEN_PARTITION

Strona 515

5.16 VP8 655.16.2.4 #define FE2_VP8_ALTREFEnable the use of alternate reference frames.Note:Default: 0Definition at line 211 of file vp8.h.5.16.2.5 #defin

Strona 516

66 Flix Engine Linux Module Documentation5.16.2.9 #define FE2_VP8_CXMODEVP8 compress mode.Valid values are defined by FE2_CompressModeNote:Default: COMP

Strona 517

5.16 VP8 675.16.2.13 #define FE2_VP8_LAGAllow lagged encoding If set, this value allows the encoder to consume a number of input frames beforeproducing

Strona 518

68 Flix Engine Linux Module Documentation5.16.2.17 #define FE2_VP8_NOISE_REDUCTIONControls encoder noise reduction preprocessing.Determines the level o

Strona 519

5.16 VP8 695.16.2.21 #define FE2_VP8_SHARPNESSCodec parameter for sharpness.Controls the sharpness of the image in the output. This setting does not im

Strona 520

70 Flix Engine Linux Module Documentation5.16.2.25 #define FE2_VP8_THREADSNumber of threads to use A reasonable selection would be the number of cores

Strona 521

5.17 Encoding Statistics 715.17 Encoding StatisticsFunctions• on2sc encoding_status_GetAverageBitrate (const FLIX2HANDLE flix, int32_t ∗pBitrate)Retrie

Strona 522

72 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NULLpBitrate is not NULL5.17.1

Strona 523

5.17 Encoding Statistics 735.17.1.4 on2sc encoding_status_GetEndTime (const FLIX2HANDLE flix, int32_t ∗ pEndTime)Retrieve the encode completion time.Va

Strona 524

2 Flix Engine Documentation• Reading and running the sample code gives a strong overview of what you can achieve with FlixEngine.• Flix Engine API ref

Strona 525

74 Flix Engine Linux Module Documentation→ pMinFramesize Storage location to receive the resultReturn values:ON2_OK on successON2_INVALID_PARAMS shoul

Strona 526

5.17 Encoding Statistics 755.17.1.9 on2sc encoding_status_PercentComplete (const FLIX2HANDLE flix, int32_t ∗ percent)Retrieve the percent of the encode

Strona 527

76 Flix Engine Linux Module Documentation5.18 Filters5.18.1 Detailed DescriptionThe Flix API supports a variety of filters. Filters are used to apply u

Strona 528

5.19 Video Filters 775.19 Video FiltersModules• Deinterlace• Brightness/Contrast/Hue/Saturation• Blur• Crop• Denoise• Frame Rate• Mirror• Overlay (Wat

Strona 529

78 Flix Engine Linux Module Documentation5.20 Audio FiltersModules• Highpass• Lowpass• ResampleGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine L

Strona 530

5.21 Deinterlace 795.21 Deinterlace5.21.1 Detailed DescriptionThe adaptive deinterlace filter implements a deinterlacer with three different modes - 1:

Strona 531

80 Flix Engine Linux Module DocumentationDEINTERLACE_1_2_1_BLUR,DEINTERLACE_DROP_FIELD,DEINTERLACE_ADAPTIVE }5.21.2 Define Documentation5.21.2.1 #define

Strona 532

5.21 Deinterlace 81Return values:ON2_OK The deinterlace filter enable status was successfully retrieved from the engine.ON2_NET_ERROR The underlying co

Strona 533

82 Flix Engine Linux Module Documentation5.22 Brightness/Contrast/Hue/Saturation5.22.1 Detailed DescriptionThe BCHS video filter is a filter used to mod

Strona 534

5.22 Brightness/Contrast/Hue/Saturation 83• on2sc editor_options_SetHue (FLIX2HANDLE flix, const int32_t hue)Set the hue adjustment factor.• on2sc edit

Strona 535

1.5 Support Options & FAQ 3AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL AND NON-COMMERCIAL ACTIVITY AND/OR WA

Strona 536

84 Flix Engine Linux Module DocumentationNote:Valid range: [-255,255]Default: 0 (no change)Definition at line 58 of file bchs.h.5.22.2.2 #define FE2_BCHS

Strona 537

5.22 Brightness/Contrast/Hue/Saturation 855.22.3 Function Documentation5.22.3.1 on2sc editor_options_GetBrightness (const FLIX2HANDLE flix, int32_t ∗ p

Strona 538

86 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()→ pHue Hue factor

Strona 539

5.22 Brightness/Contrast/Hue/Saturation 87Return values:ON2_OK The brightness filter enable status was successfully retrieved from the engine.ON2_NET_E

Strona 540

88 Flix Engine Linux Module DocumentationDeprecatedUse the Filter Interface along with FE2_FILTER_BCHS and the FE2_BCHS_HUE parameter. Thisfunction wi

Strona 541

5.22 Brightness/Contrast/Hue/Saturation 895.22.3.10 on2sc editor_options_SetContrast (FLIX2HANDLE flix, const double contrast)Set the contrast adjustme

Strona 542

90 Flix Engine Linux Module Documentation5.22.3.12 on2sc editor_options_SetSaturation (FLIX2HANDLE flix, const double saturation)Set the saturation adj

Strona 543

5.22 Brightness/Contrast/Hue/Saturation 915.22.3.14 on2sc editor_options_SetUseContrast (FLIX2HANDLE flix, const on2bool bUseContrast)Enable/disable th

Strona 544

92 Flix Engine Linux Module Documentation← bUseSaturation New saturation enable status. on2true to enable, on2false to disable.Return values:ON2_OK Th

Strona 545

5.23 Blur 935.23 Blur5.23.1 Detailed DescriptionBlurs the source imageFilter Parameters:Name | Type | Opt/Reqd | Range================================

Komentarze do niniejszej Instrukcji

Brak uwag