
5.38 Main Engine Interface 165
Precondition:
flix is not NULL
Note:
Default: on2true
5.38.2.19 on2sc Flix2_SetExportVideoType (FLIX2HANDLE flix, const FE2_ExportedVideoType
exportVideoType)
Set the output file type.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
← exportVideoType File type to output
Return values:
ON2_OK on success
ON2_INVALID_PARAMS should one or more of the preconditions fail
ON2_NOT_SUPP if the video type is unsupported by the engine
ON2_NET_ERROR the underlying communication layer failed
Precondition:
flix is not NULL
exportVideoType is a valid member of FE2_ExportedVideoType
Attention:
ExportSWFVectorVideo is unsupported by this version of the engine
Note:
Default: ExportFLVVideo
When using ExportSWF7PlusVideo the video codec should be set to CODEC_H263 with video_-
options_SetVideoCodec()
Deprecated
Use the Muxer Interface. This function will be removed in a future release. See also: Muxers.
5.38.2.20 on2sc Flix2_SetInputFile (FLIX2HANDLE flix, const on2tc ∗ inputFile)
Set the source file for the encode session.
Attempts to open the input file, extracting the available source information, e.g. video width/height, dura-
tion. Addtionally configures the encoder to match the source attributes by calling video_options_Reset()
and audio_options_Reset(). For this reason this function should be called before setting any encoder op-
tions.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji