Flix Engine Linux Reference Manual8.0.17.1Generated by Doxygen 1.5.2Tue Jul 20 17:39:03 2010
4 Flix Engine DocumentationGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
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
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
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
5.24 Crop 97• #define FE2_CROP_LEFTFilter parameter for setting bounding box’s left coordinate.• #define FE2_CROP_RIGHTFilter parameter for setting boun
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.
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
100 Flix Engine Linux Module DocumentationDeprecatedUse the Filter Interface along with FE2_FILTER_CROP and the FE2_CROP_TOP, FE2_CROP_-LEFT, FE2_CROP
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
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
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.
Chapter 2Flix Engine Linux Module Index2.1 Flix Engine Linux ModulesHere is a list of all modules:Flix Engine API . . . . . . . . . . . . . . . . . .
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
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
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_
5.26 Denoise 1075.26 Denoise5.26.1 Detailed DescriptionRemoves noise from source imageFilter Parameters:Name | Type | Opt/Reqd | Range================
108 Flix Engine Linux Module Documentation5.27 Frame Rate5.27.1 Detailed DescriptionThe frame rate filter modifies the source frame rate either by apply
5.27 Frame Rate 109Defines• #define FE2_FILTER_FRAMERATEFilter name for use with Flix2_AddFilter().• #define FE2_FRAMERATE_FPSFilter parameter name for f
110 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()→ pValue Decimate
5.27 Frame Rate 1115.27.3.3 on2sc video_options_GetVideoFramerate (const FLIX2HANDLE flix, int32_t ∗lpVideoFramerate)Get the current video framerate.Pa
112 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()← value Decimate
5.27 Frame Rate 1135.27.3.7 on2sc video_options_SetVideoFramerate (FLIX2HANDLE flix, const int32_tlVideoFramerate)Set the video framerate.Sets the fram
6 Flix Engine Linux Module IndexHighpass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114Lowpass . . . . . . . .
114 Flix Engine Linux Module Documentation5.28 Highpass5.28.1 Detailed DescriptionThe highpass audio filter is a filter to attenuate sounds in the audio
5.28 Highpass 1155.28.2.3 #define FE2_HIGHPASS_QFilter parameter for shape constant ("Q" coefficient).The Q coefficient controls the "shap
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
5.29 Lowpass 1175.29.2.3 #define FE2_LOWPASS_QFilter parameter for shape constant ("Q" coefficient).The Q coefficient controls the "shape&
118 Flix Engine Linux Module Documentation5.30 Mirror5.30.1 Detailed DescriptionThe mirror filter mirrors (flips) the source along the horizontal axis,
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
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
5.31 Overlay (Watermark) 121• on2sc overlay_options_SetMaskPixelXY (FLIX2HANDLE flix, int32_t maskPixelX, int32_-t maskPixelY)Set the X and Y coordinat
122 Flix Engine Linux Module DocumentationBlue component of the transparency color.• #define FE2_OVERLAY_POSSet the overlay position. Valid modes are d
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
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
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_-
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
126 Flix Engine Linux Module Documentation5.31.4 Function Documentation5.31.4.1 on2sc overlay_options_GetMaskPixelRGB (FLIX2HANDLE flix, uint8_t ∗ pMas
5.31 Overlay (Watermark) 127ON2_INVALID_PARAMS a precondition failedON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NUL
128 Flix Engine Linux Module Documentation5.31.4.4 on2sc overlay_options_GetOverlayPosition (FLIX2HANDLE flix,FE2_OverlayPositionMode ∗ pMode, uint32_t
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
130 Flix Engine Linux Module DocumentationReturn values:ON2_OK the component values were set successfullyON2_INVALID_PARAMS the precondition failedON2
5.31 Overlay (Watermark) 131Once this function has been called successfully, overlay_options_Reset() must be called to turn trans-parency off.Calling
132 Flix Engine Linux Module Documentation5.31.4.10 on2sc overlay_options_SetOverlayPosition (FLIX2HANDLE flix,FE2_OverlayPositionMode mode, uint32_t x
5.31 Overlay (Watermark) 133Remarks:Set bUseOverlay to on2true to enable overlay usage. Set bUseOverlay to on2false to disableusage.Only PNG images, 2
8 Flix Engine Linux File Indexflixengine2/filters/overlay.h (Reference module(s): Overlay (Watermark) ) . . . . . . . . . . . . 297flixengine2/filters/png
134 Flix Engine Linux Module Documentation5.32 PNG Image Export (Thumbnail)5.32.1 Detailed DescriptionThe PNG image export filter creates PNG images fr
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
136 Flix Engine Linux Module Documentation• #define FE2_PNGEX_AUTO_EXPORT_END_TIMEFilter parameter for setting PNG auto generation end time.• #define FE
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_
138 Flix Engine Linux Module Documentation5.32.2.5 #define FE2_PNGEX_AUTO_EXPORT_START_TIMEFilter parameter for setting PNG auto generation start time.
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
140 Flix Engine Linux Module Documentationsc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);if (sc == ON2_OK)// produce PNG images
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
142 Flix Engine Linux Module Documentation5.33 Resample5.33.1 Detailed DescriptionFilter Parameters:Name | Type | Opt/Reqd | Range====================
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
Chapter 4Flix Engine Linux Page Index4.1 Flix Engine Linux Related PagesHere is a list of all related documentation pages:About Flix Engine . . . . .
144 Flix Engine Linux Module Documentation5.35 Scale5.35.1 Detailed DescriptionThe video scale (resize) filter implements a high quality bicubic scaler
5.35 Scale 145• on2sc video_options_SetImageHeight (FLIX2HANDLE flix, const int32_t lImageHeight)Set the scaled image height.• on2sc video_options_GetI
146 Flix Engine Linux Module DocumentationAttention:This function can NOT be used to obtain information about the unscaled input video, use video_-opt
5.35 Scale 147DeprecatedPlease use:• Flix2_AddFilter()• Flix2_FilterGetParam()• Flix2_FilterSetParam()With the constants:• FE2_FILTER_SCALE• FE2_SCALE
148 Flix Engine Linux Module Documentation5.35.4.3 on2sc video_options_GetUseSourceDimensions (const FLIX2HANDLE flix, on2bool ∗bpUseSourceDimensions)D
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
150 Flix Engine Linux Module DocumentationDeprecatedThe flix engine encodes video using the video source dimensions by default. If FE2_FILTER_SCALEhas
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 -
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
5.38 Main Engine Interface 1535.38 Main Engine InterfaceEnumerations• enum FE2_ExportedVideoType {ExportSWF3To6Video,ExportSWF7PlusVideo,ExportSWFVect
10 Flix Engine Linux Page IndexGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
154 Flix Engine Linux Module Documentation• on2sc Flix2_SetOutputFile (FLIX2HANDLE flix, const on2tc ∗outputFile)Set the destination file for the encode
5.38 Main Engine Interface 155• on2sc Flix2_Reset (FLIX2HANDLE flix)Reset the engine to its defaults.• on2sc Flix2_Validate (const FLIX2HANDLE flix)Vali
156 Flix Engine Linux Module Documentation5.38.1.3 enum FE2_ExportedVideoTypeOutput file types for use in calls to Flix2_SetExportVideoType() and Flix2
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
158 Flix Engine Linux Module Documentation5.38.2.4 on2sc Flix2_Destroy (FLIX2HANDLE flix)Frees resources associated with a FLIX2HANDLE.Parameters:← flix
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
160 Flix Engine Linux Module Documentation5.38.2.8 on2sc Flix2_GetExportAudio (const FLIX2HANDLE flix, on2bool ∗ bpExportAudio)Retrieve the engine’s cu
5.38 Main Engine Interface 1615.38.2.10 on2sc Flix2_GetExportVideoType (const FLIX2HANDLE flix, FE2_ExportedVideoType∗ pExportVideoType)Retrieve the cu
162 Flix Engine Linux Module Documentation5.38.2.12 on2sc Flix2_GetOutputFile (const FLIX2HANDLE flix, on2tc ∗ pOutputFile, int32_t ∗len)Get the destin
5.38 Main Engine Interface 1635.38.2.14 on2sc Flix2_GetSourceDuration (const FLIX2HANDLE flix, int32_t ∗ duration)Get the duration, in milliseconds, of
Chapter 5Flix Engine Linux ModuleDocumentation5.1 Audio Encoding OptionsModules• DeprecatedEnumerations• enum FE2_AudioBitrates {Bitrate8kbps,Bitrate1
164 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()Return values:ON2_
5.38 Main Engine Interface 165Precondition:flix is not NULLNote:Default: on2true5.38.2.19 on2sc Flix2_SetExportVideoType (FLIX2HANDLE flix, const FE2_Ex
166 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()← inputFile Path t
5.38 Main Engine Interface 1675.38.2.22 on2sc Flix2_SetOverwriteExistingFiles (FLIX2HANDLE flix, const on2boolbOverwriteExistingFiles)Enable/disable ov
168 Flix Engine Linux Module Documentation• input file has been set• at least one of Flix2_GetExportVideo() and Flix2_GetExportAudio() is set to on2tru
5.39 Flix Engine Core Library 1695.39 Flix Engine Core Library5.39.1 Detailed DescriptionThis library, libflixengine2_core.so, encompasses the Flix Eng
170 Flix Engine Linux Module Documentation5.39.2.2 on2sc Flix2_GetLogLevel (const FLIX2HANDLE flix, int32_t ∗ level)Retrieve current library-wide debug
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
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
5.40 Filter Manipulation 1735.40 Filter ManipulationModules• DeprecatedFunctions• on2sc Flix2_AddFilter (FLIX2PLGNHANDLE ∗pPlgn, const FLIX2HANDLE flix
12 Flix Engine Linux Module DocumentationValid bitrates for FE2_CODEC_LAME. For use in calls to Flix2_CodecSetParam() and Flix2_-CodecGetParam().5.1.1
174 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:pPlgn is not NULLflix is not NULLplgn_nam
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
176 Flix Engine Linux Module DocumentationParameters:← plgn Handle to the filter returned from Flix2_AddFilter()← name Name of the parameter to set← va
5.41 Codec Manipulation 1775.41 Codec ManipulationFunctions• on2sc Flix2_AddCodec (FLIX2PLGNHANDLE ∗pPlgn, const FLIX2HANDLE flix, const char∗plgn_name
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
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
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
5.42 Muxer Manipulation 1815.42 Muxer ManipulationFunctions• on2sc Flix2_AddMuxer (FLIX2PLGNHANDLE ∗pPlgn, const FLIX2HANDLE flix, const char∗plgn_name
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
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
5.2 Deprecated 135.2 DeprecatedEnumerations• enum FE2_FlvAudioFormat {FlvAudioUncompressed,FlvAudioMp3 }Valid output audio formats for use in calls to
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
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
186 Flix Engine Linux Module DocumentationEnumerations• enum FE2_FrameType {FrameTypeAudio,FrameTypeVideo }Frame type being passed to Flix2_EncodeFram
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
188 Flix Engine Linux Module DocumentationSee also:Example Usage5.43.4.2 on2sc Flix2_GetFrameServer (FLIX2HANDLE flix, on2bool ∗ enabled)Retrieve the c
5.43 Frame Server API 189Precondition:flix is not NULLchannels is >0 and <= 2bitspersample is 8 or 16samplerate is 11025, 22050 or 44100Attention
190 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()← format Raw video
5.44 Deprecated 1915.44 DeprecatedFunctions• on2sc editor_options_Reset (FLIX2HANDLE flix)Reset the media editor options to their defaults.• on2sc edit
192 Flix Engine Linux Module Documentation5.45 Muxers5.45.1 Detailed DescriptionMuxers are configurable both by the muxer interface and individual func
5.46 FLV 1935.46 FLV5.46.1 Detailed DescriptionMuxer Parameters:Name | Type | Opt/Reqd | Range========================================================
14 Flix Engine Linux Module DocumentationSet the number of output audio channels.• on2sc audio_options_GetStereo (const FLIX2HANDLE flix, on2bool ∗pSte
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
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
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 =
5.46 FLV 1975.46.6 Enumeration Type Documentation5.46.6.1 enum flv_metadataSupported FLV onMetaData elements.Descriptions indicate the default in bold,
198 Flix Engine Linux Module Documentation5.47 FXM5.47.1 Detailed DescriptionThe FXM muxer produces output compatible with the Sun Java VM.Muxer Param
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
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 =
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)
202 Flix Engine Linux Module DocumentationAttention:The current implementation is a post-process. A temporary file is created within the output directo
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
5.2 Deprecated 15Parameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()→ pBitrate Storage location to receive the
204 Flix Engine Linux Module DocumentationAttention:The current implementation is a post-process. A temporary file is created within the output directo
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);
206 Flix Engine Linux Module Documentation5.50.3 Define Documentation5.50.3.1 #define FE2_MOV_FASTSTARTFE2_ISOMEDIA_FASTSTART aliasInfluence ’moov’ box p
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);
208 Flix Engine Linux Module DocumentationNote:Default: 0 (disabled)Attention:The current implementation is a post-process. A temporary file is created
5.52 SWF 2095.52 SWF5.52.1 Detailed DescriptionMuxer Parameters:Name | Type | Opt/Reqd | Range========================================================
210 Flix Engine Linux Module Documentation• on2sc swf_options_GetEmbeddedUrlTarget (FLIX2HANDLE flix, char ∗embeddedUrlTarget,int32_t ∗len)Gets the tar
5.52 SWF 211Sets the percent of the SWF movie to preload before playback begins.• on2sc swf_options_GetPreloaderType (FLIX2HANDLE flix, FE2_SwfPreloade
212 Flix Engine Linux Module Documentation• on2sc swf_options_SetWaitTimeToStart (FLIX2HANDLE flix, const int32_t waitTimeToStart)Sets the number of se
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
16 Flix Engine Linux Module Documentation5.2.2.3 on2sc audio_options_GetSamplingrate (const FLIX2HANDLE flix,FE2_AudioSamplingrates ∗ pSamplingrate)Ret
214 Flix Engine Linux Module Documentation• enum FE2_SwfPreloaderOptions {SwfPreloaderNone,SwfFixedPreloader,SwfAdaptivePreloader }Determines the type
5.52 SWF 215Parameter format:Format = Variable ∗[ ’&’ Variable ]Variable = varName ’=’ varValuee.g. "n0=v0&n1=v1"Definition at line 2
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
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
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
5.52 SWF 219SwfOnMovieEndSTOPSwfOnMovieEndLoopSwfOnMovieEndUnloadSwfOnMovieEndLoadMovieDefinition at line 76 of file swf.h.5.52.4.3 enum FE2_SwfOnStartO
220 Flix Engine Linux Module DocumentationON2_INVALID_PARAMS should one or more of the preconditions failON2_NO_MEM an error occurred allocating memor
5.52 SWF 2215.52.5.3 on2sc swf_options_GetAdaptivePreloaderBufferFactor (FLIX2HANDLE flix, double ∗pPreloaderBufferFactor)Gets the adaptive preload buf
222 Flix Engine Linux Module DocumentationNote:If embeddedUrl is NULL this function will return the size in bytes required to store the current embed-
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
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
224 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NULLpEnablePreloader is not N
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
226 Flix Engine Linux Module Documentation5.52.5.11 on2sc swf_options_GetMovieOnEndOptions (FLIX2HANDLE flix,FE2_SwfOnEndOptions ∗ pOnEndOptions)Gets t
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
228 Flix Engine Linux Module DocumentationPrecondition:flix is not NULLpPreloaderType is not NULLSee also:swf_options_SetPreloaderType()DeprecatedUse t
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
230 Flix Engine Linux Module DocumentationParameters:← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()→ pWaitTimeToStart
5.52 SWF 2315.52.5.20 on2sc swf_options_SetAdaptivePreloaderBufferFactor (FLIX2HANDLE flix, constdouble preloaderBufferFactor)Sets the adaptive preload
232 Flix Engine Linux Module Documentation5.52.5.21 on2sc swf_options_SetEmbeddedUrl (FLIX2HANDLE flix, const char ∗ embeddedUrl)Sets the embedded URL
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
18 Flix Engine Linux Module Documentation5.2.2.7 on2sc audio_options_SetFlvAudioFormat (FLIX2HANDLE flix, constFE2_FlvAudioFormat format)Set the output
234 Flix Engine Linux Module DocumentationRemarks:The default value is EmbeddedUrlIsLoadMovie.See also:swf_options_SetEmbeddedUrl(), swf_options_GetEm
5.52 SWF 235ON2_INVALID_PARAMS should one or more of the preconditions failON2_NET_ERROR the underlying communication layer failedPrecondition:flix is
236 Flix Engine Linux Module Documentation5.52.5.27 on2sc swf_options_SetLoopCount (FLIX2HANDLE flix, const int32_t loopCount)Sets the number of times
5.52 SWF 237Note:The default value is SwfOnMovieEndNothing.See also:swf_options_GetMovieOnEndOptions()DeprecatedUse the Muxer Interface along with FE2
238 Flix Engine Linux Module Documentation← percentToPreload Percent of the SWF movie to preload before playback begins.Return values:ON2_OK SuccessON
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.
240 Flix Engine Linux Module DocumentationPrecondition:flix is not NULLNote:The default value will be the video framerate.The SWF framerate may be chan
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
242 Flix Engine Linux Module Documentation5.53 WebM - FFmpeg5.53.1 Detailed DescriptionExample Usage:sc = Flix2_AddMuxer(&muxer, flix, FE2_MUXER_W
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
5.2 Deprecated 19• source sample rate < 16000Hz, set default to Hertz11025• source sample rate >= 16000Hz and < 32000Hz, set default to Hertz
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
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
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
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
248 Flix Engine Linux Module Documentation5.55 Video Encoding OptionsModules• DeprecatedFunctions• on2sc video_options_Reset (FLIX2HANDLE flix)Reset th
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
250 Flix Engine Linux Module Documentation→ lpSwfWidth SWF width.Return values:ON2_OK Success.ON2_NET_ERROR The underlying communication layer failed.
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
252 Flix Engine Linux Module Documentation← bUseCustomSwfDimensions on2true to enable, on2false to disable.Return values:ON2_OK Success.ON2_NET_ERROR
5.56 Deprecated 2535.56 DeprecatedEnumerations• enum FE2_VideoCodec {CODEC_NULL,CODEC_H263,CODEC_SCREENVIDEO,CODEC_VP6,CODEC_VP6ALPHA }Output video co
20 Flix Engine Linux Module DocumentationReturn values:ON2_OK on successON2_INVALID_PARAMS should the precondition failON2_NET_ERROR the underlying co
254 Flix Engine Linux Module Documentation• on2sc video_options_GetRateControlType (const FLIX2HANDLE flix, FE2_VideoBitrateControls∗pRateControlType)G
5.56 Deprecated 2555.56.1 Enumeration Type Documentation5.56.1.1 enum FE2_CuePointTypeCue point type for use with video_options_AddFLVCuePoint().Depre
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
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
258 Flix Engine Linux Module DocumentationDeprecatedUse the Codec Interface along with FE2_CODEC_VP6 or FE2_CODEC_VP6ALPHA and the FE2_-VP6_CXMODE or
5.56 Deprecated 2595.56.2.7 on2sc video_options_GetKeyframeIntervalType (const FLIX2HANDLE flix,FE2_VideoKeyframeTypes ∗ pKeyframeIntervalType)Get the
260 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()→ pRateControlTyp
5.56 Deprecated 261Return values:ON2_OK The bitrate enable status was successfully retrieved from the engine.ON2_NET_ERROR The underlying communicatio
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
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
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
264 Flix Engine Linux Module Documentation5.56.2.17 on2sc video_options_SetKeyframeIntervalType (FLIX2HANDLE flix, constFE2_VideoKeyframeTypes keyframe
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
266 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NULLDeprecatedPlease use swf_
Chapter 6Flix Engine Linux File Documentation6.1 about.dox File Reference
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
6.3 flixengine2/audio_options.h File Reference 2696.3 flixengine2/audio_options.h File Reference6.3.1 Detailed DescriptionReference module(s): Audio Enc
270 Flix Engine Linux File DocumentationFunctions• on2sc audio_options_Reset (FLIX2HANDLE flix)Reset the audio encoding options to their default values
6.4 flixengine2/codec_constants.h File Reference 2716.4 flixengine2/codec_constants.h File Reference6.4.1 Detailed DescriptionReference module(s): Codec
272 Flix Engine Linux File Documentation6.5 flixengine2/codecs/aac.h File Reference6.5.1 Detailed DescriptionReference module(s): AAC, AAC+.Definition i
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
22 Flix Engine Linux Module Documentation5.4 Common Codec ParametersDefines• #define FE2_CODECPARAM_BITRATECodec parameter for stream bitrate.• #define F
274 Flix Engine Linux File Documentation6.7 flixengine2/codecs/codec_common.h File ReferenceDefines• #define FE2_CODECPARAM_BITRATECodec parameter for st
6.8 flixengine2/codecs/h263.h File Reference 2756.8 flixengine2/codecs/h263.h File Reference6.8.1 Detailed DescriptionReference module(s): H263 - FFmpeg
276 Flix Engine Linux File Documentation6.9 flixengine2/codecs/h264.h File Reference6.9.1 Detailed DescriptionReference module(s): H264.Definition in fil
6.10 flixengine2/codecs/lame.h File Reference 2776.10 flixengine2/codecs/lame.h File Reference6.10.1 Detailed DescriptionReference module(s): MP3 - LAME
278 Flix Engine Linux File Documentation6.11 flixengine2/codecs/vorbis.h File Reference6.11.1 Detailed DescriptionReference module(s): libvorbis - FFmp
6.12 flixengine2/codecs/vp6.h File Reference 2796.12 flixengine2/codecs/vp6.h File Reference6.12.1 Detailed DescriptionReference module(s): VP6.Definitio
280 Flix Engine Linux File DocumentationDefinesCodec name• #define FE2_CODEC_VP6Codec name for use with Flix2_AddCodec().Advanced VP6 settings• #define F
6.13 flixengine2/codecs/vp6_alpha.h File Reference 2816.13 flixengine2/codecs/vp6_alpha.h File Reference6.13.1 Detailed DescriptionReference module(s):
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
6.14 flixengine2/codecs/vp8.h File Reference 2836.14 flixengine2/codecs/vp8.h File Reference6.14.1 Detailed DescriptionReference module(s): VP8.Definitio
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
284 Flix Engine Linux File DocumentationAlias for FE2_VCODECPARAM_KFINTTYPE.• #define FE2_VP8_KFFREQAlias for FE2_VCODECPARAM_KFFREQ.• #define FE2_VP8_R
6.15 flixengine2/encoding_status.h File Reference 2856.15 flixengine2/encoding_status.h File Reference6.15.1 Detailed DescriptionReference module(s): En
286 Flix Engine Linux File Documentation6.16 flixengine2/filter_constants.h File Reference6.16.1 Detailed DescriptionReference module(s): Filters.Definit
6.17 flixengine2/filters/adaptive_deinterlace.h File Reference 2876.17 flixengine2/filters/adaptive_deinterlace.h File Reference6.17.1 Detailed Descriptio
288 Flix Engine Linux File Documentation6.18 flixengine2/filters/bchs.h File Reference6.18.1 Detailed DescriptionReference module(s): Brightness/Contras
6.19 flixengine2/filters/blur.h File Reference 2896.19 flixengine2/filters/blur.h File Reference6.19.1 Detailed DescriptionReference module(s): Blur.Defini
290 Flix Engine Linux File Documentation6.20 flixengine2/filters/crop.h File Reference6.20.1 Detailed DescriptionReference module(s): Crop.Definition in
6.21 flixengine2/filters/cut.h File Reference 2916.21 flixengine2/filters/cut.h File Reference6.21.1 Detailed DescriptionReference module(s): Cut.Definitio
292 Flix Engine Linux File Documentation6.22 flixengine2/filters/denoise.h File Reference6.22.1 Detailed DescriptionReference module(s): Denoise.Definiti
6.23 flixengine2/filters/framerate.h File Reference 2936.23 flixengine2/filters/framerate.h File Reference6.23.1 Detailed DescriptionReference module(s):
Contents1 Flix Engine Documentation 11.1 Page Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Introduc
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
294 Flix Engine Linux File Documentation6.24 flixengine2/filters/highpass.h File Reference6.24.1 Detailed DescriptionReference module(s): Highpass.Defini
6.25 flixengine2/filters/lowpass.h File Reference 2956.25 flixengine2/filters/lowpass.h File Reference6.25.1 Detailed DescriptionReference module(s): Lowp
296 Flix Engine Linux File Documentation6.26 flixengine2/filters/mirror.h File Reference6.26.1 Detailed DescriptionReference module(s): Mirror.Definition
6.27 flixengine2/filters/overlay.h File Reference 2976.27 flixengine2/filters/overlay.h File Reference6.27.1 Detailed DescriptionReference module(s): Over
298 Flix Engine Linux File DocumentationEnumerations• enum FE2_OverlayPositionMode {FE2_OVERLAY_POS_MODE_TOPLEFT,FE2_OVERLAY_POS_MODE_BOTLEFT,FE2_OVER
6.28 flixengine2/filters/png_export.h File Reference 2996.28 flixengine2/filters/png_export.h File Reference6.28.1 Detailed DescriptionReference module(s)
300 Flix Engine Linux File DocumentationFilter parameter for setting compression level used by libpng.• #define FE2_PNGEX_WIDTHFilter parameter for set
6.29 flixengine2/filters/resample.h File Reference 3016.29 flixengine2/filters/resample.h File Reference6.29.1 Detailed DescriptionReference module(s): Re
302 Flix Engine Linux File Documentation6.30 flixengine2/filters/rotate.h File Reference6.30.1 Detailed DescriptionReference module(s): Rotate.Definition
6.31 flixengine2/filters/scale.h File Reference 3036.31 flixengine2/filters/scale.h File Reference6.31.1 Detailed DescriptionReference module(s): Scale.De
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
304 Flix Engine Linux File Documentation6.32 flixengine2/filters/sharpen.h File Reference6.32.1 Detailed DescriptionReference module(s): Sharpen.Definiti
6.33 flixengine2/flixengine2.h File Reference 3056.33 flixengine2/flixengine2.h File Reference6.33.1 Detailed DescriptionReference module(s): Main Engine
306 Flix Engine Linux File Documentation• enum FE2_EncState {EncStateIdle,EncStateRunning,EncStateQueued }Encoder state returned by Flix2_GetEncoderSt
6.33 flixengine2/flixengine2.h File Reference 307• on2sc Flix2_SetOverwriteExistingFiles (FLIX2HANDLE flix, const on2bool bOverwriteExisting-Files)Enable
308 Flix Engine Linux File Documentation• on2sc Flix2_IsEncoderRunning (const FLIX2HANDLE flix, on2bool ∗bpIsEncoderRunning)Check the status of an enco
6.33 flixengine2/flixengine2.h File Reference 309• on2sc Flix2_CodecGetParamAsStr (FLIX2PLGNHANDLE plgn, const char ∗name, on2tc ∗value,int32_t ∗len)Ret
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
6.34 flixengine2/fs_options.h File Reference 3116.34 flixengine2/fs_options.h File Reference6.34.1 Detailed DescriptionReference module(s): Frame Server
312 Flix Engine Linux File Documentation6.35 flixengine2/media_editor_options.h File Reference6.35.1 Detailed DescriptionReference module(s): Filter Ma
6.35 flixengine2/media_editor_options.h File Reference 313Set the contrast adjustment factor.• on2sc editor_options_GetUseContrast (const FLIX2HANDLE fl
26 Flix Engine Linux Module Documentation5.7 AAC5.7.1 Detailed DescriptionExample Usage:sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_AAC);// Use 12
314 Flix Engine Linux File Documentation6.36 flixengine2/muxer_constants.h File Reference6.36.1 Detailed DescriptionReference module(s): Muxers.Definiti
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
316 Flix Engine Linux File DocumentationMD_HEIGHT,MD_FRAMERATE,MD_CANSEEKTOEND,MD_LASTTIMESTAMP,MD_LASTKEYFRAMETIMESTAMP,MD_LASTKEYFRAMELOCATION,MD_KE
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
318 Flix Engine Linux File Documentation6.39 flixengine2/muxers/isomedia.h File Reference6.39.1 Detailed DescriptionReference module(s):3GPP Muxer, 3GP
6.39 flixengine2/muxers/isomedia.h File Reference 319Attention:The current implementation is a post-process. A temporary file is created within the outp
320 Flix Engine Linux File Documentation6.40 flixengine2/muxers/swf.h File Reference6.40.1 Detailed DescriptionReference module(s): SWF Muxer.Definition
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
322 Flix Engine Linux File Documentation6.41 flixengine2/muxers/webm.h File Reference6.41.1 Detailed DescriptionReference module(s): WebM Muxer.Definiti
6.42 flixengine2/on2types.h File Reference 3236.42 flixengine2/on2types.h File Reference6.42.1 Detailed DescriptionReference module(s): Base Types.Defini
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
324 Flix Engine Linux File DocumentationEnumerations• enum _on2bool {on2false,on2true }• enum on2sc {ON2_NOT_FOUND,ON2_BUFFER_EMPTY,ON2_BUFFER_FULL,ON
6.43 flixengine2/overlay_options.h File Reference 3256.43 flixengine2/overlay_options.h File Reference6.43.1 Detailed DescriptionReference module(s): Ov
326 Flix Engine Linux File Documentation6.44 flixengine2/swf_options.h File Reference6.44.1 Detailed DescriptionReference module(s): SWF.Definition in fi
6.44 flixengine2/swf_options.h File Reference 327• on2sc swf_options_SetSwfFramerateAsDouble (FLIX2HANDLE flix, const double swfFramer-ate)Sets the SWF
328 Flix Engine Linux File Documentation• on2sc swf_options_GetMovieOnStartOptions (FLIX2HANDLE flix, FE2_SwfOnStartOptions∗pOnStartOptions)Gets the op
6.45 flixengine2/video_options.h File Reference 3296.45 flixengine2/video_options.h File Reference6.45.1 Detailed DescriptionReference module(s): Video
330 Flix Engine Linux File DocumentationGet the current keyframe interval type.• on2sc video_options_SetKeyframeIntervalType (FLIX2HANDLE flix, const F
6.45 flixengine2/video_options.h File Reference 331Gets the SWF framerate.• on2sc video_options_SetSwfFramerate (FLIX2HANDLE flix, const int32_t swfFram
332 Flix Engine Linux File Documentation• on2sc video_options_SetImageWidth (FLIX2HANDLE flix, const int32_t lImageWidth)Set the scaled image width.• o
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
28 Flix Engine Linux Module Documentation5.8 AAC+5.8.1 Detailed DescriptionExample Usage:sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_AACPLUS);// U
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
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
336 Flix Engine Linux Page DocumentationCopyright (c) 1998-2007 The OpenSSL Project. All rights reserved.Redistribution and use in source and binary f
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
338 Flix Engine Linux Page DocumentationTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS‘‘AS IS’’ AND ANY EXPRESS OR IMPLIED WARRAN
7.2 Language Binding API Deviations 3397.2 Language Binding API DeviationsThe Flix Engine language bindings endeavor to remain as true as possible to
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
7.2 Language Binding API Deviations 341##using the flix engine namespacepackage On2::flixengine2;$a_string_constant= $FE2_FILTER_PNGEX;$sc= Flix2_Code
342 Flix Engine Linux Page Documentation• PHP##sc is $res[0], value is $res[1]#boolean$res= Flix2_IsEncoderRunning($flix);#integer$res= video_options_
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
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
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)
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
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
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)
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)
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
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
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)
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.
7.4 CHANGELOG 353inspected, providing behavior similar to r27474 snapshot.- updated patches:o libavformat_mov-avoid_reporting_empty_av_streams.diff,mo
30 Flix Engine Linux Module Documentation5.9 AMR_NB - FFmpeg5.9.1 Detailed DescriptionAMR narrowband encoder.Valid bitrates:AMR narrowband only suppor
354 Flix Engine Linux Page Documentationo mpegvideo-revert_r18381.diff - temporary, changes at this revision crashselect internal test clipso stream_f
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
356 Flix Engine Linux Page DocumentationNew header file: filters/{mirror,rotate}.h- (Linux) mencoder, update snapshot to r27474Additional differences
7.4 CHANGELOG 357- new patches:o asfhdr_correct_movielength.diff: correct duration calculation by usingdouble precision as well as correct units for p
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
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
360 Flix Engine Linux Page Documentationo ffmpeg_correct_dimensions.diff - addresses cropped output inMPG/MP4/MOV fileso mov_01_edl_kf_search.diff - u
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
362 Flix Engine Linux Page Documentation- (linux,mencoder) allow mean framerate patch to only increase outputframerate. avoids artifacts when decoding
7.4 CHANGELOG 363duplicated. depending on the content this may have produced an audibledistortion in the output. in addition, break final mp3 block in
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
364 Flix Engine Linux Page Documentationprevious versions would correctly decimate the input, but report the sourceframe rate, adversely affecting vid
7.5 flixd man page 3657.5 flixd man pageFLIXD(8) FLIXD(8)NAMEflixd - Flix encoding daemonSYNOPSISflixd [ -d ] [ -p port ] [ -i interface ] [ -r ] [ --ma
366 Flix Engine Linux Page Documentation--authdir pathpath to search for flixd authorization files (default: user’shome directory)--pidfile filewrite
7.5 flixd man page 367o See the Flix Engine API documentation for complete list-ing/descriptionBUGSEmail bug reports to [email protected]. Make sure
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
7.7 Overview 3697.7 Overview===============================================================================Copyright (c) On2 Technologies Inc. All Rig
370 Flix Engine Linux Page Documentationthese examplescli_encode.php - php command line example similar to the java and perlexamples described above.f
7.8 Command Line 3717.8 Command Line/*//==========================================================================//// Copyright (c) On2 Technologies
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
7.9 Command Line 3737.9 Command Line/*//==========================================================================//// Copyright (c) On2 Technologies
32 Flix Engine Linux Module Documentation5.10 H263 - FFmpeg5.10.1 Detailed DescriptionThe H263 codec ...Example Usage:sc = Flix2_AddCodec(&codec,
374 Flix Engine Linux Page DocumentationOptions may be set and codecs/filters/muxers may be added prior to Encode()*//*Add the scale filterFilter filt
7.10 Command Line 3757.10 Command Line#!/usr/bin/perl -w##==========================================================================#### Copyright (c)
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
7.10 Command Line 377# checksc(’Flix2_CodecSetParam($FE2_VP6_RC_MODE,$VBR_1PASSControl)’,$sc);###cleanup#delete_flix2plgnhandlep($codecptr); $codecptr
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
7.11 CGI 379i++;}}function toggle_expand(_this){_this.parentNode.className= (_this.parentNode.className==’expanded’) ?’collapsed’ : ’expanded’;documen
380 Flix Engine Linux Page Documentationvar i=0;while(list[i]) {if(list[i].type==’checkbox’) { list[i++].checked=false; }else { list[i++].value=’’; }}
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
382 Flix Engine Linux Page Documentationtable {font-size: 100%;border-spacing: 0;/*border-collapse: collapse;*/width: 100%;}th:before { display: none;
7.11 CGI 383<p>This page requires javascript be enabled.</p></noscript><hr><h1>Flix CGI Sample</h1><p><sm
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
384 Flix Engine Linux Page Documentation<tr><td><input type="text" name="Flix2_SetOutputFile" value="cgi-pl-ou
7.11 CGI 385<label><input type=’radio’ name=’vcodec:’ value=’FE2_CODEC_VP6’onfocus="set_vcodec_visible(’vp6table’)"><abbr tit
386 Flix Engine Linux Page Documentation<select name="Flix2_CodecSetParam:FE2_VP6_CXMODE"><option value=""></option
7.11 CGI 387<th><abbr title="Default: 6 (CBR only)">FE2_VP6_STREAM_PREBUFFER</abbr></th><td><input type=’te
388 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: COMPRESSMODE_GOOD">FE2_VP6A_CXMODE</abbr></
7.11 CGI 389</tr><tr><th><abbr title="Default: 100">FE2_VP6A_STREAM_PEAK_BITRATE</abbr></th><td>&l
390 Flix Engine Linux Page Documentation</select></td></tr><tr><th><abbr title="Default: 31">FE2_H263_MA
7.11 CGI 391<tr><th><abbr title="Default: 448kbps">FE2_VP8_BITRATE</abbr></th><td><input type=’text’
392 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: 200">FE2_VP8_OVERSHOOT_PCT</abbr></th>&l
7.11 CGI 393<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_VP8_AR_TYPE’></td></tr><tr><th><abbr title=&qu
ii CONTENTS5.14 VP6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435.15 VP6 with Alpha . . . . . . . .
34 Flix Engine Linux Module Documentation5.10.2.5 #define FE2_H263_KFINTTYPEAlias for FE2_VCODECPARAM_KFINTTYPE.Video codec parameter for the keyframe
394 Flix Engine Linux Page Documentation</tr></table><!-- END - AMR_NB codec parameters --><!-- AAC codec parameters --><ta
7.11 CGI 395</table><!-- END - PCM codec parameters --><!-- VORBIS codec parameters --><table id=’vorbistable’ class=’hidden’>
396 Flix Engine Linux Page Documentation<td><label><input type=’checkbox’ class=’filter’name=’FE2_FILTER_ADAPTIVE_DEINTERLACE’ value=’v
7.11 CGI 397<table id=’filter_blur’ class=’disabled’><tr><th><abbr title="Default: BLUR_GAUSS">FE2_BLUR_FILTER</a
398 Flix Engine Linux Page Documentation<input type=’checkbox’ class=’filter’name=’FE2_FILTER_DENOISE’ value=’vfilter:’onchange="toggle_ftable
7.11 CGI 399<option value=""></option><option value="on2false">FALSE</option><option value="on2tru
400 Flix Engine Linux Page Documentation</tr><tr><th><abbr title="Default: 0">FE2_OVERLAY_MASK_Y</abbr></th
7.11 CGI 401</label><table id=’filter_pngex’ class=’disabled’><tr><th><abbr title="Default: output file directory"
402 Flix Engine Linux Page Documentation<option value="FE2_PNGEX_CP_EVENT">Only event cue points (FE2_PNGEX_CP_EVENT)</option>&l
7.11 CGI 403<table id=’filter_scale’ class=’disabled’><tr><th><abbr title="Default: input image width">FE2_SCALE_WID
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
404 Flix Engine Linux Page Documentationonchange="toggle_ftable(’filter_lowpass’,this.checked)">FE2_FILTER_LOWPASS</label><table
7.11 CGI 405<input type=’radio’ name=’muxer:’ value=’FE2_MUXER_MOV’onfocus="set_muxer_visible(’movtable’)">FE2_MUXER_MOV <
406 Flix Engine Linux Page Documentation</table><!-- END - 3G2 muxer parameters --><!-- FLV muxer parameters --><table id=’flvtab
7.11 CGI 407<tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_ENABLE:MD_WIDTH’><abbr title="Default: Enabled">
408 Flix Engine Linux Page Documentation</tr><tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_DISABLE:MD_AUDIO_DATARATE’&
7.11 CGI 409<!-- FXM muxer parameters --><table id=’fxmtable’ class=’hidden’><tr><th><abbr title="Format = cueptNAME ’
410 Flix Engine Linux Page Documentation<td><input type=’checkbox’ id=’Flix2_MuxerSetParam:FE2_FXM_METADATA_ENABLE:MD_WIDTH’ name=’Flix2_Muxe
7.11 CGI 411<th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_DISABLE:MD_AUDIO_DATARATE’><abbr title="Default: Enabled">
412 Flix Engine Linux Page Documentation<th><abbr title="Default: FALSE">FE2_ISOMEDIA_FASTSTART</abbr></th><td>
7.11 CGI 413<tr><th><abbr title="Default: EmbeddedUrlIsLoadMovie">FE2_SWF_EMBEDDED_URL_TYPE</abbr></th><td&
36 Flix Engine Linux Module Documentation• #define FE2_H264_RC_MODEAlias for FE2_VCODECPARAM_RC_MODE.• #define FE2_H264_PROFILECodec parameter for encod
414 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: SwfOnMovieEndNothing">FE2_SWF_ON_END_OPTION</abbr
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
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
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
418 Flix Engine Linux Page Documentation"<br>Please make $i accessible or modify the $tt"." value defined in ’$0’.<br>\n&qu
7.12 Command Line 4197.12 Command Line#!/usr/bin/env php<?php##==========================================================================#### Copyr
420 Flix Engine Linux Page Documentation}$timeout_s = 0; #rpc timeout in seconds, 0=use default (25s)$flixptr = new_flix2handlep();$sc = Flix2_CreateE
7.12 Command Line 421###cleanup#delete_flix2plgnhandlep($codecptr); unset($codecptr);###Use the FLV muxer (default)#$muxerptr= new_flix2plgnhandlep();
422 Flix Engine Linux Page Documentation7.13 CGIThis example consists of 2 parts: flix2_sample.php and process_sample.php. flix2_sample.php searchesfor
7.13 CGI 423_this.parentNode.className= (_this.parentNode.className==’expanded’) ?’collapsed’ : ’expanded’;document.getElementById(’showall’).checked=
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
424 Flix Engine Linux Page Documentationfunction toggle_ftable(ftable,enabled){var table= document.getElementById(ftable);if(table) {table.className =
7.13 CGI 425display: block;}fieldset table, fieldset {display: none;}fieldset.expanded, fieldset.collapsed {display: block;}/*first is fallback for IE
426 Flix Engine Linux Page Documentationth:before { display: none; }th, td {width: 50%;vertical-align: top;padding: 2px 3px;border-width: 1px 0;border
7.13 CGI 427HTML_END;if($incret == FALSE) {echo "<p><b>"."ERROR: include(’flixengine2.php’) failed.<br>"."E
428 Flix Engine Linux Page Documentation<!-- ##DST FILE################################################################# --><hr><fields
7.13 CGI 429<input type=’radio’ name=’vcodec:’ value=’FE2_CODEC_VP8’onfocus="set_vcodec_visible(’vp8table’)"><abbr title="For
430 Flix Engine Linux Page Documentation</td></tr><tr><th><abbr title="Default: COMPRESSMODE_GOOD">FE2_VP6_CXM
7.13 CGI 431<tr><th><abbr title="Default: 100">FE2_VP6_STREAM_PEAK_BITRATE</abbr></th><td><input type
432 Flix Engine Linux Page Documentation<option value="CBR_2PASSControl">CBR_2PASSControl</option><option value="VBR_1PA
7.13 CGI 433<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_VP6A_TEMPORAL_RESAMPLING’></td></tr><tr><th><a
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
434 Flix Engine Linux Page Documentation<select name="Flix2_CodecSetParam:FE2_H263_RC_MODE"><option value=""></opti
7.13 CGI 435</table><!-- END - H264 codec parameters --><!-- VP8 codec parameters --><table id=’vp8table’ class=’hidden’><t
436 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: 95">FE2_VP8_UNDERSHOOT_PCT</abbr></th>&l
7.13 CGI 437<th><abbr title="">FE2_VP8_AR_MAX_FRAMES</abbr></th><td><input type=’text’ name=’Flix2_CodecSet
438 Flix Engine Linux Page Documentation<!-- AMR_NB codec parameters --><table id=’amrnbtable’ class=’hidden’><tr><th><abbr
7.13 CGI 439<!-- PCM codec parameters --><table id=’pcmtable’ class=’hidden’><tr><th>(FE2_CODEC_PCM defines no parameters)<
440 Flix Engine Linux Page Documentation</tr><!-- END - CUT filter parameters --><tr><th><b>Video Filters</b></
7.13 CGI 441<label><input type=’checkbox’ class=’filter’name=’FE2_FILTER_BLUR’ value=’vfilter:’onchange="toggle_ftable(’filter_blur’,thi
442 Flix Engine Linux Page Documentation</tr><!-- END - CROP filter parameters --><tr><td><label><input type=’checkbo
7.13 CGI 443</tr><tr><th><abbr title="Default: 0 (disabled)">FE2_MIRROR_VERTICAL</abbr></th><td>&l
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(&
444 Flix Engine Linux Page Documentation<tr><th><abbr title="Default: 0">FE2_OVERLAY_MASK_X</abbr></th><td&
7.13 CGI 445name=’FE2_FILTER_PNGEX’ value=’vfilter:’onchange="toggle_ftable(’filter_pngex’,this.checked)">FE2_FILTER_PNGEX</label>&
446 Flix Engine Linux Page Documentation<option value=""></option><option value="FE2_PNGEX_CP_ALL">All cue point
7.13 CGI 447FE2_FILTER_SCALE</label><table id=’filter_scale’ class=’disabled’><tr><th><abbr title="Default: input imag
448 Flix Engine Linux Page Documentation<label><input type=’checkbox’ class=’filter’name=’FE2_FILTER_LOWPASS’ value=’afilter:’onchange="
7.13 CGI 449FE2_MUXER_3G2 </label><label><input type=’radio’ name=’muxer:’ value=’FE2_MUXER_MOV’onfocus="set_muxer_visibl
450 Flix Engine Linux Page Documentation</select></td></tr></table><!-- END - 3G2 muxer parameters --><!-- FLV muxer
7.13 CGI 451<th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_ENABLE:MD_VIDEO_CODECID’><abbr title="Default: Enabled">M
452 Flix Engine Linux Page Documentation<tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_DISABLE:MD_VIDEO_SIZE’><abbr tit
7.13 CGI 453</table><!-- END - FLV muxer parameters --><!-- FXM muxer parameters --><table id=’fxmtable’ class=’hidden’><tr
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
454 Flix Engine Linux Page Documentation<tr><th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_ENABLE:MD_WIDTH’><abbr title=&qu
7.13 CGI 455</tr><tr><th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_DISABLE:MD_AUDIO_DATARATE’><abbr title="Defa
456 Flix Engine Linux Page Documentation<!-- MOV muxer parameters --><table id=’movtable’ class=’hidden’><tr><th><abbr titl
7.13 CGI 457</td></tr><tr><th><abbr title="Default: EmbeddedUrlIsLoadMovie">FE2_SWF_EMBEDDED_URL_TYPE</abbr
458 Flix Engine Linux Page Documentation<tr><th><b>End Settings:</b></th><td></td></tr><tr><t
7.13 CGI 459global $flix;print "<br>Encoder Status<br>";$res= Flix2_GetEncoderState($flix);print " Flix2_GetEncode
460 Flix Engine Linux Page Documentation{global $codec;echo "<tr><td>$funcname( $name, $value )</td>";$sc = call_user_func
7.13 CGI 461flush(); if(ini_get("output_buffering")) ob_flush();}echo "\r\n\r\n<html><head><title>Flix CGI Process Sa
462 Flix Engine Linux Page Documentation$temp = explode(":",$func);muxer_interface($temp[0],$temp[1],$param);} else {SimpleSet($func,$param)
7.14 Command Line 4637.14 Command Line#!/usr/bin/python -u##==========================================================================#### Copyright (
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
464 Flix Engine Linux Page Documentationif(os.path.isabs(sys.argv[1])!=True):print "WARNING: path to input file is not absolute"sc = flixeng
7.14 Command Line 465##retrieve the value of the handle for use in the remaining muxer functions#muxer= flixengine2.flix2plgnhandlep_value(muxerptr)##
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
7.15 CGI 467document.getElementById(’showall’).checked=false;}function set_table_visible(ctable,visible){var table= document.getElementById(ctable);if
468 Flix Engine Linux Page Documentation{var table= document.getElementById(ftable);if(table) {table.className = enabled ? ’’ : ’disabled’;if(!enabled
7.15 CGI 469fieldset table, fieldset {display: none;}fieldset.expanded, fieldset.collapsed {display: block;}/*first is fallback for IE*/fieldset.expan
470 Flix Engine Linux Page Documentationth, td {width: 50%;vertical-align: top;padding: 2px 3px;border-width: 1px 0;border-style: solid;border-color:
7.15 CGI 471<p><small>flix2_sample.cgi version 1.9</small></p><h4>Instructions</h4><ul><li>In this sam
472 Flix Engine Linux Page Documentation</table></fieldset><!-- ##MAIN OPTIONS#########################################################
7.15 CGI 473<input type=’radio’ name=’vcodec:’ value=’FE2_CODEC_VP6ALPHA’onfocus="set_vcodec_visible(’vp6atable’)"><abbr title=&quo
42 Flix Engine Linux Module Documentation5.13 libvorbis - FFmpeg5.13.1 Detailed DescriptionExample Usage:sc = Flix2_AddCodec(&codec, flix, FE2_COD
474 Flix Engine Linux Page Documentation</tr><tr><th><abbr title="Default: VP6_E">FE2_VP6_PROFILE</abbr></t
7.15 CGI 475<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_VP6_STREAM_OPTIMAL_BUFFER’></td></tr><tr><th><
476 Flix Engine Linux Page Documentation<option value="COMPRESSMODE_GOOD">COMPRESSMODE_GOOD</option><option value="COMPR
7.15 CGI 477<tr><th><abbr title="Default: 6 (CBR only)">FE2_VP6A_STREAM_PREBUFFER</abbr></th><td><inp
478 Flix Engine Linux Page Documentation<td><input type=’text’ name=’Flix2_CodecSetParam:FE2_H263_MAX_Q’></td></tr><tr>&
7.15 CGI 479<th><abbr title="Default: MAX_KEYFRAMES">FE2_VP8_KFINTTYPE</abbr></th><td><select name="Fl
480 Flix Engine Linux Page Documentation<th><abbr title="Default: 4">FE2_VP8_MIN_Q</abbr></th><td><input ty
7.15 CGI 481</tr><tr><th><abbr title="Default: 0">FE2_VP8_MB_STATIC_THRESHOLD</abbr></th><td><i
482 Flix Engine Linux Page Documentation<table id=’aactable’ class=’hidden’><tr><th><abbr title="Default: 64kbps">FE
7.15 CGI 483<th><abbr title="Default: 64kbps">FE2_VORBIS_BITRATE</abbr></th><td><input type=’text’ name=’Fl
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
484 Flix Engine Linux Page Documentation</label><table id=’filter_adaptive_deinterlace’ class=’disabled’><tr><th><abbr titl
7.15 CGI 485<option value=""></option><option value="BLUR_LOWPASS">BLUR_LOWPASS</option><option value=&
486 Flix Engine Linux Page Documentation<table id=’filter_denoise’ class=’disabled’><tr><th><abbr title="Default: 0. Range:
7.15 CGI 487</table></td></tr><!-- END - MIRROR filter parameters --><tr><td><label><input type=’checkbox
488 Flix Engine Linux Page Documentation<select name="Flix2_FilterSetParam:FE2_OVERLAY_MASK_RGB"><option value=""><
7.15 CGI 489<th><abbr title="Default: none">FE2_PNGEX_FILENAME_PREFIX</abbr></th><td><input type=’text’ nam
490 Flix Engine Linux Page Documentation<tr><th><b>Automatic PNG Export Options:</b></th><td></td></tr>
7.15 CGI 491</tr></table></td></tr><!-- END - SCALE filter parameters --><tr><td><label><input type
492 Flix Engine Linux Page Documentation<tr><th>FE2_LOWPASS_CUTOFF</th><td><input type=’text’ name=’Flix2_FilterSetParam:FE
7.15 CGI 493<br><label><input type=’radio’ name=’muxer:’ value=’FE2_MUXER_FLV’onfocus="set_muxer_visible(’flvtable’,true)">
CONTENTS iii5.50 MOV - FFmpeg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2055.51 MP4 - FFmpeg . . . . . . . . . .
44 Flix Engine Linux Module DocumentationGeneral VP6 settings• enum FE2_CompressMode {COMPRESSMODE_GOOD,COMPRESSMODE_BEST }Valid compress modes for VP
494 Flix Engine Linux Page Documentation</tr><tr><th><abbr title="Format = cueptNAME ’=’ cueptTIME_SECONDS e.g. ’navpt0=343.
7.15 CGI 495</tr><tr><th><label for=’Flix2_MuxerSetParam:FE2_FLV_METADATA_ENABLE:MD_FRAMERATE’><abbr title="Default: E
496 Flix Engine Linux Page Documentation<td><input type=’checkbox’ id=’Flix2_MuxerSetParam:FE2_FLV_METADATA_DISABLE:MD_VIDEO_DATARATE’ name=’
7.15 CGI 497<th><abbr title="Format = cueptNAME ’=’ cueptTIME_SECONDS e.g. ’navpt0=343.0’">FE2_FXM_CUEPT_NAV</abbr></th
498 Flix Engine Linux Page Documentation<th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_ENABLE:MD_FRAMERATE’><abbr title="Def
7.15 CGI 499<tr><th><label for=’Flix2_MuxerSetParam:FE2_FXM_METADATA_DISABLE:MD_AUDIO_CODECID’><abbr title="Default: Enabled
500 Flix Engine Linux Page Documentation</table><!-- END - MOV muxer parameters --><!-- MP4 muxer parameters --><table id=’mp4tab
7.15 CGI 501</tr><tr><th><abbr title="e.g. n0=v0&n1=v1...">FE2_SWF_ADD_VARIABLE</abbr></th><t
502 Flix Engine Linux Page Documentation<option value="SwfOnMovieEndLoadMovie">SwfOnMovieEndLoadMovie</option></select><
7.15 CGI 503(res[0],res[1],res[2])def process_sc(func, sc):print "<td align=\"center\">%d</td>" % scif (sc != flixengi
5.14 VP6 45Advanced VP6 settings• #define FE2_VP6_CONCURRENCYCodec parameter for concurrency level.• #define FE2_VP6_UNDERSHOOT_PCTCodec parameter for u
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
7.15 CGI 505<body><hr>"""print "<p>process_sample.py version 1.8<br>\n"print "Flix Engine client
506 Flix Engine Linux Page Documentationif key == ’Flix2_SetInputFile’:funcname = ’flixengine2.’+keySimpleSet(funcname, value[0])elif key == ’Flix2_Se
7.16 Deprecated List 5077.16 Deprecated ListGlobal FE2_AudioSamplingrates With the addition of new Muxers the allowed sample rates willchange. For thi
508 Flix Engine Linux Page DocumentationGlobal video_options_GetDeinterlace Use the Filter Interface along with FE2_FILTER_ADAPTIVE_-DEINTERLACE. This
7.16 Deprecated List 509Global editor_options_GetSaturation Use the Filter Interface along with FE2_FILTER_BCHS and theFE2_BCHS_SATURATION parameter.
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
7.16 Deprecated List 511Global editor_options_SetCutStopTime Please use:• Flix2_AddFilter()• Flix2_FilterGetParam()• Flix2_FilterSetParam()With the co
512 Flix Engine Linux Page DocumentationGlobal overlay_options_Reset Use the Filter Interface along with FE2_FILTER_OVERLAY. This func-tion will be re
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
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
514 Flix Engine Linux Page DocumentationGlobal video_options_GetUseSourceDimensions The flix engine encodes video using the video sourcedimensions by d
7.16 Deprecated List 515Global swf_options_SetEmbeddedUrlType Use the Muxer Interface along with FE2_MUXER_SWFand the FE2_SWF_EMBEDDED_URL_TYPE parame
516 Flix Engine Linux Page DocumentationGlobal swf_options_GetMovieOnEndOptions Use the Muxer Interface along with FE2_MUXER_-SWF and the FE2_SWF_ON_E
7.16 Deprecated List 517Global swf_options_GetVariableCount Use the Muxer Interface along with FE2_MUXER_SWF. Thisfunction will be removed in a future
518 Flix Engine Linux Page DocumentationGlobal video_options_GetAlphaPercentage Use the Codec Interface along with FE2_CODEC_-VP6ALPHA and the FE2_VP6
7.16 Deprecated List 519Global video_options_SetImageQuality The image quality functions have been deprecated in favor ofthe maximum bitrate functions
Index_on2boolbasetypes, 2463GPP - FFmpeg, 2013GPP2 - FFmpeg, 203AAC, 26AAC+, 28about.dox, 267AMR_NB - FFmpeg, 30Audio Codecs, 25Audio Encoding Options
INDEX 521ON2_INVALID_PARAMS, 247ON2_INVALID_VERSION, 246ON2_NET_ERROR, 246ON2_NO_MEM, 246ON2_NOT_FOUND, 246ON2_NOT_SUPP, 246ON2_OK, 247ON2_TIMEDOUT, 2
522 INDEXcodec_h264FE2_CODEC_H264, 36FE2_H264_B_FRAME_RATE, 36FE2_H264_BITRATE, 36FE2_H264_KFFREQ, 37FE2_H264_KFINTTYPE, 37FE2_H264_PROFILE, 37FE2_H26
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
5.14 VP6 47Usage Considerations:The current implementation parallelizes the video encode on keyframe boundaries. To achieve this,each instance (1 per
524 INDEXeditor_options_SetCropBoundsfilter_crop, 99editor_options_SetCutStartTimefilter_cut,104editor_options_SetCutStopTimefilter_cut, 105editor_option
INDEX 525FE2_BCHS_CONTRASTfilter_bchs, 84FE2_BCHS_HUEfilter_bchs,84FE2_BCHS_SATURATIONfilter_bchs, 84FE2_BLUR_FILTERfilter_blur, 94FE2_BLUR_MASKSIZEfilter_
526 INDEXFE2_FRAMERATE_DECIMATEfilter_framerate, 109FE2_FRAMERATE_FPSfilter_framerate,109FE2_FrameTypeframeserver, 186FE2_FXM_CUEPT_EVENTmuxer_fxm, 199F
INDEX 527FE2_OVERLAY_POS_MODE_TOPLEFTfilter_overlay, 125FE2_OVERLAY_POS_MODE_TOPRIGHTfilter_overlay,125FE2_OVERLAY_POS_MODE_XYfilter_overlay, 125FE2_OVER
528 INDEXFE2_VideoBitrateControlscodecparam_common, 23FE2_VideoCodecvidopts_deprecated,255FE2_VideoFormatframeserver, 186FE2_VideoKeyframeTypescodecpa
INDEX 529codec_vp8, 65FE2_VP8_BITRATEcodec_vp8, 65FE2_VP8_CXMODEcodec_vp8, 65FE2_VP8_DROP_THRESHcodec_vp8, 66FE2_VP8_KFFREQcodec_vp8, 66FE2_VP8_KFINTT
530 INDEXFE2_CUT_START_SEC, 102FE2_CUT_STOP_SEC, 102FE2_CUT_USE_SEEK, 102FE2_FILTER_CUT, 102filter_denoiseFE2_DENOISE_NOISE_LEVEL, 107FE2_FILTER_DENOIS
INDEX 531FE2_SCALE_WIDTH, 146video_options_GetImageHeight, 146video_options_GetImageWidth, 147video_options_GetUseSourceDimensions, 147video_options_S
532 INDEXFlix2_SetExportVideomainengine, 164Flix2_SetExportVideoTypemainengine,165Flix2_SetFrameServerframeserver, 189Flix2_SetInputFilemainengine, 16
INDEX 533FE2_VideoFormat, 186Flix2_EncodeFrame, 187Flix2_GetFrameServer, 188Flix2_SetAudioProperties, 188Flix2_SetFrameServer, 189Flix2_SetVideoProper
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
534 INDEXmainpage.dox, 333MASK_3x3filter_blur, 95MASK_5x5filter_blur, 95masksizfilter_blur, 95masksiz_tfilter_blur, 94MAX_KEYFRAMEScodecparam_common, 23MD
INDEX 535SwfPreloaderNone, 219muxer_swfFE2_EmbeddedUrlType, 218FE2_MUXER_SWF, 214FE2_SWF_ADAPTIVE_PRELOAD_-BUFFER_FACTOR, 214FE2_SWF_ADD_VARIABLE, 214
536 INDEXON2_WOULDBLOCKbasetypes, 246ON2APIon2types.h,324on2boolbasetypes, 245on2falsebasetypes, 246on2s16basetypes, 245on2s32basetypes, 245on2s64base
INDEX 537muxer_swf, 230swf_options_SetAdaptivePreloaderBufferFactormuxer_swf, 230swf_options_SetEmbeddedUrlmuxer_swf, 231swf_options_SetEmbeddedUrlTar
538 INDEXvideo_options_GetSwfWidthvidopts, 249video_options_GetUseCustomSwfDimensionsvidopts,250video_options_GetUseMaximumBitratevidopts_deprecated,
INDEX 539video_options_SetMaximumBitrate, 264video_options_SetRateControlType, 265video_options_SetSwfFramerate, 265video_options_SetUseMaximumBitrate
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
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
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
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
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(
iv CONTENTS6.29 flixengine2/filters/resample.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 3016.30 flixengine2/filters/rotate.h File
54 Flix Engine Linux Module Documentation• #define FE2_VP6A_NOISE_REDUCTIONAlias for FE2_VP6_NOISE_REDUCTION.• #define FE2_VP6A_ALPHA_NOISE_REDUCTIONNoi
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
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
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
58 Flix Engine Linux Module DocumentationNote:Valid range: [0,63]Default: Bits per pixel dependentAttention:Setting this value too low will likely cau
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
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
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
62 Flix Engine Linux Module Documentation5.16 VP85.16.1 Detailed DescriptionThe VP8 video codec.Example Usage:sc = Flix2_AddCodec(&codec, flix, FE
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
Chapter 1Flix Engine Documentation1.1 Page Contents• Introduction• Starting Points• New Codecs & Container Formats• Support Options & FAQ1.2 I
64 Flix Engine Linux Module Documentation• #define FE2_VP8_MB_STATIC_THRESHOLDThreshold for macroblocks treated static.• #define FE2_VP8_TOKEN_PARTITION
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
66 Flix Engine Linux Module Documentation5.16.2.9 #define FE2_VP8_CXMODEVP8 compress mode.Valid values are defined by FE2_CompressModeNote:Default: COMP
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
68 Flix Engine Linux Module Documentation5.16.2.17 #define FE2_VP8_NOISE_REDUCTIONControls encoder noise reduction preprocessing.Determines the level o
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
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
5.17 Encoding Statistics 715.17 Encoding StatisticsFunctions• on2sc encoding_status_GetAverageBitrate (const FLIX2HANDLE flix, int32_t ∗pBitrate)Retrie
72 Flix Engine Linux Module DocumentationON2_NET_ERROR the underlying communication layer failedPrecondition:flix is not NULLpBitrate is not NULL5.17.1
5.17 Encoding Statistics 735.17.1.4 on2sc encoding_status_GetEndTime (const FLIX2HANDLE flix, int32_t ∗ pEndTime)Retrieve the encode completion time.Va
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
74 Flix Engine Linux Module Documentation→ pMinFramesize Storage location to receive the resultReturn values:ON2_OK on successON2_INVALID_PARAMS shoul
5.17 Encoding Statistics 755.17.1.9 on2sc encoding_status_PercentComplete (const FLIX2HANDLE flix, int32_t ∗ percent)Retrieve the percent of the encode
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
5.19 Video Filters 775.19 Video FiltersModules• Deinterlace• Brightness/Contrast/Hue/Saturation• Blur• Crop• Denoise• Frame Rate• Mirror• Overlay (Wat
78 Flix Engine Linux Module Documentation5.20 Audio FiltersModules• Highpass• Lowpass• ResampleGenerated on Tue Jul 20 17:39:03 2010 for Flix Engine L
5.21 Deinterlace 795.21 Deinterlace5.21.1 Detailed DescriptionThe adaptive deinterlace filter implements a deinterlacer with three different modes - 1:
80 Flix Engine Linux Module DocumentationDEINTERLACE_1_2_1_BLUR,DEINTERLACE_DROP_FIELD,DEINTERLACE_ADAPTIVE }5.21.2 Define Documentation5.21.2.1 #define
5.21 Deinterlace 81Return values:ON2_OK The deinterlace filter enable status was successfully retrieved from the engine.ON2_NET_ERROR The underlying co
82 Flix Engine Linux Module Documentation5.22 Brightness/Contrast/Hue/Saturation5.22.1 Detailed DescriptionThe BCHS video filter is a filter used to mod
5.22 Brightness/Contrast/Hue/Saturation 83• on2sc editor_options_SetHue (FLIX2HANDLE flix, const int32_t hue)Set the hue adjustment factor.• on2sc edit
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
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
5.22 Brightness/Contrast/Hue/Saturation 855.22.3 Function Documentation5.22.3.1 on2sc editor_options_GetBrightness (const FLIX2HANDLE flix, int32_t ∗ p
86 Flix Engine Linux Module DocumentationParameters:← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()→ pHue Hue factor
5.22 Brightness/Contrast/Hue/Saturation 87Return values:ON2_OK The brightness filter enable status was successfully retrieved from the engine.ON2_NET_E
88 Flix Engine Linux Module DocumentationDeprecatedUse the Filter Interface along with FE2_FILTER_BCHS and the FE2_BCHS_HUE parameter. Thisfunction wi
5.22 Brightness/Contrast/Hue/Saturation 895.22.3.10 on2sc editor_options_SetContrast (FLIX2HANDLE flix, const double contrast)Set the contrast adjustme
90 Flix Engine Linux Module Documentation5.22.3.12 on2sc editor_options_SetSaturation (FLIX2HANDLE flix, const double saturation)Set the saturation adj
5.22 Brightness/Contrast/Hue/Saturation 915.22.3.14 on2sc editor_options_SetUseContrast (FLIX2HANDLE flix, const on2bool bUseContrast)Enable/disable th
92 Flix Engine Linux Module Documentation← bUseSaturation New saturation enable status. on2true to enable, on2false to disable.Return values:ON2_OK Th
5.23 Blur 935.23 Blur5.23.1 Detailed DescriptionBlurs the source imageFilter Parameters:Name | Type | Opt/Reqd | Range================================
Commentaires sur ces manuels