Google Flix Engine Linux Reference Manual Manuale Utente

Navigare online o scaricare Manuale Utente per Software Google Flix Engine Linux Reference Manual. Google Flix Engine Linux Reference Manual User Manual [en] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 545
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
Flix Engine Linux Reference Manual
8.0.17.1
Generated by Doxygen 1.5.2
Tue Jul 20 17:39:03 2010
Vedere la pagina 0
1 2 3 4 5 6 ... 544 545

Sommario

Pagina 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

Pagina 2

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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 . . . . . . . . . . . . . . . . . .

Pagina 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

Pagina 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

Pagina 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_

Pagina 17 - Documentation

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 22

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

Pagina 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

Pagina 24

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

Pagina 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

Pagina 26

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

Pagina 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

Pagina 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&

Pagina 29

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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_-

Pagina 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

Pagina 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

Pagina 39

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

Pagina 40

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

Pagina 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

Pagina 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

Pagina 43

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

Pagina 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

Pagina 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

Pagina 46 - 5.12.2 Define Documentation

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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_

Pagina 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.

Pagina 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

Pagina 53

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

Pagina 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

Pagina 55

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

Pagina 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

Pagina 57

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

Pagina 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

Pagina 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

Pagina 60

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

Pagina 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

Pagina 62

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

Pagina 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

Pagina 64

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

Pagina 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 -

Pagina 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

Pagina 67

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

Pagina 68 - 5.16 VP8

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

Pagina 69

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

Pagina 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

Pagina 71

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

Pagina 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

Pagina 73

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

Pagina 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

Pagina 75

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

Pagina 76

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

Pagina 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

Pagina 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

Pagina 79

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

Pagina 80

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

Pagina 81

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

Pagina 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

Pagina 83 - 5.19 Video Filters

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 89 - 5.22.2 Define Documentation

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

Pagina 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

Pagina 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

Pagina 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

Pagina 93

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

Pagina 94

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

Pagina 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

Pagina 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

Pagina 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

Pagina 98

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

Pagina 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

Pagina 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

Pagina 101

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

Pagina 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

Pagina 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

Pagina 104 - 5.24.3 Function Documentation

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

Pagina 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

Pagina 106 - Deprecated

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

Pagina 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

Pagina 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

Pagina 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

Pagina 110

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

Pagina 111

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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 =

Pagina 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,

Pagina 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

Pagina 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

Pagina 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 =

Pagina 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)

Pagina 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

Pagina 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

Pagina 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

Pagina 125

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

Pagina 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);

Pagina 127

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

Pagina 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);

Pagina 129

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

Pagina 130

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

Pagina 131

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

Pagina 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

Pagina 133

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

Pagina 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

Pagina 135

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

Pagina 136

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

Pagina 137

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

Pagina 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

Pagina 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

Pagina 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

Pagina 141

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

Pagina 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

Pagina 143

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

Pagina 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-

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 149 - 5.34 Rotate

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

Pagina 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

Pagina 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

Pagina 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

Pagina 153

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

Pagina 154

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

Pagina 155

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 161

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

Pagina 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

Pagina 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.

Pagina 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

Pagina 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

Pagina 166

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

Pagina 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

Pagina 168

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 173

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

Pagina 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

Pagina 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.

Pagina 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

Pagina 177

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

Pagina 178 - Remarks:

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

Pagina 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

Pagina 180

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 185

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

Pagina 186

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 191 - 5.43 Frame Server API

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

Pagina 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

Pagina 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_

Pagina 194

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 208

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

Pagina 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):

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 214

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

Pagina 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

Pagina 216

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

Pagina 217

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

Pagina 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

Pagina 219

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

Pagina 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

Pagina 221

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

Pagina 222

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

Pagina 223

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

Pagina 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

Pagina 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

Pagina 226

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

Pagina 227

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

Pagina 228

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

Pagina 229

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

Pagina 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)

Pagina 231

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

Pagina 232

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

Pagina 233

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

Pagina 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

Pagina 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

Pagina 236

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

Pagina 237

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

Pagina 238

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

Pagina 239

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

Pagina 240

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

Pagina 241

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

Pagina 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

Pagina 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

Pagina 244

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

Pagina 245

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

Pagina 246

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

Pagina 247

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

Pagina 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

Pagina 249 - 5.54 Base Types

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

Pagina 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

Pagina 251

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

Pagina 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

Pagina 253

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

Pagina 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

Pagina 255

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

Pagina 256

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

Pagina 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

Pagina 258

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

Pagina 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

Pagina 260

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

Pagina 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

Pagina 262

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

Pagina 263

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

Pagina 264

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

Pagina 265

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

Pagina 266

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

Pagina 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

Pagina 268

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

Pagina 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

Pagina 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

Pagina 271

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 276

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

Pagina 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_

Pagina 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

Pagina 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

Pagina 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)

Pagina 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

Pagina 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

Pagina 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)

Pagina 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)

Pagina 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

Pagina 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

Pagina 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)

Pagina 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.

Pagina 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

Pagina 290

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 304

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

Pagina 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

Pagina 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

Pagina 307 - 6.29.1 Detailed Description

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

Pagina 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

Pagina 309 - 6.31.1 Detailed Description

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

Pagina 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

Pagina 311 - 6.33.1 Detailed Description

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

Pagina 312

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

Pagina 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

Pagina 314

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

Pagina 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

Pagina 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

Pagina 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

Pagina 318 - 6.35.1 Detailed Description

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

Pagina 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=’’; }}

Pagina 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

Pagina 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;

Pagina 322

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

Pagina 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

Pagina 324 - 6.39.2 Define Documentation

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

Pagina 325 - Attention:

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

Pagina 326 - 6.40.1 Detailed Description

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

Pagina 327

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

Pagina 328 - 6.41.1 Detailed Description

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

Pagina 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

Pagina 330 - 6.42.2 Define Documentation

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

Pagina 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’

Pagina 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

Pagina 333

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

Pagina 334

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

Pagina 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

Pagina 336

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

Pagina 337

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

Pagina 338

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

Pagina 339

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

Pagina 340

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

Pagina 341 - Chapter 7

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

Pagina 342

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

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

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

Pagina 344

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

Pagina 345

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

Pagina 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

Pagina 347 - 7.2.5 Functions

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

Pagina 348

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

Pagina 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

Pagina 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">

Pagina 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’&

Pagina 352 - 7.3.1.3 1024x464

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

Pagina 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

Pagina 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">

Pagina 355 - 7.3.2.2 640x480 (VGA)

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

Pagina 356 - 7.3.2.3 1024x464

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

Pagina 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

Pagina 358 - 7.4 CHANGELOG

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

Pagina 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

Pagina 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

Pagina 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

Pagina 362

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

Pagina 363 - 7.4 CHANGELOG 357

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

Pagina 364

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

Pagina 365 - 7.4 CHANGELOG 359

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

Pagina 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

Pagina 367 - 7.4 CHANGELOG 361

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

Pagina 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

Pagina 369 - 7.4 CHANGELOG 363

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

Pagina 370

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

Pagina 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

Pagina 372

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

Pagina 373 - 7.5 flixd man page 367

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

Pagina 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

Pagina 375 - 7.7 Overview

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

Pagina 376

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

Pagina 377 - 7.8 Command Line

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

Pagina 378

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

Pagina 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

Pagina 380

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

Pagina 381 - 7.10 Command Line

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

Pagina 382

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

Pagina 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

Pagina 384 - 7.11 CGI

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

Pagina 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)<

Pagina 386

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

Pagina 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

Pagina 388

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

Pagina 389 - 7.11 CGI 383

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

Pagina 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(&

Pagina 391 - 7.11 CGI 385

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

Pagina 392

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

Pagina 393 - 7.11 CGI 387

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

Pagina 394

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

Pagina 395 - 7.11 CGI 389

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

Pagina 396

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

Pagina 397 - 7.11 CGI 391

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

Pagina 398

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

Pagina 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

Pagina 400

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

Pagina 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

Pagina 402

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

Pagina 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

Pagina 404

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

Pagina 405 - 7.11 CGI 399

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

Pagina 406

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

Pagina 407 - 7.11 CGI 401

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

Pagina 408

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

Pagina 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

Pagina 410

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

Pagina 411 - 7.11 CGI 405

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

Pagina 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

Pagina 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

Pagina 414

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

Pagina 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

Pagina 416

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

Pagina 417 - 7.11 CGI 411

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

Pagina 418

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

Pagina 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:

Pagina 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

Pagina 421 - 7.11 CGI 415

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

Pagina 422

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

Pagina 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

Pagina 424

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

Pagina 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><

Pagina 426

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

Pagina 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

Pagina 428 - 7.13 CGI

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

Pagina 429 - 7.13 CGI 423

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

Pagina 430

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

Pagina 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

Pagina 432

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

Pagina 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

Pagina 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

Pagina 435 - 7.13 CGI 429

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

Pagina 436

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

Pagina 437 - 7.13 CGI 431

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

Pagina 438

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

Pagina 439 - 7.13 CGI 433

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

Pagina 440

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

Pagina 441 - 7.13 CGI 435

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

Pagina 442

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

Pagina 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

Pagina 444

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

Pagina 445 - 7.13 CGI 439

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

Pagina 446

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

Pagina 447 - 7.13 CGI 441

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

Pagina 448

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

Pagina 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=’

Pagina 450

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

Pagina 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

Pagina 452

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

Pagina 453 - 7.13 CGI 447

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

Pagina 454

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

Pagina 455 - 7.13 CGI 449

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 460

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

Pagina 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

Pagina 462

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

Pagina 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.

Pagina 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

Pagina 465 - 7.13 CGI 459

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 474

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

Pagina 475 - 7.15 CGI 469

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 480

524 INDEXeditor_options_SetCropBoundsfilter_crop, 99editor_options_SetCutStartTimefilter_cut,104editor_options_SetCutStopTimefilter_cut, 105editor_option

Pagina 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_

Pagina 482

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

Pagina 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

Pagina 484

528 INDEXFE2_VideoBitrateControlscodecparam_common, 23FE2_VideoCodecvidopts_deprecated,255FE2_VideoFormatframeserver, 186FE2_VideoKeyframeTypescodecpa

Pagina 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

Pagina 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

Pagina 487 - 7.15 CGI 481

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

Pagina 488

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

Pagina 489 - 7.15 CGI 483

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

Pagina 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

Pagina 491 - 7.15 CGI 485

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

Pagina 492

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

Pagina 493 - 7.15 CGI 487

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

Pagina 494

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

Pagina 495 - 7.15 CGI 489

538 INDEXvideo_options_GetSwfWidthvidopts, 249video_options_GetUseCustomSwfDimensionsvidopts,250video_options_GetUseMaximumBitratevidopts_deprecated,

Pagina 496

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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(

Pagina 502

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 513 - 7.16 Deprecated List

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

Pagina 514

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

Pagina 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

Pagina 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

Pagina 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

Pagina 518

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

Pagina 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

Pagina 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

Pagina 521

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

Pagina 522

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

Pagina 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

Pagina 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

Pagina 525

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

Pagina 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

Pagina 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

Pagina 528

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

Pagina 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

Pagina 530

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 538

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

Pagina 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

Pagina 540

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

Pagina 541

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

Pagina 542

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

Pagina 543

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

Pagina 544

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

Pagina 545

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

Commenti su questo manuale

Nessun commento